03-05-2018 6:25 PM
Hello All,
I am new to LSMW tool, I am getting error 'Purchase order item 00010 still contains faulty account assignments' while Start processing IDOC step.
Was successfully able to create a PO in ME21N using same Acc assignment category, G/l acc. and cost center.Also the BAPI(using BAPI_PO_CREATE1) report I created is successfully creating PO with same data.
Checked field mapping and every thing seems okay.
Please help with the issue.
Thanks,
Naren
03-05-2018 6:32 PM
jrgen.lins I have seen you have helped many with LSMW , could you help me as it's urgent.
03-05-2018 6:48 PM
03-08-2018 10:02 AM
jrgen.lins Not sure whether you meant that the problem is with idoc and not with LSMW. Maybe I am asking ths question in a wrong way due to my limited knowledge in this area. Here I am attaching few screenshot where i am facing the issue in Step 14 . I have check the maping which seems correct or various suggestion available in the forum. Acc.Assignment is passed in POitem structure and GLaccount, CO area and cost center is passed in POAccount structure
step14
14.1
14.2
14.3
The test data excel file that I have is working fine when I use the data to create PO in ME21N and the report I have created using BAPI_PO_CREATE1. but the requirement is of LSMW.
Regards,
Naren
03-08-2018 10:08 AM
03-08-2018 10:08 AM
03-08-2018 1:10 PM
I know, my comment was not updating in reply section ..had to write the same in answer. thank for helping 🙂
03-08-2018 2:36 PM
re your 14.1 screenshot of selection screen for IDOC processing
You should use a pack size of 1, otherwise you may not be able to identify the Idoc with errors if you process more than 1 idoc at a time, just a recommendation until you are error free.
re 14.3.
double click the data record segments that are listed in red and show the content of the selected segment from the right window.
The segments in red indicate in which segments you have errors.
A usual mistake are missing leading zeros. In the online transaction SAP converts the entries to suit the expectations of the program. In a program and in an IDOC this is your task to submit the data in the right way, SAP does not do any conversion on its own.