Skip to Content
0
Apr 07, 2009 at 10:35 PM

Field Posting Key in BAPI_ACC_DOCUMENT_POST ?

3161 Views

Hi

I need to post documents like FB01 , i'm already using BAPI_ACC_DOCUMENT_POST and it works so i can now create documents with the header and itmes positions , filling the tables header, accountreceivable items and currency items.

I already found the most of fields for execute the BAPI and create the documents, but i can not find three fields, some of one (BSCHL) the most important:

Posting Key (BSCHL)

Special G/L Indicator (NEWUM)

Calculate Tax Automatically (XMWST) .

I think but i'm not sure the Posting Key (BSCHL) is placed in the EXTENSION2 table, but this table ask for some STRUCTURE name and i don't know what should i place in this field or how fill this parameter table.

Does somebody can help me about where can i place these 3 fields in the BAPI or where can i find help documentation for do this ?

Regards

Frank