We normally “read” the data from SAP table throguh ABAP programmes. How can do the reverse…i.e. loading the data into Standard SAP tables like VBAP,VBRP,LIPS…etc through Data Intgrator 11.7
To be precise,I have an Excel file which needs to be inserted into SAP table.
You don’t load it into the SAP tables as you would endanger the integrity of the SAP system, e.g. an order does change the material reservations, has impact to cost bookings etc.
ABAP programme normally executes on SAP Application server. Is there any way we can execute on DI server itself ? Similar to running/calling an oracle stored procedure through DI script.
First of all, you would not run stored procedures via the sql() function, you would call it directly (import into the datastore).
Second, as it should deal with data, the stored procedure would be part of a dataflow, inside a query. But not as a mapping, a new_function_call.
And that is identical to the BAPI example, isn’t it?
To answer the question the other way around, no, a BAPI cannot be called from a sql() function and not from a script whereas both is possible with database stored procedures. But not applicable in your use case anyhow.