‎2006 Mar 27 12:35 PM
Hello,
I'd like to create reference to a document from another document by use of some BAPI or class method.
Can anybody give me some example how to create reference to another document?
Best regards,
Josef Motl
‎2006 Mar 27 12:40 PM
Hi Josef,
You can use BAPI_DOCUMENT_CREATE2 to do so. In the tables parameter OBJECTLINKS you add your reference to the existing documen't.
Regards,
John.
‎2006 Mar 27 1:10 PM
Hi John,
thanks for your reply. I can't find FM BAPI_DOCUMENT_CREATE2 on my system.
I only found similar named FM:
SRM_DOCUMENT_CREATE
RMPS_POST_CREATE_API
These FMs haven't table parameter OBJECTLINKS.
Kind regards,
Josef
‎2006 Mar 27 1:15 PM
Hi Josef,
Sounds like your are not a regular R3 system. Perhaps on SRM?
Regards,
John.
‎2006 Mar 27 1:22 PM
John,
I'm on regular R3 system 6.40.
Regards,
Josef
‎2006 May 09 3:03 PM
Hi Josef,
The creation of the links between the documents is created in the class CL_RMPS_LINKS. Here it is possible to create or delete the links to the other documents. There is no standard BAPI or Function module for this.
Hope this is of any help.
Regards,
Tjalling-Jan Gerkema
‎2012 Feb 08 2:07 PM
Hello,
can anybody provide some example how to achieve this with this class CL_RMPS_LINKS? I also need to make references to inbound document programatically, but don't know how.
Thanks in advance.