Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BADI Implementation for Partner Profit Center (ACC_DOCUMENT)

Hi Experts,

Any one can please assist me for BADI enhancemet in R/3 4.7. below is my requirement

1. To derive Partner Profit Center in FB01 as maintained in Ztable. when we enter inputs in FB01 the partner profit center field should fill automatically (based on the ztable PPRCT field)

2. Ztable has BUKRS, VBUND, HKONT, KUNNR, LIFNR, PRCTR and PPRCT fields, we have maintained as well.

3. I understand BADI enhancement will help for this requirement. so I have created the BADI implementation in se 19 as ZACC_DOCUMENT and i have used definition name as ACC_DOCUMENT. Filter type is AWTYP and reference procedure is BKPF(because when we hit inputs in FB01, the BKPF & BSEG table will get same updates).

I have done the coding in change method and activated but its not working. Can any one please provide the coding sample for this implementation. Interface tab contains two methods 1. Change and 2. FILL_ACCIT, So which method i suppose to use. (i am not get clear points in example implementation)

I highly appreciate for help on this.

Thanks

Skumar

Former Member
Not what you were looking for? View more on this topic or Ask a question