cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy Receiver Synchronous scenario

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

ok

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

Needed some skeleton code.

Regrds,

RK

Former Member
0 Kudos

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