Skip to Content
author's profile photo Former Member
Former Member

Customer Expected Price - Custom Cond. Val. Form. Routine 608 not working

Hi ABAP experts,

I have created a new condition value forumla routine 608. Copied the code from 008.

I want to place a delivery block at header level.

data: maximum(3) type p value 50,

difference(7) type p.

check: komp-cepok ne 'C',

komp-kposn ne 0,

komk-vbtyp na vbtyp_fakt.

if komp-fxmsg = space.

komp-fxmsg = '805'.


komp-cepok = ' '.

check: komp-prsfd = 'X'.

komp-cepok = 'A'.

difference = komp-netwr - xkwert.

if difference lt 0.

difference = difference * -1.


check: difference gt maximum.

komk-lifsk = 'ZZ'.

komp-cepok = 'B'.

xkomv-fxmsg = '249'.

This routine is not placing any delivery block even if there price difference greater than 50 between customer expected condition value and Net Value.

Please let me know.

What's going wrong?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2009 at 04:23 PM

    Customer expected price difference goes to its own hold status which you can see using V.25. it wouldnt put a Delivery Block on the order

    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.