Document Flow with Correct Links
Does anyone know the Function Module that is called when you view a document flow from a sales order from VA03. My requirement is to be able to match up variaous document types to their coresponding entry, so for example, in the screen shot VA03, I can see what delivery relates to that order, what invoice and inter-company relates to that delivery, what accounting document hangs off that invoice and intercompany and what cancellations hangs off that invoice and intercompany.
However, if I use Function Module SD_VBFA_SELECT, I only can see the documents, but I can't see where they hang together.
Does anyone know where I can find the FM that show's the correct flow?
Thanks for your help, I found the FM I require. SD_DOCUMENT_FLOW_GET gives me the flow of the documents and links them correctly to their preceeding documents in way that allows me to process them.
Thanks for your help