Menu

SAP Function Module CPE_CONVERT_STRUC_TO_NAMEVALUE

CPE - Converting Structure Fields into Name Value Pairs for CPE Processing

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module CPE_CONVERT_STRUC_TO_NAMEVALUE (CPE - Converting Structure Fields into Name Value Pairs for CPE Processing) is a standard Function Module in SAP ERP and is part of the function group CPE_IF_DATA_CONVERSION within the package CPE_BASIS.

Technical Information

Function Module CPE_CONVERT_STRUC_TO_NAMEVALUE
Short Text CPE - Converting Structure Fields into Name Value Pairs for CPE Processing
Function Group CPE_IF_DATA_CONVERSION
Package CPE_BASIS
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
IS_STRUCTURE_DATA TYPE ANY Filled structure. Fields are converted into 'name-value-pairs'.
IT_MAPPING TYPE CPET_MAPPING_TAB CPE Caller - Table Type for Mapping of Business Data
IV_FIELD_NAME TYPE FNAM_____4 Field name of structure. If provided FM performance is boostet.
IV_STRUCTURE_NAME TYPE STRUKNAME Name of a structure

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
EV_FIELDNAME_MISMATCH_OCCURED TYPE CHAR1 Single-character flag

Changing Parameters

These are the CHANGING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CT_NAMEVALUEPAIRS_10 TYPE CPET_NAMEVALUEPAIRS_10_TAB CPE Caller - Table Type for Name Value Pairs (L-10)
CT_NAMEVALUEPAIRS_255 TYPE CPET_NAMEVALUEPAIRS_255_TAB CPE Caller - Table Type for Name Value Pairs (L-255)
CT_NAMEVALUEPAIRS_50 TYPE CPET_NAMEVALUEPAIRS_50_TAB CPE Caller - Table Type for Name Value Pairs (L-50)

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

This function module does not define any Exceptions.