on 03-31-2010 2:25 PM
Hi,
I created asychronous abap proxy in ecc 6.0 system (with sproxy transaction).
It generated and i used in an abap program like below.
It runs with no error message, but does not send anything to XI 3.0 system.
I check smq1 , but there is nothing in it.
must it need some parameter setting on ecc system?
Thanks.
Not: There is no problem with sychronous proxy.
Abap code (calling asychronous proxy)
REPORT Z_XI_FORD_MSG_ASYNC.
data:
lo_clientproxy type ref to ZYCO_MI_MSG,
ls_request type ZYMT_MSG,
ls_line type zydt_msg-konssevk with header line,
syst_ex type ref to cx_ai_system_fault,
appl_ex type ref to cx_ai_application_fault.
data: tbl like zxi_t_frdkons occurs 0 with header line.
create object lo_clientproxy.
CALL FUNCTION 'ZXI_GET_FORDKONS'
TABLES
TKSEV = tbl.
loop at tbl.
clear ls_line.
ls_line-irsnum = tbl-vbeln.
ls_line-irstar = tbl-wadat_ist.
ls_line-tahtar = tbl-valor.
ls_line-stokkod = tbl-matnr.
ls_line-sipno = tbl-vbelv.
ls_line-stmiktar = tbl-lfimg.
ls_line-birimfiyat = tbl-sbrmf.
ls_line-dovizturu = tbl-waers.
ls_line-bobinno = tbl-charg.
ls_line-sevkno = tbl-vbelt.
Append ls_line to ls_request-mt_msg-konssevk[].
endloop.
try.
call method lo_clientproxy->execute_asynchronous
exporting
output = ls_request.
catch cx_ai_system_fault into syst_ex.
if syst_ex->ERRORTEXT ne space.
write : syst_ex->ERRORTEXT.
endif.
endtry.
add "commit work" at end of program.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check SXMB_MONI of R3 - do you see a successful message ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.