We want to refer to table - EKBE, for getting a link between the original IV (Material Doc) with the cancellation (Material) IV Doc.
At my earlier site, our cancellation (Material) IV Doc was getting updated as a "Reference Doc" against the Original (Material Doc) IV doc. which was a easy way to identify a link between Original IV (Material) Doc. & Cancelled (Material) IV doc for ABAP development logic. Was that becuase of any user exit or development to update the "Reference Doc." field in Table - EKBE ?
Right now at our client, GR Doc (Material Doc) is getting updated as a "Reference Doc (Field - EKBE-LFBNR)" against all the material doc. pertaining to a particular P.O. in table - EKBE which require to give a different logic to identify the relationship between these 2 documents for ABAP development.
No question of giving a different logic but that was a easy way to identify the relatioship.
If possible, please confirm to me as which doc, system is referring as a "Reference Doc."
Is there any setting we do for updating the particular document as a "Reference Doc." in EKBE Table.
There is a SAP note about leaving the field "Reference Doc." as a blank field or updated with the Material doc.
But my point is that we want cancelled (Material Doc) IV as a "Reference Doc." against the original IV doc. to set a logic for ABAP development ?