Account xxxxx requires an assignment to a CO objectu201D error in BAPI_ACC_DOCU
FI document posting failed due to
Error u201CAccount xxxxx requires an assignment to a CO objectu201D
When passing data through BAPI_ACC_DOCUMENT_POST.
While creating the document through F-41 if the Product No (ARTNR) and
customer (KNDNR) are not passed through profitability segment the same
error will be thrown.
The BAPI_ACC_DOCUMENT_POST does not have any direct field to pass
Product No (ARTNR) and customer (KNDNR). Tried to pass
the ARTNR and KNDNR through the table parameter CRITERIA. Still the
same error is showing and document failed to post.
Following notes related to FI_DOCUMENT post applied 769308 and 716783.
Please provide any note or documentation for the BAPI_ACC_DOCUMENT_POST
while handling CO-PA assignment.