on 09-19-2006 7:29 AM
Hi all,
I am trying to pass some parameters to XI by making an RFC call from R/3.In sm59 the connection is working fine with the RFC destination declared.I have created an RFC enabled function module and it has 5 import parameters .The FM doesn't contain any query as i have queried in the calling program. The program as followes;
DATA : IT_ZXIRFC LIKE ZXIRFC.
DATA: IS_BILL_NUM LIKE ZXIRFC-BILL_NUM,
IS_BUYERVATNUM LIKE ZXIRFC-BUYERVATNUM,
IS_BUYERACCNUM LIKE ZXIRFC-BUYERACCNUM,
IS_PRODUCTDES LIKE ZXIRFC-PRODUCTDES,
IS_BUYERNAME LIKE ZXIRFC-BUYERNAME.
SELECT * FROM ZXIRFC INTO IT_ZXIRFC
WHERE BILL_NUM = 'ABC1234'
AND BUYERVATNUM = 'CH456789'
AND BUYERACCNUM = 'THE456789'.
ENDSELECT.
IS_BILL_NUM = IT_ZXIRFC-BILL_NUM .
IS_BUYERVATNUM = IT_ZXIRFC-BUYERVATNUM.
IS_BUYERACCNUM = IT_ZXIRFC-BUYERACCNUM.
IS_PRODUCTDES = IT_ZXIRFC-PRODUCTDES.
IS_BUYERNAME = IT_ZXIRFC-BUYERNAME.
CALL FUNCTION 'ZRFC_XI_TEST1' IN BACKGROUND TASK DESTINATION 'SAP_X3ATEST'
EXPORTING
I_BILL_NUM = IS_BILL_NUM
I_BUYERVATNUM = IS_BUYERVATNUM
I_BUYERACCNUM = IS_BUYERACCNUM
I_PRODUCTDES = IS_PRODUCTDES
I_BUYERNAME = IS_BUYERNAME
.
COMMIT WORK.
I am getting notthing in moniter of XI when i excecute this program.
Please have a look at this and suggest me the solution.
Thank you,
Best regards,
Priya parmeshwar.
Hi,
do you see anything in SM58?
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Priya,
COMMIT WORK. is a must statement and do not remove it.
How your Sender Communication is configured properly with the same gateway and the service given in the RFC Destination. Can you post the error that you are getting.
To test it go to SE37 and test the function module by giving the RFC Destination and see what happens? It will throw you a dump and thats fine but see if you are getting the message in SXMB_MONI. Then you can use it in the program. This is to ensure that RFC is called.
Thanks,
Prakash
Hi Priya,
Are u sure your RFC destination is working fine when you tested from SM59. Please post RFC destination details, hope you have given the gateway and host properly. Also post your communication channel details.
Did you check the blog by Michal
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
Thanks,
Prakash
Hi,
In SM59 my RFC destination is working fine.I have done the configuration according to Michal' blog
https://weblogs.sdn.sap.com/pub/wlg/1438.The [original link is broken] [original link is broken] [original link is broken] [original link is broken] RFC destination details as followes:
RFC destination : SAP_X3ATEST
Gateway Host : ld8022
Gateway service: sapgw22
Program Id : RFCTEST1
and here i have checked the Registered server program.
The same data has been updated in communication channel with a sender RFC adapter type.
Thankx,
Priya
Hi All,
Still this question is an open issue.
Thankx,
Priya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did you test the RFC independently using the test button(F8) ? Give the program id in the RFC target sys entry and check if it goes thru. Also follow the blogs mentioned to troubleshoot your settings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
take a look at thee blogs and check if config is correct,
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.