BPM Design required 1:N scenario
Hi Frnds,
I am working on one scenario JMS to (IDOC,RFC,MAIL).
1) when i receive message from MQ first level i wl apply XSLT Maping then it gives one message it contains 3 sub messages.in this case i have to send mail (confirmation mail ).
1.1 I have to map XSLT Mapping out put to MBGMCR IDoc or DESADV IDOC or RFC based on conditions.
If SAP PO not found(RFC LookUp to retrieve PO Value) i have to send RFC message to SAP
If SAP PO found ,the value =12 then i have to send MBG MCR IDOC
If SAP PO found value is 10 0r 11 I Have to send MBGMCR IDOC and DESADV IDOC to SAP.
final confirmation mail...
my receievrs 5 .. how to design Intergratipn process,i developed message mapping and Operation mapping,but i am not clear about IP.
many thanks,
raj
Hi prateek thanks for you replay,but i need some clarity,
I developed 5 Interface mapping,
1)to post message in to RFC
2)to post message in to IDOC(mbgmcr if po =12)
3)to post message in to IDOC(mbgmcr if po = 10 or 11)
4)to post message in to IDOC(desadv if po=10 or 11)
5)Mail(rfc response value si have to send as a mail)
first four interface mapping wil have first step is XSLP Mapping second level maping is Message mapping.
in message mapping i retrieved PO value(RFC LookUp) based one PO value i created target.
my design approch correct? or i need to chnage design..
many thanks,
Raj
Similar Messages
-
Does BPM's required for these scenarios
Hi everyone,
Would anyone send me the steps for File-RFC-File and Http-RFC-FIle scenarios.
I created an Remote enabled function module with fileid and destination as import parameters and filecontent as export parameter.
My scenario is when i send the fileid as request, i should get filecontent as response to a file in xml format.
Do i need to do these scenarios in BPM, or can we do without BPM also.
Regards,
VarunHi,
Refer
Send RFC to SAP XI u2013
Send RFC to SAP XI Asynchronous
Ref: that
RFC Scenario using BPM --Starter Kit
the configuration steps will be;
1. 1 Sender agreement - Sender File CC
2. 2 Receiver Agreements - Recv. RFC CC and Recv. File CC
3. 3 Receiver Determination - File o/b -> BPM, BPM -> R3 (RFC) and BPM -> File (I/b)
4. Corresponding Interf. Detr. for the above Recv. determinations
HTTP to RFC - A Starter Kit
HTTP to RFC - A Starter Kit
thanks
Swarup -
Hi All,
I am bit confused on the solution approach of BPM design and I would like your suggestions in completing my task.
Requirement :
scenario is proxy to Jdbc .
I will get two input files from the source system and I have combine two files information into database table :
1) first file will come only once and have key field which I have to consider.
2) second file may come more than once based on bookings at source side( 3/5/6/8).
with current design , able to capture only one output from this design . my current design is :
Fork
Two receive steps ( correlation enabled in two steps based on key value)
transformation step
send step.
with the current design in bpm ,correlation will come out after the first message satisfies the condition. Now i want to loop in such away based on the second file input correlation has to work ( there is no input from source to take count on files). pl guide me.
Regards,
SumanHi,
This is what happens: the first receive step starts the bpm. If you have, afterwards, some other receive steps you have to set up the correlation condition.
Once a message is being sent, the engine looks at all the started BPMs and based on the correlation condition it assigns it to one of them (that's why it is important to have the correlation condition unique per instance).
From what I understand, you have the first message and then you can get 1 to 4 more messages. So you always have at least two messages: the first one sets the correlation id for the second and further messages. This correlation condition/id is just a field in the message that corresponds. Now after you get the second message, you say that you already know how many other messages will follow, that's why I say put a loop block with the receive (which should have the same correlation as the other).
Now the contents of the first message will be available to the other messages as long as you keep it in a separate container variable, and you can re-use it in the loop.
Hope this helps,
Horia -
BPM steps required...
Idoc to ,Proxy and JMS(2 receivers,JMS 1 and JMS2) scenario....totally 3 receivers
JMS 2 has to wait till JMS1 reaches receiver....then JMS2 should reach receiver..
what are the steps i should put in BPM.....
Please remember that there is no need logic for PROXY...no need of waiti time aswell...only JMS2 receivers required....
can some one tell me step by step, what are the steps required to do so...Hi Harsha
You can correlate JMS messages with or without BPM.
Use these
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8060448a-e56e-2910-f588-9af459e7ce21
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b028f6f6-7da5-2a10-19bd-cf322cf5ae7b
This will help you getting response from JMS1
Thanks
Gaurav -
Design Concern for XI Scenario!
Hi All,
Do you have any design solutions for following scenarios with respect to BPM,Adapaters and sync/async flow:
1. JSP -
> XI---->DB
2. JSP<--->SAPR/3<->XI<--->DB
3. DB-->XI->JSP
4. JSP<->XI<--->DB
Appreciated your time! Will get you reward!
Thanks,
PILearner.I want to add more scenarios like
oracle -
xi--.NET--
R/3
and more hetrogeneous environment
Does any one know simple case studies or how to guides for hetrogenity in XI -
Hi all,
i need you your help in enhancing one existing BPM.
the initial state was
file sys-> BPM -> sap R3 (system A) and also sap R3 (system B)
where the BPM is --> recv > sync send(A)->send(B)
file sys send ONE vendor_key in xml format to BPM.
now sysnc send is conected to R3 A through a RFC_A, which send one key field to RFC_A and get the whole record of a Z-table
through that very RFC_A
this whole record is then sent to another RFC_B thorugh send(B), which update a Z-table in the second sap system B.
if the picture is clear, then the requirement is that:
this time i have to design a BPM which will receive one xml file from file-sys, in which there will be multiple vendor key
instead of one.
the xml message must undergo 1:n transformation in bpm to craete xml messages containing one vendo key each.then parallely calling RFC_a with vendor key , get the reponse record from system R3 A, and call RFC_B to send the record to system R3 B.HI Abhishek,
Thanks for your response. Pls find below my BPM Design Details
Block 1
Step Name : Block1
Exceptions : runTime
Transformation
Step Name : Transformation1
Exception : System Error - runTime
Exception Branch
Exception Handler - runTime
Control Step
Setp Name : Control0
Action : Throw Alert.
I have followed the blog : https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3465. [original link is broken] [original link is broken] [original link is broken]
Still the alert is not getting triggered.
Could you pls guide me, whethere is there any change need in my above design.
Regards
Mani -
can any provide information on BPM design pattern and give examples scenarios.
thank youhi vicky,
check this links
Design Patterns in Exchange Infrastructure
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ad6de0-7cd6-2910-f894-dd7fe18b6fbf
BPM with Patterns explained Part-1
regards
reddy -
Need best Architecture design for the following scenario
Hi Experts,
I need best architecture design for the following scenario:
Sender: Mail
Receiver: if sender body contain u201DApproveu201D, then call SOAP adapter, If SOAP adapter execute successfully, then send Mail(SOAP adapter executed successfully) and SMS . So receiver is SOAP, Mail and SMS.
My current approach issue:
Three message mapping:
Mapping1: mail to SOAP
Mapping2: mail to Mail
Mapping3: mail to SMS
In interface determinant>u201DSelect all three operation mappingu201D> u201Cselect order at runtimeu201D.
Issue in current approach: For me first SOAP adapter should complete successfully, after that only my Mail and SMS operation mapping should execute:
But problem is before success of SOAP adapter engine, Mail and SMS mapping completed or integration engine executed.
Note: There is possible to fail the SOAP request in adapter engine.
Kindly help me --> u201CAm I going correct way or want to change the architectureu201D?
Thanks for advance!!
Regards, KumarWhat do you mean by successful execution of soap call? Are you talking about Successful response (happy flow) from the soap call instead of application error ? Then based on the response you want to decide sending mail and sms. How big call is your soap ? If your soap interface is very simple I can give the other possible way.
Sender sends the message, use mapping to read the content and then do soap call in the mapping itself and after seeing the soap response decide about two receivers (mail and SMS). If your soap call is very simple one, you can go for it. Otherwise I would not recommend this. The reason is you loose some visibility regards to monitoring during soap call in the mapping.
Other option is go for CCBPM. Here you receive the message, use send step to soap interface which is sync step. Then after seeing the response create another block with fork steps each for two senders mail and sms. If response bad then dont proceed or execute the next block. Simply use exeception or control step to jump out from the block, -
Documentation on Designing tips - for different scenarios
Hi Gurus:
Is there any good doc's for 'Designing tips - for different scenarios' like using Line Item Dimensions, aggregates, copying ODS to ODS, cube modelling, cache....
The common scenarios we come across in real life..Of course I understand it varies from client to client
Would really appreciate any help..
Many thankshi,
there are docs in sdn forum may help, explore in business intelligence section, also service.sap.com/bi
efficient infoprovider modeling
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/79f6d190-0201-0010-ec8b-810a969028ec
aggregate
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
cache
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/31b6b490-0201-0010-e4b6-a1523327025e
hope this helps. -
Hello,
When attempting to verify my ios app using codesign it fails:
macmini:MyApp admin$ codesign -vvvv Payload/MyApp.app
Payload/MyApp.app: valid on disk
Payload/MyApp.app: does not satisfy its designated Requirement
I tried to diagnose it, so I ran this command that as far as I know shows what the requirements are:
macmini:MyApp admin$ codesign -d -r- Payload/MyApp.app Executable=/Volumes/Share/Temp/appstore/MyApp.3.12.2.0/Payload/MyApp.app/MyApp designated => identifier "com.bla1.bla2" and certificate root = H"40characterstring"
But I'm not sure how to proceed now. The identifier looks correct and not sure what to do with that 40 character string for the certificate root. Any ideas?
Thanks in advance!Hi candn14 and welcome to the forums!
Since internet connection is working fine on the laptop computer when plugged directly into the modem, you just need to configure your router settings.
Are you using a DSL or Cable connection? Please see the links below on how to configure your router with your internet provider (ISP).
Setting-Up a Router with Cable Internet Service
Setting-Up a Router with DSL Internet Service
Once you are finished doing so and your laptop is able to connect to the internet when connected to the modem > router > laptop, then you are now ready to configure the wireless settings of the router for you to be able to connect wirelessly.
Here are the steps:
Setting-Up the Wireless Settings on a Router
And please secure your network w/ a password.
Setting-Up Wireless Security on a Linksys Router
Please feel free to ask any questions again if you encounter any problems. Hope this helps. -
External requirements and Classical scenario
Hi experts
Is there some restriction concerning the use of external requirements in Classical scenario?
Is there some some sap note about it?
Thanks
NilsonHi Nilson,
Pls refer Note 505030 - Restrictions for the integration of external requirements.
Regards,
Prashant
Do reward points for helpful answers -
Designing a BPM, Help Required
Hi,
I am Required to Select Data From R/3(6.2) and based on this data some data should be picked from another application (APP1) Database table1. Now based on this table1 records (APP1 application) Table2 should be inserted/updated. When updating this table2, 2 of the fields that orginally came from SAP table should also be used to update the fields. Not sure how to pass this 2 fields to the final Update JDBC receiver.
My initial design looks like this.
Use Proxy to send data from R/3 to IP.
IP sends this data via JDBC Receiver to select data (action=SELECT" <access> and <key> nodes are used in the Data Type) and the syncronous response should be received by the IP and the IP should update/insert the table2 using JDBC Receiver( action= UPDATE_INSERT <access> and <key> nodes are used in the Data Type).
I am not able to come in terms with this design as i cannot pass the 2 fields orginally selected from SAP table to the final Update Scenario using JDBC receiver.
Request help. Any thoughts of a Revised Design?
Regards
JohnHi John,
>>>I am not able to come in terms with this design as i cannot pass the 2 fields orginally selected from SAP table to the final Update Scenario using JDBC receiver.
why can't you do that?
you can combine the SAP data with the jdbc response
of the first jdbc call (2:1 mapping)
this way all of your data will become available in the second jdbc call
Regards,
michal -
BPM Design using sync-async bridge
Hi Arpit,
Below mentioned is an overview of the process flow which we are trying to implement.
1. A synchronous interface takes in the request
2. After the mapping, a file is created
3. Another file adapter reads this file and sends a message back to the sync interface. This step is to make sure that the file is created
I'm using a sync-async bridge for this process, since file creation and reading processes are asynchronous and the request/response is synchronous.
Can somebody help me by telling how to design the BPM. How many send and receive steps are required etc?
Thanks,
Sandeep
| Request | | | | | | | |
|--------->| | | | | | |File |
HTTP| |Sync|--->|Mapping|--->|Async|--->|Adapter|
|<---------|I/f |<- | | |I/f | |(write)|
| Response | | | | | | | |_______|
| |
| |
| ____|___
|| | | | | |
-|Async |<--|File Adp|<---|Folder |
| I/f | |(read) | |________|Hi
<i>>>I have to map the incoming xml from HTTP to another format before creating the file.</i>
Ya then u can use the transform Step in between the
sync Recv ---> Transform ---> Send to File System
<i>>>Once a file is read, that interface has to send an acknowledgement message telling the status.</i>
Wht type of acknowledgement msg telling the status.
I think u can add another element in ur created file payload like <b>Status</b>: Created (ConstanT)
Then u can map the payload of the readed file with tis payload having Ststus init.Fo this u need a <b>Transformation</b> Step.
BTW i was searching some previous blogs and i got this and it is bit related to ur scenario.Go thru this
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
Hope it helps.
Regards
Arpit Seth -
Advise required for the scenario logic
Hi Experts,
SCENARIO NAME: FILE(text format) to IDOC.
requirement.
ex. input is 10 line items if any of the line item fails that supposed to throw exception what ever success lines are there that should process with out any fail or idoc should generated.
there no multi mapping. only one structure.
thanksHey,
You need to use 1:N MultiMapping here. In PI, each message is a single unit of work, either the complete message fails or passes.
For your case, you need to generate an IDOC for each Line item. This way, if one message fails(read line Item), other messages (read line Items) won't be affected.
As far as alerts are concerned, you can simply configure alerts using ALRTCATDEF or CCMS. That will take care of sending e-mail in case of failure.
Below is the Blog to do Multimapping and generate Multiple receive structures from a single source structure. Please note that the Blog is old and you don't need to use BPM for it:
Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
Thanks
Aamir -
Error: 1:n multi-mapping using BPM for file to file scenario
Hi. Iu2019m trying to do 1:n multi-mapping using bpm scenario. I use file to file. Input file consists of many records and then I want many record to be transformed into many file at target system. I follow step in http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/. However, I have a problem when file is retrieved in to XI. It doesnu2019t create any output file.
When I look at SXMB_MONI, it shows u201CNo object type found for the message Check that the corresponding process is activated.u201D Besides, it shows error message "Unable to perform action for selected message" when i clikc at PE in SXMB_MONI.
I have check at many previous posts with the same error message but still couldnu2019t solve it. I already activate my BPM and check that status in SXI_CACHE = 0. There is noting left in change list of my IR and ID.
Here is my design and configuration.
IR
Data Type: DT_file_split -> for both input and output file
Message Type: MT_file_split_sender, MT_file_split_receiver
Message Interface: SI_file_split_in, SI_file_split_out, SI_file_abs_source, SI_file_abs_target
Message mapping: MM_file_split for mapping MT_file_split_sender with MT_file_split_receiver
Interface mapping: OM_file_split
u2022 Source = SI_file_split_out
u2022 Target = SI_file_split_in
u2022 Mapping Program = MM_file_split
BPM following this link http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/.
ID
Import my Integration process
2 Communication Channel for getting input file (CC_File_split_sender) and creating output file (CC_File_split)
2 Receiver determination:
u2022 Source system to BPM using interface SI_File_Abs_source
u2022 BPM to target system using interface SI_File_Abs_target
1 Interface determination:
u2022 from source system to BPM
u2022 Sender interface: SI_File_Split_Out
u2022 Receiver interface: SI_file_abs_source
1 Sender Agreement
u2022 Commu. Component: Source System
u2022 Using interface: SI_File_Abs_source
u2022 Sender Communication Channel: CC_File_Split_Sender
1 Receiver Agreement
u2022 Sender Communication Component: BPM
u2022 Receiver Communication Component: Target System
u2022 Receiver Interface: SI_File_Split_In
u2022 Receiver Communication Channel: CC_File_Split
Anyone know how to fix this?
Thanks,
PavinHi,
Yes, thats the problem.
You are creating file from test tab of 1..N mapping .
In case of 1..N mappping in mapping Extra tags of messages are addded to the data.As shown here:-
Messages
Message1
MessageType
When you use this mapping to generate xml message then it will add additional tags for <Messages> and <Message1>, which is not correct. it should only have structure of you MT.
So remove start and end tag of <Messages> and <Message1> from your data file. Mentioned below in bold.
<xml......>
<Messages>
<Message1>
<MT_...>
</MT_...>
</Message1>
</Messages>
This should solve your problem.
Regards,
Sami.
Maybe you are looking for
-
Missing Contact Details in Text address book
I have a 6500c and have noticed that i have a full list of contact details in my address book (sync'd with my PC) but when i go to send a text and access my address book via the text window i am missing about 100 names... any ideas what's wrong and h
-
Hi, My requirment is with regards to BW Hirerrachy Authorizations on 0PROFIT_CENTER. Requirment: When a user execute a report he is able to see overall data of the profit center uplevel3 and deep into his concerned profit center. For that i created
-
My computer is not recognising my new iphone 5s
I have updated itunes, my laptop and my new iphone but my computer is still not recognising my phone. Any ideas please?
-
Synchronous to Asynchronous Process
We need some desing help. We need a Synchronous(webService) to Asynchronous(Idoc to SAP) process, but not have the Synchronous thread wait for the Asynchronous process to complete. The Synchronous process needs to hand off the message to a Asynchrono
-
i want know how to edit store and delete off my lightroom 5