Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to display parent and child for the serial number associated with IBASE

0 Kudos

Hi All,

I have created RFC FM as per requirement.
Importing parameter is SERNR and Output table as below
Type P for parent/C for child
Matnr
Sernr
Called the FM- IBPP_GET_IBASE_DOWN_ALL within the my custom RFC.
The exporting parameter - E_SERNR_TAB serves my requirement.
But I also need to get which material is parent and child associated with the IBASE (hierarchy) and
populate the same against each line item of the output table of my custom RFC FM.
Please provide help on the same.

Thanks and Regards,
Nandhini

1 REPLY 1

former_member1716
Active Contributor
0 Kudos

Hello Nandhini Harshavardhan,

Use the FM below to retrieve the details:

CRM_IBASE_COMP_GET_HIERARCHY

Export Parameters to be filled as below:

I_LEVEL_UP_ALL = 'X' --> To fetch the details up the hierarchy

I_LEVEL_DOWN_ALL = 'X' --> To fetch the details down the hierarchy

Regards