Skip to Content
avatar image
Former Member

Actual invoice Quantity

Hi all

I have a requirement where I need to consider actual invoice quantity of a customer for particular week; in that week few of the invoices are getting cancelled (S1) and few of the getting return (RE). In this case how I need to consider the exact invoice quantity of a customer, I have to give requirement to ABAPer. Please do the needful

Thanks in advance

Regards,

Nagesh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Feb 01, 2011 at 11:24 AM

    Ask your ABAPer to check the field RFBSK in table VBRK which should not be "E". This will eliminiate the billing documents that were cancelled.

    For returns, check the subsequent document category which should not be "H"

    thanks

    G. Lakshmipathi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi,

      there is a standard t.codes for that:

      MCTE, MC2, MCY - satisfy your query,

      if not

      catch hold of DOCUMENT CATEGORY

      V_TVAK-VBTYP =

      'C' - NORMAL SALES ORDER.

      'H' - RETRUNS SALES ORDER.

      V_TVFK-VBTYP =

      'N' - S1

      include this in the logic

      please check and confirm

      balajia

  • avatar image
    Former Member
    Feb 01, 2011 at 11:10 AM

    hi,

    there is a standard t.codes for that:

    MCTE, MC2, MCY - satisfy your query,

    if not

    catch hold of DOCUMENT CATEGORY

    V_TVAK-VBTYP =

    'C' - NORMAL SALES ORDER.

    'H' - RETRUNS SALES ORDER.

    V_TVFK-VBTYP =

    'N' - S1

    include this in the logic

    please check and confirm

    balajia

    Add comment
    10|10000 characters needed characters exceeded