Question:
how to trap error messages generated during bdc run by Session Method .
i know how do v trap errors during call transaction..
_________________
~Hozefa~
Answer:
You can read the session's log to trap errors held this way (if you search the forum you'll find the answer posted a long time ago - it may also be in the ABAPpers Knowledge Corner if I know R!!)
However, since the logs are accessible to the user to review - why program for them??
_________________
Kind Regards
Rosie Brent
Please remember to search the forum and check the FAQ before posting questions, thank you.
Tuly Idiot most of the time, part-time Guru
Answer:
it may also be in the ABAPpers Knowledge Corner if I know R!!)
You know me well indeed....0018 - BDC's and CTR's.
However, since the logs are accessible to the user to review - why program for them??.
In some cases you could be stringing together half a dozen transactions in a real time situation where the user does need to have it shoved in his face that something has gone wrong, rather than relying on them to go check some logs somewhere.
_________________
Regards
R
Abap KC
SFMDR
Answer:
Thanx Rosie..
But.. what i want is to display the error messages generated during session in the final display report of my ABAP Program.
If i select Call Transaction method i m able to trap messages bring them to my internal table and display them at the end of the report .
I wana do the same thing for my Session method also.. but i dont know how do i go for it ..
_________________
~Hozefa~
Answer:
If you read topic 0018 it describes exactly how to do what you want to do. From writing the BDC to running the session and getting the messages back.
_________________
Regards
R
Abap KC
SFMDR
Answer:
That was great..
Thank u so much ...
_________________
~Hozefa~