Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Output determination in MIRO

I am trying to develop a new <b>requirement</b> in VOFM for <b>outputcontrol</b> to pick up credit memos in the transaction <b>MIRO</b>. 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 <b>EKBE</b> to fetch the PO document number from the MIRO document. Any ideas?

Former Member replied

You can use fieldsymbols to get field values that are in the call stack.

On the MIRO document get the prorgam name and field name of the field you require. Then do this.

constants: c_field(&&) value '(PROGRAM)FIELDNAME'

field-symbols <field>.

assign (c_field) to <field>

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question