Skip to Content
avatar image
-1
Former Member

Discount Condition Type Copy from Sales Order to Invoice

Hi SD Experts,

We have a requirement that 'Z200' Condition Type value from Sales Order is copied to Sales Invoice. The reason behind this is that there is Scaling basis set to 'C' for Z200, and quantity from sales order can differ from the ones in sales invoice.

Upon checking this thread(https://archive.sap.com/discussions/thread/1724673), we tried to use the user exit userexit_pricing_rule in include program RV61AFZA. However, I'm having difficulty in making it work. Somehow Z300 condition type gets affected as well.

Here is the config for Z200 and Z300:

3.png

4.png

Here are some of my trials: (Trials 1-3 had same results)

Trial 1:

steu-knprs = 'X'.

steu-kntyp = 'DX.......'. "new pricing for condition types
steu-koaid = 'DX.......'. "new pricing for condition class*

steu-maueb = 'X'. "X means: manually entered

APPEND steu. "conditions will be copied

Trial 2:

steu-knprs = 'X'.

steu-kntyp = 'DX.......'. "new pricing for condition types
steu-koaid = 'DX.......'. "new pricing for condition class
steu-maueb = 'X'. "X means: manually entered

APPEND steu. "conditions will be copied

Trial 3:

steu-knprs = 'X'.
steu-kntyp = 'CX.......'. "new pricing for condition types
steu-koaid = 'CX.......'. "new pricing for condition class
steu-maueb = 'X'. "X means: manually entered

APPEND steu. "conditions will be copied

Trial 4:

steu-knprs = 'X'.
steu-kntyp = 'D.......'. "new pricing for condition types
steu-koaid = 'D.......'. "new pricing for condition class
steu-maueb = 'X'. "X means: manually entered

APPEND steu. "conditions will be copied

Can you let me know the solution on this?

I checked OSS Note 24832 and I still got no clue to make this work...

Please let me know your thoughts on this...

Thanks!

Best regards,

K Honrade

2.png (11.7 kB)
1.png (12.1 kB)
3.png (35.8 kB)
4.png (35.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 06, 2017 at 11:40 AM

    It seems that your question requires additional information. Please make sure that your question outlines the steps you took to find information and create the question again. This way members will know that you searched and were unable to find what you needed.

    You may also want to include screenshots of what you're seeing, to help members further understand the issue. It is not clear as to why you were looking for user exits. What is the Business process and what is your current pricing procedure set up ?

    Add comment
    10|10000 characters needed characters exceeded