Skip to Content
avatar image
-1
Former Member

Default billing type based on condition

Dear All,

System will pick default billing type based on the VOV8.At present it is commercial billing document,But as per the business requirement system should pick the billing type automatically based on the logic (sales org) ,Our business team requirement is system should pick the proform the billing type for a particular sales organisation.I have tried few existing logic and changed billing type vbtyp to U and also changed number range but still system is giving error message accounting document not created,So kindly provide the exact exit for corrections.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Mar 28, 2017 at 01:26 PM

    You need to try with USEREXIT_NUMBER_RANGE in program RV60AFZZ. Ask your ABAP team to add the required logic in this exit.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you sir,i have checked the user exit but it is not fulfill our requirement giving accounting error.

  • Mar 28, 2017 at 02:55 PM

    I am a bit confused about the steps, which you performed and about the business reason behind.
    Could you please elaborate on the exact business process?
    If I understood correctly, you wish to achieve the following: for order type ZOR if VKORG = 1000, you wish to perform billing with ZF5, if VKORG = 1100, you wish to perform billing with F2.
    Q1: Are you supposed to perform final billing with accounting in the case of VKORG 1000? In most scenarios you would need do that. If not, I hope, that you are either using a separate set of item categories or you are rejecting everything.
    Q2: How do you perform billing ? Is there no possibility to skip the development and just schedule a job for these documents by setting default data?
    Q3: What is the idea of changing vbtyp and where are you changing it? In VOFA? In some custom program? My understanding was that you are expected to determine either an existing billing type or create a new one as a copy of a suitable entry - e.g. F5/F8.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 29, 2017 at 06:04 AM

    Hi Ravi K,

    Your can determine default billing type by any logic in Invoice Split Routine.

    Please check with invoice split routine and confirm.

    Regards,

    Sourabh Singh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 29, 2017 at 06:12 AM

    Dear Mr sourab,

    Thank you for your reply ,i will test and confirm.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 29, 2017 at 06:31 AM

    Hi,

    This is also not working ,I have also tested exit SAPLV60A/USEREXIT_FILL_VBRK_VBRP,Still same problem is coming

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 29, 2017 at 06:54 AM

    Why can't you use the same billing document type for different Sales Org? What's the reason behind this requirement? Could you elaborate a bit more?

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 29, 2017 at 07:38 AM

    Hi,

    It is lengthy process but it works, but it works.

    With reference of delivery type, you have to create different delivery type and assigned to particular invoice type. You can use copy control "Copying control: Delivery document to billing document".

    Path: Sales and distribution -> Billing -> Billing Document -> Maintain copying control for billing document.

    Choose: Copying control: Delivery document to billing document

    Assign billing type wise delivery type.

    Hope it is fulfil your requirement.

    Add comment
    10|10000 characters needed characters exceeded