How to use BPM?
Hello,
1.Could some one provide me the Step by Step procedure for using BPM.
2.whati si the use of BPM
Regards,
Swaroop
Hi,
1.Could some one provide me the Step by Step procedure for using BPM.
[Step By Step file to webService Using BPM|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10c73036-f019-2b10-20bc-f15a25be9588]
2.whati si the use of BPM
Use Of BPM
BPM in SAP XI is generally used for stateful message processing. Having said that if you want two messages to be processed depending on certain criteria you will have to use BPM.
The places where we generally use BPM is:
1. Error handling.
2. Handling messages from multiple senders
3. Collecting of messages
4. Splitting of messages
5. Processing message based on certain criteria
6. If the receiver structure is created based on certain criteria.
These are just some of the examples. If you hace SAP XI installed, then you can go to SWCV SAP BASIS and you will find examples out there.
Also, you can find examples in here
http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm and
http://help.sap.com/saphelp_nw04/helpdata/en/69/4ad13fa69a4921e10000000a1550b0/content.htm
BPM is one way to raise your alerts in an excetion step. This does not mean BPM is mandatory for raising alerts
Hope this gies you some clarity.
Thanks.
Similar Messages
-
How to use BPM in PI7.3 which is ABAP Stack
Hi Experts,
Come to know that PI7.3 have only one stack (JAVA), then how to do BPM's which are ABAP Stack, in PI7.3?
Thaks & Regards
Anilhi,
refer below links: :
Regarding PI7.3 version
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4096a6b3-3dc3-2d10-bf87-f63d5340a916?QuickLink=index&overridelayout=true
thanks, -
How to use BPM's in File 2 File Scenerio
Hi All,
Please do let me know when do we use BPM's in File2File scenerio and also let me know the example for the same.
Thanks
SudharshanHey,
BPM generally is not required in a file to file scenario.
And as far as possible avoid the use of BPM.
In most of the file to file scenario BPM is not required.
But in certain scenario(file to file) it is required.
for example N:1 mapping.
that is when you have two sender and one reciever.
in this case it is mandatory to use bpm.
because during configuration it is not possible to give two senders in your interface determination.
hence if you use a BPM interface mapping will be referred in your BPM and there is no need for maaping to be reffered in Interface determination.
In order to design a BPM for this scenario
steps.
1) create a data tyoe and message type for sender and reciver file structure.
2) do the required mapping.
3) create abstract asynch interface for the two message types.(as bpm requires abstract type)
4) create a BPM.
5) create two container type variables fr the two abstract interface(you cannot refer to the abstract interface directly)
6) assign a recieve step of type async a in this step select the container variable created corresponding to the sender abstract interface .
7) assign a transformation step and refer to the interface mapping in it.
8) assign a send step and select the container variable created corresponding to the reciever abstract interface .
your BPM is configured.
reward points if useful.
regards,
Milan -
How to use BPM itegrate different system aysnchronously
for example, 3 enterprise applications need to be integrated together with BPM, which are Bid system, ERP system, Finance system,
and erery business document should be approved by persons one by one in the 3 different application system with its workflow respectively, we can't change the workflow in the
different system, and only when the document is finished approved in the BID system asynchronously, it can enter the ERP system, an so on .
after the business document is approved in the Bid system, it should be returned in the BPM contexts,and the BPM user will dicide whether it will be enter the next system.
so how to integrate the 3 application system?
I draw a[ BPM process|http://www3.picturepush.com/photo/a/2586651/640/Picture-Box/aaa.jpg], but in this process, the "ERP human activity" activity, this activity how to get data from the "BID system asyn workflow" which is an asynchronized
wrokflow?Gavin,
For asynchronous cases, you should adopt the "wait and trigger" principle. In BPM, you can acheive it by using a timer and an automated activity. Set the timer repeat time to say 15 mins (you should change it as per your business scenario), and then execute / trigger an automated activity, which will call your Bid system to check the state (whether the data entry / specific workflow is over). If the state is completed, (you may check using exclusive choice), move to next step. Else, pass back the control to timer which will again make the process wait. This way the objective could be attained.
Hope this helps.
Br,
Bala -
How to use Receiver determination step in the BPM?
Hi!
I'm not sure, how to use the receiver determination step in the BPM... What is it good for? I have read the documentation, but I still don't know, what is it good for.. A little example would be great!
Thanx, PeterHi,
>>I have read the documentation,
but have you seen the example?
http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
Regards,
Michal -
** How to deliver multiple files using BPM (From RFC output)
Hi Friends,
I am doing File-RFC-File scenario using BPM. I am using BAPI_SFLIGHT_GETLIST as my RFC (Standard RFC). If we execute this RFC, it will return the results in tables form. Assume that, the inputs to RFC is like below.
FromCountryKey : US
FromCity: NEW YORK
ToCountryKey: DE
ToCity: FRANKFURT.
The outputs from the RFC is like below.
26 Entries
CAR
CONN
FLDATE
AIR
AIR
DEPTIME
SEATSMAX
SEATSOCC
|
DL
0106
19.05.2008
JFK
FRA
19:35:00
280
266
UA
3516
20.05.2008
JFK
FRA
16:20:00
380
364
LH
0401
23.05.2008
JFK
FRA
18:30:00
220
209
LH
0401
28.05.2008
JFK
FRA
18:30:00
220
208
UA
3516
28.05.2008
JFK
FRA
16:20:00
380
367
DL
0106
16.06.2008
JFK
FRA
19:35:00
280
261
UA
3516
17.06.2008
JFK
FRA
16:20:00
380
357
LH
0401
20.06.2008
JFK
FRA
18:30:00
220
213
DL
0106
14.07.2008
JFK
FRA
19:35:00
280
1
UA
3516
15.07.2008
JFK
FRA
16:20:00
380
86
LH
0401
18.07.2008
JFK
FRA
18:30:00
220
123
DL
0106
11.08.2008
JFK
FRA
19:35:00
280
56
UA
3516
12.08.2008
JFK
FRA
16:20:00
380
67
LH
0401
15.08.2008
JFK
FRA
18:30:00
220
114
DL
0106
08.09.2008
JFK
FRA
19:35:00
280
0
UA
3516
09.09.2008
JFK
FRA
16:20:00
380
164
LH
0401
12.09.2008
JFK
FRA
18:30:00
220
64
DL
0106
06.10.2008
JFK
FRA
19:35:00
280
80
UA
3516
07.10.2008
JFK
FRA
16:20:00
380
8
LH
0401
10.10.2008
JFK
FRA
18:30:00
220
16
DL
0106
03.11.2008
JFK
FRA
19:35:00
280
11
UA
3516
04.11.2008
JFK
FRA
16:20:00
380
33
LH
0401
07.11.2008
JFK
FRA
18:30:00
220
53
DL
0106
01.12.2008
JFK
FRA
19:35:00
280
0
UA
3516
02.12.2008
JFK
FRA
16:20:00
380
45
LH
0401
05.12.2008
JFK
FRA
18:30:00
220
25
|
We need to create output file for each record. In this case, the system should generate 26 output files.
I imported the RFC and created the required interfaces and designed BPM also.
Start --> Receive step --> Synchronous Send --> Asynchronous Send
But, I stuck in how to deliver each record to the output file from BPM.
Any idea, friends. (like using BPM Multi-line option. or 'Receiver From' property in the Send Step)
Kindly help me friends to solve this issue.
Thanking you.
Kind Regards,
Jeg P.Hi
You can do it by creating one another message interface having structure same as your table.
What you have to do is create a mapping in such a way that for each record in table one message(newly created) must be created.
Use that mapping in an interface mapping, remember occurence of target message should be 0..Unbounded both in message mapping and interface mapping.
Now create one single line message and one multiline message in BPM for newly created message.Use transformation step with new interface mapping, mention source(RFC response) and target message(use multiline element of new message) for the transformation step.
Use send step inside a block,set block mode to "forEach", and attach new message to that send step.
Use multiline and single element of new message in the property window of block.
Now your BPM will look like
Start ---> Receiver ---> Synchronous send ---> Transformation ---> Block ---> Async Send(within block)
I think in this way you can implement what you want.
Regards
Sami
Reward points if helpful. -
How to handle system errors in XI using BPM? please help!
Hi Experts,
I have a requirement where I have to handle system errors. For example when I am making RFC call using RFC adapter if the remote destination is down then I have create a understandable error message and store it in another SAP table.
How to handle it? I am using BPM. I can see that there is "Exceptions" in the send step. How to use this?
Thanks
GopalHi Gopalkrishna,
In this case whenever you get Mapping Exception , you can raise an Exception with the help of BPM and you can send the status to the RFC. But with the help of BPM.
For a Simple case refer:
http://help.sap.com/saphelp_nw2004s/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm
If you want you can do it without a BPM
and throw an exception in case any of the values is missing:
have a look at this weblog on how to throw exceptions
in a nice way:
/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
Also just go through <a href="/people/sap.user72/blog/2005/02/23/raising-exceptions-in-sap-xi-mapping Exceptions in SAP XI Mapping</a> and see if it helps you solve the problem.
Also go through these links:
http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7f2243d711d1893e0000e8323c4f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/68/253239bd1fa74ee10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/f2bbc8142c11d3b93a0000e8353423/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/5d/2166e6a91d11d188de0000e8216438/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/05/bb223905b61b0ae10000000a11402f/content.htm
Please do let know if it helped.
Regards,
Abhy -
How to transfer multi-input xml file to One xml file using BPM?
Hi!
Using BPM, We wana transfer multiful xml file to One xml at Remote FTP Server.
I don't know how to design BPM.
============== samle1: input xml====================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Shipments SYSTEM "DTD/Shipment.dtd">
<Shipments>
<sendingPartnerID>XXX</sendingPartnerID>
<receivingPartnerID>XXX_UPSTMS</receivingPartnerID>
<receivingMessageType>TPSDLS</receivingMessageType>
<Shipment ID="0081646547" Type="CREATE">
<CustomerID>XXX</CustomerID>
</Shipment>
</Shipments>
============== samle2: output xml====================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Shipments SYSTEM "DTD/Shipment.dtd">
<Shipments>
<sendingPartnerID>XXX</sendingPartnerID>
<receivingPartnerID>XXX_UPSTMS</receivingPartnerID>
<receivingMessageType>TPSDLS</receivingMessageType>
<Shipment ID="0081646547" Type="CREATE">
</Shipment>
<Shipment ID="0081886548" Type="CREATE">
</Shipment>
<Shipment ID="0081646999" Type="CREATE">
</Shipment>
</Shipments>
Message was edited by: ChangSeop SongHi,
To convert multiple xml files into a single file, you will have to perform a N:1 mapping.
The following tutorials are available on SAP to help you understand BPM and also to collect multiple XML messages so that they can be mapped into a single message. Check them out,
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Regards,
Bhavesh -
How to process files sequentially in PI using bpm
Hi Folks,
I am really looking for one requirement like, Sender file adapter has to pick multiple files by file name based with some time gap? Can we?normally i am getting 40 files in the source directory with some time gap like 1hr and 2 hours.but my in some situations like system got down and if the server stopped for some refresh work then 2 days files will come to source directory and after system is sap pi try to process files at a time but the messages not going in order.
I have got one BPM in this, I have tried with Process mode : Name and Date, with wait step on BPM, but no use. The way how PI behaving, if 40 files in file directory, it is picking all files in one shot. Start processing but not in order. if it is process also the SNC system can't process 4 at time.it will process files with some time gap.
The problem is on Receiver system side. The receiver system is SNC system, if old data receives later than earlier date data; we get data obsolete application error.
Ex: If I receive 25th and 26th files, first I need to process 25th first on PI sends to SNC, I need to give some time gap and pick another file or even PI picks and process 26th file, no problem but I need to give some time gap to send SNC to this 26th date file?
Please how guys, throw me your great ideas
Step1: i configured the sender file adapter with by name property to sort the files but some times pi picking new date file first and old one later.here my question is how to configure adapter to pick files in sorted by name.the filename i given like xml_0809008998_*.xml
step2: after pi picking the files in order but the messages not sending order to target system.i was configure the bpm like first recive step then transformation step then i was used wait step to process files with time gap.after that block step mode is default inside i was used 2 bblock steps.
here my question how to configure bpm process messages in order?
Thanks in advance!!
Regards
SGHi,
In the sender file comm channel use Processing Sequence = By Date. After that use Quality of service as EOIO and provide one queue name. Use same queue name in the receiver comm channel as well. So files will be picked by the date of the file and messages will be passed to SNC system in "first in first out" basis.
Reagrds,
Nayan -
How to merge/append two files in sequence using BPM
Hi All,
My senario is to append two files data into a new file on target system, only if the two files are available on source system. In case one file on the source system, no need to process file. Data in the new file should be in sequence means 1st file data then 2nd file data.
Please suggest me how can i achieve this functionality using BPM.
Thanks & Regards
SreeniFor the first part (two files required) design as per Prateek's suggestion
Data in the new file should be in sequence means 1st file data then 2nd file data.
create a data structure which will be a combined structure of File1 and File2....target structure should have first reference for File1 and then for FIle2....than having two MTs (File1 and File2) at the source and the target MT at the receiver create your mapping......this will ensure that File1 data occures first and then File2 data.
Regards,
Abhishek. -
How to use factory calender in BPM (NWDS 7.1 environement )
hi guys,
I have requirement to send u201Cnotification of missed deadlineu201D using factory calendar.
The time to send notification is in hours and its is less than a day. So a task created on Friday 5u2019o clock should send missed alert on Monday 9 AM (assuming business run from 9 to 5).
this need to be achieve using BPM workflow can any suggest me how to use factory calendar in BPM .Hi,
You can use "BUSINESS_DATE_CREATE" function module in the ECC system for your requirement.
This will calculate exact date and time and return next business day.
You need to some datetime convertions on the BPM side to get it working
Regards, Anil -
Hi Everyone,
The scenario is, once the purchase orders are created in R/3 they are posted to third party system.There the third party system creates invoices for the corresponding PO and sends the invoices back to R/3. It involves validation of messages and triggering alerts.
How shall i approach this scenario using BPM.
Thanks in advance,
SakthiSakthi,
Do you mean to say that for the receiving Invoice needs to be validated against the Sending PO?
First of all:
I guess Invoice will be generated not immediately after PO creation and it may take a few days.. That case I don't think BPM will be a wise choice.
I think it will be good if you handle this validation in the receiving R/3 side..
Thanks,
Himadri -
How to use an BPM Instance Variable in JSP page
Hi All,
I am using the JSP Presentation, but i don't know how to use an Instance variable in JSP page, that instance already declared in the process. And Can u explain the syntax that to include the JS file into jsp page
Regards
Vasu.
Edited by bpmvasu at 04/03/2007 10:43 PMHi Mariano,
I'm using JSP presentation too. In "Interactive Component Call" active i'm using "Use JSP presentation", but i only can define one instance variable, i need to add more instance variables. In "Advanced" option of this task, i have the argument mapping .. but i don't understand how to use it.
I have a instance variable called "genders" of the type String[Int] (Associative Array) and i'm mapping this instance variable in "Arguments Show In" option of the advanced option of JSP presentation. In JSP presentation i have the code:
<select <f:fieldName att="person.gender"/>>
<c:forEach var="gender" begin="0" items="${genders}" varStatus="status">
<c:choose>
<c:when test="${person.gender == gender}">
<option value="<c:out value="${gender}"/>" selected="true"><c:out value="${gender}"/></option>
</c:when>
<c:otherwise>
<option value="<c:out value="${gender}"/>"><c:out value="${gender}"/></option>
</c:otherwise>
</c:choose>
</c:forEach>
</select>And in my screenflow i have the code:
genders[0] = "Male"
genders[1] = "Female"But when i run my application, i have the error: "The task could not be successfully executed. Reason: 'java.lang.ClassCastException: java.lang.Integer'."
What's the problem? -
How to collect records using BPM
Hi All,
i have a req that i need to collect records in chunks and want collect using BPM want make their single file.
i have 10 fields in one table for that i have made one datatype ,i want to collect 1lac recods 5 times in BPM and want make a single file and send it to one file.
please suggest what are the steps are req in BPM to do this.Hi Gangadhar,
Check this links
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm (for one interface)
http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm (for multiple interfaces)
http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm
Regards
Ramesh -
How to access Task details using BPM API for substituting user
Hi Expert,
I need one help, we have a requirement, in which I wanted to access the BPM task details of a user which is substituting user using BPM API.
Substituting user's name is not exist in Potential owner of Task. That’s why Using method "getMyTaskAbstracts(Status)" we cant acess those task which assigned by Substited user.
Kindly let me know if there is any way, we can get task details of the task which assigned by substituted user to substituting user.
Regards
DivPl use this api.
getTaskAbstractsForMySubstitutedUsers.There are couple of variations u can use.
Thanks
Manish
Maybe you are looking for
-
How do i run an external monitor with my macbook and change settings so that when i close the lid the signal to the monitor is not lost and i can continue using the mac with a mouse and a wireless keyboard?
-
Quick question, I was looping something in garageband tonight. The loop was going on nonstop for about an hour, as I played along with it. 2 tracks. System was not overloaded or anything. (Macbook Pro i7 + ULN-2) The problem: No problem up until 1 ho
-
Oracle 9.2.0.3 client ?
Hello, I am installing software that requires "Oracle client software for Oracle 9.2.0.3 or later and has the latest version of the Oracle ODBC driver (9.2.0.4 or later)". So far we have installed Oracle 9i Client Release 2 (9.2.0.1.0). We have also
-
I have copied and pasted information into a spreadsheet. There are blank/empty rows that are not adjacent that I would like to remove. There are 1400 pages so I don't want to do it manually. Is there a way to do it automatically?
-
Print AR invoice from FB70.
Is it possible to print a Smartform AR invoice output from FB70? I see that there is a standard credit memo SapScript output which can be triggered from fb12 for invoice. Is there something similar that I can do to print AR invoice output from this t