Application Development and Automation 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: 
Read only

Custom fields in Vendor Master.

Former Member
0 Likes
5,398

Hi ,

I have a requirement where I need to add few custom fields in Vendor master Purchasing data view.

I tried using BADI's VENDOR_ADD_DATA,  VENDOR_ADD_DATA_CS. Now  I can able to see the custom fields when I click my custom button.

But the button is reflecting to all screens in vendor master data like Address view and control view. I want to restrict this button to display only to the purchasing data view.

Please suggest how to control the custom button to display only in purchasing data view.

Thanks,

Vijay.

Hi ,

I have a requirement where I need to add few custom fields in Vendor master Purchasing data view.

I tried using BADI's VENDOR_ADD_DATA,  VENDOR_ADD_DATA_CS. Now  I can able to see the custom fields when I click my custom button.

But the button is reflecting to all screens in vendor master data like Address view and control view. I want to restrict this button to display only to the purchasing data view.

Please suggest how to control the custom button to display only in purchasing data view.

Thanks,

Vijay.

6 REPLIES 6
Read only

SandySingh
Active Contributor
0 Likes
3,272

Hello Vijay

Refer to SAP Note 580266 for detailed explanation how to implement this enhancement .

You can code in logic in method VENDOR_ADD_DATA_CS~GET_TAXI_SCREEN to control the field display.

http://scn.sap.com/docs/DOC-42095

Regards

sandy

Read only

0 Likes
3,272

Hi Sandy,

The custom button is displaying in Purchasing data view, But my requirement is to add the button in plant data level. The same is not reflecting in Plant data level .

Please find the below screen shots for your reference.

Please check the second screen shot. I need to add the custom button and fields over there.

 

Thanks,

Vijay.

Read only

suresh_mamilla
Participant
0 Likes
3,272

This message was moderated.

Read only

0 Likes
3,272

Hi ,

I am going to Add.purchasing data in extras button in vendor master . And in alternate data view (Plant level) I need to display my custom fields. This is screen 0330 in Program SAPMF02K.

I have added my custom button through config and displaying the custom fields using BADI's. The custom button is reflecting in all the vendor master screens except Purchasing data view plant level .

Please suggest how to add the custom button to display only in purchasing data view (Plant level).

Thanks,

Vijay.

Read only

0 Likes
3,272

How did you already code

  • IF_EX_VENDOR_ADD_DATA_CS~GET_TAXI_SCREEN (Set header screen layout, but the main icon text will always be displayed, the subscreen will be displayed under its declared header)
  • IF_EX_VENDOR_ADD_DATA_CS~SUPPRESS_TAXI_TABSTRIPS (Remove subscreen when some key, e.g. Purchase Organization, is missing)

Not sure it is possible to fulfill your written requirement.

Regards,
Raymond

Read only

0 Likes
3,272

Hi ,

The custom button is displaying in Purchasing data view, But my requirement is to add the button in plant data level. The same is not reflecting in Plant data level .


Please find the below screen shots for your reference.


Please check the second screen shot. I need to add the custom button and fields over there.

Thanks,

Vijay.