Application Development and Automation 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: 
Read only

Download documentation from BAPI Explorer

christian_swonke
Participant
0 Likes
839

Hi experts,

I would like to download the documentation of certain BAPIs from the BAPI explorer.

Is there any solution to download the BAPI documentations from BAPI Explorer (transaction bapi) as HTML to a local client?

Are there any possibilities to access the BAPI explorer and also the BAPI documentation from a external no SAP system?

Regards and thanks for the help

Christian

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
685

Check this function below. This function cal be called from non sap system too.

  CALL FUNCTION 'BAPI_INTERFACE_GETDOCU'

       EXPORTING

            OBJTYPE     = P_OBJTYPE

            METHOD      = P_METHOD

            PARAMETER   = P_PARA

            LANGUAGE    = SY-LANGU

            TEXTFORMAT  = 'HTM'

            LINKPATTERN = CS_HYPERLINK_ROOT_MASK

       IMPORTING

            RETURN      = RET

       TABLES

            TEXT        = DOKU_AS_HTML.

3 REPLIES 3
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
686

Check this function below. This function cal be called from non sap system too.

  CALL FUNCTION 'BAPI_INTERFACE_GETDOCU'

       EXPORTING

            OBJTYPE     = P_OBJTYPE

            METHOD      = P_METHOD

            PARAMETER   = P_PARA

            LANGUAGE    = SY-LANGU

            TEXTFORMAT  = 'HTM'

            LINKPATTERN = CS_HYPERLINK_ROOT_MASK

       IMPORTING

            RETURN      = RET

       TABLES

            TEXT        = DOKU_AS_HTML.

Read only

0 Likes
685

Do you know also a BAPI to get detailed information about a business object?

For example to get all methods of a business object?

Then I have the possibilty to call the BAPI BAPI_INTERFACE_GETDOCU for each single method...

Regards

Christian

Read only

0 Likes
685

Use SWO_QUERY_API_METHODS to query the method names.