transaction type in BAPI_ACC_GL_POSTING_POST
I need to set the transaction type as say '120' in the BAPI BAPI_ACC_GL_POSTING_POST. I found a piece of code that says set it in obj_key, obj_type etc of the DOCUMENTHEADER parameter of the BAPI. Can anyone give the exact code how to do that ?
i think i understood that we have to set the following:
what are the values ? in my case I know that transaction type is giong to be 120. please tell me how to set this and other values in the BAPI ?
if i am not mistaken you are trying to populate transaction type for aquisitioni.e BSEG-BEWAR. Try using
BAPI_ACC_DOCUMENT_POST and populate CS_TRANS_T in GL line item.