on 11-12-2009 10:49 AM
Hello,
the need I have is to perform the repricing (repricing type KNPRS = 'C') when a billing document is posted.
I cannot use the standard customizing of the copying control since the document flow is unique with other organizations where the repricing type has to be equal to 'G'
I cannot use the standard customizing of the pricing conditions since they are shared in other pricing schema.
I know that on the sales document has been provided some user exit in order to do it (USEREXIT_NEW_PRICING_VBAP and USEREXIT_NEW_PRICING_VBKD) but they are not available for the billing.
Do you know how i can cover my requirement?
Thanks in advance,
Alessandro
Hi
try
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.
OR
USEREXIT_CHANGE_PRICING_RULE (Module pool SAPMV61A, Include MV61AFZA) You can use this user exit to change the pricing type that has been predefined in the copying control table in billing.
Edited by: Yadav on Nov 12, 2009 12:56 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
with regards to the topic above i have one addiitonal question.
how could i determine repricing (type G) at save of the billing document.
for enahnced rebate billing type i need to reprice each line as my manual tax condition is not determined at the time of billing creation (during rebate settlement). actually condition record seems to be found but condition is not set. how do i make this condition set in the billing document...please note that this is enhanced rebate billing doc.
would be grateful for any hint.
thanks
Wojtek
Hello,
Please use the following userexit for your requirment and let us know the result of the exercise.
USEREXIT_CHANGE_PRICING_RULE : Kindly take the help of ABAPer to code accordingly so that when the Sales Organsiation for which you want to change is considered then the code will be triggered accordingly.
Regards,
Sarthak
Hi,
GOTO COPY CONTROL AND AT ITEM LEVEL FOR ITEM CATEGORY CHANGE PRICE TYPE FROM G TO B/C.
Regards
AJIT K SINGH
HAPPY TO HELP U
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.