05-11-2006 2:24 PM
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.
05-11-2006 3:09 PM
Include MV45AFZZ, routine:
FORM USEREXIT_MOVE_FIELD_TO_VBAK.
We are setting VBAK-KOSTL in this place, and works fine.
Regards.
05-11-2006 2:31 PM
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
05-11-2006 2:36 PM
Hi,
this Include user exit will be useful for u..
SE38 -->MV45AFZZ
Regards,
Bikash
05-11-2006 2:58 PM
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.
05-11-2006 3:09 PM
Include MV45AFZZ, routine:
FORM USEREXIT_MOVE_FIELD_TO_VBAK.
We are setting VBAK-KOSTL in this place, and works fine.
Regards.
05-11-2006 3:12 PM
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
05-11-2006 3:40 PM