on 09-03-2008 6:29 AM
Hi EveryBody,
I am working on a synchronous scenario in which Proxy is receiver.
I have generated the PROXY for the inbound synchronous Interface and also have created a Program
in se38.
I need to call a RFC function module in the code and push the data from Proxy to RFC and also
have to send the response from RFC to XI via Proxy.
Can somebody help me out on the same?
Helpful answers will be rewarded points.
Thanks,
RK
ok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the proxy bit is simple, make the proxy on a sync. interface, and just fill the output structure.
For the RFC call function 'XXXX' DESTINATION 'your rfc system'.
Kind regards
Mikkel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rupash,
For example...
method ZXI_II_MI_PROXY_IN_DNI_NOMBRE~EXECUTE_SYNCHRONOUS.
**** INSERT IMPLEMENTATION HERE **** ***
DATA:
lv_ID type char10,
lv_NAME type char30.
lv_ID = input-MT_PROXY_DNI-DNI.
*lv_NAME = input-MT_PROXY_DNI-NOMBRE.
CALL FUNCTION 'ZXI_001'
EXPORTING
P_DNI = lv_ID
IMPORTING
P_NOMBRE = lv_NAME.
output-MT_PROXY_NOMBRE-NOMBRE = lv_NAME.
.
endmethod.
FUNCTION zxi_001.
*"----
""Interfase local
*" IMPORTING
*" VALUE(P_DNI) TYPE CHAR10 OPTIONAL
*" EXPORTING
*" VALUE(P_NOMBRE) TYPE BEZEI30
*"----
CHECK NOT p_dni IS INITIAL.
SELECT SINGLE nombre INTO p_nombre
FROM zxi_0001
WHERE dni = p_dni.
ENDFUNCTION.
Regards,
Carlos
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.