cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW : create PO with service line by BAPI

Former Member
0 Kudos

Hi Expert,

I am facing horrible problem about Create Purchase Orders using LSMW calling method "CREATEFROMDATA1".

Almost steps were alright but IDOC processing it showed

In case of account assignment, please enter acc. assignment data for item

Message no. 06436

I already applied many solutions, but they are still not work.

Right now i guess my LSMW is in wrong position of linked fields between PO ITEM and PO SERVICE.

Could you guys please tell me how to link those two structure together?

Currently i use PO_ITEM_NUMBER and Package Number to link them. is it enough?

P.S. I have no ABAP skill

Thanks in advance.

Seek

Accepted Solutions (0)

Answers (2)

Answers (2)

Prasoon
Active Contributor
0 Kudos

Hi,

   Please go through the KBA:  2114353 - How to create service PO with BAPI_PO_CREATE1 , which gives the complete details with example. Follow the same and test the upload.

Regards,

AKPT

yang_bai
Active Participant
0 Kudos

Hi Seek,


You may want to check if the following points are considered in your process:

1. The first line on POSERVICES structure (ESLL table) is the HEADER line, and after

    that you have the service lines.

2. The PACKNO on POSERVICE structure header line should be the same informed on
    structure
POITEM.

Please also refer to Note 420332: BAPI_PO_CREATE: Pattern for services.

I hope this could help you.

Best regards,

Yang