on 01-23-2013 4:03 AM
i need a table to find out sales document number with the combination of sales document type and item category of the material.
Bhaskar,
Materials don't have Item categories. Sales document items have item categories. There is a table VBAP which contains Sales doc number, sales doc item, material, and item category.
It is possible, in the same sales order, to have two sales order items, with the exact same material, but with two different item categories.
Best Regards,
DB49
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhaskar,
There is no standard table from where you can get both Sales Doc Type and Item Category, as one is a Header field and another is a Item field.
What you can do is give the Sales Doc Type in VBAK-AUART, fetch all the VBAK-VBELN(Sales Doc no) and pass the values in VBAP-VBELN. You will get all the ITEM CATEGORY in the Sales Doc ( VBAP-PSTYV)
OR
You can create a simple QUERY Report by integrating the two table VBAK and VBAP and choose whichever field you want.
Please reverrt for any query.
Regards,
Deb
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.