How did you handle errors in Call Transaction?
Answers were Sorted based on User's Feedback
Answer / guest
We can create a internal table like 'bsgmcgcoll'. All the
messages will go to internal table. We can get errors in
this internal table.
Below messages are go to internal table. when you run the
call transaction.
- Message type
- Message id
- Message Number
- Variable1
- Variable2
- Variable3
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / 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 |
How do you call a report from a transaction ?
What are the events used in interactive reports?
When would you use a BAPI rather than an IDOC
for example in client 710 i update the records for tcode me21 using bdc,in the same server if i update 5 records and in the mean while other user do the same bdc update for me21 for 3 records how do u resolve the remaining 2 records.
What does nw 7.4 sp 05/nw 7.5 sp 02 offers in abap?
how to debug background jobs?
What are the different abap editors? What is the used of different editors in abap?
What is a variable in the sap abap?
5.wat is difference b/w dilldown and interactive report?
What is alv programming in abap?
wat is RFC?wat r the RFC types?
How many FM's are there in scripts?