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

Userexit/BADI For Billing Document Additional UserFields

Former Member
0 Likes
568

Hi

Any ideas on how to implement new customer fields in an SD billing document ?

Found a BADI : BADI_SD_CUST_HEAD but it says its for SAP internal use and has been implemented using implementation WB2_IVGUI_LAYOUT_H for Global Trade.

Any help wud be much appreciated.

Cheers

Suniti

Hi

Any ideas on how to implement new customer fields in an SD billing document ?

Found a BADI : BADI_SD_CUST_HEAD but it says its for SAP internal use and has been implemented using implementation WB2_IVGUI_LAYOUT_H for Global Trade.

Any help wud be much appreciated.

Cheers

Suniti

2 REPLIES 2
Read only

Former Member
0 Likes
499

Hello Suniti,

please check USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC).

This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.

Regards

Saket Sharma

Read only

0 Likes
499

But this userexit does not create any screen input for the additional fields. The only poss. screen input seems to be using the BADI.

I have now done the foll :

1. Manually altered table SXS_ATTR for entry BADI_SD_CUST_HEAD and reset the Internal Use Flag

2. Deactivated the WB2 implementation

3. Created my own implementation and activated it.

Seems to be working OK.

Only worry now is reg. step 1 above 'cos its not exactly above board. Any thots ?

Cheers

Suniti