Skip to Content

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

Return to main screen after validation by ME_PURCHDOC_POSTED

I tried to validate whether batch is input on the PO by using the BADI ME_PURCHDOC_POSTED~POSTED method.

I can successfully stop the posting if no batch is input for line item, however, message "PO XXXX is changed" is still issued. How can I return to main screen, so that user can change the input and post again?



Former Member

there is , But it will hidden,

from the header object read the item objects -> then read the schedule lines data.

IM_HEADER->GET_ITEMS, now loop each item object and get the schedules information using the method item->GET_SCHEDULES

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