Skip to Content
avatar image
Former Member

Copy purchase order reference number to the reference field of a material document referenc

Hi all,

We need to copy the purchase order reference number (EKKO-IHREZ) to the reference field in the material document (MKPF-XBLNR) when we post the goods receipt.

I have tried to do it via customizing but I haven't found any option for doing it.

¿Could you help me to find a solution?

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 05, 2017 at 12:11 PM

    In practical business process, both fields are used for different purpose. You can read the F1 help.

    Read the wiki document to understand how does the field MKPF-XBLNR get updated https://wiki.scn.sap.com/wiki/display/ERPSCM/The+update+logic+on+MKPF-XBLNR+%28Reference+Document+Number%29+is+unknown

    In case of additional requirement, you need to do it via customer enhancement.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 06, 2017 at 01:03 PM

    Hi,

    Ideally standard SAP uses it to store the reference document of GR either PO or Delivery numbers. Any kind of reporting this will be useful. I am not sure why you are restricting this filed alone? It is better not to touch standard behaviors. Instead you can capture this data at item text level of material document either by user entered or filled by system through enhancement.

    Add comment
    10|10000 characters needed characters exceeded