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 |
what is the table to find change pointer status?
How do you do effort estimation? Based on which parameters?
How to debug ABAP workflow ?
What is an abap dictionary? : abap data dictionary
What is the exact difference between pooled table and cluster table and explain with examples?
How to reprocess the failed IDOC? How wil u know idoc is failed?What are tcodes?
How many times we can use At Selection Screen Output and on field event in report?
Wat is the difference between Select single * and Select .. Up to one row . And which method is better for performance ?
What is view proxy in abap?
What is the Difference between Transparant Tables , Pooled & cluster Tables?
1 Answers Patni, Satyam, Siemens,
When to use logical database?
what is MSEG,MKPF?