Display Product Hierarchy

Hi All,
I am getting the list of product hierarchies into an intenal table.
Now, I want to display the list of all the proct hierarchies in Tree format in different levels.
Please let me know how to display it.
Thanks,
Sreenivas

SAPTLIST_TREE_CONTROL_DEMO
SAPCOLUMN_TREE_CONTROL_DEMO
SAPSIMPLE_TREE_CONTROL_DEMO
BCALV_TREE_DEMO
Please see the above sample program to get Tree format output.
Thanks
Seshu

Similar Messages

  • Customer Hierarchy and product Hierarchy

    Hi friends what is customer Hierarchy and what is product hierarchy?
    please explain step by step with examples.
    mail id: [email protected]
    Thanx.

    Hi Sirivas,
    CUSTOMER HIERARCHY:
    Customer hierarchies are available in Sales and Distribution, so that you can create flexible hierarchies to reflect the structure of customer organizations. If your customer base includes multi-level buying groups, cooperatives, or chains of retail outlets, for example, you can create hierarchies to reflect the structure of these groups. Use customer hierarchies during sales order processing and billing for determining pricing and running statistics.
     A customer hierarchy consists of nodes.
     To create a customer hierarchy:
    1. Create master records for each node.
    2. Assign the nodes to each other.
    3. Assign the customer master records to the relevant nodes.
     Hierarchy nodes are only valid for a certain period of time. They may also be moved. If a node is moved, the system automatically reassigns all related nodes and customer master records.
    With customer hierarchies, you can assign price or rebate agreements to a higher level node. The agreements are then valid for customer’s at all subordinate levels to this node. You can create pricing condition records for each node indicated as relevant for pricing. If one or more nodes in the hierarchy path of a sales order contain pricing information, the system takes them into account automatically during pricing.
    'How to check'
    All the customizing is in SD/Master Data/Business Partner/Customers/Customers hierarchy
    All the customizing is in SD/Master Data/Business Partner/Customers/Customers hierarchy
    1) Define hierarchy type: just put and ID and a name to the new hierarchy.
    2) Set partner determination: if you want to user the hierarchy in price determination, then, in the orders, at the header level, you have to have a Partner Procedure with a partner function for each level. In the partner procedure, in each partner function you must indicate the source partner function. With this information, in the order, you obtain the business partner for each partner function.
    3) Assign account groups: you indicate which accounts groups are allowed for being part or your hierarchy.
    4) Assign sales areas: simple you indicate which sales areas are allowed in your hierarchy. (Here you can customize common sales areas, just for not having to build de hierarchy in all the different sales areas).
    5) Assigning hierarchy type for pricing: you indicate which classes of documents uses hierarchy in pricing determination.
    It is possible to maintain so called customer hierarchies. This might be useful when for example you create a condition discount for a customer that is part of such a hierarchy structure. All subnodes in the hierarchy below that customer, will thus receive the same discount.
    Customer hierarchy setup, firstly decide the hierarchy type to be used.
    The standard is type A.
    You can also assign a partner function to the customer so that the higher level customer in the hierarchy is copied into a sales order as a partner function - but you don't need that right?
    Next assign your customer account group to the hierarchy type. And enter the combinations that will be allowed for creating the hierarchy.
    You want to assign a ship-to to a payer. So enter the ship to account group and enter the payer account group as the higher level.
    You must also make an entry for permitted sales area assignments. So if you want to a hierarchy for customers in the same sales area then enter the sales area and enter the same one as the higher level sales area.
    All these settings can be found in the IMG. Under SD - master data - business partners - customers - customer hierarchy
    You use for example customer hierarchy when you have an company like Unilever and you agree both on a discount. Unilever does have different locations / businesses and you have to maintain the discount for all customers. If you use a customer hierarchy you can maintain the discount for the partner in the top of the hierarchy and in this way it will be valid for all customers in the hierarchy.
    Product Hierarchy:
    The product hierarchy on the Basic Data screen is used to depict the competitive materials of competitor 1 in relation to those of competitor 2. Here, your own company and its materials are also regarded as a competitor and as competitive materials respectively. You can use this representation as a basis for market analyses.
    Normally we enter competitive materials using material type WETT. When entering your own materials as competitive materials, you can, however, display the product hierarchy on the Basic Data screen for other material types too.
    Requirement type determination is based on the "Origin of requirement type in requirement type determination"
    In this field you can select an alternative search strategy (source):
    Source 0 = Material master strategy, then item category and MRP type
    Source 1 = Item type and MRP type strategy
    Source 2 = Item type and MRP type strategy (as for source 1) with additional check of the allowed requirements type
    e.g. If you set value "0" system will first strategy group in material master based on that it will determine requirement type and no value found then it will determine requirement type based on item category and MRP type.
    Above settings can be found at SD --> Basic Functions --> Availability Check and transfer of requirement --> Transfer of Requirement --> Determination of Requirement type using Transaction
    For make to order std strategy group 20 is used to which req type KE is assigned.
    Check
    Check in Tcode OVZH, what requirement class is assigned to your requirement type
    Check in Tcode OVZG, what value is assigned to field "Consumption" in requirement class because that determines consumption posting.
    The product hierarchy is used to group materials by combining different features. It is used for analyses and pricing. A product hierarchy can consist of up to Eighteen characters. Its features can be combined in various ways.
    Example: A dishwasher can be described by product hierarchy 000010000200000002. This series of characters states that dishwashers belong to the category electrical appliances (series of characters 00001, position 1-5), and also to wet appliances (series of characters 00002, position 6-10) and, finally, to dishwashers (series of characters 00000002, position 11-18).
    One can maintain the product hierarchy via transaction "OVSV" and "V/76.
    Path = IMG-Logistics General-Material master-Setting for Key fields-Data relevant to SD-Define Product hierarchy.
    The product hierarchy is maintained in the Basic Data view of the material master record, and is used for evaluation as well as price determination in materials management.
    The standard SAP allows only 3 levels, but you can go up to 6 levels, for additional 3 levels u will have to take abapper help and add 3 more fields and corresponding data element into structure. So that in material master drop down you will see 6 levels.
    The transaction which will be useful to change product hierarchies for material master will be V/76.
    Yes, You can print the levels of the product hierarchy through a report.
    Use the view SE16 - V_T179 (Table Name) to display Product hierarchy with level numbers.
    Field Name is PRODH
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Stock overview report on basis of product hierarchy ?

    Is there an SAP standard report for displaying materials(product hierarchy wise) on the basis of product hierarchy or do i have to create a customer report for it. IF yes, then how do i go on creating it.. i.e how will i be showing the materials(in a hierarchical display, product hierarchy wise ?
    Hope you have comprehended it ?
    Thanks,
    Shehryar Dahar

    Hello Kirit,
    the scenario is sumthing like this, the SAP transaction for stock overview (MMBE) displays the report per material. I want a report in which , if i give in the Product Hierarchy, it should display all the materials in diff levels in the product hierarchy. For example, if we choose 'Product Hierarchy' as a display level, it should display all the materrals in the hierarchy levels..!
    I have been that the Stock Overview Report(MMBE) displays only one material, no matter what 'display level' you give in the selection. Does this mean, that i would have to develop a new report for this ?
    Waiting for the replies.
    Shehryar Dahar

  • Creation of new product hierarchy and products in SAP CRM.

    Dear all,
    please help with resolving of following issue:
    In CRM system base hierarchies were replicated from R/3 system with materials. Current requirement is to create new materials in CRM directly (as standalone scenario). As far as I understand, I have to create new hierarchy with required list of set types in order to allow creation of products in CRM directly (product type = material). Can anybody describe changes in the system step by step, what should be changed and where?
    As a result I need to have a possibility to create products in CRM directly for sales scenario processing.
    Thank you in advance!

    Hi Jorge,
    thank you so much for your reply!
    Here what I tried to do:
    1. I created new category in hierarchy R3PRODSTYP, added 3 set types: COMM_PR_MAT, COMM_PR_SHTEXT, COMM_PR_UNIT as basic set types.
    2. In the SPRO - Cross-Application Components - SAP Product - Settings for Product Type - Number Assignment - Define Number Ranges for the Product Type "Material" I found my new product category is unassigned, so I assigned it to the "CRM Products" group.
    3. Farther I tried to create a new product for created category in CRM Web UI, but was not able to find it in the Base category search field. All categories correctly displayed from R3PRODSTYP, but my new category is absent. What can be the reason of category absence? Btw, it cannot be found even when I try to display whole hierarchy in Web UI, however, in SAP GUI, it can be seen via tcode comm_hierarchy.
    Here is the setup of hierarchies in the system:
    I have no idea how to check #3 "Ensure the hierarchy is assigned to CRM application".
    Can you please suggest, what should be changed in addition? Thank you!

  • CO-PA: product hierarchy predefined from best practice

    Hi guys,
    unfortunately I have as basis a best practice system, where product hierarchy with 3 levels is already defined in CO-PA:
    PAPH1     ProdHier01-1     ProdH01-1     CHAR     5     MVKE     PAPH1
    PAPH2     ProdHier01-2     ProdH01-2     CHAR     10     MVKE     PAPH2
    PAPH3     ProdHier01-3     ProdH01-3     CHAR     18     MVKE     PAPH3                 
    PRODH     Prod.hierarchy     Prod.hier.     CHAR     18     MVKE     PRODH
    Those ones are already assigned to a best practice operating concern:
    10UK     Best Practices
    1. we have 7 levels in our product hierarchy
    2. I need to read it from mara and not mvke
    When trying to ad product hierarchy as characteristic in KEA5 in our new operating concern, I gut the message below.
    This data element is used in tons of tables and the whole precdure looks risky + after transport I might have issues again?
    Creating ww* characteristics for product hierarchy is not an option, since then I would need to maintain the whole product hiearchy as characteristc values again (like before release 4.5) and this is far more than 1000 entries and is double maintenance after go live.
    Deleting the best practice operating concern is also difficult, since there are several clients where customizing still sits for 10UK.
    Anybody experience? What did you do?
    regards
    Bjoern
    Here is the text from KEA5 when trying to ad mara fields (since date elment lenghts is different due to more levels):
    Product hierarchy field PAPH1 cannot be adapted to the new structure
    Message no. KE691
    Diagnosis
    The definition of the product hierarchy has changed (structure PRODHS). The hierarchy field generated in CO-PA, PAPH1 cannot be adapted to the new definition, because it is already being used in structures or tables.
    System Response
    The field PAPH1 does not appear in the list of fields that can be selected.
    It can no longer be used as a characteristic.
    Procedure
    If you still want to define hierarchy field PAPH1 as a characteristic, proceed as follows:
    1. Display the where-used list for data element RKEG_PAPH1 in database fields using transaction SE12. For hierarchy field PAPH1 to be adapted, a data conversion must be carried out for all the tables listed!
    2. First change the number of characters in the domain RKEG_PAPH1 to match the new definition of the product hierarchy, following the example below. You can do this using transaction SE11.
    Structure PRODHS     Domain
    Field    Length      name       Number of characters
    PRODH1     3         RKEG_PAPH1      3
    PRODH2     2         RKEG_PAPH2      5
    PRODH3     5         RKEG_PAPH3     10
    PRODH4     8         RKEG_PAPH4     18

    Just as Info,
    I needed to go for deletion of those characteristics - quite some work, like:
    1. delete all where-used entries for the characteristics in ALL CLIENTS of this system (important: e.g. planning layout - recommended to change and not simply delete, because the change can be transported)
    2. when then trying to delete characteristics (with "unlock" in KEA0 > value fields) - tons of tables and strucutres popped up, where this data element is still needed - follow note 353257
    3. generate best practice operating concern new (10UK in our case)
    4. create PAPH1 etc. new from table MARA (not mvke in our case - depends)
    all good - hopefully no issues after transport - we will see.

  • R/3 Product Hierarchy in BW data model.

    Hi all,
    We have been told by our implementation partner that the scenario described below is not feasible to design in our BW 3.5 system and if we were to implement this scenario there would be a significant amount of user maintenance to maintain the hierarchy structure in BW.
    I was a query user in previous BW versions and my datawarehouse modeling experience is mostly in Cognos and Business Objects. The scenario described below is very easily implemented in these other datawarehouse software packages and I would be suprised if SAP does not have a standard solution to address the problem.
    I would like to understand if:
    (1) Yes this solution can be easily implemented in BW 3.5
    (2) A brief explanation on the design approach, implementation, and considerations
    I am already familiar with the link on http://sap.help.com that explains BW hierarchy design and considerations, but I would like to get a "real world" understanding of an approach and design and if you experienced this requirement.
    Thank You in advance for your input.
    Regards,
    -Anthony
    <b><u>Scenario:</u></b>
    In R/3 we have modified the standard delivered product hierarchy structure for material master from 5,5,8 to be 5,5,4,4.
    The 4 levels represent: BRAND --> PRODUCT LINE --> PRODUCT CATEGORY --> PRODUCT SUBCATEGORY
    Our intent is to use this structure to satisfy current BW reporting requirements for COPA and R/3 Billing infocubes.
    In BEx Explorer we would like to perform product analysis using the following dimension paths:
    BRAND --> PRODUCT LINE --> PRODUCT CATEGORY --> PRODUCT SUBCATEGORY
    PRODUCT LINE --> PRODUCT CATEGORY --> PRODUCT SUBCATEGORY
    PRODUCT CATEGORY --> PRODUCT SUBCATEGORY
    We are told that since we have multiple values at the BRAND node we will not be able to perform grouped reporting the starts at PRODUCT LINE node(which would be independent of the BRAND node). For example:
    BRAND,          PRODUCT LINE,          PRODUCT CATEGORY
    HONDA,          AUTOMOBILE,          CIVIC
    HONDA,          AUTOMOBILE,          ACCURA          
    HONDA,          BLOWER,                  CIVIC
    HONDA,          MOTORCYCLE,          ODESSY
    FORD,          AUTOMOBILE,          EXPLORER          
    FORD,          BLOWER,                  EXPLORER          
    FORD,          MOTORCYCLE,          CHAMPION
    So for example we would like to start our dimensional anaylsis to show all AUTOMOBILE or BLOWER sales independent of the fact they were for HONDA or FORD.
    In other datawarehouse systems I have either: (1) created 3 dimensions called: BRAND, PRODUCT LINE, and PRODUCT CATEGORY or (2) created one dimension called BRAND with alternate dimension paths for PRODUCT LINE and PRODUCT CATEGORY. I am not sure if this is feasible in BW.
    We were also told in order to achieve this design a structure would have to be maintained in BW every time we introduce a new material master and the material master would need to be manually entered into the structure so that reporting can be achieved for both the standard structure and the alternate structure(s).<b></b>

    Antony ,
    there will be maintenance involved every time you add a material to the material master. However you could maintain the hierarchy through a GUI also depending on the number of values.
    Ideally if this can be maintained in a table in the source system , it can be imported into BW. Otherwise if you were to maintain it in BW , you will have a lot of problems when :
    1. Change in the hierarchy - A new Product Line coming in and many product category onwards change over to the new product line.
    2. Viewing the changed hierarchy over time - If you have GM and a separate category called Daewoo , earlier they were separate and now they are one - what are my product sales due to the merged entity vis-a-vis separate entities earlier...
    Things that you will need to consider from a design stand popint are :
    1. Should the hierarchy be time dependent ?
    2. Should it be maintained in the source system or in BW?
    3. Change process for the same - Flat file / Manual
    4. Estimate of how frequent the hierarchy would change?
    5. Will you have display hierarchies - Ad-Hoc hierarchies to view certain combinations?
    Depending on the above your hierarchy creation can go from easy to complex and hard to maintain.
    One way to amintain it is to have a SAP ABAP program to populate a hierarchy table to have the relations in R/3 and transfer them into BW. You could automate it in such a way that the hierarchy is changed every time there is a new material
    Otherwise , there can be a flat file to create the relationships
    Or someone could log a request and if the change is minimal it couldbe done thru a GUI Interface provided by BW.
    Arun
    Assiging  points is a way of saying thank you in SDN

  • Stock overview on basis of product hierarchy (PRDHA)

    Hello to All,
    Is there any SAP standard report of displaying stock overview on basis of the 'product hierarchy' (Field: PRDHA) or do i have to make a copy of the transaction (MMBE) and add the respective field ..
    Looking forward to your feedback. Thanks
    Regards,
    Shehryar Dahar

    check this and do modifications as per ur requirement.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=15856
    get the PRDHA of MARA then report.
    Regards
    Prabhu

  • How to put the product hierarchy in the bw?

    I want to have the product hierarchy in the reporting, in a way, that the users can open and shut the elements of the tree.
    So i added the foreign hierarchy criteria 0PRODH1, 2, 3 to the InfoObject 0MATERIAL.
    Then I used InfoSource 0MATERIAL_LPRH_HIER to put data in 0MATERIAL.
    In the result 0MATERIAL HAS the hierarchy, but without any materials added to the leafs.
    What did i do wrong?
    Tobias

    Hi ,
    Have a look on note: 407033
    It says 2 main points with regarding to your problem.
    1)  Material master records with shared master data in the sales area cannot be assigned to a product hierarchy in BW.
      This solution generates the thinnest possible hierarchy, but leads to some restrictions in the navigation options in the BW queries because you can no longer expand the hierarchy to the material numbers.
    2) The 0PROD_HIER attribute of 0-MATERIAL must be active as a navigation attribute in the cube.When you expand the hierarchies by product hierarchy in the query, you can display this hierarchy.
    With rgds,
    Anil Kuma Sharma .P
    Kindly assign points , if it really helps you.

  • Invoiced Quantity grouped by Product Hierarchy

    Hello,
    I am trying to create an Evaluation (tCode MC11) which will report on Invoiced Quantity grouped by Product Hierarchy. I created an evaluation referencing an evaluation structure which references two other eval. structures: one - for data tables VBRP and the  second for info. struct.S004. One of the characteristics is Product Hierarchy. The problem is, that when I execute the evaluation -  I only get 4th level of product hierarchy, but I need to see all four, starting with the first one.
    (I would like it to look like this:
    level 1
         level 2
              level 3
                    level 4
    Thank you in advance for your help,
    Olga

    Antony ,
    there will be maintenance involved every time you add a material to the material master. However you could maintain the hierarchy through a GUI also depending on the number of values.
    Ideally if this can be maintained in a table in the source system , it can be imported into BW. Otherwise if you were to maintain it in BW , you will have a lot of problems when :
    1. Change in the hierarchy - A new Product Line coming in and many product category onwards change over to the new product line.
    2. Viewing the changed hierarchy over time - If you have GM and a separate category called Daewoo , earlier they were separate and now they are one - what are my product sales due to the merged entity vis-a-vis separate entities earlier...
    Things that you will need to consider from a design stand popint are :
    1. Should the hierarchy be time dependent ?
    2. Should it be maintained in the source system or in BW?
    3. Change process for the same - Flat file / Manual
    4. Estimate of how frequent the hierarchy would change?
    5. Will you have display hierarchies - Ad-Hoc hierarchies to view certain combinations?
    Depending on the above your hierarchy creation can go from easy to complex and hard to maintain.
    One way to amintain it is to have a SAP ABAP program to populate a hierarchy table to have the relations in R/3 and transfer them into BW. You could automate it in such a way that the hierarchy is changed every time there is a new material
    Otherwise , there can be a flat file to create the relationships
    Or someone could log a request and if the change is minimal it couldbe done thru a GUI Interface provided by BW.
    Arun
    Assiging  points is a way of saying thank you in SDN

  • Create product hierarchy & category in CRM

    Hello experts,
    I need to write a program that create product hierarchy & category in CRM 5 from flat file.
    As anyone know how to do it?
    I couldn't find any bapi, and when i tried to debug the program that transfer this data between R3 to CRM i got to dead end.
    I realy dont know how to attack this...
    regards,
    Ronen.

    USE LSMW. Even i am working on a similar thing though i need to create products in CRM from excel file. Category and hierarchy ar supplied to me. Actually there are a couple of options.
    Basically do research in SE37  with search term COMCATEGORYCREATE*    and similarly for COMCATEGORYsav*   for category  and for hierarchy replace category with 'hier' . You can then shortlist which FM is good for you and try to construct structure in your program that u can pass to the FM to get desired output.
    Thing to remember is that you first create   and then do save.
    1. Use following if input is from a *.txt  or any tab delimited file.
    INCLUDE com_product_const001.
    INCLUDE com_product_const003.
    *Excel data into Internal table
    PARAMETERS: p_infile  LIKE rlgrap-filename.
    DATA: gd_file type string.
    DATA:  prod type N.
    *Internal tabe to store upload data
    TYPES: BEGIN OF t_record,
    productid TYPE COMT_PRODUCT_ID,
    product_desc TYPE COMT_PRSHTEXTX,
    proudct_type TYPE COMT_PRODUCT_TYPE,
    prod_categoryid TYPE COMT_CATEGORY_ID,
    prod_obj_family TYPE COMT_PRODUCT_OBJECT_FAMILY,
    prod_hierarchyid TYPE COMT_HIERARCHY_ID,
    maintenance_language TYPE SY-LANGU,
    prod_base_uom TYPE COMT_BASE_UNIT,
    sales org1
    sales org2
    item category
    END OF t_record.
    TYPES : Begin of struc_mat,
            HEADER  TYPE COMT_PRODUCT_MAINTAIN_API,
            DATA    TYPE COMT_PROD_MAT_MAINTAIN_API,
            INTERLINKAGES TYPE COMT_PRODUCT_IL_API,
            CONDITIONS TYPE COM_PRODUCT_CND_API,
            DOCUMENTS TYPE COMT_PRODUCT_DOCUMENTS_API,
          END of struc_mat.
    DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
    wa_record TYPE t_record,
    ls_record TYPE t_record.
    **For Unicode check active in program attributes then need to declare constants as follows:
    **class cl_abap_char_utilities definition load.
    **constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    *AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_INFILE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_infile.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          DEF_FILENAME     = 'p_infile'
          DEF_PATH         = ' '
          MASK             = '*.txt'
          MODE             = '0'
          TITLE            = 'UPLOAD TAB DELIMITED FILE'(078)
        IMPORTING
          FILENAME         = p_infile
        RC               =
        EXCEPTIONS
          INV_WINSYS       = 1
          NO_BATCH         = 2
          SELECTION_CANCEL = 3
          SELECTION_ERROR  = 4
          OTHERS           = 5.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *START-OF-SELECTION
    START-OF-SELECTION.
      gd_file = p_infile.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                    = gd_file
      FILETYPE                      = 'ASC'
          HAS_FIELD_SEPARATOR         = 'X'
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
        TABLES
          DATA_TAB                   = it_record
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        write: 'Error' , sy-subrc .
        skip.
      ENDIF.
    END-OF-SELECTION.
    *!!! Text data is now contained within the internal table IT_RECORD
    Display report data for illustration purposes
    LOOP AT it_record INTO wa_record.
       WRITE:/     sy-vline,
       (10) wa_record-productid, sy-vline,
       (10)  wa_record-product_desc, sy-vline.
       (10) wa_record-age, sy-vline.
    ENDLOOP.
    *The field data in structure for MAT & FIN are very different . Loop at retreived data and based on product
    *type fill in the respective structure and proceed.
    *PARAMETERS: g_matnr1 TYPE comt_product_id.
    *PARAMETERS: gv_guid  AS CHECKBOX DEFAULT on.
      DATA :  gv_save  TYPE BOOLEAN VALUE 'X'.
      LOOP AT it_record INTO wa_record.
        IF wa_record-proudct_type EQ '01'.
          PERFORM init.
          PERFORM create USING wa_record.
          PERFORM save   USING gv_save.
        ELSE.
        ENDIF.
      ENDLOOP.
    2. Use excel file and use LSMW

  • Product Hierarchy level 2 code and description details

    Hi BW Experts,
    In our report we want to display Material wise 'Product Hierarchy level 3 code and level 2 description.
    Here, we have loaded material master hierarchy data to BW but we are not able to get the level 3 code and level 2 desc.
    In R/3 side we can see product hierarchy level 3 code and level 2 description using transaction code.
    Could some one help me how do we get these details.
    Thanks in advance.
    mahantesh

    Folks,
    Any solution?
    Laks

  • Authorization to Display product item in Sale Opportunity

    Hi, Expert.
       I use SAP CRM4.0
    In transaction display business opportunity , when I display .
    Can I customize the system to display product item for each user.
    Any suggesion will be appreciate
    Best regards
    Siriporn T.

    Hello Amber,
    We had a similar requirement wherein we implemented a partner determination BADI and provided that BADI in an access sequence.
    In this BADI, write the code to determine the partner based on the product or product hierarchy entered by the user. Assign this BADI to the access sequence in the partner determination procedure at the item level.
    Reward with points if this helps.
    Regards,
    Gaurav Gera

  • Workflow for product hierarchy

    I have to create a workflow for product hierarchy.
    When  we Create/Modified/Delete one product hierarchy using Tcode  V/76 (entry in the table T179) I have to display that product hierarchy.  I am not able to find any object type for that. Which object type I have to use.
    I am new in this workflow. Please help me

    thanks

  • 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

  • Searching for products via Product Hierarchy ID in CRM Webclient 2007

    Hello,
    When creating a sales order in CRM Webclient 2007 I would like to be able to search for products by using the Product Hierarchy ID. When clicking the search help for product in the order entry screen in the webclient UI, I get a pop-up with the available search criteria. I select Product Hierarchy ID and click on Input Help. A new pop-up is displayed with the three Hierarchy ID:s:
    R3MATCLASS Material Group
    R3PRODSTYP Product Subtype
    R3PRODHIER Product Hierarchy
    I select R3PRODHIER. When hitting the search button, I get all materials which have Hierarchy ID R3PRODHIER assigned as a product category in the material master data. I can however not search for materials which belong to a certain hierarchy node in the product hierarchy.
    In transaction VA01 in ECC it is possible to drill down through the three levels of the product hierarchy to find the desired material. Is the same type of searching possible in CRM?
    Any help much appreciated.
    Kind regards,
    Johan Wigert

    Hi Johan
    I want to know if finally you have found the way to deal this problem.
    Thank you very much,
    Yannuchi

Maybe you are looking for

  • MacBook Pro 17" Hard Drive and RAM suggestions

    Hi, I want to but the new 17" MacBook Pro with 3.06GHz processor. I am still unsure whether to choose 4GB or 8GB RAM as well as whether to choose SSD or HDD. This MacBook will be used to develop iPhone apps, so I would want to have it speedy. On the

  • Changing Passwords

    Hi Everyone, Has anyone else noticed that passwords have extra characters added to them? How do I make this stop? I've repaired permissions, etc. Mavreen 12" iBook   Mac OS X (10.4.3)   60 GB, 512 RAM

  • Help with recapture please

    I have lost half of my capture scratch and need to recapture with FCE3.5 I did Capture Clip in the beginning. How can I recapture these clips? Thank you for any advice.

  • Sql output in Excel file

    Hello all , I have to save my sql query output to a .xls file.i want to save that file in Unix folder. Can anyone help me out to do it Thanks in advance

  • Singletons in EJB Container

    I'm working with an existing application that uses "traditional" Singletons in the EJB continer (static instance variable to contain the state and guarded access to the state). These singletons are running in the EJB container and I need to get rid o