Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BADI Implementation for Partner Profit Center (ACC_DOCUMENT)

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

Use FI substitution for this. Transaction code "OBBH".

Regards

Vinod

0 Kudos

Hi Vinod,

Thank you for reply. Can you please share me how to use this 'OBBH' tcode because i am new to FI. please advise if i use this OBBH substitution, do i need to use BADI or Userexits enhancements?

Thanks

Regards

Skumar

Edited by: skumar.merp on Apr 15, 2010 4:02 AM

0 Kudos

Settings of OBBH is to be done by FI functional consultant, you can do the coding in the user exits available in this T-Code

Regards

Vinod

0 Kudos

Hi Vinod,

Thanks a lot for valuable help. we are trying to maintain (derive/rules) partner profit center in OBBH. I am still not sure which BADI i suppose to use, BADI ACC_DOCUMENT is not supporting FB01, i am looking for suitable BADI for my requirement.

Is there any way to find which are tcodes are involved in BADI ACC_DOCUMENT? also i have verified in Zreport (Find user exits & Badi) which is given by SDN. same like is there any report is available? (ex: if i enter BADI ACC_DOCUMENT in selection screen and output will be list of TCODES.

Please advise.

Many Thanks

Skumar