Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Points will be rewarded....

Former Member
0 Kudos

Guys do you know bout the usage of BAPI_MATERIAL_GET_PRODUCTHIER???

Please explain further. Regarding product uploading in mc62.

Hope you guys could help me...Thanks..

2 REPLIES 2

Former Member
0 Kudos

Hi,

It gives the Product Hierarchy of a Particular Material.

It uses the Implementation of class method getProductHierarchy()

All subordinate nodes and pages are read for a product hierarchy. If the parameter Product hierarchy is not set, all product hierarchies are read.

Parameters Used:

HIERARCHY_TYPE

The product hierarchy can be assigned to the material master record with several views (basic data and SD). This parameter controls which view is used to read the material masters.

PRODUCT_HIERARCHY

This parameter specifies the header node, for which all subordinate nodes are read. If this paramter is not set, all subordinate nodes to the root nodes are read.

SALES_ORGANIZATION

If the product hierarchy is read from an SD view, all material masters are assigned to a sales organization or distribution channel. This parameter restricts the amount of material masters according to sales organization.

DISTRIBUTION_CHANNEL

If the product hierarchy is read from an SD view, all material masters are assigned to a sales organization or distribution channel. This parameter restricts the number of material masters according to the distribution channel.

READ_REFERENCE

This parameter controls whether the product hierarchy is read with material master records.

X Read Product Hierarchy and Material Master Records

SPACE Read the Product Hierarchy

This parameter was introduced to enable mass data transfer.

RETURN

This parameter is used to return notes, warnings and errors that have occurred during processing.

NODE_LIST

The product hierarchy nodes refer to texts, which describe the nodes:

Text for the current node

Concatenated text for the current and all subordinate nodes.

NODE_REFERENCE_LIST

The product hierarchy material masters are of business object type Material.

Regards,

Padmam.