BPM scenario-configuration (Ref-FAQs)
Hi All,
I'm working on the following scenario related to BPM.
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Designed:
Message Interfaces
FileDetails_sync_AI
FileRequest_AI
FileRequest_OB_MI
FileResponse_AI
FileResponse_IB_MI
Message Types
FileREquest_MT
FileREsponse_MT
Designed Integration process
Name:FILEBPMFILE
sequence of design
start,Receive1,send2,send1,stop
details
Receive1: (contained FileInputreceive) ref-> FileRequest_AI, mode asynchronous
Send2: synchronous-FileDetails_Sync_AI
Request message: FileinputReceive
Response message:Fileoutputsend-ref->FileResponse_AI
Send1: Asynchronous
message: Fileoutputsend
Configuration
F1_BS : My third party business system
Created communication following communication channels
1)FileRFC_Send(receiving file from source directory)
2)FileRFC_Receiver(creating file in target directory)
BS_RD1: this is R/3 business system
RFC_Receiver:( RFC receiver channel)
contents: Application server is: dev-db1
Problems facing
1) The integration process FILEBPMFILE which i have created in Design step i'm unbale to use in receiver determination.
do I need to do anything else?
Regards,
venu
Hi Michal,
Thank you very much.
Receiver determination
In receiver determination is used sender service as a F1_BS(File service) and in configured receivers i used BPM_Service which i created by ur help.
My doubt is do I need to creat the following
1)receiver determination1
sender: F1_BS configured receivered receivers: BPM_Service
configured overview for receiver determination
2) receiver determination 2
sender: BS_Rd1 (RFC service)
config receivered service: BS_Rd1...
3) receiver determination 3
sender F1_BS
receiver also F1_BS
In this part I'm getting confusion could u pls clarify..
Regards,
venu
Similar Messages
-
To configure alert for BPM scenario.
Hi Experts
I have one BPM scenario(Asyn-Syn-Asy).
I have created one alert category for this and defined 3 alert rules:
first rule from SAP to BPM
second from BPM to 3rd party which is synchronous
and third from BPM to SAP.
But when i create faulty message by mapping error, alert is not triggered.
Can anyone tell me where I m going wrong??
And what additional configuration is required to trigger alert??
Thanks
Edited by: danishahmed on Jan 18, 2012 2:06 PMHi Danish,
Control Step is required to capture exceptions. If there is any error in main branch then Integration Process looks for alternate branch to execute which in this case should be Control step.
This control step will throw alert which should already be defined in Alert Category of IR.
Steps -
1. Drag a BLOCK from tools pellete and assign to your main flow. Now this block will be having 2 branches.
One branch will contain main flow and other will contain control step.
2. Right Click on Block and Insert -> Exception Branch
3. Drag and Drop CONTROL inside exception branch
Now you can configure Alert as in above mentioned my EL Netweaver blog post.
- Mandeep Virk -
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 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 -
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 -
File to RFC to File with BPM Scenario
Hi all,
I am trying to implement a Sender File ( async ) to RFC (sync ) to Receiver File with a BPM. I using the blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1926. [original link is broken] But it doesnt work. First message FileRequestOut is correct in SXMB-MONI, but the second is showing a error. I checked in SXMB-MONI-BPE and I say in workitem is follow message:
Message Error Workflow
Error handling for work item 000000001714
Work item 000000001714: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
No reference message specified when sending a response
No reference message specified when sending a response
I configured my BPM scenario in this way:
( Sender File Adapter )
First Step
Receiver Step ( Asynchronous )
Mode: Asynchronous
Receive Message: File Request
( Receiver RFC Adapter )
Second Step
Send Step ( Synchronous )
Mode: Synchronous
Request Message: File Request
Response Message: File Response
Receiver From: Send Context
( Receiver File Adapter )
Third Step
Send Step (Asynchronous )
Mode: Asynchronous
Receive Message: File Response
Receiver From: Send Context
I have changed it, many times and I can get solve it. About my configuration objects, I think it is ok, because a tested my Interfaces in Configuration Test Tools it was ok. ( Receiver Det. Interface Mapping, etc )
I have seen in SDN, this error maybe Sencond Step must be Synchronous e Third Step must be Synchronous too. Is it true? In other hand, I have seen, it is possible to use a Async / Sync Brigde.
Could you help me about this problem?
Thanks for help
Best regards
Fábio Ferri
Consultant XI/ABAP/NetweaverHi ,
<b><i> I have seen in SDN, this error maybe Sencond Step must be Synchronous e Third Step must be Synchronous too. Is it true? In other hand, I have seen, it is possible to use a Async / Sync Brigde.</i></b>
In BPM did u used as
Recive Step Async
Synchronous Send Step
Send Step is Async
<i><b> it is possible to use a Async / Sync Brigde.</b></i>
No need to use Asyn Sync Step for this
Assign poins if u found hepful
Best Regards.,
V.Rangarajan -
BPM scenario - How to check it?
Hi Experts,
I couldn't see any difference between in wsdl file which was created for BPM scenario and non-BPM scenario.
How to make sure that the BPM process worked fine? I couldn't get anything for SXMB_MONI_BPE. Am I missed out any steps?
Regards
SaraHi,
Refer to the guide: 'How to Monitor Integration Processes' at https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c.
Regards
Manish -
Where to chk the PipeLine process steps in BPM Scenario...
hi experts,
i hav a scenario where i need to send multile file formats to an synchronous R/3 system and from R/3 it needs to be forwarded to the Target system in file format... its a BPM scenario...
i need to CHK the sequence of Steps or Pipeline process to knw where exaclty the message is at each piont of time...
can any one help on this plz...
Thanks and Regards,
Srinivasits possible to do the same using the ALERT Framework also...for the same pls go through the info provided below.
From SP 14 on PMI-free alerting was introduced. That means before SP 14 one has to configure and activate the End-to-End Monitoring, and to schedule the report SXMSALERT_PROCESS_DATA_GET in order to extract the alerts from the PMI data. For SP 14 and higher, that's not longer necessary.
If no alerts are being delivered, please check if "Suppress multiple alerts of this rule" is checked for your rule.
For SP 14 and higher you could also have a look at the report sxmsalert_logreader. This report shows some information about alerts being created or not.
You'll find more information about trouble shooting the alerting in SAP Note 913858.
Also just check if this batch program (RSALERTPROC) is running or not.
The links below on Alert Management (ALM) will be of good help to you:
http://help.sap.com/saphelp_nw04/helpdata/en/3f/567ddea69d3d4c93a6aedabd08899e/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/3f/81023cfa699508e10000000a11402f/frameset.htm
Also go through these blogs:
https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1382. [original link is broken] [original link is broken] [original link is broken]
The specified item was not found.
The specified item was not found.
Meanwhile look at these forum threads also:
Alerts not getting triggered from Adapter Framework
Alert Configs...
Also, In ALRTCATDEF, go to SETTINGS--> CONFIGURATION. By default, the option selected is INTERNAL PROCESSING. Select the option SMTP FORWARDING AS XML and give the email id. This will enable you to send an email alert whenever an error occurs in XI.
I hope it helps you in finding a solution to your problem. -
Webserice to JDBC BPM scenario
Hi Experts,
I have created the below webservice to JDBC BPM scenario.
IR
Data Type
1. DT_SOAPRequest
2. DT_SOAPResponse
3. DT_JDBCRequest
4. DT_JDBCRequest_response
Message Type
1. MT_SOAPRequest
2. MT_SOAPResponse
3. MT_JDBCRequest
4. MT_JDBCRequest_response
Message Interface
1. SOAP_Out_Sync_ReqResp
2. SOAP_Abs_Sync_ReqResp
3. SOAP_Abs_Async_Req
4. SOAP_Abs_Async_Resp
5. JDBC_In_Sync_ReqResp
Message Mapping
1. MM_Request ( MT_SOAPRequest to MT_JDBCRequest)
2. MM_Response (MT_JDBCRequest_response to MT_SOAPResponse)
Interface Mapping
IM_SOAP_TO_JDBC (SOAP_Abs_Sync_ReqResp to JDBC_In_Sync_ReqResp)
Integration Process
IP_SOAP_TO_JDBC
Container Variable
1. ReceiveMsg - SOAP_Abs_Async_Req
2. SendMsg - SOAP_Abs_Async_Resp
Process
1. Receive Step:
Message : ReceiveMsg
Mode : Opens S/A bridge
Sync Interface : SOAP_Abs_Sync_ReqResp
2. Send Step:
Mode : Sync
Sync Interface : SOAP_Abs_Sync_ReqResp
Request Message : ReceiveMsg
Response Message : SendMsg
3. Send Step:
Mode : Closes S/A bridge
Opend by : Receive step
ID
Business Service & communication channel
1. BS_SOAP ( For Sender Interface, I have mentioned SOAP_Out_Sync_ReqResp -->Is this correct)
a) CC_SOAP - Default Interface Name : What we have to give here ?SOAP_Out_Sync_ReqResp or SOAP_Out_Sync_ReqResp
2. BS_JDBC ( Receiver Interface : JDBC_In_Sync_ReqResp)
One more question, while creating webserive which interface name we have to give Abs_Sync or Outbound_Sync? Not comfortabel with Configuration part, please share your inputs.
Regards
SaraHi Sekhar,
I need info on only Message Interface in SOAP Service, SOAP CC and while creating webserivce from Integration Directory -> Tools -> Define webservice -> 3rd step. I have done with the remaining Sender Agreement, Receiver Agreement, Receiver Determination, Interface Determination..
Confusion is, I have to use whether SOAP_Abs_synch or SOAP_Outbound_synch interface...
Regards
Sara -
Hi
I am searching for a BPM scenario which shows the need for BPM. I might use: JDBC, File, RFC and IDOC adapters.
Could you quickly describe me a scenario making use of those adapters which also has a business use case in the background?
That would be great !!!
Thanks.
Go:khanHi Gokhan,
Consider a Scenario with 2 senders and 1 receiver.the explanation is given below.
The steps to be followed to have 2 senders and 1 receiver in your case, we need to follow the following steps:
1) RFC from A will trigger the BPM.
2) Receive step
3) Send step (sync) to call RFC in B
4) Transform step map response from B and A's data to C
5) Send step send the output to C.
Think these 2 blogs can help you to configure a BPM using RFC synchronous call.
<a href="/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit">RFC Scenario using BPM for Starters</a>
<a href="https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken]">Usage of Sync-Async when both Sender and Receiver are Synchronous</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/content.htm">Defining Sync/Async Communication</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm">Step Types in BPM</a>
http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.
I hope I have answered your query.
Regards,
Abhy -
How to test BPM Scenario?
HI,
Experts,
I have developed a BPM scenario successfully but i didn't understand how to test that BPM Scenario i tried test that in ID->Test Configuration but i having only one sender details how to another sender details or any transaction to test BPM.
Thanks in advance
Shabeer Ahmed.For testing purposes you can use RWB.
Give all the details like Sender Business System, Message Interface and Namespace and the correct payload.
It just mimics your sender system provided you have only one sender in your BPM.
otherwise you need a parallel instance of RWB for different senders.
Thanks,
- Gujjeti.
Edited by: Praveen Gujjeti on Mar 18, 2009 1:58 PM -
Hi Experts,
I am getting the below error for File to File BPM scenario.
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="BPE_ADAPTER">MESSAGE_NOT_USED</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Message is not used by any processes</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Could you please tell me, why I am getting this error.
Regards
SaraIR IP
FileTOFile_BPM
1. Receive Step (Used MI_Abs_Async)
2. Send Step (Used MI_Abs_Async)
Please find the below configurations which I hv done in ID
IP in ID
BPM_FileToFile
Business Service & CC
1. SENDER_SERVICE
CC: File_Sender_BPM
2. RECEIVER_SERVICE
CC:File_Receiver_BPM
3. Receiver Determination:
a) Sender Service : SENDER_SERVICE
Sender Interface : MI_Outbound_Async
Receiver Service : BPM_FileToFile
Receiver Interface : MI_Abs_Async
Mapping : IM_File
b) Sender Service : BPM_FileToFile
Sender Interface : MI_Abs_Async
Receiver Service : RECEIVER_SERVICE
Receiver Interface : MI_Inbound_Async
Receiver Agreement : File_receiver_BPM -
According to William Stanek, in his Windows Server 2012 R2 Inside Out: Configuration, Storage & Essentials book, this is apparently possible: (pg. 615 - here it is on Google Books: https://books.google.ca/books?id=0IyfBAAAQBAJ&pg=PT819&lpg=PT819&dq=read+operation )
Integrity can be enabled when the system is not running on Storage Spaces. When
integrity is enabled and ReFS detects a checksum mismatch, ReFS logs an event and
fails the read operation by default. If you don’t want the read operation to fail, you
can configure ReFS to continue with the read operation. A related event will be logged
regardless.
So then how do I configure it to do that???
(And just to make it super-clear, I'm NOT using Storage Spaces, so there is no redundancy via mirroring/parity, and I'm not expecting any file repair - just detection of corruption. It's just a basic volume formatted with ReFS and
with integrity streams enabled, via format E: /fs:ReFS /i:enabled
For those who want more details, here's the situation:
I try to perform a read operation on a file with corrupted data (purposely done for testing using a low-level disk editor), I get a the following error message:
And an event ID 133 from ReFSv1 gets logged in the System log:
Clicking "Try Again" just brings up the same message, and clicking "Skip" skips the operation entirely.
This is indeed the correct default behaviour.
What I want instead is for the read operation to be allowed to complete, with corrupt data and all, and ONLY for the event to be logged. And according to William Stanek, this is supposed to be configurable somewhere - and after hours of searching, I haven't
been able to find anything.Hi Tommy,
>>How can I configure ReFS to NOT fail read operations when a checksum error is detected
We can use PowerShell command Set-FileIntegrity to configure this. The specific parameter for controlling this behavior is
-Enforce <Boolean>which indicates whether to enable blocking access to a file if integrity streams do not match the data.
Regarding this point, the following article can be referred to as reference.
Set-FileIntegrity
https://technet.microsoft.com/en-us/library/jj218351.aspx
Best regards,
Frank Shen
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
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 -
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 stepsYes 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
Maybe you are looking for
-
How do I install lion on a MacBook pro if I don't know the password?
I know what you're thinking, "if you don't know the password, it's probably not yours." I'm actually a go-to guy for pawn shops when they get electronics. The guy pawned his laptop and didn't pay to retrieve it. It is now property of the pawn shop bu
-
I've looked through the forum but haven't found exactly this issue, hopefully it is still a simple matter... I have a single class that has a private 1:1 mapping to itself for a parent-child relationship. The 1:1 mapping and the fact that it is priva
-
I cannot restore or update my iphone
i cannot restore or update my iphone - message comes up 'the iphone could not be restored unknown error 1669 occured' I had just updated itunes before this but my iphone was saying - searching - and i could not make or recieve calls.please help!
-
Changing the Number range intervals
Hi Gurus, I have query on changing number range intervals in PA. Earlier number ranges has been set at the time of implementation and recently they added one more company and they ask me to set a number ranges for new employees with the new series. W
-
Cancelling FI document for MIRO
All SAP Gurus, There is an error in cancelling MIRO. So want to cancel the FI document directly, is it possible? How to cancel the FI document for MIRO? Regards,