SAP PVSHI_PVCOL_READ Function Module for NOTRANSL: iPPE: Variante des Farbknotens lesen









PVSHI_PVCOL_READ is a standard pvshi pvcol read 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: iPPE: Variante des Farbknotens lesen 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 pvshi pvcol read FM, simply by entering the name PVSHI_PVCOL_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function PVSHI_PVCOL_READ 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 'PVSHI_PVCOL_READ'"NOTRANSL: iPPE: Variante des Farbknotens lesen
EXPORTING
* I_MODE_ALL = 'X' "Ignore Errors
* I_MSG_HANDLING = 'A' "Message Handling
* I_CHANGENO_SPECIFIED = ' ' "Read Specified Change States Only

TABLES
* COLORVARIANTDATA = "iPPE/BAPI: Color Variant
* RETURN = "Return Parameter
* COLORVARIANTSHORTTEXT = "iPPE / BAPI: Short Text of the Variant
* COLORVARIANTTEXTHEADER = "iPPE/BAPI: Header Long Text for Variant
* COLORVARIANTTEXT = "iPPE/BAPI: Long Text for Variant
* DEPENDENCYDATA = "iPPE/BAPI: Object Dependencies - Basic Data
* DEPENDENCYSOURCES = "iPPE/BAPI: Object Dependencies - Source Code Relationship
* CONFIGURATIONINSTANCE = "iPPE/BAPI: Instances of Several Configurations
* CONFIGURATIONVALUE = "iPPE/BAPI: Values of a Configuration
* ADMINDATA = "Administrative data for iPPE objects
.



IMPORTING Parameters details for PVSHI_PVCOL_READ

I_MODE_ALL - Ignore Errors

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

I_MSG_HANDLING - Message Handling

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

I_CHANGENO_SPECIFIED - Read Specified Change States Only

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

TABLES Parameters details for PVSHI_PVCOL_READ

COLORVARIANTDATA - iPPE/BAPI: Color Variant

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

RETURN - Return Parameter

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

COLORVARIANTSHORTTEXT - iPPE / BAPI: Short Text of the Variant

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

COLORVARIANTTEXTHEADER - iPPE/BAPI: Header Long Text for Variant

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

COLORVARIANTTEXT - iPPE/BAPI: Long Text for Variant

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

DEPENDENCYDATA - iPPE/BAPI: Object Dependencies - Basic Data

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

DEPENDENCYSOURCES - iPPE/BAPI: Object Dependencies - Source Code Relationship

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

CONFIGURATIONINSTANCE - iPPE/BAPI: Instances of Several Configurations

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

CONFIGURATIONVALUE - iPPE/BAPI: Values of a Configuration

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

ADMINDATA - Administrative data for iPPE objects

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

Copy and paste ABAP code example for PVSHI_PVCOL_READ 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_i_mode_all  TYPE PPE_MODE_ALL, "   'X'
lt_colorvariantdata  TYPE STANDARD TABLE OF BAPI1176_CMP_COLVARDATA, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_i_msg_handling  TYPE PPE_MESSAGE_OPTION, "   'A'
lt_colorvariantshorttext  TYPE STANDARD TABLE OF BAPI_PPE_VAR_SHORTTEXT, "   
lv_i_changeno_specified  TYPE PPE_CHANGENO_SPECIFIED, "   SPACE
lt_colorvarianttextheader  TYPE STANDARD TABLE OF BAPI_PPE_VAR_LONGTEXT_HD, "   
lt_colorvarianttext  TYPE STANDARD TABLE OF BAPI_PPE_VAR_LONGTEXT, "   
lt_dependencydata  TYPE STANDARD TABLE OF BAPI1176_CMP_DEPDATA, "   
lt_dependencysources  TYPE STANDARD TABLE OF BAPI1176_CMP_DEPSOURCE, "   
lt_configurationinstance  TYPE STANDARD TABLE OF BAPI1176_CMP_CUINS, "   
lt_configurationvalue  TYPE STANDARD TABLE OF BAPI1176_CMP_CUVAL, "   
lt_admindata  TYPE STANDARD TABLE OF PVSHI_ADMINDATA. "   

  CALL FUNCTION 'PVSHI_PVCOL_READ'  "NOTRANSL: iPPE: Variante des Farbknotens lesen
    EXPORTING
         I_MODE_ALL = lv_i_mode_all
         I_MSG_HANDLING = lv_i_msg_handling
         I_CHANGENO_SPECIFIED = lv_i_changeno_specified
    TABLES
         COLORVARIANTDATA = lt_colorvariantdata
         RETURN = lt_return
         COLORVARIANTSHORTTEXT = lt_colorvariantshorttext
         COLORVARIANTTEXTHEADER = lt_colorvarianttextheader
         COLORVARIANTTEXT = lt_colorvarianttext
         DEPENDENCYDATA = lt_dependencydata
         DEPENDENCYSOURCES = lt_dependencysources
         CONFIGURATIONINSTANCE = lt_configurationinstance
         CONFIGURATIONVALUE = lt_configurationvalue
         ADMINDATA = lt_admindata
. " PVSHI_PVCOL_READ




ABAP code using 7.40 inline data declarations to call FM PVSHI_PVCOL_READ

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_i_mode_all) = 'X'.
 
 
 
DATA(ld_i_msg_handling) = 'A'.
 
 
DATA(ld_i_changeno_specified) = ' '.
 
 
 
 
 
 
 
 


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!