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

Output Condition Records based on Document Value

I have a need to send/not send different pieces of output based off of Quote value.

Example: if a quotation is over $100 send a copy of the quotation to the field sales rep automatically. And simultaneously if the quotation is under $4000 automatically send a copy of the quotation to the customer.

I have different output types and we are sending all quotes to sales reps and customers but not sure how to set up the VV11 records to recognize the value of the quotation.

We tried to set a threshold table (very custom) and it allows us to set a threshold but I can only contol the output to be over $100 or under $4000. It will not accomodate both at the same time.

We are running SAP 4.7

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 03, 2008 at 05:04 PM

    I believe you should be able to set up the access sequence based on the total value, as long as it's stored at the header level.

    In Output Determination in SPRO, there is an option "Maintain condition tables". By default there are some fields, such as Sales Org and stuff, but you may also add almost any field you want to it. Start with Field Catalog and add your field (e.g. NETWR), the proceed with creating a new condition table and do the rest, as usual (maintain access sequence and so forth).

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 07, 2008 at 01:19 PM

    Come to think of it, the best way to accomplish this is to configure 2 identical output types and apply the requirement routine to each of them. In the routine check the quantity and, accordingly, either propose output or not. For example, create output types Z1 and Z2. The requirement routine for Z1 would look like this:

    IF KOMKBV1-NETWR > 100.
      SY-SUBRC = 0.
    ELSE.
      SY-SUBRC = 4.
    ENDIF.

    For Z2 the routine would be the same but the condition would be '< 4000'. If the amount is 50$ then only Z2 would be proposed (since Z1 has a condition 'over 100$'). If the amount is 150$ then both Z1 and Z2 output would be proposed since 100 < 150 < 4000. For the amount $4001 only Z1 would be proposed.

    Please note though if a user adds the output manually then requirements are not checked (there will be a warning message, but no one ever pays attention), so you might want to disallow manual output creation for these types, depending on the business requirements.

    Hope this will resolve the issue.

    Edited by: Jelena Perfiljeva on Jul 7, 2008 3:45 PM

    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.