Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FI document header fields

Former Member
0 Likes
1,132

Hi All,

I am trying to post an IDOc to do FI document posting through FB01,

I am using the BAPI - BAPI_ACC_DOCUMENT_POST.

I am passing the fields obj_type

                                 obj_key

                                 obj_sys

                                 stat_con as blank as of now in the DOCUMENTHEADER...however it is not allowing me to proceed..it says these values are required.

What are the values for these fields?

Please suggest.

Thanks,

Shruti

1 REPLY 1
Read only

Former Member
0 Likes
596

Shruthi,

OBJ_TYPE is the reference transaction. Look at the domain AWTYP for a possible list of values.

OBJ_KEY is reference key. Below is the documentation from SAP which is self explanatory.

If an accounting document is posted via the interface in Accounting, the sending application transfers a unique reference. It consists of object key and object type. The object key consists of a reference document number and a reference organizational unit.
Example: 1000007899 00011996
Reference Reference organizational unit
document no. client and fiscal year

The object type contains a note on storing the original document.

OBJ_SYS is the logical system of the source document. Look at the domain LOGSYS for list of values.

Hope this help.

thanks,

Vikram.M