Skip to Content
author's profile photo Former Member
Former Member

How to find SETNODE from SETLEAF

HI EVERYBODY Im trying to find SETNODE from SETLEAF

like when I give a SETLEAF as an input parameter it will return the SETNODE

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jan 07, 2014 at 08:58 AM

    Hi Dren

    You can use function moduel K_HIERARCHY_TABLES_READ for the same. Pass the class value and other parameters

    Nabheet


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 07, 2014 at 08:37 AM

    Hi,

    there is also SETHEADER table

    instead of using maybe try to find the Function module

    (setname is the link)

    regards

    Fred

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2014 at 09:07 AM

    hi Dren

    if just want find the up one layer,

    select * into itab

    from setnode

    where setclass eq setleaf-setclass

    and subclass eq setleaf-subclass

    and subsetname eq setleaf-setname.

    if you want find the top layer, mean the header of the leaf.

    you`d better write a recursion function base on above code.

    regards,

    Archer

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2014 at 09:34 AM


    Hi,

    you can refer the below link to understand the set. and there is method how to get the set value.

    Understanding Sets in SAP R/3

    Hope it can help you!

    Regards,

    Yawa

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.