10-06-2008 5:09 PM
I have a requirement in which we need to send the chronicle order of credit or debit memos against original invoice.
Basically we are sending all invoice data created in a day in SAP to legacy system.
As credit or debit memo can be created anytime in invoice life cycle, legacy wants that chrocle order of CM or DM.
e.g. we have 3 credit memos and 2 debit memos against one particular original invoice. We need to know whether any particular credit memo is first, second or third etc against original invoice.
Does this chronicle order of credit or debit memos get stored in any of the SD tables?
Any pointers to this will be highly rewarded.
Thanks,
Prasad
10-06-2008 5:11 PM
10-06-2008 5:19 PM
VBFA maintains the document flow of all SD documents however it doesn't maintain the chronicle order of DM/CM as such.
10-06-2008 5:34 PM
Try FM RV_ORDER_FLOW_INFORMATION.
It will give you the document sorted by date and time.
Regards,
Naimesh Patel