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

Assign file creating problem in BAPI LSMW

former_member295881
Contributor
0 Likes
747

Hello Experts!

Iu2019m trying to upload PO (Header/Item data) though BAPI Method. Iu2019ve one file having Header and Item data. At Assign Files Step when I try to assign file to PO Item Data. System gives me a message

(File 'C:\MySAP\ABAP Programing\LSMW\PORec.txt'

only be assigned to one source structure.)

Looks like system is not letting me give the same file which Iu2019ve given to PO Header data. Can anybody please tell me how I can assign the same file for Header and Item data.

Thanks.

1 ACCEPTED SOLUTION
Read only

former_member295881
Contributor
0 Likes
707

Thanks for ur reply Vijay but I've worked with sequence file. Can you or anybody else pls tell how to use sequencial files?

Thanks

Hello Experts!

Iu2019m trying to upload PO (Header/Item data) though BAPI Method. Iu2019ve one file having Header and Item data. At Assign Files Step when I try to assign file to PO Item Data. System gives me a message

(File 'C:\MySAP\ABAP Programing\LSMW\PORec.txt'

only be assigned to one source structure.)

Looks like system is not letting me give the same file which Iu2019ve given to PO Header data. Can anybody please tell me how I can assign the same file for Header and Item data.

Thanks.

4 REPLIES 4
Read only

Former Member
0 Likes
707

you may have to work with sequential file in this case.

Read only

former_member295881
Contributor
0 Likes
708

Thanks for ur reply Vijay but I've worked with sequence file. Can you or anybody else pls tell how to use sequencial files?

Thanks

Read only

0 Likes
707

check this weblog by niamesh how to handle header and item in lsmw.

Read only

former_member295881
Contributor
0 Likes
707

Vijay thanks a lot u r the man bro.