BPM Mapping scheduled status in SXI_MONITOR Message scheduled on outbound
Hi All,
Please help me how can i solve following issue.
My Scenario WebService - PI - Proxy.
One of the message gets an error in the moni. where I get an green flag 'Message Scheduled on the outbound side".
The design was working fine earlier. It is giving problem now.
I tried following options:
1) I tested the mapping - it is working fine.
2) I checked Cache - the status is fine.
3) I checked Inbound queue(SMQ2) there are no messages stucked in the queues or saved in (smq3). Here i am using EOIO.
4) I checked SWWL - there are message with COMPLETED and STARTED but there are not ERROR messages.
Could any one please tell me - Can i DELETE - COMPLETED messages from SWWL? If i delete what is going to happen.
Please advice
Thanks
VR
Hi,
In SXMB_MONI click on "PE" and open the Graphic Flow to see where actually your BPM has failed
Also suggesting to check both the Queues....SMQ1 and SMQ2.....
delete an instance from SWWL only if it is in error state.....
regards,
Abhishek.
Similar Messages
-
BPM Mapping error in SXI_MONITOR Message scheduled on outbound side.
When I try to process this message i get an error.
Message scheduled on outbound side.
I am using a BPM.
MI_Source -> MI_Receive_BPM -> MI_TRANS1_BPM -> MI_TRANS2_BPM -> MI_TARGET
Using EOIO in the send step Queue Name: cases
If I remove MI_TRANS2_BPM the message reaches the bpm, but with both transformation in the BPM the message gets an error in the queue where I get a green flag 'Message Scheduled on the outbound side"
This BPM was working on Friday but hasn't worked since. There have been no changes to the my development XI environment.
Some things that i have tried: Clearing the Queues (smq2), Redoing the entire scenario, clearing cpa cache.
Please help.
Thanks
ChiragHi,
MI_Source -> MI_Receive_BPM -> MI_TRANS1_BPM -> MI_TRANS2_BPM -> MI_TARGET
Any specific need to have the above design pattern....you can also try:
MI_Receive_BPM -> MI_TRANS_BPM -> MI_TARGET
You can use the message that you initially receive and apply all the necessary transformation on it and the map it to the target structure....
As you mentioned that if you remove MI_TRANS2_BPM your message is executed successfully...it means that the BPM transformation 2 is waiting for some event / Message....
If you need to go by the same design then you can follow the below steps to resolve the problem:
1) Check the return code of BPM in SXI_CACHE...it should be 0
2) Check for any errored instance of your BPM in SWWL (as mentioned in above posts)
3) Open the corresponding Queue and see for the messages stuck in the Queue....your Queue may be blocked....your BPM will be using a particular Queue and if any message is stuck in the Queue then all the messages that follow will get stuck in the Queue....
Now if it is only your BPM that is using this particular Queue then Delete the Queue (applicable to development environment....do not try in QA or Production environment)
4) In SXMB_MONI click on "PE" and open the Graphic Flow to see where actually your BPM has failed (possible only if the message has entered the BPM.
Regards,
Abhishek. -
IDoc - XI (BPM) - File, Successful status but no message generated
Hi,
I am trying to do Sravya's blog for BPM correlation.
I am sending IDocs from R/3 system to XI, even though message shows successful status there is no message is created on the receiver.
One strange thing is when I go into the SXI_MONITOR -> process (radio button) -> messages -> PE is taking me to the <b>Inbound Queue</b> not to the workflow log.
The next button is outbound status has green flag (message scheduled on outbound side).
Could you please help me resolving this problem.
Thanks
Kiran
Message was edited by: Kiran ReddyThanks and that solved the problem.
Now my multi source mapping is not working any ideas ? -
BPM : Message scheduled on the outbound side
Hi
I have messages in SXMB_MONI that have been received into my BPE. They have a status flag ok (chequered flag ) but the Outbound Status is green (message scheduled on outbound side).
The BPE would have finished by now ...been in Message Scheduled on Outbound side for the entire day now.
What has happened ? I have no error - nothing !
(there are no entries in SMQ2, nothing in SXMB_MONI_BPE in error etc etc or Short Dumps)
Please help.I posted an OSS note on this - so answer from SAP.
Solution is to delete the old entries via RSWWWIDE report (which could also delete work items that do not have a final status.) I ran this for everything not COMPLETED.
When I send another message in - it worked fine. So the fact I had a stalled WF a week ago was affecting any new one coming in.
Drilling down into the message in SXMB_MONI from the PE I could see an Exception Handling in the MergeandSendBlock - no error given - but it did have a time of a week earlier.. anyway then in the ST22 Dump I could see wf-batch with runtime error MESSAGE_TYPE_X_TEXT.
I feel this is very poor design on the BPM processing ! oh well.
See also
#Note 836092 - Archiving/deleting work items in the XI
PS Thanks to Sudhir earlier on... You nailed it - but at that stage I did not know what you mean so did not consider this - as I had no idea what affect running that transaction would do. -
XML Messages in "Scheduled" status
Hi all,
The case is at ERP side running transaction SXMB_MONI, some XML messages from XI to ERP are found in "Scheduled" status. Around the same time, siimilar messages using same receiver interface are processed successfully. When we manual restart the "Scheduled" message, there will be an entry in READY status at inbound queue and we have to unlock the queue. After that, the message will be processed successfully.
Here are my questions:
(1) Why some messages in "Scheduled" status but similar messages are processed successfully?
(2) Is there any alert or notification mechanism that we can setup instead of running transaction SXMB_MONI manually?
(3) Is manual restart XML message a proper way to handle those scheduled message? Any way to automatically handle this message in ERP side?
Thanks in advance.Donald,
Here are the answers to ur questions.
(1) Why some messages in "Scheduled" status but similar messages are processed successfully?
Some times the queues get stuck for various reasons. one msg will cause bottleneck for all other msgs behind it. there is no proper reason why this happens, however if it happens regularly then u will have to give it a thought.
(2) Is there any alert or notification mechanism that we can setup instead of running transaction SXMB_MONI manually?
Well, if the msgs r in the scheduled state then NO.
(3) Is manual restart XML message a proper way to handle those scheduled message? Any way to automatically handle this message in ERP side?
Manual restart is not the best way to handle msgs bcause you might loose track/ some msgs might error out together causing issues. (that has happend to us). its tough to keep track if that is the case and if its critical from business point of view.
If it is going out of R/3 then may be you can configure jobs to push the data periodically.
Regards,
Pavan -
Hi All,
I had a Scenario where I am using BPM (to collect the Idocs received from Sender SAP R/3 system) and create a File as target structure. But one of the entry i found as (Green Flag) with status "Message Schedule Outbound Side". But the remaining messages are processed successfuly through the same BPM.
I even found that the when i double click on the PE of the "Green flag entry". its leading to "qRFC Monitor(Inbound Queue) with empty entries" instead it should lead me to the workflows Log screen. Since other successfully messages are leading to workflow log when i double click on the PE.
Please let me know your comments on this.
Thanks,
ShailajaHi Gouri,
I am getting gray flag in the column (Status - XML Message Status) and green flag in Colum (C- Outbound Status). So this Greem flag itself is creating the problem, because of this itself my messages is not getting processed and not delivered to target system.
I have even checked SXI_CACHE, when i click on the Integration Process-- Right click on my BPM and select the "Activation Log" .. here a message which i had
I Language not set. Using system default E
The container element MULTI_INVOIC02 is written, but not read or exported
The container element MULTI_INVOIC02 is written, but not read or exported
So the "MULTI_INVOIC02 " is used in the Container Operation & Multimapping of my BPM. I suspect that error as taken place in doing Corelation. Do you have any comments on this. If i get any error in Corelation .. how can i debug my BPM.
Thanks,
Shailaja -
Messages goes into scheduled status in adapter engine
Hi all
we are doing idoc to file scenario with direct mapping. the messages are getting processed in integration engine sucessfully. the messages are getting into scheduled status in the adapter engine even when there is less load in the server.
Thiis specially happening for IDOC to file scenario only. Any help is highly appreciated
Thanks>
> the system is quite good at the moment but the some of the messages again into scheduled status like ( 10 out of 1000 messages ) . the system is not performing at 100 % rate since some messages moves to scheduled status. Is still the performance can be improved in any other ways ?
>
This is really strange behaviour , If Communictaion channel functioning correctly then all succesfull messages should deliver to Receiver system.
Better to check payload of scheduled messages(if wrong payload obiously it goes schedule status),try to to reprocess them.
I never used XCOPY command,so no comment on that.
Regards,
Raj -
Scheduled Status in Message Monitoring
Hi All,
We have a scenario from DB- DB using Java Proxies. The Message interfaces are defined as Asynchornously with EO mode.
Usually the sender channel picks data and tirggers Java Proxy. Proxy process all records and send the status back to sender in 5 mins.
But when I started multiple interfaces at the same time, I observe that one interface is taking 15 min and while that interface is in processing state, the other interface which started at that time are also in Scheduled status. But the sender channel picks data for every 5 mins, which is creating duplicate records.
The interfaces which are in Scheduled status are getting processed only after that interface ( taking 15 min) gets processed.
Why is this dependency on other interfaces and is there any way to avoid this dependency?
Please suggest.
Regards,
Sriniyou can do queue/message prioritization.
but I suggest to use one status field in DB, when you are polling DB to select records , immidiately change staus to picked and after processing successfully change it to processed. -
Proxy messages are stucked in SMQ2 as scheduled status
Hi,
I am doing File(FCC) >PI 7.0>ABAP proxy. (ECC) Scenario.
Once i pick and process the file, the resultant message is updating the table in ECC through ABAP proxy. These messages are getting stucked in queues (SMQ2) in ECC. My message is not having much data , it is very less in size.
And there is no messages in Queue.
I register all queues in SMQR in PI and ECC.
Does I need to do any activity in ECC or PI? What could be a problem. Please suggest .
Thanks
AyubHi Venkata,
Thanks for very quick replay.
Are the messages stuck with any error?--> First I can see the Green Color Flag as scheduled status, I open the message I can see there is no error message.Bt when I have look at end of the message in SXMB_MONI at Q.Status , I can see Message Has error
In SMQ2 -->
Cl. Queue Name Entries Status Date 1 Time 1 NxtDate NxtTim Sender ID Wait for queue
200 XBTR0009 1 SYSFAIL 24.02.2012 10:53:34 24.02.2012 10:53:34 R3DEVQA_RDV_01
And when I double click the XBTR009 I can see the below message :
Cl. User Function Module Queue Name Date Time StatusText
200 ALEREMOTE SXMS_ASYNC_EXEC XBTR0009 24.02.2012 10:53:34 Screen output without connection to user.
This are status of the messages. Please help me.
Regards,
Ahmed -
How to clear the message which are in scheduled Status in PI 7.3
Hi,
We want to clear/cancel the message in Message monitor which are in scheduled status in PI 7.3.
It only a JAVA Stack System , We have been trying to clear the message manually but it take more time resulting into performance issue.
Is there some other way we can clear it from Database level.
Our Database is Db2 9.7 with Fix Pack 5
Can anyone help me in clearing the message at fast speed ?
Thanks in advance
Amit ShedgeHi,
First we check the status of Message
a) db2 => select count(*) COUNT, status from sap<sid>db.bc_msg group by status
COUNT STATUS
110 DLVD
641623 NDLV
2 record(s) selected.
Then we update the status of Message to Failed
b) UPDATE BC_MSG SET STATUS='FAIL' WHERE STATUS IN ('DLNG', 'TBDL', 'WAIT', 'HOLD', 'NDLV') AND SENT_RECV_TIME <= '2014-22-03 00:00:00'
c)
select count(*) COUNT, status from sap<sid>db.bc_msg group by status
COUNT STATUS
183 DLVD
641623 FAIL
d) Then we started the Standard deletion Job in NWA
db2 => SELECT COUNT(*), STATUS FROM SAP<sid>DB.BC_MSG GROUP BY STATUS
1 STATUS
98 DLVD
And the message got deleted.
Thanks & Regards
Amit -
Send Commit to message stuck in "Message Scheduled" status
Hello,
I generated some messages using ABAP Proxy. However, the commit work never happened in the program that created the message. Now these messages are stuck in "Message Scheduled" status. How can I push the message forward. Can I trigger a commit? If so, how?
Regards
CerishHi Cerish,
Are you getting this status in the XI ? If so, go to Queue Monitor and try to activate the same.
/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
Also check the SXMB_MONI of Application System(R/3) if you have a access about is proxy message is executed or not .
If the status is restart not possible, then you need to reprocess that.
Hope this helps,
regards,
moorthy -
Manage Queues - Messages are in Schedule status after upgrade to ERP2004
Hi,
We upgraded SAP to version ERP2004. ABAP proxy XI messages are in schedule status even though we deregister and register & activated all queues.
When I click on the queues it is in running status.
Does anyone has any idea where should I look?
Thanks in advance!
MrudulaHi,
my scenario is file to idoc....
I have set paraemter in SXMB_ADM as below.
Category Parameters CurrentValue DefaultValue
RUNTIME HTTP_TIMEOUT 100000 0
I have gone through as you suggested still when i double click on message in SXMB_MONI...i am getting Runtime Error (TIME_OUT).
Please do help me..
Thanks in advance.
Krish -
Messages remain in Scheduled status in message monitoring in RWB
Hi PI experts,
I have got a situation where there are several messages showing in the Scheduled status. I followed the path RWB > Message Monitoring > Adapter Engine > Database (Overview) > Display.
QoS for these messages is EOIO, however there are no messages stuck in the queue. All other channels are running smoothly. Only with this particular channel the messages remain in Scheduled status for a long time.
I am neither able to make out the roor cause nor reprocess/resend these messages. Pleaes help.
Regards,
DhawalHi Suraj,
What you said is absolutely correct. However, as I mentioned, the error message was not visible in RWB.
My problem just got resolved. What I did is this,
I followed the link http://<server>:<port>/MessagingSystem/monitor/monitor.jsp which is SAP Message Display Tool.
Here in EOIO Sequence Monitor I found the error message and it's predecessor. When I resent the erroneous message from here, all subsequent Holding messages got processed.
Thank you everyone for your help. Have a gr8 day...
Best Regards,
Dhawal -
Hi all,
We have many messages in Sceduled category on the production system. The Status symbol is not as it is for a scheduled message. It reads as "Log version". Please let me know how to clear these kind of messages from SXMB_MONI.
Thank youHi Yashwanth,
If the messages are in scheduled state then the messages might stuck or still in the queue. Check SMQ1 and SMQ2.
Ref this thread: Program to delete the messages from XI Queue ?
Thanks, -
Messages in Schedule status in SXMB_MONI and going into queue in SMQ2.
Hi Experts,
All messages in XI going to schedule status in SXMB_MONI. When i check in SMQ2 to release after some time the messages are going to "SYSFAIL (Time limit exceeded)" status.
When i double click on the message in SXMB_MONI, the system is going to "Runtime Error (TIME_OUT)".
Could anyone please help me how to fix this issue.
Thanks in advance,
GRKHi,
my scenario is file to idoc....
I have set paraemter in SXMB_ADM as below.
Category Parameters CurrentValue DefaultValue
RUNTIME HTTP_TIMEOUT 100000 0
I have gone through as you suggested still when i double click on message in SXMB_MONI...i am getting Runtime Error (TIME_OUT).
Please do help me..
Thanks in advance.
Krish
Maybe you are looking for
-
Remove ?xml version = '1.0'?
I have a requirement In which i have to wite XML o/p into file. I have used the XMLelement function to create xml and then used Utl_file.put_raw to raw the data into file. But the requirement was to write the output for more than 1,00,000 transaction
-
Getmail problem or bug ?!
Hi just installed getmail with pacman and get the following: vladuz@box:~$ getmail -v ImportError: No module named getmailcore what does that mean? Is this a bug in getmail?
-
I am loading Lion OSX over Snow Leopard (after doing Snow Leopard updates) and Lion the install is hung up with "about one minute remaining". It has been like this for over two hours. Should I do a hard shutdown and retry install or just let it go on
-
Copy texts from parent line item to substituted line item in Sales order
Hi Guys, I want to copy texts from parent line item to substituted line item in a sales order where the material is substituted by SCM.Can you guide me which FM can be used in which user exit or any new suggestion? Thanks Swathi
-
Whats the best audio interface for iMac
In the price range $300 - $800, what is the highest quality audio interface with lowest latency, assuming you only need 2 line inputs, 2 XLR inputs, headphone output, 2 speaker outputs. (More I/O is certainly OK). I plan on buying an iMac quad core i