Updating Product Hierarchy

Is there any possibility to update the product hierarchy tables T179 and T179T through the program..
May i know if any BAPI or FM available?

PLease do not post duplicate threads!!!!

Similar Messages

  • Update Product Hierarchy

    I wonder how could we handle master data which are changed frequently (from the data source), especially for the InfoObject with hierarchy?
    Currently, I extracted product hierarchy from SAP-CRM. But users tend to change material in the product hierarchy from one node to another node more often. I'm not sure whether there is any solution to handle this kind of change in SAP-BW and queries?
    I wonder if I don't set the hierarchy in the infoObject as time-dependent, is there any solution? I don't think using full update every time could not solve this problem.
    Any suggestion would be sincerely appreciated.
    -WJ-

    Hallo Wachira
    look at table RSHIEDIR, there BW stores all information about the loaded hierarchy nodes. If you load a hierarchy with a different HIENM or a different HIER_VERS, BW will create in this table a new row with primary key hierarchie ID HIEID  and object version OBJVERS (activated, modified, new or content). It doesn't matter which time intervall the hierarchie has, it can be changed whithout creating a new row in RSHIEDIR. But BW will change the relationship between the different nodes whithin a hierarchie (father - son) and also the attributes of the different nodes.
    Concerning your questions:
    > I don't know if the Date From and Date To shoud be
    > specified every period?
    Yes, for time dependent hierarchies.
    > If I use the same range, data will be overwritten,
    > right?
    Yes, but if the hierarchie name stays the same, the nodes will be overwritten also if the range varies.
    > Is there any way to know which node has been
    > deleted?
    I think, you have to look at table RSHIEDIR. But I suppose, the nodes won't be deleted but their relationship to other nodes may change - possibly they will be unassignd. How to access table RSHIEDIR, see these threads:
    http://sap.ittoolbox.com/groups/technical-functional/sap-r3-bw/677475
    Re: Hierarchy Information in a table
    and this blog
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3113. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Hope this helps and thank you for the points!
    Message was edited by: Martin Lehmann

  • Mass Update of Product hierarchy in all CRM Open Sales Orders

    Hi Folks,
    I have a requirement in my project wherein I have to update product hierarchy details with new values in all Items of CRM Open sales orders.
    If suppose I have a text file which has the details of Open Orders & new product hierarchy which i have to update, then would it be recommended if I use BDC for this task. Can I Call Transaction CRMD_ORDER?
    If someone has already gone through such requirement, Can you please suggest me how to proceed with this requirement. Using BDC or any other way which I can proceed with?
    Thanks in advance !!!
    Regards,
    Nitish.

    You are correct in indicating that Exchange rate type field  is not seen in Header data of sales order. I checked screen layouts for various screens for sales order data and this field is not suppressed. The only reason could be that this field is not used in sales order screens
    If you are interested, you could also check in the following way
    1.  Go to SE11, enter database table as VBAK
    2. Once inside data dictionary table, click where used list button, select programs and screens and execute
    3. click continue (don't select background)
    4. now you would have list of programs and screens, this table is used
    5.  now start another session and go to transaction SE51
    6. indicate program name as SAPMV45A and screen numbers as listed in step 4. you can check all screen numbers to see whether Exchange rate type field is listed in sales order layout.
    7. Of particular interest would be screen number 4311 as this contains  Financial accounting data & 4303 Billing data
    8. you can check screen layout for screen 4311 & 4303. you would see Exchange rate type field is not indicated.
    9. in case you could find this field in any screen, you could ask your ABAP consultant to add this field in the layout screen.
    Hope this answers your question

  • Product Hierarchy Update on Existing Sales Order

    Hi,
    My company business process allows sales order to be created up up to 3 months before shipping.  Prior to shipping, material can have the Product Hierarchy changed and pricing can also be updated for the new product hierarchy value (Pricing record with Product Hierarchy in the search key).  Our company also want to make sure we bill customers with new (correct) price.
    In order to support pulling in the new price for our existing backlog (orders), so that we don't mis-bill our customers, we need a way to update the product hierarchy value on the existing sales orders that have not been shipped.   Our current solution is to implement some custom logic in the Sales Order Update user exit, so that when the user clicks on the "Update" button on the Condition Screen on VA02 to manually update price, the custom logic will be invoked to re-pull the Product Hierarchy from the MARA table to overwrite the old Product Hierarchy on the sales order.  Next, pricing will perform the search for new price using the updated Product Hierarchy value.
    This solution has worked okay for us, but we are trying to evaluate if there is any other better way to accomplish this same request.  We would prefer to implement something that is offered by SAP via configurations.  We try to stay away from customization as much as possible.
    Have you ever experienced something similar or do you have any idea how to support this kind of business process?
    Thanks very much.

    Hi Hans,
    We don't want to wait for until billing to update price since we have the CI created at the time of delivery not billing.  CI document also needs to display correct pricing for custom purposes.
    Also, we would like to keep pricing on the Sales Doc. and Billing Invoice the same.  This is why we would like to trigger re-pricing on sales order.   And when pricing is re-invoked, we need to re-read the PRODH data to ensure new price is retrieved.
    Thanks for your response.
    Hannah

  • Production hierarchy to be update in COPA

    Hi SAP expert
    i having problem and need SAP Gurus expert to help me resolve this issue, when i creating each material, i need to create production hierarchy for each material.
    example
    Material A - Production Hierarchy is 0001
    Material B - Production Hierarchy is 0002
    i managed to create all process in MM. the problem is the production hierarchy not updating in COPA site. when can be wrong ? any config missing ? or COPA just for SD site ?

    There is no direct link between MM and COPA , the values to COPA will be coming from SD condition types . The problem may be between MM ans SD

  • Product Hierarchy Not Updating in KE30 Report

    Hi,
    We are Maintaining Product Hierarchy in the Material Masters and we are using a KE30 Report from CO-PA here we are able to see all the feilds getting updated in the report except for product hierarchy. that too only when the material are belonging to WBS Stock.
    Can any one help me in exploring the reason for the same
    Best Regards,

    Hi
    In the absence of info, its very difficult to comment
    1. Is the new sales material code assigned to Prod Hie?
    2. During billling is the COPA doc generated? Or the revenue is posted to WBS Element?
    If it is posted to COPA directly, then check point 1 above should be the reason
    If it is posted to WBS, then check the settlement rule of the WBS... PSG will be the settlement receiver.... Have you mentioned Prod No in the settlement rule?
    Br,Ajay M

  • Different product hierarchy in sales order and in service order

    Dear experts,
    In VA03, I notice that
    - under Line Item > Sales B, there is a field Product Hierarchy
    - under Line Item > Account assignment, there is a field Order. From here, it links to a service order. In the service order, I can see a field Product Hierarchy too.
    I would like to know if there is an implication when the field Product Hierarchy in sales order and in service order are different. Is it possible that this will cause an inconsistency?
    Usually these two fields have the same value, since the value in sales order is copied from service order. However, in my case, the product hierarchy is changed/updated in service order, but not in sales order.

    Hi,
    We have document pricing procedure maintained at two levels for Sales order or Billing type.
    The pricing procedure is determined based on SAles Area Customer pricing procedureDocument Pricing procedure+pricing procedure.
    Example :For Sales Document type the document pricing rpocedure will be A and for billing type 'B"
    Sales Area1A+Pricing procedure A
    Sales Area1B+Pricing procedure B
    Now A will be maintained in VOV8 and B will be maintained in VOFA.So two pricing procedures.
    Regards,

  • CO-PA Realignment: Changes in Product Hierarchy

    Hello all,
    We have changed the product hierarchy on some of our materials and we want to realign the PA data to reflect the same.
    Our product hierarchy which we have three levels is maintained in KES1. There are no derivation rules. KES1 is updated manually everytime any changes occur.
    For example:
    OLD
    Product: 1-189-01
    Hierarchy 1: 100
    Hierarchy 2:A7300
    Hierarchy3: B56220
    So on the material master the prod hierarchy is 100A7300B56220
    NEW
    Product: 1-189-01
    Hierarchy 1: 125
    Hierarchy 2:A7500
    Hierarchy3: B56120
    I tried using KEND for realignment and this does not change anything. Any help, how to proceed with the realignment is appreciated.

    Hi Anusha,
    Did u also update PH level in KES3 - in specific hierarchy variant ? Also would like to know how did u reset the operating concern
    Thanks,
    Samik (SAP MM)

  • COPA - Product Hierarchy

    Dear all experts,
    My client has split the product hierarchy in COPA into 3 levels.
    For example, ProdHier01-1, ProdHier01-2 & ProdHier01-3.
    Then they use these values in COPA to further derive the detailed product characteristics.
    By looking at the questions posted in SCN, I realized that the naming convention (ProdHier01-1, etc) and setting (create characteristic with reference to MARA-PAPH1/2/3) are the same.
    So I assume this is the standard SAP way to create the prod. hierarchy in COPA.
    Now my question is,
    1) Is it necessary (or standard way) to create 3 COPA characteristics to derive each level from PAPH1/2/3?
    2) What is the purpose to create no. of COPA characteristics according to no. of product hierarchy level?
    3) Can I just create 1 COPA characteristic and map it to the full length of product hierarchy value?
    I can still derive the detailed product characteristics from this 1 COPA characteristic.
    Thanks.
    Sincerely,
    Sebastian

    Hello Madhu,
    Thanks for your reply.
    That is my main question, why do we need to update Prod.Hier1/2/3 in COPA?
    Is it the standard SAP way that's why my client just follows?
    When I check in the derivation rule, this Prod.Hier1/2/3 is later being used to derive detailed product characteristics where I am able to get it if i map 1 COPA characteristic to full length product hierarchy value.
    What is the purpose of splitting them into 3 levels if there is no other functionality of this piece of info in COPA?
    Thank you.
    Regards,
    Sebastian

  • Product Hierarchy from R/3 to BW

    Hi
    I have a problem with product hierarchy in BW. First, i extract master data for material (0Material, infoobject), but attribute 0PROD_HIER was not update, all records has this value in blank. After that, i extracted hierarchy from R/3, with datasource 0MATERIAL_LPRH_HIER, and hierarchy was activated in BW without problems. Now my problem is how to insert the material en hiearchy, as i have it in R/3, i think that it should be when i extract the hierarchy, but it not happened. So how can i insert the whole material in their node as they are in R/3??
    Thanks a lot...regards

    Have a look at this:
    Prod Hierarchy - how to
    Regards

  • Updating product revenue close date based off opportunity close date

    We do not use the product revenue close date, only the opportunity close date. We need to get the fiscal month of the opportunity close date but we have several reports the need to use the opportunity product history area and that does not contain the fiscal month for the opportunity. If we did a combined report, we cannot offer the user any prompts.
    Does anyone know how to get the opportunity close date fiscal month from the opportunity products area? Is there a way to update the product revenue close date when the opportunity close date it updated?
    Thanks

    Hi David,
    In the universe you describe you have the opportunity 'Close Date'. Use a 'case-when' expression to create the 'Fiscal Month' you need.
    Other than that you can use the JoinFieldValue function in the application to retrieve the opty close date, but that will require you to update product revenue for it to trigger which probably won't work for you.
    Good luck.

  • Error - Update Product Data in Solution Manager

    Hello,
    We are currently downloading the Enhancement Package 4 in SOLMAN via Maintenance Optimizer, however, after choosing the Technical Usages in step 2.1, it shows an error in step 2.2 (Select OS/DB Dependent Files):
    Error : Update Product Data in Solution Manager
    Has anyone encountered the same problem? Would it be fine to continue on the next step after selecting the files which you need for your operating system-database combination.
    Any information is highly appreciated. Thank you.

    Hi Jaypee,
    Check guide How-To Install EHP4- A practical guide. Solution of this problem is documented there. you can download it from http://service.sap.com/erp-ehp
    Extract from this guide for this problem:
    Make sure that you update the product data in SAP Solution Manager. This is described in SAP Note 1277035 which is referenced from the collective SAP Note 1122966. If you do not update the product data, you might get an error message after the stack calculation. The message text explains the problem in more detail.
    Thanks
    Sunny

  • Pricing issue with Product hierarchy - Urgent

    Hello,
    I have an issue on pricing determination with product hierarchy.
    I created product hierarchy as following,
    level1 - A0001
    level2 - A0001B0001
    level3 - A0001B0001C0001
    Then, assigned A0001B0001C0001 to material D in material master.
    I created condition record with A0001B0001C0001(level 3),  the system found the condition sucessfully when I created a sales order with material D.
    However, I created condition record with A0001(level1) but the system didn't get the price when I created the sales order with material D.  Since A0001B0001C0001 belongs to A0001, the system is supposed to get the price from the condition record with A0001... 
    Could you please let me know how to fix it?

    Hi,
    Thanks a lot for your kind explanation.
    Here is the access sequence I defined.  I wonder if there is anyway I can define PRODH1, PRODH2, PRODH3 in access sequnce the same way with customer hierarchy so that the system can check higher level data.  If it's not allowed, I think I should define routine in requirement as you advised.  Thanks!
    *Accesses
    AcNo       Description
      1           Customer Hierarchy/Product Hiearchy
      2           Customer Hierarchy/Product Hiearchy
      3           Customer Hierarchy/Product Hiearchy
      4           Customer Hierarchy/Product Hiearchy
    Fields
      AcNo   Condition    Doc. field      field lable
         1      HIENR      HIEBO01     CustomerHierarchy 01
                 PRODH     PRODH       Product hierarchy
         2.     HIENR      HIEBO02     CustomerHierarchy 02
                 PRODH     PRODH       Product hierarchy
         3      HIENR      HIEBO03     CustomerHierarchy 03
                 PRODH     PRODH       Product hierarchy
         4       HIENR      HIEBO04     CustomerHierarchy 04
                 PRODH     PRODH       Product hierarchy
    I wonder if I can assign product hierachy fields, PRODH1, PRODH2, PRODH3 to access sequence like customer hierarchy so that the system can check higher level data to get the price...

  • SQVI Report for SAP CRM Product Hierarchy and its Product

    Hi
    How to create a SQVI report for generating a list for SAP CRM Product Hierarchy which should show the outputs->Level 1, level 2, level 3 and level 4 categories and its products?
    I tried COMM_Hierarchy table and Comm_product but not able to achieve this requirement.
    or Is there any chance of getting related tables so that I could try more for this requirement.
    In which table both product id and its category Id can be found?
    Pravin

    Thanks DJ
    Is there any possibility to get a report for product hierarchy in SQVI ?
    say in SAP CRM system, the product category is maintained in COMM_HIERARCHY as
    Parent category Id->
                                    Level2 Category Id->
                                                                     Level 3 Category Id->                                                                               
    Level 4 category Id ->                                                                               
    Product Id's
    (I understood the link between Level 4 category id and product id with your info.) but not able to achieve the requirement fully.
    Is there any possiblity to achive for generateing a report?

  • "Creation" of location product hierarchy

    Hi Experts
    I know that a location product hierarchy can be "generated" by combining a location hierarchy and a product hierarchy. But for our business requirement we cannot use a generated location product hierarchy. This is because we have 1000'ds of products and for each product the parent location -child locations can be different. That is for product A if parent is location L1 and children are L2 and L3 then for product B the parent can be L1 but the children can be different say L5 and L4. There can be 1000ds of location parent - children combinations like this  and it is impossible to model this using a location hierarchy.
    So i want to know if there is a way to directly create a location product hierarchy and manually add members to it. Please advise
    Thanks
    Saradha

    I have found another way to make it work. Iam going to try using the concept of planning product and check how it goes.

Maybe you are looking for