09-12-2008 3:21 AM
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
09-12-2008 4:56 AM
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.