‎2010 Jan 27 4:21 PM
Hi all,
here i am using Call transaction method to update infotype, the error will be stored in BDCMSGCOLL structure, this error record again i need to create batch which can be manually processed by SM35.
Please let me know kow about in doing this scenario.
Regards,
pavan
‎2010 Jan 27 4:34 PM
Hi Kumar,
In this case you need to create a BDC session with the error record data. Kindly find the below FM's which can be used.
BDC_CLOSE_GROUP
BDC_DELETE_SESSION
BDC_END_TRANSACTION
BDC_END_VB
BDC_INSERT
BDC_OPEN_GROUP
BDC_RUNNING
Also, if you search for BDC* in SE37, you will get all the FM's for BDC session.
I hope this helps.
Regards,
Sandeep
‎2010 Jan 27 4:48 PM
Hi Kumar,
check sy-subrc after call transaction.
if sy-subrc <> 0.
open session.
write form
close form
This will do.
I hope this will resolve your problem.
feel free to revert if you have any doubts.
Regards,
Vijay
‎2010 Jan 27 4:50 PM
Uupload data into infotype using call transaction method.IF SY-SUBRC NE 0. move that error record into internal table..
Process that internal table using session method (BDC_OPEN_GROUP,BDC_CLOSE_GROUP & BDC_CLOSE_GROUP )
‎2010 Mar 02 2:19 PM