Sync Step within an Integration Process
Hi,
I have an Integration process which is invoked Asynchronously. Within the process one step is a synchronous step. I have given the following settings to this step.
Mode: Synchronous
Synchronous Interface: MI_Sync_Inter
Request message: async_var_1
Response message: async_var_2
Receiver From: Send Context
The variables async_var1_ and async_var_2 match the Request and Response message types of the MI_Sync_Inter.
And the Receiver Determinationis defined properly in the ID (with an interface mapping IM_Process_RFC). However while executing the scenario, I get and error message saying IM_Process_RFC is not available in the runtime cache.
But this mapping is available in the cache. I did a delta refresh and also complete refresh. Still I get this error. Intead of a Sync step, if I put an Async step, the process works fine.
Any pointers to what might be the problem?
Regards,
Pradeep
<i>And the Receiver Determinationis defined properly in the ID (with an interface mapping IM_Process_RFC). However while executing the scenario, I get and error message saying IM_Process_RFC is not available in the runtime cache.</i>
>>>
is IM_Process_RFC being used inside BPM ? Then note that the mesg. interfaces need to be abstract.
Do a check on the message interfaces used and defined in BPM. Also in SXI_CACHE check for the return code of BPM.. it should be 0.
Similar Messages
-
Configuration for Message Exchange in integration process
Hi,
I'm a beginner in SAP XI (7.0) and trying to develop an integration process for a purchase order.
There will be sent a message via Http to a receiver with Ftp.
So for the integration process are two communication channels necessary which will be defined in the integration directory:
One for the Sender: Http.
One for the receiver: Ftp.
Within the integration process are some sender and receiver steps with Bapi's.
My questions are:
- how and where could these sendings to a Bapi (send step) and from a Bapi (receive step) be configured?
- is it possible at all to configure a communication channel for these sending and receiving steps within a integration process?
Thanks for your help!
ZoranHi Zoran
While using BPM as well you will need to have communication channels.
BPM - > BAPI request.
BAPI response -> BPM
both sender and receiver channels are required for you.
1.Demand for a material is send via HTTP to XI
2.XI does a material availability check to the SAP system
3.A material reservation has to be done if there are any materials available in the stock (inventory) to the SAP system
4.If there is no material available a purchase order to a supplier (no SAP) has to be done via FTP
5.Parallel to the purchase order a purchase order confirmation is send to the the SAP system.
6.The supplier sends a purchase order confirmation to XI
7.The XI sends a purchase order confirmation to the SAP system
If i understood your requirement correctly and you want to use BPM. You need to do following in BPM
Receivestep1(receive HTTP post) -> transform1(mapping to BAPI request) ->send step1(Send BAPI request to SAP) -> Receivestep2 (Receive BAPI response from SAP) -> Transform2 (Map BAPI response to File)-> send2(File post to non SAP supplier)-> Receive3(receive purchase order confirmation)-> transform3(map to SAP purchase order confirmation)-> send3(Purchase order confirmation to sap)
You need no of channels
1.Receive 1 - (HTTP)
2.Send1/Receive2 - (RFC)
3.Send2 - (FTP)
4. Receive3( HTTP or FTP)
5. For purchase order confirmation.
Thanks
Gaurav -
Integration Process single steps?
Hello everybody,
asuming I have a WSDL-File with
a) one request message
b) one response message.
Can anybody tell the steps to use this <i>external definition</i> in a synchronous SEND step in an integration process?
What to do first, next an so on?
Thanks a lot
Regards MarioHi Mario,
You can use the wsdl file which is defined as an external definition to create the message interfaces, since ur using bpm, it would be an abstract interface. The rest of the steps would be the same, refer this link on how to do that:
http://help.sap.com/saphelp_nw04/helpdata/en/43/6211331c895f6ce10000000a1553f6/frameset.htm
regards,
Chandra -
Performance tuning in objects involving Integration process (BPM)
Hi,
We are facing a performance problem in one of our objects having integration process. The messages are getting processed sequentially instead of parallel processing within the integration process. As a result, the messages are getting queued up in the queue waiting for processing. Thus by the time all messages get processed, the time taken would have been alarmingly high. There is no correlation involved in the int process. My questions are
1. Is there any performance related best practices/checklist/config steps available for BPM related implementation. If so, please furnish/provide the links if any.
2. If it is not related to BPM , but related to tuning up of the queues, please provide the guidelines for queue tune up.
3. How to ensure that the messages are processed in-parallel within BPM ?
Regards
GaneshHi,
Am not sure whether this would help you. By any chance did u use For Each instead of Par For Each.
Cos, when u use For each in an container step, all messages would be processed sequentially.
Do let me know if it helps you!
Regards,
B.Anandh -
Problem with Integration Process
Hi all,
I have a problem within a Integration Process.
I created a loop with help of a local integer element.
On the development system it was running without any issued. But on the productive machine the Integration process runs until he has to increase my local element by one.
The system is raising the following error message. (Within the graphical BPM log / Process Engine)
Expression ''1'{TYPE=SWFXST_INTEGER}' does not correspond to data type () of element
In general I understand the error message. The Integer expression 1 (should increase variable by one) is the wrong
data type.
But I am not able to understand why it is running on the development system but not on the productive system.
I already compared the main configuration settings for BPM between development and production but the settings are equal.
Do you have any ideas about such a problem. Ideas about additional logs ...
cheers,
StefanHi,
Your container operation is perfect. there is no iisue with assigning valuee to counter
I am telling about the condition in Loop step
in BPM loop step you need to provide a condition . its basically a while loop.
i guess you are providing condition based on Counter element
What are you putting there as loop condition? Please check that one. -
When are Workflows generated from Integration Processes?
Hi Friends
When are Workflows generated from Integration Processes?
regards
SamHello Samuel,
Workflows are build in ABAP engine when you implement your Integration Scenario. So with each Int. Szen. saved in Int. Repository you will get your ABAP workflow in the ABAP stack.
When starting the Integration scenario the workflow history/log in ABAP stack is filled with the first step within your Integration Scenario which is placed after your Start step and using an internal workflow process step.
So you won´t find here explicitly documented send and receive steps in the workflow log (SXMB_MONI_BPE) but transform steps, decision steps etc.... .
Send and receive steps are displayed in SXMB_MONI connected to PI partner (process engine).
So when starting with using BPM it is a little bit confusing to understand how to read both logs and put their information together.
regards
Dirk -
Errors while activating Integration Process in Stack 14
Hi
We recently applied the Stack 14 of XI 3.0 on our development server which was on Stack 11 earlier.
After applying the above stack we discovered that when we are trying to activate integration process we are getting the following errors:
'Exception ProxyError does not exist'
'Exception SendIDocError does not exist'
'Exception RFCError does not exist'
'Exception MapError does not exist'
These exceptions are thrown using a Control Step in the integration process and were working fine till Stack 11.
Any idea on how to resolve this?
Thanks
YogeshHi,
We are having similar issues on sp14, we have shortlisted the following packs, just see if they solve your case, also is F4 help after you add a container element aceessable, for me thats another issue.
The oss notes are:
904833,
883500,
890760
I think the first one suits your needs, but read it and see.
All the best.
Anirban. -
Integration Process Receiver Determination Step
Hi experts,
May I know whether the "Receiver Determination Step" (in Integration Process) that collects the list of receivers configured, can be used only to find list of asynchronous receivers?
Can't we use this "Receiver Determination Step" in synchronous scenario? If yes, may i know how to?
Thank you!
Best Regards,
SaravananThank you Gaurav!
I can understand we can use multi-casting.
To clearly put my scenario, I have to use synchronous send (so cannot split send and receive step, and so no need of correlation) in my BPM, which have to synchronously send (and so it receives within same step) message to multiple receivers. This is the reason I am trying to use receiver determination step first and in a loop trying to synchronously send message to each receiver and receiving response.
Now my problem is in the receiver determination step, it is not identifying any of the receivers configured in the integration directory. The receiver determination list returns empty.
So, I want to know whether this receiver determination step is only for async receivers or synchronous receivers also.
Best Regards,
Saravanan N -
Sending step in Integration Process waiting for Acknowledgement infinitely
In process I had to send an MATMAS, CLFMAS and CNPMAS. The data for
this IDoc comes in one message from third party system. So, my
Integration Process has receive step (to collect a data), and three
send-steps (for MATMAS, for CLFMAS, for CNPMAS), one by one. The
receive-step catch an inbound message and then (without transforms)
send this message to each of this three send-steps in Asynchronous
mode. The inbound message transforms in Interface Determination to
IDoc. Three steps, one Interface Determination with three conditions,
that looks
like «ProcessStep=send_matmas», «ProcessStep=send_clfmas», «ProcessStep=s
end_cnpmas», and in this place I set a mapping to transform inbound
message to IDoc. All send-steps has property Acknowledgement, which set
to Transport value. So in first send-step MATMAS goes to R3, then R3 in
response send ALEAUD IDoc (trans WE05 shows an incoming MATMAS and
outgoing ALEAUD); ALEAUD comes to XI (trans IDX5 shows inbound and
outbound messages), but ALEAUD didnu2019t transforms to XI Acknowledgement.
And there is no any CLFMAS or CNPMAS, because all processes sleeps in
their first send-steps (trans SWWL shows a many STARTED processes).
Each send-step waits for event u2018SEND_OK_TRANSPORTu2019. Moreover, if I use
trans sxmb_moni to monitor this situation and if I press refresh (F5
button) every time, sxmb_moni every time requests a status of
Acknowledgements, XI transform ALEAUD to Ack, send-step in process
catch this status, process wake up and moves to next send-step (which
sends an CLFMAS and waits for Ack). By continuously pressing refresh
(F5) in sxmb_moni all process becomes COMPLETED (trans SWWL), all
ALEAUD transforms to XI Ack and all IDocs goes to R3. But pressing F5
itu2019s not a solution for integration.Hi Igor,
I dont think your manual refresh changes the status . The status changes is the status change of GUI . The system will take how much so ever it needs to take and not as per your manual refresh.
Regards
joel -
Sync/Async BPM scenario : Problem at Integration Process..!!
Hi All,
I am doing Sync/Async BPM scenario.
start ->Receive(Request)> Transformation(Responsemap)>Send(SendtoR/3)->Send(Send Response) ---> stop.
When Iam trying to Activate, Integration process giving errors as
Source parameter AA_Payment_Req | http://XXXXXXXXX.com/SAP_PI/DirectSales/Payment not set Target parameter AA_Payment_Response | http://XXXXXXX.com/SAP_PI/DirectSales/Payment not set
Warning: Container element Response is defined but is neither initialized nor used.
But I am using them in the BPM. The same kind of scenario is working for another interface which is already running in production. When I tried to check that interface it is showing only Warning message as Container element Response is defined but is neither initialized nor used.
I tried deleting and creating again and still it is showing the same error.
Can anyone please suggest what might be the problem.
Regards
DeepthiHi,
could you pls let me know how its solved, while i am trying the same i am also getting the same problem..
could you pls explain bit more on this.
Thanks,
Venkat. -
How to configure Integration Directory for Integration process async sync
Hi Experts,
I am confused about doing configuration in Integration Directory i.e receiver determination,interface determination and receiver agreement and sender agreement for my integration process as it involve synchronous send at target side.
In my Scenario , we get Purchase order request(asynchronously) from SRM system in proxy xml format which we have to map to Cxml format send it to third party system(say system 2) as http request.Then we will recieve a response from system2 in Cxml format through HTTP.Now,we have to map this response as to SRM system via proxy code for successful and error case .If error occured we also have to mail to the respective department about the error occured via mail adapter.Proxy to XI is a asynchronous communication and XI to System2 is a synchronous communication .Then again XI to SRM is a asynchronous communication via proxy.I have request and response External defination for Cxml i.e HTTP side.
I have done following integration process in ESR
Start- Receive(1)---Transformation(2)-send(3)-Fork(4)--
stop
...................................................................................................... .....[----Branch 1 [-Transformation(5)-Send(6)-
.......................[-----Branch 2 -
SWITCH STEP to check error code[
............................................................................................................[.otherwise branch of switch
Fork(4)----[
.......................[----Branch 1-Transformation (9)-send(10)-
Here,
Recieve(1) -- is used for recieve request from SRM.Mode is asynchronous
Transforamtion(2)-- is used for operation mapping between request of SRM to HTTP request.
send(3) --is used to sending request synchronous to HTTP,mode is synchronous,used synchronous abstract interface,abstract reqhttp and abstract resphttp
switch-switch Branch1 is used for checking error response to be true---
Transformation(5)--- is used to map HTTP response to Mail response structure
Send(6)----
is used to send mail content to Mail adapter
Transformation(9)---- is used to map HTTP response to Proxy response
Send(10) --- used to send mapped proxy response to SRM as to update status by calling calling Function module using proxy code.
Thanks
DeepakDeepak,
In BPM data does not flow in Backword direction!
take any step in your BPM the message it is goiong to receive will be what a step just before it is giving to BPM.
Now in your case
IR Part:
You have to call Third part Synchronously and the input to it will be what Proxy has given to you.
Create an Abstract Synchronous(in case of abstract you need not bother it is Inbound or Outbound) in which(I mean the Message Interface) The Output message will be what you have Received from Proxy and the input message will be what you are going to receive from the Third party as a Response. Now you would have Inbound Synchronous Interface created for calling Third party.
Have a Interface Mapping between the Abstract Synchronous and Inbound Synchronous Message Interface.
ID Part:
For synchronous Step: BPM will; be sender with Message Interface Abstarct Synchronous
Third Party will be receiver With Inbound Interface(Synchronous). Use the INterface Mapping between Abstract Synchronous and Inbound Synchronous that You have created in IR.
Have a Receiver Agreement for the Thirs part.
No Sender agreement required in case of BPM as a Sender.
Thanks,
Sunil Singh -
Transformation step in Integration Process
Hello Everybody,
I have used a transformation step in Integration process to transform source structure to target structure. In the same block i have used control step to cancel the process if there is any error found in transformation. I am handling this by raising exception.
Now my problem is, i found my message got failed in PE and it is showing that there is error in mapping, i took the copy of corresponding message from SXM_MONITOR and tested the mapping program, It executed successfully but the Integration process is showing that there is an error in mapaping.
Please let me know your thoughts, urgent.
Edited by: vijay thirumareddi on May 9, 2008 2:28 PMhi
same mapping behaving differently !!
make sure that in bpm u r using exactly the same message mapping.
could be due to cache refresh problem. activate the message mapping again. also check the cache notifications.
if it still do not works then do a full cache refresh.
rgds
arun -
Receiver From Field of Send Step of Integration Process
Could somebody please explain how this works? I cannot get receiver determination to work for a synchronous send of an Integration Process, and I think this is the problem.
Documentation states the following:
Calling a Receiver Determination Defined in the Integration Directory
1. In the Receiver From field of the properties area of the send step, select Send Context.
2. In the Send Context field, specify a character string for the send context.
You can choose the character string yourself. You must specify the send context to be able to send messages from the same message interfaces to different receivers in different send steps.
3. Query the send context in a corresponding condition in the receiver determination in the Integration Directory.
I just don't get this; if I choose the character string myself, how do I use it in step 3? I cannot see any way to query the send context in a condition. Is the Send Context the name of the receiver?
If somebody can walk me through this step I would be very greatful!
Kind Regards,
Tony.Tony,
An example
Integration Repository
I have a synchronous send step with the Send Context set to ABCDE
Integration Directory
In the Receiver Determination, Configured Receivers, enter the Condition Editor
Select Left Operand and enter the Expression Editor
Select the radio button for Context Object
Use the dropdown to select ProcessStep
Select OK
Select Right Operand and enter your value, eg ABCDE
Runtime
When I run my scenario an entry can be seen in SXMB_MONI corresponding to my send step. In my case it is displayed in the top Window
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
- <Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV">
<Trace level="2" type="T">......old attachment XI_Context found</Trace>
<Trace level="3" type="T">Append context with name =ProcessStep and value =ABCDE</Trace>
You can see here that the ProcessStep has the value ABCDE
Hope this helps -
Reuse message after send step in integration process
Hi all,
I have a strange problem....
In my integration process, after some steps, I send a message asynch (in config an FTP receiver). After this I need to reuse the message just sent for a transformation, but the ip dumps. If I delete the send step, everything ends without error!
Is it possible that I cannot reuse a message after a send step? If so, why?
Thanks for any help...
Ilaria> ReceiveTransformAToBSendBTransformBToCSendC
TransformAToB...ok
But in Step TransformBToC...you have to specify the Interface Mapping..it means
the Interface mapping should be between Outbound Interface for B and Inbound Interface C.
So u can store the B Abstract Message in the Container.
SO your BPM Look like this way...
<b>StartReceiveTranAtoBSendToBContainerToStoreTheValueofBTranBtoCSendtoC--Stop</b>
ContainerToStoreTheValueofB store the value of transformed message(that is B )
THen in TranBtoC (source=message stored in container and Target = C message)
I do hope it will work as per your requirement.
Thanks
Farooq. -
Integration Processes within Integration Scenario
The process I need to model is as follows:
SRM XML PO => OAG XML PO => Embeded OAG XML PO in another message.
I have looked at trying to use an integration process to handle the first conversion and then a regular interface mapping for the 2nd. However despite creating the Integration process in the same software component as the Integration Scenario I get nothing in the drop down list when searching for the Integration process in the Application Component definition. Even if I try to create a new integration process from within the Application component I get an error saying that the SCV of the integration process and the SCV of the Application component are not the same
Does any one have any suggestionsHi Rajasekar,
Hope u do fine.
Ur not mentioned any of ur requirement.
In BPM scenarios only we can create the INTEGRATION PROCESS.
In REPOISTERY--> we can design the INTEGRATION PROCESS.
In DIRECTORY--> Service can installed the Directory.
Regards,
sateesh N.
Maybe you are looking for
-
Hi, Hopefully someone has had this issue before and managed to resolve it. For the last couple of times I have opened Flash I have been unable to tween text. I am turning it into a Graphic symbol and using a Motion tween as I have always done. The tw
-
The computer will be used only for online catalog access in my library. I need to remove the location toolbar, but keep the back buttons and home button. If I use Kiosk mode, I don't have the back buttons. I can set it up so that I have the buttons b
-
Elements 12 organizer doesn't open
editor opens but organizer doesn't in elements 12
-
Getting error 404 - file not found on ExportPDF site
Hi - whenever I access ExportPDF site, I get an error 404 saying file not found....I am using IE 8.0.7601 version. I can see the page from my mobile device but not from my desktop. HELP!
-
I have too much space in "OTHERS" when sync with iTunes... I followed the instructions on the recomendations of the Apple pages, but space still used... At least 10Gb on iPad and 7Gb on iPhone.