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 index? I need exact defination? how will create a secondary index?
What is PS structure
Does every abap/4 have a modular structure?
How to maintain subtotals n grand totals in smart forms?
How you will doing the bypass by using select statment
3. why u select the session method in bdc ? how many records wil be updated on that time?
What are the modes in lock objects? : sap abap data dictionary
What is transparent table?
How to Delete an LSMW Projcet, Subproject and Object.
What are the different types of abap reports in sap?
What are the events driven batch jobs?
I have developed a program where i have used Ranges and the program is running fine in DEV and Quality server but as soon as it goes to Prod server it shows some errors.What can be done in this case??