09-03-2008 5:28 AM
Hi gurus,
I use the FM BDC_OPEN_GROUP to create a session and then insert each record into this session with BDC_INSERT and then use BDC_RECORD_PLAY to execute the BDC session , But by this way I can not get all the returning messages from the call . Could you please help me if there's any FM for doing this .
Thanks
09-03-2008 5:33 AM
Which returning messages ?
are you talking about messages which we can use for our evalution of BDC processing?
if yes than you can check them once your session is executed.and see Log files in sm35.
09-03-2008 5:33 AM
Which returning messages ?
are you talking about messages which we can use for our evalution of BDC processing?
if yes than you can check them once your session is executed.and see Log files in sm35.
09-03-2008 6:17 AM
yes thank for your quick answer.
I my program , I handle the message using call transaction message into wt_message . Here I do not use call transaction any more , I will create the session and the execute it with BDC_RECORD_PLAY and I do no know how to get message for wt_message .
Thanks
09-03-2008 6:20 AM
Once you already switch you BDC to session method than you need not to see message in wt_message.
Just execute the session from SM35 and see the Log files there.
09-03-2008 6:33 AM
yes it is not possible to get the messages directly like we get in case of CALL TRANSACTION method
You can try using a function call on BDC_PROTOCOL_SELECT and get the log,
call function 'BDC_PROTOCOL_SELECT'
exporting
name = d0100-mapn
client = sy-mandt
date_from = d0100-von
date_to = d0100-bis
status = '*'
session_user = d0100-creator
tables
apqltab = logtab_temse
exceptions
invalid_data = 1
others = 2.