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: 

User exit in SD module (Urgent)

Former Member
0 Kudos

Hello All,

I am searching an user-exit for sales orders. I need a user exit to manage the cost center in the sales order header. Please get me the user exit.

Thanks in advance for the help.

1 ACCEPTED SOLUTION

LucianoBentiveg
Active Contributor
0 Kudos

Include MV45AFZZ, routine:

FORM USEREXIT_MOVE_FIELD_TO_VBAK.

We are setting VBAK-KOSTL in this place, and works fine.

Regards.

6 REPLIES 6

former_member181962
Active Contributor
0 Kudos

Exits available in va01:

SDTRM001 Reschedule schedule lines without a new ATP check

V45A0001 Determine alternative materials for product selection

V45A0002 Predefine sold-to party in sales document

V45A0003 Collector for customer function modulpool MV45A

V45A0004 Copy packing proposal

V45E0001 Update the purchase order from the sales order

V45E0002 Data transfer in procurement elements (PRreq., assembly

V45L0001 SD component supplier processing (customer enhancements

V45P0001 SD customer function for cross-company code sales

V45S0001 Update sales document from configuration

V45S0003 MRP-relevance for incomplete configuration

V45S0004 Effectivity type in sales order

V45W0001 SD Service Management: Forward Contract Data to Item

V46H0001 SD Customer functions for resource-related billing

V60F0001 SD Billing plan (customer enhancement) diff. to billing

Regards,

Ravi

Former Member
0 Kudos

Hi,

this Include user exit will be useful for u..

SE38 -->MV45AFZZ

Regards,

Bikash

Former Member
0 Kudos

Hi S R

Please check the method "EXIT_SAPLV46H_003" (Customer Function when Creating/Changing Header)

of BAdi "BADI_SD_V46H0001" (SD Customer functions for resource-related billing)

Regards,

Ranjit Thakur.

Please Mark The Helpful Answer.

LucianoBentiveg
Active Contributor
0 Kudos

Include MV45AFZZ, routine:

FORM USEREXIT_MOVE_FIELD_TO_VBAK.

We are setting VBAK-KOSTL in this place, and works fine.

Regards.

vinod_gunaware2
Active Contributor
0 Kudos

the following program are the user exit for billing.

we often use RV60AFZC and RV60AFZZ.

RV60AFZA

RV60AFZB

RV60AFZC

RV60AFZD

RV60AFZZ

RV60BFZA

For Sales order

Pricing, item addtion deletion

MV45AFZZ

First, I did not find documentation for the BADI either. But at the first glance the process of implementing it looks quite straightforward. I assume you run R/3 Enterprise (4.7). So, you should implement BADI 'BADI_SD_SALES' - this must be done in transaction SE19. In particular for the purpose of adding some additional items into sales document I would implement method SAVE_DOCUMENT_PREPARE. This method has changing table parameter FXVBAP of type VA_VBAPVB_T - it holds all the sales document items. Just add items of yours to it. Certainly, you have to fill all the appropriate fields carefully.

Hope this helps somehow.

In that case you should use USEREXIT_DOCUMENT_SAVE_PREPARE subroutine (form). As far as I remember it has no parameters. To add items to the sales document you should modify internal table XVBAP.

regards

vinod

former_member181966
Active Contributor
0 Kudos

<b>FYI</b>

You can also find user exit by entering a transaction using the program refer in thread below !!

Hope this’ll give you idea!!

<b>P.S award the points.</b>

Good luck

Thanks

Saquib Khan

"Some are wise and some are otherwise"