how can u write in single program call transaction and
session method logic?
if u write logic in call transaction ,is there any errors ?
how can u see in session ?
Answers were Sorted based on User's Feedback
Answer / raghava reddy
SITUATION..........IF U HANDLE THE ERRORS IN CALL
TRANSACTION WE HAVE SEVERAL WAYS
1)USING FORMAT_MESSAGE
2)WHATEVER U GET THE ERRORS IN CALL TRANSACTION,SIMPLY PASS
THOSE ERRORS TO SESSION METHOD
................THIS IS THE SITUATION OF BOTH ARE USING IN
THE SAME PROGRAM...OK
WRITE THE LOGIC FOR CALL TRANSACTION
-------------
---------
---------
----------
CALL THE CALL TRANSACTION
IF SY-SUBRE < > 0.
......MEANS THE ABOVE STAT NOT EXECUTED
SUCCESSFULLY....MEANS WE GET THE ERRORS IN CALL TRANSACTION
METHOD...OK
SIMPLY PASS THOSE ERRORS TO SESSION METHOD
LIKE THIS...............
.............
CALL THE TRANSACTION BY USING
BDE_INSERT
......PROVIDE THE INPUT...........OK
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / vrushali
You can set radio button in select options
call transation
call session method
if call transaction = 'X'.
call transaction.
else
call session method.
endif.
| Is This Answer Correct ? | 1 Yes | 9 No |
Final entry in the BDC Table?
What is sap abap data classes?
Difference between sap script and report?
what is user specific parameter?
How to debug sapscripts ?
what is BDCRECXX contains?
create a Report to print Stock & Valuated Stock for Plant (ALV Grid) Selection Screen Ranges: Material Number (MARA-MATNR) Material Type (MARA-MTART) Valuation Class (MBEW-BKLAS) Storage Location (MARD-LGORT) Parameter filed plant (MARD-WERKS) Selection condition: Total valuated stock – MBEW-LBKUM – should be greater than zero Table to be used MAKT,MARD,MBEW,MARA,T001L.. (Use inner joins) Display output: Storage location: (TOO1L-LGORT) Description (T001L-LGOBE) Material No (MARA-MATNR), Material Description (MAKT- MAKTX), Total valuated stock (MBEW-LBKUM), Val of tot valuated stock (MBEW-SALK3), IF MBEW-VPRSV = 'S'. Price – MBEW-STPRS ELSEIF DTAB-VPRSV = 'V'. Price – MBEW-VERPR. ENDIF. Subtotal of Total valuated stock (MBEW-LBKUM), Val of tot valuated stock (MBEW-SALK3), Grand Total of Total valuated stock (MBEW-LBKUM), Val of tot valuated stock (MBEW-SALK3), In the ALV grid display keep a button in the tool bar which on clicking navigates through the screen to the next grid which displays the grand total. Use SET PF_STATUS which is in the FM reuse_alv_grid_display to set the button.
What is the diff b/w RFC enabled Functional Module and BAPI?
What is the BAPI_CUSTMATINFO_GETDETAILM used for? what is the input and output of this bapi.
If I code parameters and selection events without writing the start-of-selection, will the report runs?
looking for sap abap training with real time project, call @ 9972123004
What is alv programming in abap? When is this grid used in abap? : abap hr
SAP Basis (1262)
SAP ABAP (3939)
SAPScript (236)
SAP SD (Sales & Distribution) (2717)
SAP MM (Material Management) (912)
SAP QM (Quality Management) (99)
SAP PP (Production Planning) (523)
SAP PM (Plant Maintenance) (252)
SAP PS (Project Systems) (138)
SAP FI-CO (Financial Accounting & Controlling) (2766)
SAP HR (Human Resource Management) (1180)
SAP CRM (Customer Relationship Management) (432)
SAP SRM (Supplier Relationship Management) (132)
SAP APO (Advanced Planner Optimizer) (92)
SAP BW (Business Warehouse) (896)
SAP Business Workflow (72)
SAP Security (597)
SAP Interfaces (74)
SAP Netweaver (282)
SAP ALE IDocs (163)
SAP Business One (110)
SAP BO BOBJ (Business Objects) (388)
SAP CPS (Central Process Scheduling) (14)
SAP GTS (Global Trade Services) (21)
SAP Hybris (132)
SAP HANA (700)
SAP PI (Process Integration) (113)
SAP PO (Process Orchestration) (25)
SAP BI (Business Intelligence) (174)
SAP BPC (Business Planning and Consolidation) (38)
SAP BODS (Business Objects Data Services) (49)
SAP BODI (Business Objects Data Integrator) (26)
SAP Ariba (9)
SAP Fiori (45)
SAP EWM (Extended Warehouse Management) (58)
Sap R/3 (150)
SAP FSCM Financial Supply Chain Management (101)
SAP WM (Warehouse Management) (31)
SAP GRC (Governance Risk and Compliance) (64)
SAP MDM (Master Data Management) (0)
SAP MRS (Multi Resource Scheduling) (0)
SAP ESS MSS (Employee Manager Self Service) (13)
SAP CS (Customer Service) (0)
SAP TRM (Treasury and Risk Management) (0)
SAP Web Dynpro ABAP (198)
SAP IBP (Integrated Business Planning) (0)
SAP OO-ABAP (Object Oriented ABAP) (70)
SAP S/4 HANA Finance (Simple Finance) (143)
SAP FS-CD (Collections and Disbursements) (0)
SAP PLM (Product Lifecycle Management) (0)
SAP SuccessFactors (33)
SAP Vistex (0)
SAP ISR (IS Retail) (28)
SAP IdM (Identity Management) (0)
SAP IM (Investment Management) (0)
SAP UI5 (59)
SAP SCM (Supply Chain Management) (51)
SAP XI (Exchange Infrastructure) (49)
SAP Cloud Platform (34)
SAP Testing (89)
SAP SolMan (Solution Manager) (63)
SAP MaxDB (116)
SAP GUI (15)
SAP AllOther (329)