Output determination in MIRO
I am trying to develop a new requirement in VOFM for outputcontrol to pick up credit memos in the transaction MIRO. In this routine i need to fetch the corresponding PO number of the Credit memo. None of the communication structures (KOMKBMR, KOMPBMP), NAST, XNAST,....... seem to hold this information.
Also this routine gets triggered before COMMIT WORK, so i'm unable to use the d/b table EKBE to fetch the PO document number from the MIRO document. Any ideas?