cancel
Showing results for 
Search instead for 
Did you mean: 

Need help in APIs provided by Archive Development Kit (ADK) in SAP

abhi_8505
Explorer
0 Kudos

Team,

I am beginner in SAP and learning about ADK and APIs it is providing, however I did not found any document which is giving me an example of such APIs, though I have found function module APIs which can be used and call to execute function module using JCo library provided by SAP.

But I did not get any document which is mentioning about the APIs provided by ADK which we can use to develop archive programs and modify existing archive object.

Could you please help me with the direction that I need to check and explore where I can find details about such APIs offered by Archive Development Kit (ADK).

Any help is appreciated.

View Entire Topic
Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert

On the page you referenced above, if you click on the "ADK Interface" link, you get to a list of all available APIs. Then you can log on to an SAP system, open transaction SE37 and enter the name of one of these functions, for example ARCHIVE_OPEN_FOR_WRITE.

On the next screen you can then click on the button "Function Module Documentation" to read the documentation:

However, it is as I expected: these APIs are not remote-enabled, so you can use them only in ABAP programs, not in Java via JCo:

abhi_8505
Explorer
0 Kudos

thanks again for your reply,

One thing to confirm, is there any way we can edit this 'processing type' to 'Remote Enabled Module' so that we can call it using JCo.

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

As these FMs are delivered by SAP, it would be a "modification" of the SAP Standard. I know that modifications are possible, but don't know the details. You would need to ask your SAP administrator.

However, if you are able to make ABAP code changes in the SAP System, the following might be easier:

  1. Create your own function group in the Z-namespace
  2. Create empty copies ("wrappers") of the archive functions you need, and make them RFC-enabled
  3. In each wrapper function, just call the original function, passing all imports/exports/tables unchanged from the wrapper to the original
ashish_pancholi
Explorer
0 Kudos
However, it is as I expected: these APIs are not remote-enabled, so you can use them only in ABAP programs, not in Java via JCo:

Can we use or call these APIs using the RFC from JCo?

JCo >> RFC >> ABAP program