SAP CVALE_KPRO_GET_CONTENT Function Module for DE-EN-LANG-SWITCH-NO-TRANSLATION









CVALE_KPRO_GET_CONTENT is a standard cvale kpro get content SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for DE-EN-LANG-SWITCH-NO-TRANSLATION 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 cvale kpro get content FM, simply by entering the name CVALE_KPRO_GET_CONTENT into the relevant SAP transaction such as SE37 or SE38.

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



Function CVALE_KPRO_GET_CONTENT 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 'CVALE_KPRO_GET_CONTENT'"DE-EN-LANG-SWITCH-NO-TRANSLATION
EXPORTING
* PF_TCODE = "ABAP Program, Current Transaction Code
* PS_DRAW = "Document Info Record
PS_IDOC_CONTRL = "

TABLES
PT_DIST_FILES = "SDOK: BOR Key for Information Object
PT_FILES = "Originals in DMS

EXCEPTIONS
ERROR = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLCVALE_001 User exit for ALE-DMS (DOCMAS inbound)
EXIT_SAPLCVALE_002 User exit for ALE-DMS (DOCMAS outbound)
EXIT_SAPLCVALE_003 User exit for ALE-DMS (DOLMAS inbound)
EXIT_SAPLCVALE_004 User exit for ALE-DMS (DOLMAS outbound)
EXIT_SAPLCVALE_005 Userexit for filter objects (ALE outbound)
EXIT_SAPLCVALE_006 User Exit for ALE-DVC (DOCMAS Outbound, BOMDOC Control)

IMPORTING Parameters details for CVALE_KPRO_GET_CONTENT

PF_TCODE - ABAP Program, Current Transaction Code

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

PS_DRAW - Document Info Record

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

PS_IDOC_CONTRL -

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

TABLES Parameters details for CVALE_KPRO_GET_CONTENT

PT_DIST_FILES - SDOK: BOR Key for Information Object

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

PT_FILES - Originals in DMS

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

EXCEPTIONS details

ERROR - General Error

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CVALE_KPRO_GET_CONTENT 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_pf_tcode  TYPE SY-TCODE, "   
lt_pt_dist_files  TYPE STANDARD TABLE OF SDOKOBJECT, "   
lv_ps_draw  TYPE DRAW, "   
lt_pt_files  TYPE STANDARD TABLE OF DMS_TBL_FILE, "   
lv_ps_idoc_contrl  TYPE EDIDC. "   

  CALL FUNCTION 'CVALE_KPRO_GET_CONTENT'  "DE-EN-LANG-SWITCH-NO-TRANSLATION
    EXPORTING
         PF_TCODE = lv_pf_tcode
         PS_DRAW = lv_ps_draw
         PS_IDOC_CONTRL = lv_ps_idoc_contrl
    TABLES
         PT_DIST_FILES = lt_pt_dist_files
         PT_FILES = lt_pt_files
    EXCEPTIONS
        ERROR = 1
. " CVALE_KPRO_GET_CONTENT




ABAP code using 7.40 inline data declarations to call FM CVALE_KPRO_GET_CONTENT

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 TCODE FROM SY INTO @DATA(ld_pf_tcode).
 
 
 
 
 


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!