on 02-01-2011 10:54 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
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.