cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BAPI to get Component of any SAP Transaction

Former Member
0 Kudos

Dear All,

I Want to get the Component Id of any given SAP Transaction Code, with the help of some SAP RFC.

I tried to get the Component, I got it too but I need some SAP BAPI to do this task.

Some details are available over here,

Please Help.

Accepted Solutions (0)

Answers (1)

Answers (1)

jon_friesen2
Active Participant
0 Kudos

Hi Cvrian,

There is no BAPI for this but there are some RFC functions to get what you want (since they are not BAPIs they may change without notice but probably won't).

First get the transaction dev class info with RFC AKB_GET_TADIR.

For example if you give it OBJECT_TYPE = TRAN and NAME = SU01 you will get the dev class info for transaction SU01.

The dev class info includes a component (in this example HLB0100102). Now call RFC RH_GET_APPLICATION_COMPONENTS to get the list of component to map it to the human-readable component (in this example BC-SEC-USR-ADM).

Hope that solves your requirement. This is not really a SolMan question but I wanted to be helpful