on 12-08-2005 12:44 PM
Hi
My scenario is file->xi->RFC
My RFC doesnt contain any export parameter.It only updates the FF_5 transaction by taking the file as input parameter.
The code is as follows
***********************************************
FUNCTION Z_RFC_BANK.
*"----
""Local Interface:
*" IMPORTING
*" VALUE(FILEINPUT) TYPE STRING
*"----
data:table type standard table of string initial size 0.
data:wa_table type string.
data:p_mode type FEBFORMAT.
DATA BIN TYPE string.
data :p_file type RFPDO1-FEBAUSZF.
data:TARGETFILE LIKE EPSF-EPSPATH.
targetfile = 'E:\usr\sap\DEV\DVEBMGS00\data\COVDATA'.
wa_table = FILEINPUT.
append wa_table to table.
OPEN DATASET TARGETFILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
loop at table into wa_table.
BIN = wa_table.
TRANSFER BIN TO TARGETFILE.
endloop.
CLOSE DATASET TARGETFILE.
SUBMIT RFEBKA00 USING SELECTION-SET 'ZASD' AND RETURN.
ENDFUNCTION.
************************************
My question is can i declare an asynchronous message interface for ths RFC? because it doesnt return anything.
Thanks
Debraj
hi Debraj,
check this below give link which tells about using Asynchronous RFC's(this may give you an idea when u can use ur RFC asynchronously and how?).:)
==>http://help.sap.com/saphelp_nw04s/helpdata/en/22/042592488911d189490000e829fbbd/frameset.htm
cheers,
Sundararamaprasad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Ravi
In the time of message mapping should i have to create one asynchronous message interface for the RFC.Or i can directly map with the RFC like IDoc?
Debraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Debraj,
You can do that wihtout any issues. In fact you call an RFC asynchronously even if the RFC has got export parameters. You just don't use the response message.
Regards,
Ravi
Note : Please reward the posts that help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.