Hi Karthik,
If you post GR directly in ERP via MIGO, when program clean_reqreq_up processes the "AV" entry of the PO in table bbp_document_tab, it will only update the statistics data of SRM PO. GR document number is not updated back and saved anywhere in SRM PO.
Report: clean_reqreq_up
=========================================================
WHEN gc_doc_be_po_call_offs.
CALL FUNCTION 'BBP_PD_PO_ACT_VAL_UPDATE'
EXPORTING
iv_po_number = selarea-reqno
iv_no_statics = gc_yes
EXCEPTIONS
po_locked = 2
internal_error = 2
OTHERS = 2.
=========================================================
System will only read the GR document information when you check the SRM document history, for example, navigate to the Tracking tab at PO header or Related Document tab at PO item.
Regards,
Wendy