Show TOC

 Find Consumer Product Group Hierarchy by Elements

 

To find a consumer product group hierarchy by elements.

Technical Data

Entity Type

Service Operation

Software Component Version

RTLDDF 200

Release State

Released

Technical Name

ConsumerProductGroupHierarchyTDMByElementsQueryResponse_In

Namespace

http://sap.com/xi/RTLDMF/Global2

Category

SAP A2A

Direction

inbound

Mode

Synchronous

Idempotency

Not applicable

Change/Update Behavior

Type 1

P2P Communication Enabled

True

Business Context and Use

The Find Consumer Product Group Hierarchy by Elements service operation is used when a business application requires information about the group hierarchy of consumer products. It also provides data to a reporting system that uses the consumer product group hierarchy.

Features

Message Types
  • ConsumerProductGroupHierarchyTDMByElementsQuery

    Receives data for the group hierarchy of consumer products searches. This type can contain data for the hierarchy ID and the description.

  • ConsumerProductGroupHierarchyTDMByElementsResponse

    Returns the hierarchy data, which is based on the search criteria mentioned in the inbound message.

Notes on SAP Implementation

  • The generated proxy in Demand Data Foundation (DDF) is the /DMF/CL_PMR_CPGHTDM001QR ABAP class. The proxy data type is used in DDF for the /DMF/PMR_CPGH_ELEMENTS_QUERY incoming query message and the /DMF/PMR_CPGH_ELEMENTS_RESP outgoing response.

  • DDF uses the Service Mapping Tool (SMT) for the inbound message mapping (/DMF/CL_CPGH_QRY_RESP_SMT Mapping field). No other Customizing settings are required.

  • If you do not select the Unlimited checkbox and send 0 (zero) as the maximum value, the system takes the upper limit as 1.

Enhancements

The /DMF/SE_PMR_CPGHTDM001QR Business Add-In (BAdI) is available for this operation. The BAdI contains the /DMF/IF_SE_PMR_CPGHTDM001QR interface with the INBOUND_PROCESSING and OUTBOUND_PROCESSING methods.

The INBOUND_PROCESSING method is called during the inbound data mapping and can be used in the following cases:

  • To overwrite the existing mapping.

  • To map additional data if new elements were added to the message.

The /DMF/CO_CPGH_ELMNTS_QUERY_MSG internal communication structure is used as the importing parameter of this method.

The OUTBOUND_PROCESSING method is called during the outbound data mapping and can be used in the following cases:

  • To overwrite the existing mapping.

  • To map additional data if new elements were added to the message.

The /DMF/FND_CPGH_ELEM_RESP internal communication structure is used as importing parameter of this method.

The Service Mapping Tool (SMT) allows you to enhance the inbound and outbound mapping. To enhance the mapping, you must select the /DMF/CL_CPGH_QRY_RESP_SMT application as the entry point.

More Information

The following nodes and elements do not contain any values in the ConsumerProductGroupHierarchyTDMByElementsResponse_sync response message, as data is not available in the back-end system:

  • Consumer Product Group Hierarchy Level

    • SalesOrganisationID

    • SystemAdministrativeData

    • DistributionChannelCode

    • LifeCycleStatusCode

    • LifeCycleStatusName

    • ProductMultipleAssignmentAllowedIndicator

    • TimeDependencyIndicator

  • Consumer Product Group Level

    • ConsumerProductGroup

      • HierarchyLevelOrdinalNumberValue

The supplementary components of the ConsumerProductGroupHierarchyTDMByElementsQuery_sync inbound message are not relevant for the implementation of operations.