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 for PA40

Former Member
0 Kudos

Hi All,

we have an issue.

we have recorded the PA40 transaction and once it goes thru all the infotypes we want to go back to initial screen, so that next employee can be processed...

but inspite putting EBCK in ok_code it says

'No batch input data for that screen and program'

Please advice as we do have bdcdata filled with that values..

Points for sure

1 REPLY 1

Former Member
0 Kudos

hi,

i hope you have done the recording correctly. when you are on the last infotype screen, you need to click the 'save' button and the control will automatically return to the 1st screen.

also, note the following logic.

1. load data from your file to internal table.

2. call FM BDC_OPEN_GROUP.

3. loop at internal table.

4. load data from internal table to BDC internal table.

5. call FM BDC_INSERT.

6. refresh BDC internal table.

7. endloop.

8. call FM BDC_CLOSE_GROUP.