Page 1 of 1

Problem with 'Bapi_Acc_Document_Post'

PostPosted: Mon Feb 07, 2005 9:32 am
by Laureen3871
Hi,

I need to use the Bapi 'Bapi_Acc_Document_Post' for uploadig the GL Postings. The DocumentHeader in the Import Parameter has three parameters called Obj_Type , Obj_key , Bus_Act. Can you please tell me what values do i need to pass for the above parameters. These are manadatory and the system gives error messages, if i leave these blank.
For Bus_Act , i'm giving the value as 'RFBU'.

I really appreciate for any kind of help on this. Kindly reply ASAP.

Thanks,
RAKS.

PostPosted: Mon Feb 07, 2005 11:21 am
by Alva1590
hi Raks,

objtype and objkey are information about the 'external' document (origin document which leads to an follow up document in gl accounting).

objtype could be maintained in table TTYP. objkey is the reference number (e.g. document number of a sales order). normally objkey consists of reference document number and reference organizational unit (company code).

for bus_act, several entries are possible (depends on where the origin document is located). i guess 'RFBU' together with above mentioned information should do it.

i hope this helps you further.

regards,
sev

Problem with Bapi_acc_Document _post

PostPosted: Mon Feb 07, 2005 12:12 pm
by Alva1590
Thanx for your reply.Yes, you are right. But now how will i find the value of Obj_type and Obj_key. if i know the Obj_type , guess my problem is solved. just trying to debug the bapi now.

Thanks,
Raks.

Re: Problem with 'Bapi_Acc_Document_Post'

PostPosted: Mon Feb 06, 2006 12:57 pm
by Mayla4110
hi raks,

I need to use the Bapi 'Bapi_Acc_Document_Post' for uploadig the GL Postings. The DocumentHeader in the Import Parameter has three parameters called Obj_Type , Obj_key , Bus_Act. Can you please tell me what values do i need to pass for the above parameters. These are manadatory and the system gives error messages, if i leave these blank.
For Bus_Act , i'm giving the value as 'RFBU'.

I really appreciate for any kind of help on this. Kindly reply ASAP.

Thanks,
sanjit
sanjit_satpathy@kengroup.co.in