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

How do I create a data set ready for a batch input session

Former Member
0 Likes
566

Hi:

I don't know how to create a data set ready for an BATCH-INPUT SESSION.I know that with the function BDC_INSERT make de input online, but my requirement is that generate the data set and left to the user get in de SM35 transaccion and decide to him if it's execute or not. I have all the information in a BDCDATA table.

Any clue would be great!!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
401

You just have to do:

BDC_OPEN_GROUP (Open new batch)

BUILD BDC DATA (Your own code)

BDC_INSERT (Insert BDC data you have built in step 2)

BDC_CLOSE_GROUP (Close batch)

This will just create a new batch and it can be processed in SM35.

To build BDC data:

LOOP AT your_input_table.

<<here you have to use the code generated from recording in trasaction SHDB>> (i.e. bdc_dynpro and bdc_field performs)

ENDLOOP.

1 REPLY 1
Read only

Former Member
0 Likes
402

You just have to do:

BDC_OPEN_GROUP (Open new batch)

BUILD BDC DATA (Your own code)

BDC_INSERT (Insert BDC data you have built in step 2)

BDC_CLOSE_GROUP (Close batch)

This will just create a new batch and it can be processed in SM35.

To build BDC data:

LOOP AT your_input_table.

<<here you have to use the code generated from recording in trasaction SHDB>> (i.e. bdc_dynpro and bdc_field performs)

ENDLOOP.