Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BDC session ?

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member181995
Active Contributor
0 Kudos

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.

4 REPLIES 4

former_member181995
Active Contributor
0 Kudos

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.

0 Kudos

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

0 Kudos

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.

0 Kudos

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.