I have a requirement where I have to copy infotype 0000 and change BEGDA and PERSK values. Manually, I go to infotype 0000 in PA30, select the current record and then hit the copy button, change the BEGDA and PERSK values and hit save(current record gets delimited and a new record is created) . Once the record is saved, the screen control automatically goes to infotype 0001 which reflects the updated PERSK value. After this is saved, the process ends.
Now I duplicated the above steps using SHDB and transaction PA30. So far so good, but when I process the recording, I hit an error message saying "No batch input data for screen MP000100 2010". I dont understand why this message comes up even though all the mandatory fields on infotype 0001 are populated.
I also processed the recording in 'Display error screen' mode. The control stops at MP000100 2010 which is infotype 1 screen. But then when I hit the save button, processing is successful and new records are created.
Can someone please provide inputs on how to get this going? I checked the ok code(=UPD) and it is present for infotype 0001 screen.
All your suggestions are greatly appreciated.