Skip to Content
avatar image
Former Member

billing document header reference no. field, reference number

Hi,

this case is about billing document header reference no. field, reference number i.e, XBELNR should be updated only at the time of releasing to accounting.

Some body can share your ideas to construct this.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 09, 2013 at 11:34 AM

    Hi Bhaskar,

    I am unable to understand your requirement what is impact if it is updated at the time of Billing creation or at the time of Accounting release.

    Please note that I am alos not aware that which field your are updating in VBRK-XBLNR as per functional config you can update only below options in Copy control VTFA or VTFL.

    APurchase order numberBSales order numberCDelivery numberDExternal delivery numberECurrent billing document numberFExternal delivery no. if avaialable, otherwise delivery no.

    Apart from the above you have to take help of User Exit USEREXIT_FILL_VBRK_VBRP in Program RV60AFZC.

    If you have any doubt let me know.

    Thanks,

    Suman$

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Suman Sardar

      Hi Suman,

      ON basis of vbrk-rfbsk field status" C" i can able to control some how, but i am not sure this status how it impact other documents such as credit note, debitnote etc.,

      Ofcourse i am trying to restrict to normal invoice only, but is there any chance of knowing about the POSTING STATUS C will impact what are all the other areas.

      i request other people also to throw some light on this.

      Thanks

  • avatar image
    Former Member
    Oct 18, 2013 at 07:54 AM

    Hi Suman,

    ON basis of vbrk-rfbsk field status" C" i can able to control some how, but i am not sure this status how it impact other documents such as credit note, debitnote etc.,

    Ofcourse i am trying to restrict to normal invoice only, but is there any chance of knowing about the POSTING STATUS C will impact what are all the other areas.

    i request other people also to throw some light on this.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

    • Bhaskar,

      for argentina as per govt. requirement they have one seperate sequence numbers, that should be updated in reference no. of billing header. the same will updated in invoice layout and accounting document.

      Now the issue is if billing needs to be cancelled, the billing doc already taking that no. So sequence should not disturb that

      I have worked for processes for Argentina. The sequence number is populated in the reference number (VBAK-XBLNR); sales order, at header level.

      Important point is that this number populates in (flows to) VBRK-XBLNR, even if the billing document is cancelled and new billing document is created; this reference number remains the same.

      As the (new or old) billing document is created with reference to the same sales order.

      Furthermore, after reading your suggested solution -

      Posting status (VBRK-RFBSK) would remain C, even if a billing document is cancelled.

      So to identify the relevant billing documents -

      Take into consideration -

      1. TVFK VBRK-FKART

      2. VBRK-RFBSK = C

      3. VBRK-FKSTO = blank

      Message was edited by: TW Typewriter - Edited in blue color.