Skip to Content
0
Jul 07, 2010 at 04:09 PM

Problem in Coding Block during the Acc Doc posting BAPI_ACC_DOCUMENT_POST

460 Views

Hi,

I have a problem in the Coding Block of a FI invoice Document posting. In our project, we have implemented substitutions to derive SBL;SEGMENT field in the line item of a GL Account.

I have created a program and in that i'm using BAPI_ACC_DOCUMENT_POST for posting the Accounting Document. During this BAPI call, it is not deriving the values of SBL and SEGMENT.

But, when i'm posting through transaction FB01; the substitutions are getting triggered and finally values are being derived.

Can anyone help on this as to why these values were not derived when it is being called through BAPI_ACC_DOCUMENT_POST. For COBL; is it really possible to post through this BAPI or something more has to be done.

Very urjunt !!! Please

Awaiting your valuable answers.

Thanks

Rohith