Skip to Content

To blok delivery type NL when valuation type differs from STO

Hi,

How to block delivery type NL(Replenishment) when valuation type differs from Stock transport order's valuation type.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Feb 28, 2013 at 04:18 PM

    Hi

    I don't know what is the reference of valuation. But you have two options.

    1. Userexit in VL10 (see note 198137) but in the most powerful userexit (USEREXIT_PREPARE_PACKAGES_CHAN in include LV50R_VIEWF62) you can change the values of KOMDLGN where you have the field LIFSK)

    2. KOMDLGN is used in the copy rule (tcode VTLA) from DL to NL, and in subroutine (VOFM) 301 you have this coding:

    form daten_kopieren_301.

    likp-vkorg = xkomdlgn-vkorg.

    .....

    likp-lifsk = xkomdlgn-lifsk.

    ......

    So, or use the userexit or create your own VOFM, set your conditions in an IF/ENDIF and change the value of LIFSK. I suggest you to to it with VOFM in copy rules.

    I hope this helps you

    Regards

    Eduardo

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.