Skip to Content
Former Member
Jan 12, 2007 at 08:49 AM

BAPI_ACC_DOCUMENT_POST - User Exit is not working


Hi all,

I need to perform a posting and pass in some field into the extension table. I have follow the sap note recomendation and created a project in CMOD using ACBAPI01 as the component. I then added the coded into the user exit. When I tried to debug it doesn't not execute the code inside the user exit. Also BAPI_ACC_DOCUMENT_POST was executed w/o any error. However when I check the system, there's no document posted.

Also please correct me if I'm wrong. I'm not so sure what to populate for the following field in the header. Is the following correct?

gt_docheader-obj_type = 'IDOC'.

gt_docheader-obj_key = '$'.

gt_docheader-obj_sys = 'BGS1'.

gt_docheader-bus_act = 'RFBU'.

Thanks in advance