Hi experts,
I am working on a RFC to FILE scenario. I have created one TCP/IP connection in SM59 with a program ID. Can we use this program ID for more than one scenario. I have written code as below
data: iquote type standard table of ZIQMD initial size 0, IPRODUCT type standard table of ZPMS initial size 0, wa_quote type ZIQMD, wa_PRODUCT type ZPMS. CALL FUNCTION 'Z_CBT_RFC_QUOTEMASTER' TABLES I_QUOTE = iquote . CALL FUNCTION 'Z_CBT_RFC_QUOTEMASTER' in background task DESTINATION 'ID4' TABLES I_QUOTE = iquote . * COMMIT WORK. CALL FUNCTION 'Z_CBT_RFC_PRODUCTMASTER' TABLES IPRODUCT = IPRODUCT . CALL FUNCTION 'Z_CBT_RFC_PRODUCTMASTER' in background task DESTINATION 'ID4' TABLES IPRODUCT = IPRODUCT . COMMIT WORK.
when i am executing the code like this. i am able to send the data to 'Z_CBT_RFC_QUOTEMASTER' , but iam not getting data for 'Z_CBT_RFC_PRODUCTMASTER' interface. ID4 is the connection that i have created in SM59. with program ID as ABCD.
Can i use the same connection for all interfaces.Please help in this, if we can use same connection for all interfaces. then how to make changes in XI.
Thanks in advance.
Thanks & Regards,
Poorna.