‎2008 Dec 17 4:39 PM
Hi experts!!
I've a batch Input that must change the data from the infotype 2001. I do this steps...
1. Go to PA30
2. Insert the pernr and the code 2001
3. Press the button LIST
4. Choice the row I want to change, only the rows that are ocked
5. Update and save...
I'm trying to do this with a Batch Input, but I don't know how to indicate what row I want to change...I have a data that has all the positions that are locked in 2001 but I don't know how to know what row is from what row of my table... can anybody help me?
Thanks a lot
Regards,
Rebeca
‎2008 Dec 17 5:27 PM
Hi Rebeca,
It is difficult to find the locked recods dynamically using your BDC approach.
The other way to delete the locked records is....
Select the all the records from PA2001 infotype where SPRPS equal to 'X' ( Locked Entries ) into the itab internal table.
later Loop the table and delete the record from 2001 using BDC on PA30.
Do the recording for deleting individual record.