BPM scenario,message struck in queue.
Hi folks,
I am doing a Simple file to file BPM scenario(NO TRANSFORMATION)...
My scenario executed properly,but in moni i receive a green flag, after i looked it in
LUW -->Display Process, I can see the steps as
Receive1--initialize-send1-UNDEFINEDWork flow completed.
I think there is a problem after send.... can u plz tell me what may be the reason.
Or Am i doing in creating a IP,..... if so can u give me a simple file to file scenario,with detailed steps
Yes i have checked everything,
Status code of IP is 0 in sxi_cache-->IP
and interfaces are assigned properly at right places......
Still the message gt struck in queue...
I have a doubt,that why The Unsefined step is coming after send1....
RECEIVE1>INITIALIZE>SEND1>UNDEFINED-STEP>COMPLETED
Similar Messages
-
BPM Scenario: Message has error status on outbound side
Hi All,
I am doing one BPM scenario. In my scenario i am collecting 12 different type of idocs in BPM and bundling these idocs and sending these to the 12 different files.
If i send 12 idocs from the R/3 then my scenario is working perfectly fine. If i send less than the 12 idocs that time i am getting the error message as "Message has error status on outbound side" with red flag.
Can you please explain what minght be the problem. I have already checked in SM58,SMQ1 and SMQ2.
Thanks & Regards,
PurushothamHi Nutan,
I hv configured my scenario as follows
1. Start
2. Block ( Deadline and Control step for cancell the process)
3. Fork(Necessary branches 12)
4. Loop(12 loops)
Under loop
a. Receive Step
b. Container Operation( For count)
c. Container Operation(For append)
5. Fork( Necessary branches 12)
6. Transformation
7. Send
8 Stop
This is my scenario. In the first Fork step i am checking end condition as total number of idocs is reached then i am sending all the data to the target system. If the idocs are not reaching with in 1 hour then i am cancelling the process.
Now can you please tell me what is the problem.
Thanks & Regards,
Purushotham -
Hi ,
I am doing a IDoc to JDBC scenarios ,the number of IDoc hitting XI is huges.Most of them pass XI successfully and create records in XI.But some of them get stuck in Queue.I can see them in SMQ2.When I check them they are struck there with the error "SQL error in the database when accessing a table".I when through other thread with the same error.It was suggested to increase the tablespace.My question is which tablespace to increase ,is it the DB tablespace or the XI tablespace?I am using SQL Server as the DB.I was told that there is no tablespace concept in SQL Server.So,does it mean that I need to increase the table space of XI ,if so how to do that?
Thanks,
Venuhi,
Kindly check this [http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a71c8505211d189550000e829fbbd/content.htm] -
Client proxy message strucked in ECC queues
Hi All,
I am working on Proxy interface. My interface is like below
ECC 6----
>PI (7.1) -
>File
I had done the entire configuration in ECC and PI for proxy activation. While testing the interface in ECC system messages processed successfully, but the message strucked in queues (SMQ2) in ECC system. If run the queue manually the message processed successfully to the PI.
Can you please tell any more configurations required?
Regards,
RameshHi,
The queue used for Proxy call is not registerd in ECC system. You need to register the queue to process successfully.
you will get the name of Queue from SMQ2 t-code and register it with t-code SMQR.
Thanks
Swarup
Edited by: Swarup Sawant on Aug 24, 2009 8:03 AM -
BPM: Messages stuck in Queue
Hi All,
I am working on BPM scenario. My scenario is I am collecting 100 messages in 10 mins and sending to receiver. Here correlation I used as constant. In my deadline step I am using Transform step and Send why because if my scenario collect 10 messages in 10 mins even though i have to send these 10 messages to receiver. Itu2019s same as BpmPatternCollectTime but only difference is in Deadline I kept Transform and send step and the correlation is u2018constantu2019.
My scenario is working fine most of the time. Sometimes messages are getting stuck in queue. The System error it is displaying as u201CProcess definition WS90XXXXX contains no receive step for message XXXX_PROXY_.....
Can you please let me know why the messages are getting stuck in queue?
Thanks & Regards,
PurushothamHi,
A message normally gets stuck in a Queue beoz it is waiting for some processing to happen...once this message gets stuck the remaining messages will also get stuck no matter even if you create the whole BPM again.
The only thing you can ensure is that all the messages are processed successfully before any other message enters the same queue....As of now you can only delete the queue and let the further processing happen successfully...is your Queue being used by some other processess also? If yes then check for their message processing...
@Divya....your answer seems to be a straight forward Ctrl C --> Ctrl V
Re: ccBPM Receive Step not Working
If not then I am surprised by such a level of coincidence...
Regards,
Abhishek. -
Message Got Struck in Queue ----Repeatedly happening
Hi Frnds,
I am working on one scenarios File to IDOC, when i am sending messages to IDOC some messages got struck in Queue, when i am resending the messages manually then its processing.
why thi issues happends repeatedly, how to avoind this issue.
Regards,
RajHi
Call the Integration Server and call transaction SMQR in the sender and receiver Integration Engine in the corresponding system client.
Check the status of the scheduler and the status of the XBQ* and XBT* queues:
u25CF Inbound qQueues
XBTI* (ExactlyOnce)
XBQI* (ExactlyOnceInOrder)
u25CF Outbound queues
XBTO* (ExactlyOnce)
XBQO* (ExactlyOnceInOrder)
u25CF Acknowledgment queues
XBTB* (ExactlyOnce)
XBQB* (ExactlyOnceInOrder)
u25CF Large message queue
XBTL* (ExactlyOnce)
If the scheduler has the status Waiting, it is waiting for free work processes. This is why delays occur when XML messages are processed.
If not all necessary queues are registered, you can search for queues with the name prefix above using transaction SMQ2. Use transaction SXMB_ADM to register the queues in this case.
Check queue configuration
For a complete analysis, make sure that the queues of the integration server are registered. To do this start the transaction for the Integration Engine administration (SXMB_ADM) and select the function manage queues. -
Screen output without connection to user, Message struck at inbound queue
Chaps,
I executed inbound proxy form PI 7.0, the message was struck in the inbound queue of ECC 6.0,
with status text "Screen output without connection to user" then when I apply execute LUW then it is converted to
"ThiSend:bad tm type /connection closed (no data)".
when i test the same message from 'SPROXY' t.code, inbound proxy class was working fine.
I came to know that when we call an ABAP program in side a proxy then it will throw same error what I got by checking the below url
Message struck at inbound que in server proxy
But in my proxy. I am just putting the data into z table and on some condition I am calling some other BAPI call.
Here my doubt is calling the SUBMIT for other ABAP program is same as calling the BAPI call?
because in the above thread clearly saying that don't use the other ABAP program in proxies. is the same case for calling the BAPI call into the proxy?
In proxy, the logic is I am just simply reading the data from IS(integration server, PI7.0 SP 18) to ECC 6.0(SP14) if the row is not there the data is reading into table. If row is already there then it is stuck up in SMQ2 (inbound queue) of the ECC
am I missing any basic things? please guide.But in my proxy. I am just putting the data into z table and on some condition I am calling some other BAPI call.
Here my doubt is calling the SUBMIT for other ABAP program is same as calling the BAPI call?
I too believe ..
because in the above thread clearly saying that don't use the other ABAP program in proxies. is the same case for calling the BAPI call into the proxy?
It is saying not suggestable...!!!! BAPI calls work perfectly !1
In proxy, the logic is I am just simply reading the data from IS(integration server, PI7.0 SP 18) to ECC 6.0(SP14) if the row is not there the data is reading into table. If row is already there then it is stuck up in SMQ2 (inbound queue) of the ECC
am I missing any basic things? please guide.
Seems so,
Lets try below things..
1. Plz check the user is having auth to run the executable program in ECC.
2. It seems that you are not using the proxy structures in a correct way..and check the calling program also..!!
Edited by: Santosh Rawat on Jul 30, 2009 1:12 PM -
Inbound Messages are struck in Queue.-Production environment of client box.
Dear All,
We have scheduled a Job(RSQIWKEX) to process messages in Inbound Queue. we are facing probem after restarting the XI server that the messages are struck in Queue and scheduled job also not getting executed. Even manually also not able to process the messages.
Could anyone help as how to proceed or what could be the cause of this problem.
Regards,
SivaWhat is the error message?
-
SXMB_MONI message fail causing Queue struck at SMQ2
Hi All,
If mapping error occured in SXMB_MONI, corresponding entry will be struck up in SMQ2 and saying that SYSFAIL.
When i drill down this into further, it is saying that Mapping error.
Because of this all messages coming later also getting strucked in this queue.
Why is this happening and what to do for not to get struck further messages
RegardsHi Hetal,
>>Create a job which will restart message after some time if it is stuck because of connection problem or something, then queue will be clear.
It's because of Mapping problem, even though we schedule a job to restart, it won't resolve. again it comes into same error.
@Prateej:
>>Could you check the QoS for the following entry in SXMB_MONI? Is it EOIO ?
QOS is Exactly Once
@Madu:
>>This is the standard behavior of PI. When some message will fail in Integration Engine(either because of Receiver not found or mapping error),some of remaining message(not all messages) which will come in the same queue of failed message will stuck.
You can not predict which messages will stuck and which messages will not stuck.
YES, you are right.
>>If you are having some important interface, which you want to divert the messages in other queue. You apply exactly once in order in sender channel for other interfaces so that these messages will not stuck in SMQ2.
For me all are Important Interfaces only. I can't prioritize
I think the better solution is Monitor failed messages in MONI every day and if it is failed because of Mapping error means, we can delete that entry from SMQ2.because for mapping related errors we don't require that message to restart again.
so that nothing will be queued after wards.
Regards -
How to get the XML messages from JMS Queue in BPM
I have one requirement in my application.we are sending XML messages to the JMS Queue.How to get the XML messages from JMS Queue and how to Extract the details from XMl.
can you please send me the code to get the XML messages from the JMS Queue.
Thank you,Hi,
Sure others will have some other ideas, but here's what I typically do to get the XML from a JMS queue. Inside the Global Automatic that pops the messages off the queue you'd have logic similar to this:
artifactInfoNodes as Any[]
xmlObject as Fuego.Xml.XMLObject = XMLObject()
load xmlObject using xmlText = message.textValue
. . . Once you have this, it's a matter of deciding what you want to do with the message. Most times you'll parse the XML (using XPATH statemens), set argument variables and create a work item instance.
Hope this helps,
Dan -
Hi,
I am trying out an BPM scenario for an N:1 mapping,in which i'll be sending N number of 2 different structure of messages.The source file got picked from the Source.The SXMB_MONI describes that the "Message being sent",but i couldn't get at the target.I doubt that my BPM design could have strucked up in the looping and hence the message couldn't be delivered.Can anyone provide some pointer to get it resolved.The BPM design is as mentioned below :
Block
Deadline
Exception Handler
Loop1 Recv1 Container1 Loop1
Fork Fork Transformation(2:1) Send Stop
Loop2 Recv2 Container2 Loop2
Note : The loop will come out when the deadline time reaches 2 min.Yes.The Correlation desfined as below
File1 of Abstract type Message Interface
FileList1 of of Abstract type Message Interface(Multiline checked)
File2 of Abstract type Message Interface
FileList2 of of Abstract type Message Interface(Multiline checked)
TargetFile of Abstract type Message Interface -
Webservice response in BPM scenario
I am doing a BPM scenario where I take data from ERP asynchronously using proxy and send it as a request to a third party synchronous webservice. The webservice gives a response and I am using the response to send it further along to other systems.
Everything works fine if correct messages are sent and received. The problem starts when PI/BPM receives an un-expected response from the webservice. If the webservice sends an unknown error message in the response, the mapping fails and goes into the error queue. (smq2)
And the real problem is every successful message or response after that also goes into the same queue and getting stuck. Why is this happenning? Do we need to monitor and clear the error queues all the time so that subsequent successful messages go through BPM corrrectly?
Do you guys think it is a cache problem or something else?
Thank you.this is because there is no proper error handling in your BPM.
you need to handle the exceptions in case of mapping or communication failures.
refer : http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm -
hi,
Using a BPM scenario (File->File). In SXMB_MONI the status of the process is showing "Scheduled for Outbound Processing", with a green flag associated with it. How would I go about troubleshooting this error? Have checked SM58 and made sure all the queues are registered and activated. Also no messages show up in SXMB_MONI_BPE. Could you please guide on how to proceed?
regards,
SKHi
Have a look at the following links, even though they are not specific to your scenario, they give you some good hints on troubleshooting and where to look.
http://help.sap.com/saphelp_nw04/helpdata/en/29/e0194120ddf223e10000000a155106/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/49/e3fb40ef74f823e10000000a155106/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
Sameer -
Messages strucking in Receiver ECC
Hi,
I have a scenario i.e. non-SAP to PI to SAP ECC. In that, in PI we are getting Successful flags on every monitoring, but data is not inserting in ECC tables, due to Queues strucked in ECC (smq2) and we can see those messages with status scheduled in SXMB_MONI tcode in ECC system. Means messages are strucked in Queue. Some times In production environment it is giving very critical issue. Here I have a doubt. Between PI and ECC only one Queue is available or multiple? If one message struked in Queue remaining all the messages also be strucking. If only one queue is avail between PI and ECC, Is there any other way to increase number of Queues to overcome this problem.
Thanks & Regards,
Srihari.Hi Srihari ,
Every R/3 system will have the concept of queue.
If the messages are passed successfully from PI and are stuck up in ECC means there might be some data issue with the first failed message in queue. you can save that message using save LUW and then thus releasing rest of messages from queue.
even if you increase number of queues on ECC , queue stuck still can be a issue. Only way is to remove problamatic message from queue and clear the queue. lateron you can investigate on error message .
Regards,
Sheetal -
Hi All
I have done a simple file_2_file and SOAP_RFC scenario. Both of them are perfectly working fine.
Now I did a simple file_2_file scenario using BPM and this doesn't work. When I go the transaction SXI_CACHE, it shows as "Cache contents are obsolete". Also, in SXMB_MONI, when I see the messages, only sender interface is there and no part of the BPM messages are shown.
I am sure that my BPM configuration is perfect as its a simple example which I implemented from one of blogs.
Do I have make any settings for a BPM scenario to work? Please help.
Thanks,
VijayHi Moorthy,
I already implemented your blog. After activating all the objects, I just tried SXI_CACHE, it says the "Cache contents are obsolete". Also, my previous scenarios doesn't work. Now If I take out the BPM scenario, I mean if I delete the scenario, then the previous scenarios start working fine.
Any solution please?
Thanks,
Vijay
Maybe you are looking for
-
Which iphoto app comes with ios8
Which photo app comes with ios 8 ? Did they get rid of the iPhoto app, light blue with picture of palm trees? The only photo app on my iphone is the app with white background and colorful flower petals.
-
TS4036 i cloud backup required message frozen , cant switch off or anything !!
My i pad has frozen with amessage that i-cloud backup need ing to be done. Cannot switch off so don't know what to do.
-
How to set up that a CRM order is transferred to SCM?
Where must the setting be done that a CRM order is transferred to SCM?
-
My phone was originally set up for Russia and has cyrillic as well as latin letters on the keyboard. It could do English, German French, Ukranian, Bulgarian and Russian. Then I made the mistake of updating the software and now it can only write in En
-
My photos move around randomly after I save an image from email can't locate picture easily with 1000 photos on iPad please help