‎2009 Mar 23 9:10 AM
Hi to all,
Please clarify me about below BDC point.
Call to the transaction should be in background through batch input session. does It mean that we have to use session method and call this in back ground through RSBDCSUB, is this approach is correct or some thing else i nend to do.Please tell me briefley.
I want to track all the errors, how to track the errrors with out using call tranaction.
could any one help me on this issue please.
Regards
Raadha
‎2009 Mar 23 9:26 AM
hi,
Run the BDC Recording.
Fill the internal table of type structure BDCDATA with the series of methods.
Use the function modules
BDC_OPEN_GROUP
BDC_INSERT
BDC_CLOSE_GROUP.
this creates a session which you can see in TCODE SM35.
Run the session.
Any errors will be seen in error log in the same transaction.
and yes, we can run these back ground sessions using RSBDCSUB.
Regards
Sharath
‎2009 Mar 23 9:27 AM
Hi,
In BDC there are two methods as you know..
Batch input method/Classical method
Call transaction method..
In Batch input, after filling the bdcdata table and creating a session using BDC_INSERT, You need to process the session in SM35(process in foreground or background) or use the program RSBDCSUB to process the same..
Please not you need to process the session in background, Yo need the authorization.
But for call transaction method, you can directly specify the mode as N.. in the CALL TRANSACTION statement..
Regards
shiva
‎2009 Mar 23 9:33 AM
hi thanks for reply
i know differences between call transaction and session .......
i have to capture errors in session method, that is scheduled in background through RSBDCSUB
‎2009 Mar 23 9:42 AM
you have to find all records in SM35 tcode. or APQI table for Sessions , all SM35 sessions stored in this table based on program and session name..
‎2009 Mar 23 10:02 AM
Hi,
as per your approach is correct in BDC session method ,in session method generally you want run the bdc in backgroung using in RSBDCSUB is used for scheduling .
in program after writing bdc_close_group ,just use submit statement and schedule the background.
and generally in session method execute the program and going to the sm35 selcting particular session name manually processing that session,when schedule rsbdcsub it is directly going to the background screen ,then give the session name and run the program.
Regards,
Madhu