Hierarchy Sheets creation from a Hierarchy Node

Hello,
I am looking for a sample function code module or snippet whereby I can create a list of Hierarchy nodes from a "Cost Center Hierarchy node" as input. please help.
Thanks,
sebastian

Hello,
I am looking for a sample function code module or snippet whereby I can create a list of Hierarchy nodes from a "Cost Center Hierarchy node" as input. please help.
Thanks,
sebastian

Similar Messages

  • Service entry sheet creation from PO without selecting line item of PO?

    Dear SAPIENTS,
    While creating service entry sheet for one frame work order (PO) i do not want to select line item of PO. I want all the service of PO line item should come automatically in single service entry sheet number.
    At present whenm i enter the PO number its taking line item 10 as default because of this service of that line item is coming and for every line item i have to create different service entry sheet.
    Regards,
    Kaushal Rai

    Hi,
    in ML81N please enter the entry sheet header data, then go to full screen services, push the button for
    "service selection" and after that  a popup appeares for the service selection (SAPLMLSP
    0500). On the bottom of this popup you have the button "complete" = adopt all = F9. If you hit this
    button all of your services within the service specification will be copied into the entry sheet
    at the same time.
    Regards,
    Edit

  • User Exit for reading data from a hierarchy in BW-BPS

    Hello Forum,
    How can i fetch all the records from a particular node in a Hierarchy using a user exit in a variable in BW-BPS,
    Plz Help,
    Regards,
    KK

    Hi,
    This is a sample code that may help you.
    DATA: BEGIN OF wa_val,
            from TYPE rsleaffrom,
            to   TYPE rsleafto,
          END OF wa_val,
          tb_val LIKE wa_val OCCURS 0 WITH HEADER LINE,
          tb_grpval_ce LIKE wa_val OCCURS 0 WITH HEADER LINE,
            tb_ce_val   TYPE rshi_t_hienode,
            tb_ce_intervl TYPE rshi_t_interval,
            wa_hiedirkey TYPE rshi_s_rshiedirkey,
            tb_node_val TYPE rshi_t_hienode,
            tb_interval TYPE rshi_th_interval,
            wa_interval TYPE rshi_s_interval,
    SELECT SINGLE hieid objvers FROM /bi0/haccount
                    INTO wa_hiedirkey
                    WHERE nodename = group-name.
      CALL FUNCTION 'RSSH_HIERARCHY_READ'
        EXPORTING
          i_rshiedirkey     = wa_hiedirkey
          i_date            = sy-datum
        IMPORTING
          e_t_rsnodes       = tb_node_val
          e_th_rsinterval   = tb_interval
        EXCEPTIONS
          invalid_hierarchy = 1
          name_error        = 2
          iobj_not_found    = 3
          OTHERS            = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    thanks
    pratyush

  • Creation of Article Hierarchy

    Hi Experts,
    Would like to take your sugestion in creation of Article Hierarchy.
    I am creating Article Hierarchy  B1, by using transation WMATGRP01 and entering in the screen of creation of Article Hierarchy and when i am giving to create a Hierarchy Node the system is automatically generating the Hierarchy Node number, which i want to enter manually as per client"s requirement. Please advice how to create the hierarchy node manually.
    Best Regards
    Javeed Ahamed.M
    SAP-MM Consultant

    Hi Javeed,
    It could be due to External Number Assignment not checked
    Goto:
    IMG>Logistics - General>Article Hierarchy-->Edit Hierarchy Levels
    and check the external no. assignment.
    See if the problem resolves.
    Hope it helps.
    Regards,
    Anirban Roy

  • Custom Hierarchy sub selection from BEx Query to Webi

    Hi All,
    The client has requested that from a hierarchy only certain accounts / account nodes be brought into the Webi report.
    I have made a Account Number Filter in the BEx query containing the nodes that the client has requested. In order to get a hierarchical view, I activated the hierarchy display through BEx and selected the hierarchy the the selection of the nodes came from.
    I ran the report through Analyzer and all works - the only nodes that show are the nodes that were filtered on through query designer and all lower nodes below it. It displays as a hierarchy properly.
    When running in Webi, I bring in the hierarchy object for Account number and the report crashes giving me the general Webi error. (I have added a screenshot).
    In conclusion, what I am trying to do is take a sub selection of certain account nodes from a hierarchy and display those nodes with all lower levels below in a hierarchy. It works in BEx, not in Webi.
    If this won't work in Webi, any idea how to build this in BEx so it will work in Webi?

    I haven't tried this myself yet - but did you register your Google API key?  Please see Google Maps in SDK Extension

  • How to move Profit centers from one hierarchy to another.

    Hi All - In Standard hierarchy in our Profit center accounting, we have in KCH6N as below and doing posting to these successfully.
    1. C1470 - 000001470 Profit center
    2. C1472 - 000001472 Profit center
    Now for some Business reason, we need to temporarily move above said profit centers in their hierarchy to another one C1410. So Users could post a journal entry and then move the profit centers back to their current location.
    After we make the change, It should be
    C1410 - 000001470 Profit center
    C1410 - 000001472 Profit center
    Can you please suggest me how to move the Profit centers from one hierarchy to another. Can you please let me know how to make this change.
    Thanks

    Hi Hoysala,
    This is not the best practice, to change profit center hierarchy node to another node, just for the sake of JV.
    If you have to allocate a cost/revenue from one cost center/profit center to another, I would advise you to use manual allocation/distribution  process, as per your business reason (Profit Center Allocation/Cost Center Allocation), rather than changing hierarchy nodes.
    You can use 3KE5-Execute Actual Assessment and 4KE5-Execute Actual Distribution from Profit Center 1470/1472 to the profit center under node C1410, without moving profit center from one node to another.
    http://veritysolutions.com.au/2012/07/03/overhead-allocations-in-sap-new-gl/
    Regards
    Javed

  • Creating a property with list values derived from other hierarchy

    Hello Friends,
    Thanks in advance for any help in this regard.
    1)     Can we have a property with list values populated automatically from other hierarchy.
    2)     Can we select multiple items from the list box. Does property allows multiple values.
    The example is like this. There are 2 hierarchies.
    Customer
         Customer 1
         Child Customer
    Industry
         Hightech
         Computers
         TVs
    Manufacturing
         Auto
         Steel
         Healthcare
         Pharma
         HealthInsurance
    The requirement is to add Industry hierarchy as property of Customer Hierarchy and select each customer is what type of Industry they belong as a property value.
    Thanks

    Use property data type ListGroup for multiselect.
    To select values from another hierarchy you can use Node or MultiNode, or an Asscociated Node property, of which there are several types. I'm not fond of the property editors for Node data types and will often just use a string and validate the user input by defaultin prefixes and such with a derived property that is checked by a query based validation. Make sense?

  • Query with user-exit hierarchy variable and input ready hierarchy node var.

    Hello everyone.
    we are using several hierarchies (2005, 2006 and 2007) of the same info object 0FUNDS_CTR (one for each fiscal year). We would like to be able to use same reports regardless of chosen fiscal year (selected hierarchy) and ever more, to select node inside proper hierarchy. At the moment reports use 3 parameters:
    1) fiscal period from - fiscal period to
    2) hierarchy name
    3) hierarchy node
    Our goal is to get report with only 2 parameters:
    1) fiscal period from - fiscal period to
    2) hierarchy node
    since hierarchy name could be derived (user exit) from fiscal period.
    When user selects hierarchy node he is being asked to select hierarchy name (despite of user exit for hierarchy name) and key date (populated with current date).
    We would like to avoid step of user selecting hierarchy. Is it possible?
    Any other approaches to problem would be appreciated.
    Kind regards,
    Josko.

    Hi Jörg,
    As mentioned, I_STEP = 3 is  processed once per query, not once per varaiable.
    If this statement is placed within case-endcase for I_VNAM it never will be processed.
    Please take a look on this, it might be helpful..
    Regards
    Joe

  • Service Entry sheet creation - Using a diffent contract diff from line item

    Hi,
    Here is the scenario...
    I have a services purchase order referring to contract  and its service item with services ( service masters) attached to it.
    And the PO  item is a limit item with some limits maintained on the limits tab, but contract reference is specified at the limits level it is only at the line item level.
    System version : ECC 6.0
    Lets say PO number : 123456789
    Lets say contract number and item is : 2323232323  item 10 ( Account assignment U )
    My supplier is : 111111111
    Now I am creating the Service Entry sheet  and I am trying to add the services  ( services selection button)  I get a pop up to  search for services  by certain selection criteria  and one of them is purch document ( remember it doesn't pre-populate and grey out the purch doc field with that the contract number from the item level) and now I can select any service contract that belongs to any supplier and select the services from it and complete my  SES.
    So lets say the contract from which I chose the service is : 3232323232
    And the supplier on the contract is 2222222222
    Is this a valid scenario or not?
    Has any body ran into this situation  before?
    Hope I was clear in explaining my scenario....  
    Thx,
    Krishna.

    Hi Krishna,
    the External Services Management distinguishes between planned and unplanned services.
    In case you have ONLY limits, no planned services in the PO item, it does not matter if you have entered a contract number into the PO item - in this case this contract will be not a real reference for your services.
    If you have entered limit values only as overalllimit and expected value and you did not enter a contract limit on the contract limit tab, then you will not have a special contract reference on unplanned level neither.
    In this case it is NOT an error when you start the entry sheet creation and you can select services from other contracts or purchase orders against your limit values in the PO into the entry sheet.  The system does NOT check for a different vendor when you select services from other documents than the contract which you have specified in your PO item, because it is NOT a real reference - nor on services level as you have only limits in your PO item, nor on limit level since you have NOT entered a contract limit into your PO item.
    In order to understand this process please study the unplanned scenario and contract reference scenarios.
    Regards,
    Edit

  • FM for deleting Component from Ibase Hierarchy

    Hi,
    Is there any FM for deleting Component from Ibase Hierarchy.
    I have tried using the FM "CRM_IBASE_COMP_DELETE", it is anyway deleting the component from the hierarchy but not those component
    whose is already assigned to a Contract.
    I have read these similar thread of only deleting a component but it was not very helpful in my scenario.
    In CRM, standard way of removing the component from Ibase Hierarchy is to "CUT" the component  and save. The mentioned component will not
    be seen in Ibase hierarchy.
    So is there any FM which can actually remove or cut the component from the hierarchy even though it is assigned to any contract etc.
    Awaiting for your expeditious help on this issue,
    Thanks and Regards,
    Jojy

    Hi Naresh,
    Thanks for your response,
    Is there any way of doing the same from Std. FM apart from doing it manually.
    Mine is Interface scenario in which the call will be instantaneous.
    I have tried to dismantle the component also, but it will be remain present in Ibase hierarchy even though it is associated to any contract or not with dismantle sign in it's hierarchy .
    I want to cut it so that it will not remain in Ibase hierarchy, it can be present in CRM system.

  • How to only display specific members from dissimilar hierarchy levels?

    Hi,
    I have a Business Partner that routinely wants to build a report that displays members from dissimilar hierarchy levels. For example, she wants to display member "210_UNASSIGNED EXP/ACC" from level 8 and member "E090_ADVISOR SERVICES" from level 1. When she filters on just those two members, the reports displays as such:
    She then must manually expand the "E020_CORPORATE AND EXECUTIVE" member 7 times to see "210_UNASSIGNED EXP/ACC":
    Is there anyway to make her life easier and have the report display only the "210_UNASSIGNED EXP/ACC" member and the "E090_ADVISOR SERVICES" member, even though they are from different levels?
    Thanks,
    Michael J Titera
    BI4.0 SP8.3
    SQL Server 2012

    Hello Michael
    Displaying information from mixed hierarchy levels without the context of the parent members is a reporting workflow best suited to WebI and CR. The AOLAP content can be exported as an Analysis View and then this becomes a data source for WebI and CR.
    Our previous product Voyager used to allow member selection from mixed levels without the context of parent members but it caused a lot of confusion and misinterpretation of the data, which is why we deliberately do not have it in AOLAP.
    Worth noting that BI4.1 was a big release for AOLAP with many enhancements. One is "Expand to Level". So instead of having to click 7 times to expand the hierarchy, it now just requires one mouse right-click to do the same thing.
    Regards
    Ian

  • REQUIREMENT TO STOP BALANCE SHEET ACCOUNTS FROM ACCEPTING PROJECT AT JOURNAL CREATION OR ANY FINANCIAL DOCUMENT CREATION.

    Dear Gurus,
    I have a requirement from my client to stop balance sheet account from accepting project at financial document creation or journal entry because this process distrupt the profit and loss account report or transaction report by project as balance sheet items are not expected to be part of this report.
    Kindly advise on the way to achieve this to enable fulfill requirement and deliver excellence service.
    Kind regards,

    Hi Nagarajan,
    Thank you for your response.
    My sample is whenever an entry is raised to be posted to a balance sheet account such account should not allow user to post but only in revenue and expense account. E.g. A Stock account should not allow project assignment but a cost of sales, expenses or sales revenue accounts should only accept project assignment.
    Only P&L items should allow project assignments.
    I hope this is clear is enough.
    Regards,

  • Failed to get hierarchy group elements from middleware

    When iam configuring the Mobile Infrastructure and clicked on Hierarchy Grouping i got the following error.
    Error:Failed to get hierarchy group elements from middleware. Reason: Could not connect to middleware
    Could anyone tell meaning the above statement and why it is occuring.
    Secondly when iam trying to start the MI Webconsole from the below URL, I was getting Page Cannot be Displayed Error.
    https://server:50300/me/WebConsole/login. Can anyone tell why this error is coming.

    Hi Siva,
    Sorry for the delay reply. I have a few things to ask.
    First my problem is not solved, still iam getting the error.
    Secondly, i have done the configuration for Mobile Administrator, but during the configuration When deploying the JRA File (Standard Installation and Installation of Cluster both needs to be done or Standard Installation is sufficient).
    Not only that after configuring the Mobile Administrator do i need configure the CCMS also, if so if i configure the CCMS would my error be resolved.
    My User has all the required Authorizations but why am i getting the error i could not able to trace out
    Lastly do i need to configure the Mobile Applications part also.
    I need to have a quick reply on this. Can anyone help me in this issue.

  • Custom category Hierarchy setting  Deleted from dimension (0XAEWCCAT)

    Hi
    Custom category Hierarchy setting  Deleted from dimension (0XAEWCCAT) i am unable to find the hierarchy option  Data source administration in Production, all my category reports doesnu2019t  show hierarchy. In RSRT the hierarchy is fine.
    Any idea how do we get the setting back,
    I know front end content transport  from Dev will help, but we are working on some developments and donu2019t prefer transport at the moment.
    Regards,
    Mahesh

    If I look at the available parameters in the helpfile 2 things are strange in my opinion:
    1)the parameter is called approvalstatusmsg, approval status was the V4 naming convention of the function, right now it is called workstatus, so it might be a V4 function. Never used it myself but maybe it is something not correctly migrated to v5.
    2) Even if it is working in V5, which I don't know for sure, then it is strange that you only have variables for Categroy, time and entity, since you can setup the workstatus for more then these 3 dimensions in V5 which you would also like to have in a case you set it up for more then 3 dimensions. For example for if you want to use Category,time,Entity & Product dimension in the workstatus, you would also like to inform the people which product is updated, since only just category,time and entity won't say that much.
    So I think you best check with support if this function is still usable in V5 or if it is an old function from V4. and if it is working in V5, how do you get the right parameters in the variables when you setup workstatus for other dimensions then just Category/time/Entity.
    I would like to know the results!
    Joost

  • Moving CCG from Alternate Hierarchy

    Dear All,
    How can i move a cost center group from Alternate hierarchy to standard hierarchy ? I have tried OKEON in standard hierarchy however it gives me an error saying that the cost center group is already present. Should I delete the CCG in alternate hierarchy. Pls advice.
    best regds
    Subha

    Hi,
    Delete the cost center group from KSH2 and add create it from OKEON.
    Your problem will solve.
    Regards,
    Ravi

Maybe you are looking for

  • Error in consuming a web service

    hi experts, i want to communicate to a non SAP legacy system from SAP system through web services. in this process the legacy system has released a web service which i am supposed to consume in SAP system but when i try to create proxy object and i p

  • ITunes 9.2, the Apple Mobile Device service is not started...(crashed).

    "This iPhone cannot be used because the Apple Mobile Device service is not started" The above shows each time I try to start iTunes after upgrading to 9.2 (from 9.1) this morning on my Sony Vaio (Windows 7 32 bit) laptop. The AMD service crashes as s

  • Xperia z2 dead , red light blinking when connected to usb charging cable

     My phone is totally dead, i cant do anything power button + volume up button , force restart button near the sim , and nothing happens , also when i connect to a usb charger the red light is blinking all the time . Please HELP ME i need my xperia z2

  • IMac i7's Hard Drive is 56 Degrees Celsius?

    Hi. The newscast report it's around 32 degrees celsius. The iMac i7's hard drive using SMARTReporter says the hard drive is at 56 degrees celsius with just Safari and Mail launched. Will the hard drive be damages (and the iMac itself). It's not reall

  • Sort messages in Folder "Inbox"

    Dear all, How do I sort the messages in the Inbox folder using JavaMail API? Rgds, Seetesh