‎2009 Sep 21 7:37 PM
Hello,
In VTFL for creating billing doc's from deliveries, we are using the copy routine '003' and determine export parameter of 'B'. Now we would like to control this parameter 'B' setting based on the sales org or plant. For example, use setting 'A' for sales org X and setting 'B' for sales org Y. Can this be controlled thru config or do we need to find a user-exit to do this? Anyone with any suggestion, please respond. Thanks.
‎2009 Sep 21 8:12 PM
You cannot configure this with conditions. You have to find user exit to do this. This is based on the source and targe document type so if you have multiple or different document type for different sales org then you can add based on the document types. For example, for Y sales org, if you create a LF delivery and F2 billing you can add 'B' to Y sales org based on delivery type and billing type.
Try checking copy routine 003 if you can change it inside or it is better to go for user exit option
‎2009 Sep 21 8:27 PM
Hi,
Thanks for your thoughts. I tried looking in the copy routine '003' to see if I could find the determine export parameter setting but with no luck. Any ideas on the user-exits that could be used to achieve this? Thanks.
Edited by: Adrian Vlasan on Sep 21, 2009 9:27 PM
‎2009 Sep 21 8:45 PM
Look both delivery and billing user exits. try Save_document_prepare in include MV50AFZ1 and also try for BADI's for before billing document populated or in another words before you got into VF01 and also after the delivery processed and before saving the application.