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
Explain pai and pbo.
How will you define posting procedures?
What is structure?
How to create report in SD open sales order which covers all Organization, delivery status, shipping details and partner function details. plz mention the detail coding Tahnks, Rahul
What are the events used for logical database?
what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?
Explain how to Handle the internal tables in ABAP?
Explain the difference between get and get late?
How to split one Invoice into Multiple ( Step by Step)?
What are the functional areas, user groups? How does abap query work in relation to these?
In se11 -->Tech. settings --> Data class. If I save table as Mater data OR Transaction data, what effect will it has for 'Storage' in Database after activation. or In Database how it will store in both the cases.
What does the insert statement in extract datasets do?
Explain the advantages and disadvantages of different types of bdc's?
What is transparent table?
Name the abap/4 modularization techniques?