cancel
Showing results for 
Search instead for 
Did you mean: 

Business Partner Custome Fields Mandatory

0 Kudos

Hi,

I have added some custome felds to the manage business partner. I want some of the custome fields to be mandatory.

Can anybody tell how to do it?

Regards,

Raveendra

Accepted Solutions (1)

Accepted Solutions (1)

singhsmi
Advisor
Advisor
0 Kudos

Hi,

Follow the path in SPRO transaction.

Cross application components -> SAP business partner -> business partner -> basic settings -> field groupings -> field attributes per client

Here you will see the data set. double click on the dataset which you have specified in the view. The view to which you have assigned your custom field groups. Choose required radio button for your field groups.

Thanks and warm regards,

Smita.

0 Kudos

Hi,

But that is for the transaction BP. I want it for BBPMAININT.

Thanks,

Raveendra

Former Member
0 Kudos

Hi

As I told you in my earlier reply, please see the SAP OSS Note for BBPMAININT.

<b>Note 675800 - Business partner enhancement SRM on maintenance screen</b>

Do let me know, incase you still face any issues.

Regards

- Atul

0 Kudos

Hi Atul,

Thanks for the help.

I am following the same note. I have used the CHECK_CUF method of the BADI

BBP_BUPA_GET_CUF to check the fields and fill the return value with error.

When I save, I am getting the error message but its not stoping at the error. Value are saved.

How to show the error so that it will stop procecing further when any error occurs.

Regards,

Raveendra

Former Member
0 Kudos

Hi

Please paste what code you have made here in your reply.

<b>Meanwhile, go through the following links -></b>

<u>Other realted Information -></u>

It is possible to add custom fields / structure to the Business partner screen.
It is required that you create a custom screen (sub-screen) and perform the assignments in the BDT. Go to area menu BUPT. You can see sub-menu Screen Layout. Check the customizing using transactions BUS2 to BUS5.
You can add custom fields, custom screens and assign custom PBO and PAI function modules. You can have a look at how the existing screens are made and accordingly copy / configure your custom screen and fields. Enhancement through BUPT will work. Just ensure that the field group which you add for that there is a flag 'TABLE CONTROL' in transaction BUS2 which has to be set.

Hope this will help.

Regards

- Atul

0 Kudos

Hi Atul,

Please find the sample code which I'm using.

IF is_eew_bus000-<FIELD-NAME> = space.

CALL FUNCTION 'BALW_BAPIRETURN_GET2'

EXPORTING

type = 'E'

cl = 'ZSCLAS'

number = '001'

IMPORTING

return = wa_bapiret2.

APPEND wa_bapiret2 TO et_return.

ENDIF.

Regards,

Raveendra

sudheer-tammana
Advisor
Advisor
0 Kudos

Hi Raveendra,

Instead of the function 'BALW_BAPIRETURN_GET2',

Use the function module 'BUS_MESSAGE_STORE' to raise the message.

This should work.

Regards,

Sudheer.

Former Member
0 Kudos

Hi

I haven't implemented the solution so far ..

Please paste the complete code. What is the data type of et_return [] table ?

<u>IT_CUF_TAB [] table contains the fieldname and the customer field values.</u>

Why you are using 'SPACE' in the field name ? It should conatin the the field value instead ? Correct me, if i am wrong here.

Do let me know.

Regards

- Atul

0 Kudos

Hi Sudheer,

Thanks a lot :).

Its working now.

Regards,

Raveendra

Answers (2)

Answers (2)

singhsmi
Advisor
Advisor
0 Kudos

Hi,

Cross application components -> SAP business partner -> business partner -> basic settings -> field groupings -> field attributes per client

Here you will see the data set. double click on the dataset which you have specified in the view. The view to which you have assigned your custom field groups. Choose required radio button for your field groups.

Thanks and warm regards,

Smita.

Former Member
0 Kudos

Hi

<b>Please go through this -></b>

Note 675800 - Business partner enhancement SRM on maintenance screen

<u>Related OSS Notes</u>

Note 937838 - Customer fields on BBPMAININT: Dump on Vendor Data tab

821235 - Customer enhancement for maintaining BP causes errors

672960 - User-defined fields 2

494966 - Composite SAP Note for Easy Enhancement Workbench (EEW)

Note 484597 - Customer enhancement of CRM applications

<u>Forum link -></u>

Hope this will help.

Regards

- Atul