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 are the system fields?
IF I SAVE A TRANSACTIONAL DATA TABLE IN APPL0 INSTEAD OF APPL1 DURING TECHNICAL SETTINGS OF A NEW TABLE WHTHER IT WILL CREATE ANY PROBLEM OR IT WILL WORK SMOOTHLY???
What is the maximum number of structures that can be included in a table or structure
How many sessions will be opened using bdc_open_group?
if u have two internal table such as itab1 and itab2.in itab1 has four fields such as f1,f2,f3,f4 and in itab2 has two fields such as f1,f2.then how can u copy data from first internal table to second internal table.
How can we upload a text file having delimiters in to legacy system?
What are the types of parameters in the function modules?
What are the differences between a database index and a match code? : abap data dictionary
What is the difference between Search help and Match code ?
If there are two table with Foriegn Key relationship, and if any changes is made to the check table in Table Maintanance Generator how will this the other table?
What are the data types of the external layer?
how to fetch data form without header line internal table ?