Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can we include customizing include or an append structure with pooled or cluster tables? : abap data dictionary

1314


When value table becomes check table?

1072


what is bapi,badi,bdc,ale idocs?

2270


Explain the advantages of abap query tool?

954


What are the two ways for restricting the value range for a domain ?

1202


Difference between open sql and native sql? : abap data dictionary

1053


​​What is view proxy in abap?

1250


What is the differences between structure and table in the data dictionary in abap?

1158


Explain the difference between open_form and close_form?

1009


What is the maximum No. Of structures that can be included in a table or structure. : abap data dictionary

1170


Can we make use of flow logic control key words in abap/4 and vice-versa?

1049


ABAP : Classical reports events name

1336


What are the differences between the table and the structure in the data dictionary in the sap abap?

1062


What are the table controls in bdc ? What is the difference between bdc and lsmw ?what is the difference between bdc and rfc ? : abap bdc

1179


What are the different types of laws. What are they?

1075