cancel
Showing results for 
Search instead for 
Did you mean: 

Add custom fields to the business partner (UKM_BP) thru BADI

Former Member
0 Kudos

Hi

I want to know how to add Additional business partner attributes(custom fields) to Business partner (Transaction : UKM_BP)

I also added the custom fields to structure UKM_S_BP_CUSTOMER_EXTENSION in the method FILL_FIELDS of BADI UKM_BP_ADD_FIELDS, But nothign is populating on the screen of UKM_BP after activating the below BADI's with SAP provided sample code with above structure.

there are 2 BADI's for this requirements but it doesn't any thing about the screens

UKM_BP_ADD_FIELDS

UKM_EV_FORMULA

Please let me know the detailed steps other than activating these BADI's with sample code by SAP.

Thanks

Govi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Govi,

To add custom fields to the BP, you should look at the following tools:

BDT Business data toolset

http://help.sap.com/saphelp_crm50/helpdata/en/2f/696d360856e808e10000009b38f839/frameset.htm

EEW Easy enhancement workbench

I suggest that you take a look at your BDT settings.

Best regards,

Cristobal.

Former Member
0 Kudos

Thanks for your reply

BADI - UKM_BP_ADD_FIELDS

Documentation of this BADI shows as follows...

With this BAdI, you can define additional business partner attributes that you define in a business partner master record and want to use as fields in the formula editor.

To use the new fields, implement the BAdI: Formula Parameters and Functions (UKM_EV_FORMULA)

Methods of this BAdI:

FILL_FIELDS

To provide additional fields for the formula editor

FILL_ADD_INFOS and SAVE_ADD_INFOS

To define additional information for the following data in table form:

Collateral

Negative event

Check exceptions

Credit insurance

I enhanced the structure(UKM_S_BP_CUSTOMER_EXTENSION) with new custom fields from the badi UKM_BP_ADD_FIELDS but there is documentation for creating the new screen to place those new fileds i created on transaction UKM_BP.

I have looked at BDT Business data toolset

http://help.sap.com/saphelp_crm50/helpdata/en/2f/696d360856e808e10000009b38f839/frameset.htm

but i didn't get any idea ...

Can you please elaborate and let me know how to do this for my requirement?

Thanks

Govi

Former Member
0 Kudos

HI

I referred BDT settings in in table V_TBZ1_DC and make it active and use transaction EEWB for adding fields...its working

thanks

former_member188251
Active Participant
0 Kudos

Hi All,

I am facing a similar issue.

I have 4 fields in the formula builder that will be residing in table UKMBP_VECTOR_IT . The functional person will create a formula in the formula builder using these 4 fields.

These fields are also part of a custom tab in BP master built using BDT by another colleague.

I want to poplate these fields during runtime when I click the Limit Calc. button in BP. For this I have implemented the UKM_EV_FORMULA~FILL_FIELD method . 

But the problem is the BP # is not passed to this BADI method. I will be fetching the valules for these 4 fields from UKMBP_VECTOR_IT using the BP # . But since BP # is not passed to the FILL_FIELD method, I am not able to fill these fields.

Please help me in resolving this issue. Thanks for your help.

Best Regards,

Shankar.

former_member188251
Active Participant
0 Kudos

Let me re-phrase my question.

My probelm is that BP # is not passed inside the UKM_EV_FORMULA~FILL_FIELD badi method . I'll be populating the formula builder custom fields from table UKMBP_VECTOR_IT using the BP # . But I am not able to do so since BP # is not being passed to  badi UKM_EV_FORMULA .

PLease let me know if there is a way . Thansks for your help.

Best regards,

Shankarnarayan Krishnamoorthy.

Former Member
0 Kudos

Hello Shankarnarayan,

I have same problem as you mentioned in filling fields in FILL_FIELDS Method.

Has your problem solved. If Yes, Could you please share .

Thanks

Reddy