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: 

Adding custom fields in vendor master by user exit.

Former Member
0 Kudos

Hi,

I would add two custom fields (in particular checkboxes) in vendor master by user exit.

The table where I would create an append (this is my idea but I'm not sure if it is right) and add these checkboxes is LFB1, the include is ZXF05U01.

I executed SE11 with table LFB1 and I browsed until the last entry, here when I click on modify button I can see the following:

.INCLUDE SI_LFB1

.APPEND /SAPNEA/J_SC_LFB1

.APPEND ALFB1_FMFG

.APPEND ALFB1_PSO

.APPEND WRF_LFB1_APPEND

The first field named .INCLUDE  is editable but the others are not editable.

So do I have to add my new fields in the above INCLUDE or in the APPEND ?

Thanks

Best regards

1 ACCEPTED SOLUTION

Venkat_Sesha
Employee
Employee

Append the new fields to LFB1 with Append Structure button on the top right.

Later use these BADIs VENDOR_ADD_DATA and VENDOR_ADD_DATA_CS to display the new fields in your Vendor Creation/Change/Display Screens.

Hope this helps..

3 REPLIES 3

Venkat_Sesha
Employee
Employee

Append the new fields to LFB1 with Append Structure button on the top right.

Later use these BADIs VENDOR_ADD_DATA and VENDOR_ADD_DATA_CS to display the new fields in your Vendor Creation/Change/Display Screens.

Hope this helps..

0 Kudos

Do I have to use mandatory badis for my purpose  ?

0 Kudos

It is not Mandatory. An ABAPER can do anything in SAP.

They are very simple ones. That is the reason I gave you them.

Check SAP Note 580266 or the below link

http://pavelgk.pbworks.com/f/sapnote_0000580266.pdf

Hope this helps