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

Problems Batch Input BDC-okCODE = LIST

former_member384574
Active Participant
0 Likes
539

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

1 REPLY 1
Read only

Former Member
0 Likes
394

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.