Skip to Content
0
Dec 09, 2009 at 07:37 AM

How to determine Evaluation Path(WEGID)

1658 Views

Hi All,

I am using FM /ISDFPS/FORCE_STRUC_GET in order to get all the elements under a particular force element In TCODE /ISDFPS/TOE1. Here is the code :

            CALL FUNCTION '/ISDFPS/FORCE_STRUC_GET'
              EXPORTING
                act_otype      = 'O'
                act_objid      = objid
                act_wegid      = O-O_DOWN
              IMPORTING
                act_plvar      = 01
              TABLES
                result_objec   = lt_objec
                result_struc   = lt_struc
              EXCEPTIONS
                no_plvar_found = 1
                root_not_found = 2
                path_not_found = 3
                internal_error = 4
                OTHERS         = 5.

However using wegid O-O_DOWN does not give all the elements under the node (objid or Force element).

How do I know which wegid ( Evaluation path) is to be used . How can it be determined?

Thanks ,

Vasuki