‎2016 Apr 14 10:13 PM
Hi -- admittedly this sounds like a security concern, but trying to think of ways to automate installation without a lot of manual steps.
Is there any standard RFC's or BAPI's that we could push through a transport or something and then activate it? Maybe even a software component with patches?
‎2016 Apr 15 2:00 PM
do you need it for only code, i.e. PROG/CLAS/FUGR objects? Or do you also need domains/database tables/views/search helps/etc?
depending on your SAP release you could theoretically misuse the ADT(abap development tools/abap in Eclipse) RFC interface. But I dont think its documented, so you have to dig into the code to figure out how to use it.
You can also consider looking into saplink.org or abapgit.org , both will require some extra code to be able to trigger a push remotely. But they already contain the parts for installation of ABAP objects.
‎2016 Apr 15 7:54 AM
I don't get what you want to automate. If you mean you'd like to execute some ABAP code at import time, then the most simple is to enter a program as a R3TR XPRA entry in the transport request. If you want to execute some code for different dummy or not objects, then you may create a new customizing object in transaction SOBJ, and define an "AFTER_IMP" function module, then enter the entry R3TR Z001 <object> (Z001 being the customizing object). Search forum for more details.
‎2016 Apr 15 1:41 PM
I mean, I want to use RFC to install code, not to execute it.
‎2016 Apr 15 2:00 PM
do you need it for only code, i.e. PROG/CLAS/FUGR objects? Or do you also need domains/database tables/views/search helps/etc?
depending on your SAP release you could theoretically misuse the ADT(abap development tools/abap in Eclipse) RFC interface. But I dont think its documented, so you have to dig into the code to figure out how to use it.
You can also consider looking into saplink.org or abapgit.org , both will require some extra code to be able to trigger a push remotely. But they already contain the parts for installation of ABAP objects.
‎2016 Apr 15 2:34 PM
Very good idea Lars, I'll try the ADT service.
To be specific, I want to push through an OData service, and turn that on.
There are a ton of specifics here: http://help.sap.com/download/netweaver/adt/SAP_ADT_Configuration_Guide_Backend_en.pdf
I suppose I can do a trace between Eclipse tools + gateway to see what kind of parameters it's passing?
‎2016 Apr 15 6:28 PM
yea. As far as I know Eclipse wraps the REST call into an RFC call by default, so you can switch on RFC trace and use external breakpoints.
The data passed to the RFC can then be reused to pass to the SICF REST service.
And most surely none of this is supported or encouraged by SAP