SAP PLM_DMS_LINK_CREATE_DOC Function Module for NOTRANSL: Anlegen eines Dokuments 1









PLM_DMS_LINK_CREATE_DOC is a standard plm dms link create doc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Anlegen eines Dokuments 1 processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for plm dms link create doc FM, simply by entering the name PLM_DMS_LINK_CREATE_DOC into the relevant SAP transaction such as SE37 or SE38.

Function Group: PLM_DMS_46_CR_INTERFACE
Program Name: SAPLPLM_DMS_46_CR_INTERFACE
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function PLM_DMS_LINK_CREATE_DOC pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'PLM_DMS_LINK_CREATE_DOC'"NOTRANSL: Anlegen eines Dokuments 1
EXPORTING
* PFX_CREATE = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* EVENTING_OFF = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PFX_CLASSIFICATION = ' ' "Create Classification

IMPORTING
PSX_MESSAGE = "Message Line for CAD Dialog Interface
PFX_READY = "DE-EN-LANG-SWITCH-NO-TRANSLATION
PFX_HAS_CREATED = "Checkbox

TABLES
PTX_PARAM_OUT = "Transfer structure
PTX_PARAM_IN = "Transfer structure
* PTX_CONTENT = "Originals for documents
.



IMPORTING Parameters details for PLM_DMS_LINK_CREATE_DOC

PFX_CREATE - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EVENTING_OFF - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

PFX_CLASSIFICATION - Create Classification

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for PLM_DMS_LINK_CREATE_DOC

PSX_MESSAGE - Message Line for CAD Dialog Interface

Data type: BAPIRET2
Optional: No
Call by Reference: No ( called with pass by value option)

PFX_READY - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: XFELD
Optional: No
Call by Reference: No ( called with pass by value option)

PFX_HAS_CREATED - Checkbox

Data type: INT4
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for PLM_DMS_LINK_CREATE_DOC

PTX_PARAM_OUT - Transfer structure

Data type: PLM_DMS_DOC
Optional: No
Call by Reference: Yes

PTX_PARAM_IN - Transfer structure

Data type: PLM_DMS_DOC
Optional: No
Call by Reference: Yes

PTX_CONTENT - Originals for documents

Data type: DRAO
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for PLM_DMS_LINK_CREATE_DOC Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_pfx_create  TYPE XFELD, "   'X'
lv_psx_message  TYPE BAPIRET2, "   
lt_ptx_param_out  TYPE STANDARD TABLE OF PLM_DMS_DOC, "   
lv_pfx_ready  TYPE XFELD, "   
lv_eventing_off  TYPE XFELD, "   SPACE
lt_ptx_param_in  TYPE STANDARD TABLE OF PLM_DMS_DOC, "   
lt_ptx_content  TYPE STANDARD TABLE OF DRAO, "   
lv_pfx_has_created  TYPE INT4, "   
lv_pfx_classification  TYPE XFELD. "   SPACE

  CALL FUNCTION 'PLM_DMS_LINK_CREATE_DOC'  "NOTRANSL: Anlegen eines Dokuments 1
    EXPORTING
         PFX_CREATE = lv_pfx_create
         EVENTING_OFF = lv_eventing_off
         PFX_CLASSIFICATION = lv_pfx_classification
    IMPORTING
         PSX_MESSAGE = lv_psx_message
         PFX_READY = lv_pfx_ready
         PFX_HAS_CREATED = lv_pfx_has_created
    TABLES
         PTX_PARAM_OUT = lt_ptx_param_out
         PTX_PARAM_IN = lt_ptx_param_in
         PTX_CONTENT = lt_ptx_content
. " PLM_DMS_LINK_CREATE_DOC




ABAP code using 7.40 inline data declarations to call FM PLM_DMS_LINK_CREATE_DOC

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

DATA(ld_pfx_create) = 'X'.
 
 
 
 
DATA(ld_eventing_off) = ' '.
 
 
 
 
DATA(ld_pfx_classification) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!