RH_TYPE_STRUC_HELP - ACT_ROOT_ID & ACT_ROOT_OT

Hello,
If "use_control" parameter is initial, then I can use the ACT_ROOT_ID & ACT_ROOT_OT parameters to delimit objects root.
But if "use_control" parameter is not initial, I can't use the ACT_ROOT_ID & ACT_ROOT_OT parameters to delimit objects root, it doesn't work!
Anyone of you knows why? Can I delimit the root object when "use_control" parameter is not initial? Maybe another FM?
Thx!
Miguel Angel.

I have finally cracked it!!!!!!!!!!!!!!!!
The issue is definitely with Java Sun. "Uneven character spacing when printing JTextComponent"
It is raised on the http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6488219
And currently in OPEN state, and raised on 31 Oct 2006 and mentions it was caused by fix 4352983.
So where do we go from here. It's not good because I have tried all later version of the JVM and the issue is still there.
Why? Because it hasn't been fixed yet. Read the bug report above, as it gives more insight -- and mentions the workaround is NOT good for existing code.
So the way forward is to use an earlier version of the JVM 5.
I download the JVM version 1.5.0 (starting version) and works Ok... I would probably think version prior to 4352983 would be Ok too.
Please vote for this.... We have a workaround (use older version of the JVM).
So I am very happy.

Similar Messages

  • Set current root, hide roots in RH_TYPE_STRUC_HELP

    Hello,
    I am using RH_TYPE_STRUC_HELP to select the list of org.units. Also I have an option in my report: "head org.unit". I would like to hide all other roots except "head org.unit" and also be able to start the org.tree from "head org.unit".
    restrict_callback - can only disable but cant hide.
    Maybe I have to use other FM? Any examples?
    Thank you

    Hi,
    I am not clear about "head org.unit" . Can you elaborate more.
    Try using the FM "RH_STRUC_GET".
    May be this will help you.
    Regards,
    Subbu.

  • RH_TYPE_STRUC_HELP the same sy-subrc for no selection and cancel

    Hi,
    I use FM "RH_TYPE_STRUC_HELP" and it puts me the same result to sy-subrc  for [no items selected] and [cancel] - sy-subrc = 2.
    When I have a few item selected in org.tree I can not deselect them. (I can do it in range options only).
    Maybe someone knows how to split the function result on [no items selected] and [cancel].
    Evgeny

    Hi,
    Try with following modifications:
    ZYEAR1(4) = LOC_VAR_RANGE-LOW(4).
    ZYEAR1(4) = ZYEAR1(4)- 1.
    ZMONTH1(2) = LOC_VAR_RANGE-LOW+4(2).
    CONCATENATE ZYEAR1(4) ZMONTH1(2) INTO LOC_VAR_RANGE-LOW(6).
    With rgds,
    Anil Kumar Sharma .P

  • How to get PNP Org Structure to reflect the org structure as of key date?

    I created a custom program using the PNP logical database.  I defined a custom report category indicating the selection period = employee selection period and allowing org.structure.  I’m also using the standard SAP PNP_DEFAULT selection view. 
    Inside my ABAP I initialize the pnpbegda and pnpbegps to reflect 20060930.  Upon Execution the key date reflects 09/30/2006.  I click on the org.structure button.  The org.structure displayed reflects the one as of today rather than as of Sept-30. 
    During run debug I see that the RP_PNP_ORGSTRUCTURE  program, LRPPNU11, calls function 'RH_TYPE_STRUC_HELP' to get the org.structure.  The call to this function passes 09/30/2006 for the begda and endda, but it still returns the latest org.structure.  I did some playing with this function and found that if I also pass the ACT_SEARCH_WEGID as ORGEH it works.
    Any idea on how I can get the LRPPNU11 program to pass the ACT_SEARCH_WEGID or the subsequent called functions to process for ORGEH?

    thanks. but maybe I don't describe my problem well.
    I use javascript to get some information such as position, sytle of each elements and then pass these to javafx. So the besides the dom tree, I can get more information about elements.
    I need to pass them back to javafx.
    if node support setUserData, I can associate them to each Node/Element. But webkit don't support this feature.
    BTW, If javascript pass a object to javafx. it can only deal with primary types such as string, numeric. But I need pass back a complicated javascript object like:
    {name:"parent", children:[{name:"child1"},{name:"child2"}]
    I can use (String)JSObject.getMember("name"); and JSObject children=JSObject.getMember("children");
    but I can't cast children to Object[] or JSObject[].
    so I have to use some tricky to convert Javascript Object to json string and then in javafx convert it back to Object tree.
    Edited by: user12956197 on 2013-3-11 上午4:27

  • Restricting structure search

    Hello!
    I would like to arrange a search help where a user could select from a list of persons(P) limited by some given role (AG) they hold.
    As of now, I succeeded to list persons by roles using FM
    RH_TYPE_STRUC_HELP with wegid US_ACTGR .
    Is there any way now I could limit this search to one particular role?
    I see there is a RESTRICT_CALLBACK parameter, but I failed to find sample usage of it.
    Have you possibly tried this sort of 'prefiltering' f4 lists?
    Thank you very much in advance!

    Thank you for your advice. I do use structural authorization and it works fine. users can see only parts of organization structure which they are authrised to see. what I want now is some finer tuning - of all users' colleages I want to list , for example, all approvers in one case and all
    'signers' in other case.
    Looks like it should be done with regular search helps..

  • Search help for org units

    Hi,
    I'm looking for a tree search help for org units without organisational controls.
    Actually I'm using the search help 'RH_TYPE_STRUC_HELP' but the units are only the units directed by the user. For one of the specific infotype, I need to let the user select an unit that is not in his own structure... to save an information like "I don't want to work here".
    Have you got some function that can help me ??
    Thanks,
    Christophe.

    Hi
      I want to know only the parent org units existed at company code level or Personnel area level for the position search hlep and not the org units and positions relationship

Maybe you are looking for