Skip to Content
0
Former Member
Aug 17, 2005 at 02:17 AM

How to use BAPI_ACC_DOCUMENT_POST for CO-PA Account Assignment

374 Views

hi all,

when i used bapi to posting docment,but for document_type ='DR'(customer invoice), it is related with Profit. Segment.

it returned following message in return table:

E RW 609 Error in document: ZBKPF ZY2005 DEVCLNT230

E F5 808 Field Prof.Segmt is a required field for G/L account CN10 50600824

W KI 166 Enter a true account assignment object with revenues

maybe due to i haven't fill parameter:CRITERIA and VALUEFIELD

but i have no idea about this.

would you please give some idea, sample code is great .

thanks.

helen