SAP CV120_KPRO_CHECKOUT_TO_URL Function Module for NOTRANSL: DVS: URL für KPRO-DVS-Objekt erzeugen









CV120_KPRO_CHECKOUT_TO_URL is a standard cv120 kpro checkout to url 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: DVS: URL für KPRO-DVS-Objekt erzeugen 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 cv120 kpro checkout to url FM, simply by entering the name CV120_KPRO_CHECKOUT_TO_URL into the relevant SAP transaction such as SE37 or SE38.

Function Group: CV120
Program Name: SAPLCV120
Main Program: SAPLCV120
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CV120_KPRO_CHECKOUT_TO_URL 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 'CV120_KPRO_CHECKOUT_TO_URL'"NOTRANSL: DVS: URL für KPRO-DVS-Objekt erzeugen
EXPORTING
* PF_BATCHMODE = "Background Mode
PS_PHIO_ID = "PHIO ID
* PF_FILE = "Original of Document
* PF_STD_URL = ' ' "
* PF_DP_URL = ' ' "
* PF_COMP_GET = ' ' "Check Out Additional Files

IMPORTING
PFX_URL = "URL

TABLES
* PT_COMPONENTS = "

EXCEPTIONS
ERROR = 1 NO_CONTENT = 2
.



IMPORTING Parameters details for CV120_KPRO_CHECKOUT_TO_URL

PF_BATCHMODE - Background Mode

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

PS_PHIO_ID - PHIO ID

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

PF_FILE - Original of Document

Data type: DRAW-FILEP
Optional: Yes
Call by Reference: Yes

PF_STD_URL -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: Yes

PF_DP_URL -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: Yes

PF_COMP_GET - Check Out Additional Files

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

EXPORTING Parameters details for CV120_KPRO_CHECKOUT_TO_URL

PFX_URL - URL

Data type: MCDOK-URL
Optional: No
Call by Reference: Yes

TABLES Parameters details for CV120_KPRO_CHECKOUT_TO_URL

PT_COMPONENTS -

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

EXCEPTIONS details

ERROR - Errors

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

NO_CONTENT -

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

Copy and paste ABAP code example for CV120_KPRO_CHECKOUT_TO_URL 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_error  TYPE STRING, "   
lv_pfx_url  TYPE MCDOK-URL, "   
lv_pf_batchmode  TYPE C, "   
lt_pt_components  TYPE STANDARD TABLE OF DMS_TBL_COMP, "   
lv_no_content  TYPE DMS_TBL_COMP, "   
lv_ps_phio_id  TYPE SDOKOBJECT, "   
lv_pf_file  TYPE DRAW-FILEP, "   
lv_pf_std_url  TYPE C, "   SPACE
lv_pf_dp_url  TYPE C, "   SPACE
lv_pf_comp_get  TYPE C. "   SPACE

  CALL FUNCTION 'CV120_KPRO_CHECKOUT_TO_URL'  "NOTRANSL: DVS: URL für KPRO-DVS-Objekt erzeugen
    EXPORTING
         PF_BATCHMODE = lv_pf_batchmode
         PS_PHIO_ID = lv_ps_phio_id
         PF_FILE = lv_pf_file
         PF_STD_URL = lv_pf_std_url
         PF_DP_URL = lv_pf_dp_url
         PF_COMP_GET = lv_pf_comp_get
    IMPORTING
         PFX_URL = lv_pfx_url
    TABLES
         PT_COMPONENTS = lt_pt_components
    EXCEPTIONS
        ERROR = 1
        NO_CONTENT = 2
. " CV120_KPRO_CHECKOUT_TO_URL




ABAP code using 7.40 inline data declarations to call FM CV120_KPRO_CHECKOUT_TO_URL

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.

 
"SELECT single URL FROM MCDOK INTO @DATA(ld_pfx_url).
 
 
 
 
 
"SELECT single FILEP FROM DRAW INTO @DATA(ld_pf_file).
 
DATA(ld_pf_std_url) = ' '.
 
DATA(ld_pf_dp_url) = ' '.
 
DATA(ld_pf_comp_get) = ' '.
 


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!