cancel
Showing results for 
Search instead for 
Did you mean: 

RFC For getting methods in a business object

Former Member
0 Kudos

Hi!

If you use the BAPI explorer, then, for an object, it is possible to search for all the methods it has.

Is there any RFC which i can use to get all the methods in a business object?

Thanks,

Mustansir

Accepted Solutions (1)

Accepted Solutions (1)

Markus_Pfeffer
Explorer
0 Kudos

Hi Mustansir,

The function module SWO_QUERY_METHODS should do exactly what you're looking for.

Hope this helps!

Best regards,

Markus

Former Member
0 Kudos

Hello Markus.

Thanks a lot This is very similar to what I was looking for ... Just one more thing - to use this RFC, I need to know the object type (e.g., I nned to enter BUS6001 if I want to use the AcctngServices object). Is there any RFC which I can use to retrieve a list of all the business objects (i.e., the object name, the short description, and the object type)?

Thanks,

Mustansir

Markus_Pfeffer
Explorer
0 Kudos

Sure!

You can use SWO_QUERY_OBJTYPES for this.

In addition you can just go to transaction SE37 and have a look at all the SWO_* function modules. Together with RPY_BOR_TREE_INIT and RPY_BOR_TREE_EXPAND they basically deliver you every single information that is also available through the BAPI explorer.

Best regards,

Markus

Former Member
0 Kudos

Thanks a lot Markus. I do have a few more related questions, I'll ask them in a separate thread.

Thanks,

Mustansir

Answers (0)