07-21-2005 8:21 PM
HI,
I run transaction se37 to test BAPI_PO_CREATE1 but keep on getting the error message ME 083 'Please enter Profit center'. Both POACCOUNT-PROFIT_CTR and POACCOUNTX-PROFIT_CTR have been updated but I still have the error.
Any help is highly appreciated.
Philip
07-21-2005 10:23 PM
Hi Philip,
This error is caused because from structure POHEADER the field DOC_TYPE is empty.
Please fill it (and also the related POHEADERX field with an 'X').
Regards,
Rob.
07-21-2005 11:08 PM
Thanks for the reply. The field doc_type has been filled in both poheader and poheaderx. I think I mess up the value of poitem and poitemx in poitemx table and it is causing the problem. The problem is gone but I got another error message on 'Net price cannot be zero' even though it has been published in poitem and poitemx.
Philip
07-21-2005 11:36 PM
Philip,
Most likely, you have forgotten somewhere to fill the POITEMX value for net price value.
This can happen in two ways:
Either by simply not X-mark the field (even when it should be zero or empty) or the number of POITEM lines is different from the number of POITEMX lines.
I cannot think of other causes, but the ..X tables listen very closely to their counter part with the values. They are linked only based on the index of the internal tables.
So if you have structured everything correctly, then i'm puzzled too.
Greetz,
Rob.