on 02-27-2006 6:31 PM
Hi,
I created rfc-xi-jdbc. I created 2 dt, 2 msg types, 2 msg mappings, 1 msg interface(synchronous, abstract), 1 interface mapping.
In the CD, I defined, 1 sender, 1 receiver agreement. 1 receiver, 1 sender determination, 1 interface determination, and two comm channels.
My RFC destination is working fine. But in se 37 , when I execute the FM, and submit the RFC destination I am getting dump. Please tell me what causes this error.
In the message mapping when I tested it (rfc-jdbc) mapping, it gets the action as "insert" and not getting table value. Is it supposed to get a table name? or not?
Thanks. I appreciate your help.
Raj.
hi,
call your RFC from an abap report
call function XXX
destination XXX
in background task.
remember to do: commit work.
after the RFC call
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
Thanks for the help.do u mean a z report or the actual report?. I already have my report program, I called RFC from there. In that RFC has an internal table, which already have commit work statement. Do I still need to write commit work after RFC call?.
Thanks,
Raj.
Message was edited by: Raj Peddisetty
Message was edited by: Raj Peddisetty
in your Z report call it like this:
CALL FUNCTION 'Z_BAPI_GOODSMVT_CREATE_BGROUND'
in background task
destination 'you xi dest'
tables
goodsmvt_item = goodsmvt_item_int_table
return = return
.
commit work.
where goodsmvt_item_int_table and return are filled internal tables (for example)
Regards,
michal
Michal,
As I said I already have this zreport program. This is how I am calling:
CALL FUNCTION 'Z_PA_DINERS_TXN'
destination 'DINERSIM' *RFC Dest 4 sender adapter
EXPORTING
ID = lw_id
INIT_ZDINERS = lw_delete
TABLES
IT_ERROR = IT_ERROR
IT_ZDINERS = IT_IM_ZDINERS.
commit work.
Is that correct? I didnot create any seperate program for this, I am using the existing program. Please advice on further steps.
In the RFC destination, do I need to mention XI server params in the gateway server host and service? or my sending system's details?
Thanks,
Raj.
Message was edited by: Raj Peddisetty
hi,
add: in background task
if your call is async
the rest is correct
>>>In the RFC destination, do I need to mention XI server params in the gateway server host and service? or my sending system's details?
you sender system (application)
as per my weblog:
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
if you add the in backgorund the call will work
and then check TCODE SM58 is anything goes wrong
and you won't be able to see the message in the XI
Regards,
michal
Michal,
Thank you very much for help. My call is synchronous, thats why i didnt add background task.
Again, I am struck at RFC destination, it worked perfectly couple of hours ago, not working now. I think its basis related issue.
After that where do I test, using RFC in SE 37 or Zreport by executing?.
Thanks,
Raj.
Michal,
Thanks. Mine is SP15, I added the parameter with 10 seconds as the maximum reconnect delay and restarted XI.
restarted R/3 also. tested the RFC dest, not working...Can you please tell me how can I make sure my sending sap gateway is running?. In SMGW, I dont see any active transactions. I can see logged on client as my R/3 sending system.
Thanks,
Raj.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.