on 09-27-2006 2:55 PM
Hi Everybody,
COuld you guys pls tell me how to execute Sync RFC using a report. I have written this code but it gives error.
data wa type c.
CALL FUNCTION 'Z_HR_NO_ALTINN_TX' DESTINATION 'Q3A2X7A'
exporting
PASSWORD = 'k'
importing
status = wa.
commit work.
Pls guide.
Regards,
Ashish
try setting the timeout parameter in the J2EEADMIN SERVICE-RFC ADAPTER to a big value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
possible solution could be a ConversionException in you RFC Adapter because of mismatching data types in your source and receiver message.
Just goto RWB an monitor the Processing Details for Cluster Node Server of your adapter in the Channel Monitoring.
Afterwards you have to adjust your importing or exporting structure of the used RFC function module.
Cheers,
André
@Ashish Goyal
Did you solve your problem?
I have an "rfc_externbal_abort" error in my abap-programm too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try,
CALL FUNCTION 'Z_HR_NO_ALTINN_TX' DESTINATION 'Q3A2X7A' <b>IN BACKGROUND TASK</b>
exporting
PASSWORD = 'k'
importing
status = wa.
commit work.
Also post the error that u r getting here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
no commit needes in case of sync
is your RFC dest working?
is it done in XI (the whole flow) ?
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Michal for your reply.
To answer your questions:
I tried with commit work.
data wa type c.
CALL FUNCTION 'Z_HR_NO_ALTINN_TX' DESTINATION 'Q3A2X7A'
exporting
PASSWORD = 'k'
importing
status = wa.
2) Yes my RFC Destination is working.
3) Sorry I didn't get your third question. Could you pls elaborate a bit more.
This is the error i get when i execute the above report.
<b>ShrtText</b>
"call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryEx
<b>What happened?</b>
Error in ABAP application program.
The current ABAP program "Z_ALTINN_TEST" had to be terminated because
the
statements could not be executed.
This is probably due to an error in the ABAP program.
The error occurred in an RFC call to another system.
The target system has also written a short dump.
Consult this short dump for more precise information about
the cause of the error.
<b>Error analysis</b>
An error occurred when executing a REMOTE FUNCTION CALL.
It was logged under the name "RFC_EXTERNAL_ABORT"
on the called page.
Ashish
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.