Sync Send step after transformation step in BPM
Hi Gurus,
I have an interface where I am loading the data into an Oracle database and getting the response back (insertcount) from the database. Based on the response, I have to execute a stored procedure in another sync send step.
I am doing perfectly alright until the transformation step. The sync send step after this step has the following entries.
Sync interface: MI_LG_SP_INPUT_ABS
Request Message: sp_lg_rec
Response Message: sp_lg_snd
While doing 'check(F7)', I am getting the following error.
<b>Interface MI_LG_SP_INPUT_ABS for element sp_lg_poc_step2 is not abstract/asynchronous</b>
The request message for this sync send step is the target message of the transformation step.
This error is bugging me since 2 days. Please help me with this.
Thanks
Kalyan
Sravya,
I know what I did now. For my send sync interface which is MI_LG_SP_INPUT_ABS, I have unnecessarily created a container element and which caused this problem. From your post, I rechecked it and found that I don't need a container element for my abs/sync interface as I already have container elements for request and response which are abs/asynch.
I gave you full points, thinking that you will come for my rescue in the future (just kidding!!!).
Thanks again,
Kalyan
Similar Messages
-
Sync send step after transformation step
Hi Gurus,
The send step I have after transformation step is not getting the input message. I am splitting the message into 2 messages in the trans step and using one of them as input message in send step. I am getting 'empty container is send to the send step' error.
Please help me with this problem. I am not sure what I am missing.
Thanks
KalyanKalyan,
Just adding to the disucussion, you might have specified a source and 2 target msgs in the transformation step.
Make sure it is one of the 2 target msgs that you have specified for the send step.
You can view the 2 target msgs in SXMB_MONI.
Use Michal's blog for reference.
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
Regards,
Jai Shankar -
Assign step after Approve step can't execute automatically
I have a Assign step after Approve step in my workflow. After Approve step is completed. Assign step always shown as Error status in the workflow owner's queue. The workflow owner has to manually Perform this Assign step and send to next step.
Is there way to let Assign step execute automatically after Approve step is completed?Thanks for the posting. I am using MDM 5.5 SP4, maybe that is the reason. Assignment works fine if I manually perform it during the workflow. But it can't execute automatically as part of the workflow. it needs manual execution. Do you think this will be resolved if I upgrade to SP5? Is SP5 already available now?
-
BPM - Do we need receiver determination step between trans and sync send?
Hi Gurus,
I have a 1:1 transformation step followed by a sync send step. The transformation step is executing fine. While the sync step is executing, I am getting an error says 'No receiver determination found'.
While I am executing this sync step in a separate, it is working fine.
Do I need to have 'Receiver determination step' between Transformation step and Sync send step? I think so. Can somebody confirms this?
Thanks for your kind help.
KalyanHi,
I think there is no need of a Receiver determination step in the BPM.
You should have a proper receiver determination in configuration for this BPM scenario. (i.e) A receiver determination from BPM to the service configured for the synchronous interface.
Regards,
P.Venkat -
** Transformation step - 1:n mapping error - BPM
Hi friends,
In my BPM transformation step I am doing 1:n mapping. I created & tested the message mapping and Interface mapping for this. Its working fine there. But, while I put the payload, the message is not splitted. Instead only the first message is splitted.
Source Payload
<?xml version="1.0" encoding="UTF-8"?>
<ns0:PurchaseOrder xmlns:ns0="http://www.XYZ.com/ABCD/SDFunctions">
<row>
<PONO>5005</PONO>
<PODATE>2008-06-09</PODATE>
<VENDOR_CODE>0000100614</VENDOR_CODE>
<REFERENCE>PENA</REFERENCE>
<MATERIAL_CODE>100-00</MATERIAL_CODE>
<ORDER_QTY>1</ORDER_QTY>
</row>
<row>
<PONO>5006</PONO>
<PODATE>2008-06-09</PODATE>
<VENDOR_CODE>0000100614</VENDOR_CODE>
<REFERENCE>PENA-1</REFERENCE>
<MATERIAL_CODE>100-100</MATERIAL_CODE>
<ORDER_QTY>4</ORDER_QTY>
</row>
</ns0:PurchaseOrder>
But, only the message is splitted comes in SXMB_MONI with the following error.
HTTP response contains status code 500 with the description Timeout Error while sending by HTTP (error code: 500, error text: Timeout)</
What could be the problem ? Why second message is not splitted. Is it required to add any Receiver Determination step in ID ?
Kindly tell me, friends.
Thanking you.
Kind Regards,
Jeg P.Hi friends,
I have corrected Message Mapping and Interface Mapping. If I send 2 message (source), I will get only 1 message in the target side. (after transformation)
In my BPM design, after 'Transformation' step, one block is there, I set property Mode as 'For Each', and I set Multiline Element.
Now, the 500 Internal Server problem has gone. But, why the 2nd message is not entered into block ? -
Hi,
I want to route message to one recieve if there is any error in transformation step.
If transformation is success then it must be routed another reciever.How can i achieve this.
Tried with exceptions but transfomration step handles only system errors and cancels message processing.
Thanks
--PradeepHi,
Exception Handling can be used around Send Steps and Transformation Steps.
Use of Exception Handling is a very essential step inside your BPM and the best thing to do would be to wrap each of your Send / Transformation inside a Exception Handling block.
Michal's blogs : Very useful block
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
You can use Moorthy's blog on Reocnilation as well as trigger alerts.
/people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm
Please reward points if it helps
Thanks
Vikranth
Edited by: Khimavath Vikranth on Jun 12, 2008 10:09 AM -
Hi specialists,
the process-chain-management makes it possible to send a message after each process-chain-step.
It is possible to send different messagess depending on the RC of the step.
I expected that the configured message is to be sent to the user exactly as I defined it, but I noticed that the msg-body seems to be ignored completely and instead a lot of technical information (=the protocol of the process-chain) is send.
Is there a way to configure the mentioned function in a way that my configured body is sent instead of the log? Or am I forced to use a abap-program to send my message, instead of the "send message after process-step" ?!
Best regards,
Marco
Edited by: Marco Simon on Jun 16, 2009 10:37 AMHi,
Please check the following links these might help you
http://help.sap.com/saphelp_nw04s/helpdata/en/cf/9bdd42cadf2878e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/92/5e073c8e56f658e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/bb/f0033c128f4a7de10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/bb/f0033c128f4a7de10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/bb/f0033c128f4a7de10000000a114084/frameset.htm
Regards,
MADhu -
Hi all,
I have the same type scenario that is file initiates the bpm that invokes the Webservice.the file data goes into bpm as the input data of the webservice and webservice gives the response and then the web-service response is mapped to
idoc and finally posted to R/3.
The interface sI created:
1.outbound Async -
>for file
2. Abstract async----
>bpm reciever step.
3.Abstract sync----
>bpm sync send step.
4.inbound sync -
>for the webservice to recieve the reqst and to send the response to Abstract sync
5.Abstract async----
>to send the data out of BPM
6.inbound async----
for idoc
created 3 communication channel.
1.file adapter: sender
2.SOAP adapter: Recv
3.IDOC adapter: Recv
created 3 reciever determination
Business process instance in ID
reciever agreement(2)
interface determaination
But getting a problem in BPM.
I think the scenario is logically correct as I have seen previous
SDN suggestions.
But getting the problem in BPM's sync step.and the SOAP rec channel is also inactive.in BPM workflow I can see the recv step is getting file req data but after that in the sync send step
its stuck up.getting error.
Please sir suggest me.Remove the interface you created for Idoc that is inbound async one. use the imported Idoc itself as the interface and also as the message type. Everything else looks good though i did not really evaluate ur ID configuration..
VJ -
hi all,
My BPM flow starts with a single message that I split using a message map into a list of messages into a block which is foreach mode to be sent synchronously one by one splitted messages to an Oracle stored procedure via the JDBC adapter. After the mapping step, the flow goes into a ParForEach block that executes the sync Send step to the JDBC adapter, and then has a Container Action that collects the responses.
My problem is that BPM seems to not like executing a synchronous send from inside a block. The first execution of the send step will produce an error in the BPM flow.
thanks in advance.
srinivas.
Edited by: sri_rambo on Nov 27, 2009 8:06 AMMy problem is that BPM seems to not like executing a synchronous send from inside a block.
BPM does support SYNCSend step inside a Block....but not for ForEach/ ParForEach mode of execution.
I think you are following this procedure from quite a long time.....sync send inside a foreach block.
Regards,
Abhishek. -
BPM Sync Send Step & Correlation
Hi Experts,
BPM Scenario: Step wise
1. Receive-1 from one sender
2. Send-1 it syncu2019ly to SAP using proxy and receive the response msg
3. N: 1 transformation b/w request message and response message to generate a target message
4. Send-2 the target message to a receiver
Though the scenario seems to be simple, I have a doubt about the sync send step.
How does the sync send step works in detail?
For every message the Receive-1 receives, a new process instance will be generated. When the message is sent to SAP syncu2019ly, how does it relate the response to the particular process instance?
For example, if 2 BPM process instances are created for two messages the Receive-1 step receives. However say, the second message is relatively less in size; in-turn consumes less time to execute in SAP and reaches XI well before the response for first message.
Which process instance will it be related to?
Please explain!
KarthikThanks, Udo! With your reply I heave that itching thought.
I would happy to read more about this sync-session logic.
Can you please provide more information/ blog/ material for detailed info?
P.S. pts added to you!
Thanks,
Karthik -
Exception is not showing in transformation step in BPM after activating
Hi ,
I want to cancel the process if any mapping error occur in transformation step for that I designed by below steps.
1.Block step ( mentioned exeption)
2. transformation step ( Inside block mentioned block step exception)
3. exception branc inside block
4. contorl step (Cancel process inside exception branch)
after activating the BPM , in transformation step exception is not showing .
How to resolve this issue how
Please help me
Regards2. transformation step ( Inside block mentioned block step exception)
Did you define the Exception Handler properly and also used the same in the Exception Branch? If you do a check in IR for your BPM (F7) do you get any error/ warning messages?
Regards,
Abhishek. -
Introducing a wait after Send step - file write in cc BPM
Hi
We have a cc BPM - in which we have a send step - that writes a to a file system - we have a transport acknowledgement requested in this step - which we receive in runtime - once the message is passed into the Adapter engine ( not after the file is written )
The requirement is that the next step after this send step should not be started until the file is written to the folder. We have an option of introducing a wait - but do not want to delay the BPM by a full minute ( the least wait time is a minute ) .
How do we make sure that the step after send step - file write executes only after the file is written to the folder in the send step ?
Any ideas, solutions, work arounds ?we have a transport acknowledgement requested in this step - which we receive in runtime - once the message is passed
into the Adapter engine ( not after the file is written )
Transport Ack sends back the ACK when the message is successfully delivered from the Adapter Engine (channel) to the end system.....and not when the message is transferred to Adapter Engine....if there is any error in sending message to AE then the BPM does not need Transport Ack logic to ctach it....only Exception Branch is enough then
is there any other way of introducing a wait - less than a minute
The Wait step of BPM cannot go below the minimum limit of 1 minute......if you want to introduce a delay of some seconds then in a mapping use the Thread.sleep logic and check.....this will slow down (stop) the processing....for more info refer:
Re: Delay in MM possible ?
Regards,
Abhishek. -
Sync send step in BPM fails and cant be resend XI
Hi Forum,
I have a file ->JDBC(Sync)->file scenario, with a BPM, having a synchronous send ........ sending and receiving message from a SQL Server,
the problem is ........... sometimes the synchronous send to the JDBC fails, bcoz of purely database connectivity issue, but then the whole scenario has to be rerun, coz sync send doesnt keep message persistent........ and we cant resend the failed Sync send step,
pls help .... its a production systemHi sreeram,
i think the sync send doesnt make retries while sending message,
in this case it means data lost............means not persistent in the BPM
do u think my design is faulty,
is their any alternative -
Sync Send step in Block step...in BPM
Hi All is it possible to maintain a syncrounous send step in Block step, please let me know how....we can maintain for request message and response message.
Thanks
SrinivasHi ,
Its simple
Receiver- transformation -Block -
Sync step -
Container-----Block -
Final send
Exception -
Regards,
Jude -
In one of our BPM scenarios, while defining
<b>Transformation</b> step.
I have defined the interface mapping in IR. After refering the interface mapping from IR, the source and target messages are read from the interface mapping.
the values for both source and target messages are empty.
Should the values be given here or are they read during runtime.
-Naveen.Hi Julio,
BPM understands only abstract interface. So you will have to define a abstract interface for each message going into BPM and inbound interface going out of BPM.
Also you can only declare asynchronous abstarct interface as the container elements. So no synchronous abstract interfaces can be defined as container element.
So in your case you will need following interfaces:
In case your scenario is IDOC --> XI --> RFC.
You will need:
1) IDOC_Outbound_Aysnc
2) IDOC_Abstract_Aync
3) RFC_Inbound_Sync
4) RFC_Abstract_Sync (This for sunchronous send to RFC system)
5) RFC_Abstract_Request (This is to be used as target message in Interface mapping step in BPM)
6) RFC-Abstract_Response
In your transformation step the mapping would be between IDOC_Abstract_Aync and RFC_Abstract_Request as only abstract asynchronous messages can be used in the scenario. Then the send sync will send the message sync to rfc system and the response can again be used further in BPM only in abs_async mode.
Hope this helps.
Regards,
Ashish
Maybe you are looking for
-
Can't open pages 09 document with pages 08
Need to know what to do, that's all. I don't have access to the pages 09 anymore, but I have iwork 08, and none of my docs will open.
-
Error while running / creating webcenter portal app
Hi, I had a fresh installation of Oracle JDeveloper Studio Edition Version 11.1.1.6.0. I installed the oracle.webcenter.customization_bundle and oracle.webcenter.framework_bundle as well. Now whenever I want to create a new Webcentre Portal App it's
-
It works with youtube, but not my model railroader site. I have added the website to the exceptions list and contacted their administrator. Their administrator says firefox must be blocking it.
-
Hi! I'm not sure if i caught the right forum, but I don't know where else to post this. I'm working with the Full-Screen Exclusive Mode API, and I have a question. You probably all know how to leave a Full-Screen-Application if using Windows: You pre
-
Is "Clustering" Computers Intangible or Possibly Useful for Rendering?
I have no money. However, I do have two computers available to me. From what I've heard, it may be possible to "cluster" these computers to be able to use the utilities on both; what I mean; Computer A has Processor 1 Computer B has Processor 2 Whe