2006 Aug 09 10:54 AM
hi
plse guide me how to upload the sap table with legasy data(Inbound) using RFC.if possible plse give one example
thanks with regards
serma
hi
plse guide me how to upload the sap table with legasy data(Inbound) using RFC.if possible plse give one example
thanks with regards
serma
2006 Aug 09 10:57 AM
Hi,
Why aren't you looking at LSMW?
If you need RFC for whatever reasons, you need to develop a custom remote function module and in the FM use BAPI / standard IDOC methods / BDC for legacy data upload.
Rgds,
HR
2006 Aug 09 11:01 AM
A BAPI is an RFC by default.
You have to choose the bapi according to your requirement.
Regards,
Ravi
2006 Aug 09 11:04 AM
plse can i have some more information how to upload with RFC.please....
with regards
serma
2006 Aug 09 11:18 AM
Hi Serma,
first come up with what exactly you are looking for ?
then only we can help you to solve it.the scenario i explained is asper my client requirement,i developed like that.
or even you check up is there any existing BAPI's available for your requirement ?
regards
srikanth
2006 Aug 09 11:41 AM
hi srikanth
many thanks for your reply.
this is my requirement:
i have a legacy data (this may be flat file or like a table) i want to upload this data to sap custom table(created by us)using RFC.customer want to get sap data with his non-sap system.
i hope i am clear..
plse guide me
with regards
serma
2006 Aug 09 11:02 AM
first you need to create a function module in SE37.
then in attributes tab, PROCESSING TYPE shold be REMOTE ENABLED MODULE.
define the parameters
in my case, i am gettting the file name(application server file name) & i have to send the RESULT to the caller.
based on that requirement, i created the function module,
FUNCTION Z0MM_SCM_FNC_EVCOR_DELIVERY.
*"----
""Global interface:
*" IMPORTING
*" VALUE(P_FILENAME) TYPE RLGRAP-FILENAME DEFAULT
*" 'EVCOR_DELIVERY.txt'
*" TABLES
*" RETURN STRUCTURE BAPIRET2
BAPIRET2 <-is the return err/success table to the CALLER
P_FILENAME <-is the value coming from the caller,indicating the name of the file on application server.
once i read those file contents, you can use either CALL TRANSACTION or BAPI to update the tables.
revert,if you need any further help.
regards
srikanth
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |