ABAP Outbound Proxy: some messages stuck in CRM system
Hi all,
we've a strange issue with a ABAP Outbound proxy we've generated in our CRM 5.0 system (asynchronous interface).
Sometimes messages stuck in the CRM system. They are in status 'Scheduled' (green flag) in SXMB_MONI in the CRM system. When I have a look at the corresponding queue, there's no message within. Status in SMQ1 and SMQ2 is fine, too. All queues are registered. When I reprocess such a message manually in SXMB_MONI in CRM with the restart button, they're sent fine to XI.
Please note: it's NOT a general issue with that outbound proxy. In most cases the messages are sent immediately, just in some cases the messages stuck and I don't know why.
Is it possible to restart such messages automatically? I just know the report RSXMB_RESTART_MESSAGES, but that one just restarts messages in Error status. But the ones we have aren't in error status so they cannot be selected with that report.
Any idea where could be the problem / we should check?
BR
Holger
On which SP r u working correctly. May be an SP upgrade could help.
Regards,
Prateek
Similar Messages
-
Sync abap outbound proxy steps
Hi friends,
Could you please help me to send the sync abap outbound proxy creation blogs.
advanced thanks
Raohi
check this
Outbound Synchronous Proxy
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
rgds
Arun -
ABAP client proxy send message fialed
I developed one ABAP client proxy to send msg. status in SXMB_MONI is error.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Receiver Identification
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>No receiver could be determined</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
After I test it in RWB,I'm sure that IR and ID is right. Then what's wrong?> There are two scenarios with the same outbound interface.Is it the problem?
>
> ABAP proxy send message, and then there are two route.
Yes this could be the reason, because at the time of Receiver Determination it tries to send the message to both the interface. Are both the scenario Proxy to XI??
Try to change the Message Interface in IR and accordingly change in ID also and then try.
Regards,
Sarvesh
Edited by: Sarvesh Singh on Oct 17, 2008 2:24 PM -
ABAP Outbound Proxy with multiple entries
I have message type as follows.
MT_Proxy_Matmas_out -- DT_Proxy_Matmas_out
Matnr 1..unbounded
Material_Num 1..1
Material_Dec 1..1
Message Inrerface: MI_proxy_Matmas_out.
Generated Proxy has following objects.
1. Class ZMCO_MI_PROXY_MATMAS_OUT Proxy Class (generated)
2. Structure ZMDT_PROXY_MATMAS_OUT Proxy Structure (generated)
3. Structure ZMDT_PROXY_MATMAS_OUT_MATNR Proxy Structure (generated)
4. Structure ZMMT_PROXY_MATMAS_OUT Proxy Structure (generated)
5. Table Type ZMDT_PROXY_MATMAS_OUT_MATN_TAB Proxy Table Type (generated)
Report Program ZB_Matnr_xport.
DATA: prxy TYPE REF TO ZMCO_MI_PROXY_MATMAS_OUT.
DATA: i_data_records TYPE TABLE OF ZMDT_PROXY_MATMAS_OUT.
DATA: wa_data_records TYPE ZMDT_PROXY_MATMAS_OUT.
DATA: it type ZMMT_PROXY_MATMAS_OUT.
CREATE OBJECT prxy.
Loop at itab
MOVE_Corresponding ......to XXXXXXXXXXXXXX // we tried several option with no success here in this Loop //
EndLoop
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.
As you can see from above template I want move all the records of Internal table to Message Type structure before calling Proxy, CALL METHOD proxy->.........
Can someone provide me sample code how to achive this. We are on WEB AS 620.
Thanks a lot.
STsuppose your table is it_datatable of type ZMDT_PROXY_MATMAS_OUT_MATN_TAB which contains matnr, description. Then try the following
data : l_var type ZMMT_PROXY_MATMAS_OUT.
l_var-MT_Proxy_Matmas_out-Matnr 1[ ] = it_datatable[ ].
then
CALL METHOD prxy->execute_asynchronous
EXPORTING
output = l_var.
commit work -
Hi Everyone,
In PI ESR, I have update the data enhancement structure with new field and I have mistakenly activated standard service Interface which is refering to ehancement structure.
Now in the ABAP side in SPROXY transaction, Interface is showing red. Since its standard proxy I am unable to regenerate the proxy.
Please let me know your suggession.
Regards,
SudheerHi,
Error is related to the connection set up done between ECC and PI.
Test the connection using sldcheck.
HTH
Rajesh -
Message has Error status on outbound side - in ABAP inbound proxy !!
Hi All,
One interesting question for you guys. I have got one of the scenarios like File to ABAP inbound proxy. Message are going properly, no errors in receiving system. But on PI moni I can able in "outbound status" column in red colored flag. No all the messages couple of them with u201CMessage has Error status on outbound side ". Why please?
Regards
SanHi ,
Please check whether the correct data is coming from sender side . and check the j2ee engine runtime parameters.
Cheers,
Meera
Edited by: MeeravaliDudekula on Oct 18, 2010 2:36 PM -
Customers Created in R3 are not replicating in connected CRM System.
Dear All,
I am facing an issue " Customers created in SAP R3 are not replicating to CRM system".
Please provide me the possible do list (Check list) to solve this problem (if any Middleware settings also). This an urgent issue with the production system.
Thanks & Regards,
Ramana RaoHi ,
Check following :
SMQ1/2 - Inbound/ Outbound Queues in both ERP and CRM system.You can see if there some "stoppes"queues.
SMW01 - Bdoc messages in CRM - detailed explanation about errors in replication.
Check if "stop data" flag in table "CRMRFCPAR" in erp systemis is unchecked.
Check your filter definitions in R3AC1 trn business object "customer_main" .
Also check SAP Note 429423 - you have detailed check list for middelware problems.
Rika -
How to read the BI query from CRM system?
Hi All,
I have to read one BI query in CRM system. Can you please let me know how we can do that?.
do we have any RFC present in BI system where I can pass the query name and get the result of the query in the CRM system?
Kindly help.
Also, do we need to make some configuration settings in CRM system to execute the BI query in CRM? If so, please let me know how we can do that?
Regards,
VaibhavHI
The People centic user interface is the user interface layer where the end user process the crm transactions etc.
go to SE 80 transaction and select the application as BSP application becouse pcui is bsp based views. type crm_bsp_frame under the application field and you will get folders select the select.htm folder and right click on the mouse and click on test then you will get the popup window enter the crm system user id and password you will get the pcui floor plan for entire crm applications in the browser select the lead and opportunity transaction floor plan click on the new floor plan option. then the new popup window will open and finally you will see the lead transaction or opportunity transaction pcui view to work on . these pcui views url will inturn you can assign to the enterprise portal to log on to single sign on to EP and access the pcui application for crm marketing sales and service module areas as well along with the contact and account mangement for business partners creation screen.
please do reward points if helpful
Dinaker vikas -
Material Creation in CRM system
Hi everyone,
Iam working on an inbound interface between XI and CRM. I need to write a proxy for product creation or updation in the CRM system. My question here is:
Is there any standard proxy already available in the CRM system to cater to the above functionality. If so please let me know.
Thanks and Regards,
Bhargava.Hi,
You can check availiability of this functionality in the SAP delivered CRM content
Go to https://websmp102.sap-ag.de/instguides->mySAP Business Suite Solutions->mySAP CRM
If not, then you can search for any available RFC/Idocs etc.
Hope this helps,
Regards,
Moorthy -
ABAP Server Proxy: Message getting blocked in R/3 Application system
Dear All,
We have developed a FILE->XI->SAP R/3 (WAS 620) interface using ABAP Server proxies. Message gets successfully transferred to R/3 system using proxies but is getting stuck in inbound queues with green flag and message <b>"message scheduled(commit follows)"</b>. In queue it displays status as <b>"CPICERR"</b> with description <b>"connection closed(no data)"</b>. When trying to execute LUW manually from queue it throws message <b>"Target system/gateway not active"</b>. I've checked queues they are registered properly, SLDAPICUST, SLDCHECK & Integration Engine Configuration checks are successful.
Can you please provide your valuable inputs?
Thanks and Best Regards
Prashant RajaniHi Stefan,
I am doing a submit to another report from ABAP proxy which inturn updates data in respective tables. Whether still commit work is required after submit?
The code was tested succesfully in Dev and in QA it started giving this problem.
Please let me know if we are missing on something.
Thanks & Regards
Prashant -
ABAP Client Proxy from ECC 6.0 to XI message irregular recieving
Hi Gurus
Any one has come across issue whereby the ECC 6 system trigger ABAP Client proxy to SAP PI 7.0. The first time the PI is able to recieve it in the SXI_MONITOR. But subsequent trigger from the ECC 6.0 system the SAP ABAP program to trigger the Client Proxy, the PI seem to lost connectivity and did not recieve any message. This is pretty strange and hopefully someone in SDN and enlighten me.
Thanks
Regards
On behalf of malcolmHi Santosh
I went to SMQR and register the queue, but it still did not reflect the locked queue when i trigger the ECC 6 to SAP PI 7.0. The green flag - schedule still appear in the SXMB_MONI queue. But i am quite puzzle as why the ABAP client proxy after sending message the first time and second time, the third time it stuck? And also it is not practical to everytime go to the SMQ1 or SMQ2 to unlock the queue. I don't think it a good solution for solving my problem, it is just a temporary solution. -
Outbound Proxy - No XML message seen !!!!!!!!!!
Hi All
I am trying to use outbound ABAP proxy from an R/3 system . I have written a Z program to triger the execute_asynchronous method of the proxy generated. Now when i go to see the SXMB_MONI txn to see any XML message flow i dont see anything .
Any pointers so to what need to be perfect to see a XML message is the monitor for an outbound proxy??
Thanks in advance for your help
rohanHi,
Generally the message goes in the schedule mode when the target system is not available or the connection to target system is broken. Pl check the target system.
You can use this weblog as checklist.
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy
/people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy
Thanks,
Prateek
Message was edited by: Prateek Shah -
Messages stuck in QRFC inbound and outbound queues by system error
Hi Experts,
We faced a big problem in our PI server which stopped all the traffic in the iDoc to File interface. Both the QRFC queues (inbound - SMQ1 as outbound - SMQ2) where stuck by a system error.
In IDX5 of PI we saw two inbound iDocs on exact the same date/time of creation. Both iDocs are displayed in SXMB_MONI with the status "Canceled - Since Already Processed". The output files of both iDocs are generetad on the outbound side.
The output files are genereted with a date/time stamp in filename exactly as: "pi_20101106-221812-437.dat" and "pi_20101106-221812-438.dat". So it seems that both processes where running on exact the same time.
When looking into the system error we see the following details:
com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id 00505697-181b-1ddf-babd-68f1ac208528(INBOUND) already exists in duplicate check table: com.sap.sql.DuplicateKeyException: [200]: Duplicate key
This caused that the QRFC queues where both stuck in inbound as outbound with a SYSERROR, so PI stopped and the queues should be reactivated manually.
Does anybody have some idea of the real cause of this error. We really want to prevent such situation in the future.
Thanks in advance!
Best regards,
JoostHi Joost,
Are you using an adpater module to avoid the same file name processed by the receiver channel ???
If this is the case change the filename and retest flow otherwise remove the module (ex: localejbs/AF_Modules/MessageTransformBean - Local Enterprise Bean) from the channel check it whether the file getting processed or not...
OR...you have an incorrect module configuration in the receiver channel.
Do not remove the standard SAP module and make sure that you add additional modules before it.
cheers,
Ram. -
Stuck Outbound Queues in CRM system
Hi Guys,
In CRM system the out bound queuse for the Sales Orders got stuck with the following error "Too many recursive subroutine calls"
The Sales Orders are not getting replicated from the CRM system to R/3.
The business partners associated with the sales orders are getting replicated to the From CRM to the R/3 system.
anyone has clue regarding the issue.upon debuggin we found the follwoing nformation
In debugging the program it states the following:
Too many recursive subroutine calls.
What happened?
Error in ABAP application program.
The current ABAP program "SAPLCC01" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
An ABAP/4 subroutine was called recursively too often.
This is probably due to a conversion exit or a user exit
triggering the same exit again and again.
These exits are implemented by function modules with the names
CONVERSION_EXIT_xxxxx_INPUT/OUTPUT or USER_EXIT_xxxxx_INPUT.
You can find out which ABAP/4 subroutine is affected in the
section "Active Calls / Events".
Conversion exits are triggered during screen field transports or
WRITE statements, field exits during field transports from the
screen to the ABAP/4 program, so they are not called directly by
an ABAP/4 program. Most likely, this is due to the implementation
of a conversion exit which contains a WRITE statement for a field
to which the same conversion exit is assigned in its Dictionary
domain. As A result, the exit is triggered
recursively.
You can make up to 50 ABAP/4 subroutine calls.
How to correct the error
Probably the only way to eliminate the error is to correct the program.
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"RPERF_TOO_MANY_CALLS" C
"SAPLCC01" or "LCC01U05"
"PCA_CHECK_LUHN_MOD_TEN"
If you cannot solve the problem yourself, please send the
following documents to SAP: -
ABAP proxy no messages in PI 7.1
HI All,
I developed a outbound Proxy from SAP to PI to JDBC. When I execute the Proxy Program in SAP it generated the XML message which i can see in SXMB_MONI in SAP .
I did not see this message in PI 7.1 SXMB_MONI. So I went back to SAP and checked SMQ2 Inbound queue and found the message and activated the queue.
I am surprised that I did not find this in outbound queue SMQ1 in SAP .
Am i doing something wrong here ? This is supposed to be going from SAP to PI to JDBC.
Also why am I not able to see messages in SXMB_MONI in PI 7.1 ?
Please advice.
Teresa>In SAP i saw the message in SMQ2 Inbound queue in SAP when I am trying to send the message from SAP to PI .
SMQ2 - messages that means SAP sends the message out (inbound service interface messages). So you see it. That is right.
Have you done SLDCHECK or SLDAPICUST transaction in the ECC to check whether proxy communication setup exist between ECC and PI. If there is proxy configuration issue, you message will not leave SAP. Please check that first.
Check in PI using the transaction code SMQ1. See the messages are arriving in PI or not.
RWB: You can pick message monitoring, go to integration engine monitoring and see whether messages are reaching or not. Since sender adapter is not required, you will see the request message directly going to integration engine for this. Also if the message is successful you will see messages on the adapter engine for the jdbc.
Maybe you are looking for
-
Does Thunderbolt work with the Mini Displayport to DVI adapter?
I just ordered a new 13" MacBook Pro with Retina Display to replace my Mid-2010 15" MacBook Pro. I've been using the Mini Displayport to DVI adapter to extend my screen to an older 20" Cinema Display. From what I can find online, and I'm here askin
-
I bought a new computer, and downloaded iTunes, therefore the new itunes doesn't have my music or anything on there. I want to get everything on my iPhone to my new computer/itunes. But no matter what I do, it won't let me. My desktop has everythin
-
Creating "compiled" swf?
Aloha! It's been many, many moons since I've worked with Flash ( Flash 5, Circa 2001 eek! ) and I'm trying to get to grips with the new version. Apologies for anything that might seem "obvious" to full-time flash developers, I’ve never used the Creat
-
Dear all, Can anyone please let me know how to to cancel an earlier send and still not executed payment request. srinivas
-
Photoshop Disables GPU Enhancements
For some reason, when starting up Photoshop (CS 4) on my intel iMac, it says the following: "Photoshop has encountered a problem with the display driver, and has temporarily disabled GPU enhancements. Check the video card manufacturer's website for t