Hi Techies,
i want to write an ABAP program which gets the Parent id(Nodename) of the specified infoobject .
Ex: if i give ZPLANT 1000 infoobject in the selection screen then i need to get the parentid(NODENAME) as INDIA.
if i give ZPLANT 2000 infoobject in the selection screen then i need to get the parentid(NODENAME) as CHINA.
if i give 0HIER_NODE infoobject in the selection screen then i need to get the parentid(NODENAME) as ASIA.
if i give ZPLANT 3000 infoobject in the selection screen then i need to get the parentid(NODENAME) as GERMANY .
please find the image attached.
Thanks ,
Priya.