2009 Mar 24 1:27 PM
Hi!
I need 2 things:
1)
A remoteable function which gives me a list of all available BAPIs or remoteable functions.
2)
A remoteable function which gives me a list of all available BusinessObjects in SAP.
Thanks,
Konrad
2009 Mar 24 1:52 PM
Hello Konrad,
Guess I can help you with your first doubt. You can create remote Z funcion which calls a standard BAPI, as follows:
CALL FUNCTION 'BAPI_MONITOR_GETLIST'
EXPORTING
OBJECTTYPE = p_ojtpe
SHOW_RELEASE = p_rel
BAPIS_POTENTIAL = p_poten
BAPIS_NEW = p_new_pabi
BAPIS_OLD = p_old_bapi
RELEASED_BAPI = p_rel_bapi
RELEASED_FUNC = p_released_func
IMPORTING
RETURN = d_ret
TABLES
COMPONENTS2SELECT = int_cs
SYSTEMS2SELECT = int_sss
BAPILIST = int_bapilist
For the remote functions, you can query on table TFDIR to get them.
Regards,
Andre
2009 Mar 24 1:52 PM
Hello Konrad,
Guess I can help you with your first doubt. You can create remote Z funcion which calls a standard BAPI, as follows:
CALL FUNCTION 'BAPI_MONITOR_GETLIST'
EXPORTING
OBJECTTYPE = p_ojtpe
SHOW_RELEASE = p_rel
BAPIS_POTENTIAL = p_poten
BAPIS_NEW = p_new_pabi
BAPIS_OLD = p_old_bapi
RELEASED_BAPI = p_rel_bapi
RELEASED_FUNC = p_released_func
IMPORTING
RETURN = d_ret
TABLES
COMPONENTS2SELECT = int_cs
SYSTEMS2SELECT = int_sss
BAPILIST = int_bapilist
For the remote functions, you can query on table TFDIR to get them.
Regards,
Andre