2014 Apr 11 3:01 PM
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
2014 Apr 11 5:00 PM
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