Problem with 'Bapi_Acc_Document_Post'

ABAP, Java, BSP, etc.

Problem with 'Bapi_Acc_Document_Post'

Postby Laureen3871 » Mon Feb 07, 2005 9:32 am

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.
Laureen3871
.
.
 
Posts: 1
Joined: Mon Feb 07, 2005 9:32 am

Postby Alva1590 » Mon Feb 07, 2005 11:21 am

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
Alva1590
.....
.....
 
Posts: 4387
Joined: Mon Dec 02, 2002 3:01 pm

Problem with Bapi_acc_Document _post

Postby Alva1590 » Mon Feb 07, 2005 12:12 pm

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.
Alva1590
.....
.....
 
Posts: 4387
Joined: Mon Dec 02, 2002 3:01 pm

Re: Problem with 'Bapi_Acc_Document_Post'

Postby Mayla4110 » Mon Feb 06, 2006 12:57 pm

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
Mayla4110
.
.
 
Posts: 1
Joined: Mon Feb 06, 2006 12:57 pm


Return to Development Related

Who is online

Users browsing this forum: No registered users and 1 guest

cron