Application Development and Automation 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: 
Read only

BDC batch need to create

Former Member
0 Likes
622

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

4 REPLIES 4
Read only

Former Member
0 Likes
527

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

Read only

Former Member
0 Likes
527

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

Read only

Former Member
0 Likes
527

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 )

Read only

Former Member
0 Likes
527

Resolved