on 03-11-2008 6:09 AM
HI ALL,
WHAT IS PRODUCT HIERARCHY AND PLEASE EXPLAIN IT.
ITS URGENT..
REGARDS,
ROHAN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> HI ALL,
>
> WHAT IS PRODUCT HIERARCHY AND PLEASE EXPLAIN IT.
> ITS URGENT..
>
> REGARDS,
> ROHAN
HI Rohan,
Product hierarchy is as the name suggests the hierarchy of products for example
We take a washing machine it is an electrical appliance as well as a wet machine
So we can have a hierarchy
1 00005 Electrical Goods
2 00003 Wet appliance
3 00001 Washing Machine
So washing machine is a wet appliance which is an electrical appliance and the product hierarchy is 000050000300001
Hope it helps
Regards
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Product hierrachy is defined in tcode v/76 according to levels.
IMGG->Logistic General->MM->Setting for Key fields->Define Relevant to SD->Define Product Hierarchy->Maintain product hierarchy
Then it is added as a user defined charactersistic in tcode KES1.
It is used for sales reporting functionality based on the product hierarchy.it is used for profitabilty analysis reporting. Different material codes can have same product hierarchy(assigned to material amster in basic data view) When a sales cycle happen then after billing document a PA (profitabilty analysis ) document is created in which product hierarchy is populated and used in CO-PA reporting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohan
Product hierarchy is used for pricing. A product hierarchy is an alphanumeric character string which consists of 18 characters at the most. Product hierarchy thus define the product and its composition. To take an example, a product hierarchy could be 00010002000300040005. The first four characters 0001 could indicate that the product is a car. The next four characters could indicate 0002 the plant in which the car has been manaufactured. The third set of characters could indicate the color of the car. The next set may determine its engine capacity and so on. Thus, the product hierarchy helps in defining the product composition.
Pricing Procedure in Product Hierarchy
But if you want an example here goes. Say, you want to base your pricing procedure on first three digits of product hierarchy, defined in the material master, via condition technique.
Pricing structure for line item is KOMP. A quick look thru KOMP structure (tx SE11) shows that you have only PRODH field for all 18 digits of product hierarchy, whereas you need only the first three. So you do the following:
1. Create the new data element ZZPRODH1. Also create a domain with the length "3" and the data type "CHAR" for the new data element. Remember that new data fields must start with the letters "ZZ" or "YY", since SAP reserved these letters to protect them from being overwritten during a release upgrade.
2. Check whether the product hierarchy (PRODH) is found at header or at item level. In table VBAP, document field PRODH is defined as an item field.
3. Integrate the field name ZZPRODH in the communication structure KOMP using the INCLUDE KOMPAZ and allocate the data element PRODH to it.
4. Activate the structure.
5. Check in which table the field PRODH exists.
The field is in table VBAP (sales document: item data).
6. Assign a value to the new field in the FORM routines for sales order processing and billing using the appropriate user exits: In sales order processing the user exit is found in member MV45AFZZ. The complete statement is:
FORM USEREXIT_PRICING_PREPARE_TKOMP.
MOVE VBAP-PRODH(3) TO TKOMP-ZZPRODH. ENDFORM.
The routines for assigning a value to the new fields in billing are found in member RV60AFZZ. The statement is as follows:
FORM USEREXIT_PRICING_PREPARE_TKOMK MOVE
XVBRP-PRODH(3) TO TKOMP-ZZPRODH. ENDFORM.
7. Allocate the specifications A, V and 001 to the field ZZPRODH in table T681F. Use "E" has been added for fields in rebate processing.
This is a standard example from SAP Library. In this case you must tell the ABAP three things:
that your source field is VBAP-PRODH,
that you need to get the first three digits from that field into your pricing structure KOMP
and that you need to specify the transfer by user exit thru MV45AFZZ
Please note that this is a very simple example. Quite often you have to dig a lot deeper.
Modifications of Copy Control routines, making output forms (thru SapScript) and such requires you to know all the necessary tables, structures and fields.
The only advice I can give you is to use tx SE11, which will show you the organization of a table/structure, and can also help you check the contents of a specific table in a specific sales doc.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.