SAP COM_PRCAT_ATTR_FIXVAL_PME_UPD Function Module for









COM_PRCAT_ATTR_FIXVAL_PME_UPD is a standard com prcat attr fixval pme upd SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 com prcat attr fixval pme upd FM, simply by entering the name COM_PRCAT_ATTR_FIXVAL_PME_UPD into the relevant SAP transaction such as SE37 or SE38.

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



Function COM_PRCAT_ATTR_FIXVAL_PME_UPD 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 'COM_PRCAT_ATTR_FIXVAL_PME_UPD'"
EXPORTING
IV_ATTRIBUTE_ID = "Attribute
IT_SETTYPE_CATEGORY = "Assignment Product Set to Category

EXCEPTIONS
CANNOT_READ_CLASS = 1 CANNOT_SET_DOMAIN = 2 ERROR_READING_CSTIC = 3 ERROR_SAVING_HIERARCHY = 4 FOREIGN_LOCK = 5 PME_ERROR = 6 CANNOT_READ_ATTRIBUTE = 7
.



IMPORTING Parameters details for COM_PRCAT_ATTR_FIXVAL_PME_UPD

IV_ATTRIBUTE_ID - Attribute

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

IT_SETTYPE_CATEGORY - Assignment Product Set to Category

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

EXCEPTIONS details

CANNOT_READ_CLASS -

Data type:
Optional: No
Call by Reference: Yes

CANNOT_SET_DOMAIN -

Data type:
Optional: No
Call by Reference: Yes

ERROR_READING_CSTIC -

Data type:
Optional: No
Call by Reference: Yes

ERROR_SAVING_HIERARCHY -

Data type:
Optional: No
Call by Reference: Yes

FOREIGN_LOCK -

Data type:
Optional: No
Call by Reference: Yes

PME_ERROR -

Data type:
Optional: No
Call by Reference: Yes

CANNOT_READ_ATTRIBUTE -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for COM_PRCAT_ATTR_FIXVAL_PME_UPD 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_iv_attribute_id  TYPE COMT_ATTR_ID, "   
lv_cannot_read_class  TYPE COMT_ATTR_ID, "   
lv_cannot_set_domain  TYPE COMT_ATTR_ID, "   
lv_it_settype_category  TYPE COMT_PR_SETTYPE_CAT_TTYP, "   
lv_error_reading_cstic  TYPE COMT_PR_SETTYPE_CAT_TTYP, "   
lv_error_saving_hierarchy  TYPE COMT_PR_SETTYPE_CAT_TTYP, "   
lv_foreign_lock  TYPE COMT_PR_SETTYPE_CAT_TTYP, "   
lv_pme_error  TYPE COMT_PR_SETTYPE_CAT_TTYP, "   
lv_cannot_read_attribute  TYPE COMT_PR_SETTYPE_CAT_TTYP. "   

  CALL FUNCTION 'COM_PRCAT_ATTR_FIXVAL_PME_UPD'  "
    EXPORTING
         IV_ATTRIBUTE_ID = lv_iv_attribute_id
         IT_SETTYPE_CATEGORY = lv_it_settype_category
    EXCEPTIONS
        CANNOT_READ_CLASS = 1
        CANNOT_SET_DOMAIN = 2
        ERROR_READING_CSTIC = 3
        ERROR_SAVING_HIERARCHY = 4
        FOREIGN_LOCK = 5
        PME_ERROR = 6
        CANNOT_READ_ATTRIBUTE = 7
. " COM_PRCAT_ATTR_FIXVAL_PME_UPD




ABAP code using 7.40 inline data declarations to call FM COM_PRCAT_ATTR_FIXVAL_PME_UPD

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.

 
 
 
 
 
 
 
 
 


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!