Skip to Content

Inforecord - PR item linkage in case of copy

Hi all gurus,

I implemented a DMS integration on several SAP backends (mostly ECC6, but also some 470 too).

Basically, users can create a specific inforecord type in CV01N transaction and attach a file,that can lately be bound to a Purchase Request item by means of the standard "Documents.." button available in ME5xN transactions.

Now, the problem occours when an user opens the ME51N enjoy transaction in order to create a new Purchase Request by copying an existing one which has attachments.

I've seen different behaviours:

- on some backends, documents attached to the "source" PR are not copied into the "target" one;

- on some others, documents attached to the "source" PR are copied into the "target" PR;

- lately, on few backends, documents attached to the "source" PR are APPARENTLY copied into the "target" PR: apparently because when the user saves the PR, the copied links disappear.

How can we modify such behaviour? Customer's desired behaviour is that any PR obtained by copy does NOT consider original's attached inforecords, so that the user has to start from scratch if he wants to link inforecords to the requisition.

Thanks in advance for your suggestions and support.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 02, 2015 at 03:43 PM

    goto dc10 check object link configuration.

    also you may need to code this requirement in document badi

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Axle,

      I tried to implement that BADi and placed a dummy implementation in each method, BEFORE_SAVE included.

      But... when copying a PR containing object links by means of the Enjoy ME5xN transactions, the BADi is not triggered in any way.

      Some BADi to process PR data are triggered though, but in these BADis I don't have any visibility on object links at item's level.

      Waiting for your support,

      thanks you all !


  • avatar image
    Former Member
    Nov 01, 2015 at 04:48 AM


    Weird, Can you share screen shot of this behavior.



    Add comment
    10|10000 characters needed characters exceeded

    • Hello Nayeem,

      which screenshot would you like to see? I ask because the issue cannot be documented by a single screenshot, but with a sequence which is easy to replicate:

      - create a PR;

      - save the PR;

      - re-open the PR in change mode and add some Documents (inforecord) per position;

      - save the PR;

      - create a new PR by copying the previously saved PR.

      Here I'm facing different behaviours in different systems, as explained in my first post.