How did you handle errors in Call Transaction?

Answer Posted / sukhbir

IN addition to above:

The BDCMSGCOLL does not have the messages text. It has only
the message type, number and message parameters.
You have to read the message text from the database table
T100 that stores all the messages.
After reading consider only error message.
--------------------------------------------------------
" Read the dictionary table T100 FOR ALL ENTRIES in
BDCMSGCOLL."

you can use the function module
WRITE_MESSAGES to read the messages.
see function module for the list of parameters.

refer FORMAT_MESSAGES function module also.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of tables exists and what are they in data dictionary?

940


What is pass by value and what is pass by reference? Which is better?

838


Can we set page headers to details lists?

590


Hi every one ! You people are doing a great job here , Im going to attend Tata Technologies interivew on this sunday,Can anyone who has already attended this company interivew or other companies interivews in abap pls share ur experience with me and help me to get into job my id ushareddyabap@gmail.com. Thankyou verymcuh

1513


What is the difference between skip and new-line?

804






What is the purpose of creating symbolic a/c, what is transaction code for same? Can we assign one symbolic a/c to multiple wage types? : sap abap hr

604


Can you assign a matchcode object to a parameter? If so how?

603


How can an internal table with header line and one without header line bedistinguished when passed to a subroutine?

640


What is the procedure you followed to upload the data?

572


Why lsmw does not support call transaction method? : abap bdc

638


Hi, I have a requirement for locking the fax field in user master records. As you know user can edit the details using the System>profile>own data (SU3), it is causing some security threat to our model. What i want is users should not be able to change the fax field under communications when they get into su3.I have heard of user Exist functionality but don't know how to implement it. Can you suggest something, it will be greatly appreciated.

1467


What has to be done to the packed fields before submitting to a BDC session.

723


Explain the disadvantage of using exec sql statement in abap?

522


What is a table attribute? : abap data dictionary

570


how to Implement a BADI in which it restricts the access when purchase order is created against contract using definition ME_PURCHDOC_POSTED. please tell me the answers if any one knows. thanks in advance. :ravikiran

2047