on 01-31-2006 2:45 PM
Hi,
I have an asynchronous outbound ABAP proxy.
The scenario is as follows
CRM/Proxy -> XI -> File
The client proxy is generated in CRM and I try to call the proxy from the following report.
REPORT Z_TEST_ABAP_PROXY_NOVA .
DATA prxy TYPE REF TO ZPROXYNOVACO_MI_PROXY_OUT_ASYN.
*
CREATE OBJECT prxy.
DATA it TYPE ZPROXYNOVAMT_REQUEST_NOVA.
TRY.
it-MT_REQUEST_NOVA-STATUS = '3'.
it-MT_REQUEST_NOVA-INVOICE = 'ABC123'.
CALL METHOD prxy->execute_asynchronous
EXPORTING
output = it.
commit work.
CATCH cx_ai_system_fault .
DATA fault TYPE REF TO cx_ai_system_fault .
CREATE OBJECT fault.
WRITE 😕 fault->errortext.
ENDTRY.
I've looked at the following weblogs:
https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1457. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
I've registreed my queues and maintained the HTTP connection as described in
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3022. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
I've tested the connection in SPROXY and it works fine.
I get NO error when I call the proxy but nothing arrives to XI! Sxmb_moni is empty!
I've tried to stop the queues in smqr in CRM but the message doesn't show up there either.
I've tried to activate the trace in sicf, but no result.
The thing is that I succeded to create a scenario with an inbound interface (server proxy) and it worked fine.
I really don't know where to look? Havn't I done everything?
What's wrong?
Can somebody help me?
Thanks in advance.
Regards.
/Hélé
Helen,
Make sure you have assigned the correct system role to your CRM system (application system) and you have set the correct URL or HHTP destination ("/sap/xi/engine?type=entry") of the central integration server in trx SXMB_ADM (configuration of integration engine) on the CRM system.
Cheers,
Roberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Thank's a lot for your answers!
I didn't check sxmb_moni i CRM but now I have.
(One step forward!)
I got a red flag with the following error:
<SAP:Code p1="401" p2="Unauthorized" p3="" p4="">HTTP.HTTP_STATUS_CODE_NEQ_OK</SAP:Code>
<SAP:Text language="EN">HTTP status code 401 : Unauthorized</SAP:Text>
Where do I need to assign the right authorization?
Regarding the HTTP destination I've got the right path and the role of the system is application system.
By the way I think there is a misspelling in vijaya:s weblog. Maybee it doesn't matter but there is a extra slash in his path prefix.
regards
/Helé
Hi,
My scenario is CRM (proxy)->XI>JDBC system.
NOw my question is the values to be passed to the report have to be dynamic and not constant like :
it-MT_REQUEST_NOVA-STATUS = '3'.
it-MT_REQUEST_NOVA-INVOICE = 'ABC123'.
HOw can i do that ?
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What is trnx associated with your scnario?
Check the appropriate BADI.
Create a Ztable with the Fields(Click on signatures) present in the BADI and also username,date,time,Flag and implement the BADI.
Next list out the Abap tables associated with your scenario.List out the fields that you need and create the a structure and work area for the table.
First loop at the ztable field(s) and pass the values from work area to proxy structure.
So for each create or change record in the CRM trnx,there will be a record in the Ztable.
So values are passed dynamically.
Hope it helps.....
Regards,
JE.
Hi Helen,
Check SXMB_MONI in CRM system...do you see any errors there ?
Also perform transaction SLDCHECK in CRM system.
Regards
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
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.