Skip to Content
avatar image
Former Member

billing docs for different company codes

hello, friends.

let's say a client has 2 company codes. of course, these company codes would have different sales orgs, and by extension different sales areas.

now further, these company codes would require billing documents each with different number ranges. normally, we define a set of sales orders and billing types for each sales org so that the number range will not be shared.

but is it possible (SAP standard) for both sales orgs to be sharing the same sales order documents and still have different billing types (e.g. invoice)? i was thinking of doing this by assigning a Document Pricing Procedure in the billing type for the second company code and then assigning the second sales org to this in OVKK. has anyone tried this?

if this will not work, is there an existing userexit for this?

many thanks in advance...

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 25, 2009 at 09:41 AM

    Hello Friend,

    This can be achieved through TVARV Table (Table of variables in selection criteria). Here you maintain the different number ranges as variables based on Sales Organsation so that based on a Sales Organisation or company code the number range will differ because of this.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Jonathan,

      I really dont know exactly which user exit to be used for the same but what i know is this can be achieved through combination of TVARV+User Exit Combination.Based on that user exit automatically it picks the number range depending on the criteria you have maintained.

  • avatar image
    Former Member
    Mar 25, 2009 at 09:44 AM

    Hi

    I think this is not possible as per standard

    Because 1 sales order type can have only 1 invoice or billing type

    in VOV8 if it is order related or delivery related we have to assign the billing type

    It may be possible for your case

    by differentiating i billing type for SALES ORG A as delivery related

    for SALES ORG B as order related

    I have never tried

    regards

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hello, subhasish.

      you have a point. however, i think its possible to assign the same pricing procedure regardless of the document pricing procedure. nevertheless, i am re-thinking my earlier position on the OVKK approach.

      what do you all think if i just restrict the billing type per user role/profile, which will be assigned depending on company code/sales org? this could be effective only if there are different user accounts for each company code. also, the billing type still has to be manually entered upon billing doc creation, so there is some inconvenience here.

  • avatar image
    Former Member
    Mar 27, 2009 at 03:30 AM

    hello, friends. i will still have to test the user exit approach. but i will re-open this if i have updates.

    thanks!

    Add comment
    10|10000 characters needed characters exceeded