Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Chronicle order of debit/credit memos against original invoice (SD)

Former Member
0 Kudos

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

3 REPLIES 3

naimesh_patel
Active Contributor
0 Kudos

Check out the table VBFA.

Regards,

Naimesh Patel

0 Kudos

VBFA maintains the document flow of all SD documents however it doesn't maintain the chronicle order of DM/CM as such.

0 Kudos

Try FM RV_ORDER_FLOW_INFORMATION.

It will give you the document sorted by date and time.

Regards,

Naimesh Patel