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

One time charge for an Item in sales order


The situation we have is that when a order comes in for a part, we need to have a one time charge (installation charge per say). Any subsequent orders for the same part by that customer should not include that charge.

I can certainly code in user exit (add item to XVBAP when condition is met). Is there a way to do this via configuration?.

Appreciate your help.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 13, 2005 at 08:46 PM

    I don't think so. The only thing that comes to my mind is a manual condition type that you will assign to the first sales order and not to the subsequent ones. Now the question, whether you choose this approach or a programmatic approach, is how will you determine whether this is the first or subsequent order. Also, if the first order has that item, but was subsequently cancelled or returned, how will you manage that? Imagine going through VBAK and VBAP, every time the customer places the order to figure out if there is an existing order!! After a couple of years, you may be doing archiving of the documents. How will you determine if your customer previously placed an order but was archived or didn't place the order.

    One solution that comes to my mind is a Z table which stores customer number, material number, sales order number and item number. This needs to be updated everytime a sales order is created or changed. Then you can decide if there was a previous order simply querying this database. It can be added as a requirement for pricing to go this table to check for the existance of a previous order and then include or don't include the condition type(for one time installation charge) depending on the result.

    Please reward and close if this response helped you and solved your problem.


    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.