Skip to Content
avatar image
Former Member

Rejected quantities in Contracts/ sales orders

Hello SD Gurus,

How can I get rejected qty in order/contract?

Would it require a ABAP query/ report to be coded?

Thanks

Anand

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Mar 12, 2009 at 08:04 AM

    Hi Anand,

    First identify rejected items.

    Tio do this use VBUP table with VBELN (SO # or Contract#) check for "rejected status" with field VBUP-ABSTA.

    ABTSA becomes "C" for rejected items and it remains "A" if the item is successfully processed.

    You will get POSNR here for all items with ABSTA = C

    Use this POSNR and VBELN in VBAP to find the quantity.

    It should be a simple query you can do it in SQVI also.

    Hope this helps

    Sachin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Although I had a vague idea of the approach... you reply had clarified the solution.

      many thanks

      Anand