How you will catch errors in call transaction?
Answer Posted / p.lokesh
We will catch errors in the call transcation explicitly by
using Structure BDCMSGCOLL.
and FUNCITNO MODULE 'WRITE_FORMAT'.
Ex:
Data : bdc_msg type table of bdcmsgcoll with header line,
bdc_tab type table of bdcdata with header line.
CALL TRANSACTION 'MM01' using Bdc_tab mode N
updte S
messages into bdc_msg.
if sy-subrc = 0.
perform Error.
clear bdc_msg.
refresh bdc_msg.
endif.
Read table bdc_msg with key msgtype = 'E'.
if sy-subrc = 0.
call function 'FORMAT_MESSAGE'.
...
..
..
Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
How is conversion of data types done between abap/4 & external level?
What will happen when we use single buffered selected?
what is user specific parameter?
What do you mean by batch data communications programming?
What are the names of the function modules that will be generated upon activation of a lock object?
What actually happens in real-time recruitment? : sap abap hr
Example of table cluster and cluster tables.
When, how and how would you control changes to standard SAP objects.
wat is the default file name of BAPI trace?
What are the different types of parameters? : abap modularization
Do we create table fields with out data elements and domains?
What is difference between dependent and independent data?
What is direct input method ?
dynamic programming in sap abap
What are the internal tables and work area?