Trouble using BPM
Hi everybody,
I configured my scenario like this:
System A (File Sender) > BPM = first Receiver Determination
BPM > System B (File Sender) = second Receiver Determination
Interface Determination, Sender and Receiver Agreement were done as well.
When I triggered the process and checked in SXMB_MONI, only the first part of the process is done (processed successfully). It seems that the IS is not finding the second part and it is stopping in there.
Could someone help me?
Thanks in advance
Leo
Hi,
In addition to otehr points discussed-
1) Change the BPM and activate it . Brfore this check for the syntax error
2) Check the configuration in the IntegratioN Directory.. Check the Receiver Determination between Sender Business Service and Receiver Business Service. In this case, Receiver Service should be BPM. Also check BPM to File Target.
Because I think,as per your comments, BPM is not triggered...
3) Go to SXI_CACHE and check the status of the BPM. Does return value is 0 ? if not activate this
This blog may give some hints-
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
Regards,
Moorthy
Similar Messages
-
McAfee SiteAdvisor is no longer working with my Safari 8.0. I never had trouble using it with Safari before this latest version. Has anyone else had this problem? I contacted McAfee support and they said nobody else is reporting this issue.
Wow, life is certainly tough for you.
S***t happens. That's why there's a warranty. -
Processing large volume of idocs using BPM Processing
Hi,
I have a scenario in which SAP R/3 sends large volume say 30,000 DEBMAS Idocs to XI. XI then sends data to 3 legacy systems using jdbc adapter.
I created a BPM Process which waits for 4 hrs to collect all the idocs. This is what my BPM does:
1. Wait for 4 hrs Collect the idocs
2. For every idoc do a IDOC->JDBC Message transformation.
3. Append to a Big List
4. Loop at the Big list from step 4 and in the loop for
5. Start counter from 0 and increment. Append to a Small List.
6. if counter reaches 100 then send a Batch JDBC Message in send step.
7. Reset counter after every send.
8. Process remaining list i.e if there was an odd count of say 5300 idoc then the remaining 53 idocs will be sent in anther block.
After sending 5000 idocs to above BPM following problems are there:
1. I cannot read the workflow log as system does not respond.
2. In the For Each loop which loops through the big list of say 5000 idocs only first pass of 100 was processed after that the workflow item is not moving ahead. It remains in the status as "STARTED" but I do not see further processing.
Please tell me why certain Work Items are stuck is it becuase I have reached upper limit and is this the right approach? The Main BPM Process is also hanging from last 2 days.
I have concerns about using BPM for processing such high volume of idocs in production. Please advice and thanks in advance.
Regards
AshishHi Ashish,
Please read SAPs Checklist for proper usage of BPMs: http://help.sap.com/saphelp_nw04/helpdata/en/43/d92e428819da2ce10000000a1550b0/content.htm
One point i'm wondering about is why do you send the IDocs out of R/3 one by one and don't use packaging there? From a performance stand point this is much better than a bpm.
The SAP Checklist states the following:
<i>"No Replacement for Mass Interfaces
Check whether it would not be better to execute particular processing steps, for example, collecting messages, on the sender or receiver system.
If you only want to collect the messages from one business system to forward them together to a second business system, you should do so by using a mass interface and not an integration process.
If you want to split a message up into lots of individual messages, also use a mass interface instead of an integration process. A mass interface requires only a fraction of the back-end system and Integration-Server resources that an integration process would require to carry out the same task. "</i>
Also you might want to have a look at the IDoc packaging capabilities within XI (available since SP14 i believe): http://help.sap.com/saphelp_nw04/helpdata/en/7a/00143f011f4b2ee10000000a114084/content.htm
And here is Sravyas good blog about this topic: /people/sravya.talanki2/blog/2005/12/09/xiidoc-message-packages
If for whatever reason you can't or don't want to use the IDoc packets from R/3 or XI there are other points on which you can focus for optimizing your process:
In the section "Using the Integration Server Efficiently" there is an overview on which steps are costly and which steps are not so costly in their resource consumption. Mappings are one of the steps that tend to consume a lot of resources and unless it is a multi mapping that can not be executed outside a BPM there is always the option to do the mapping in the interface determination either before or after the BPM. So i would sugges if your step 2 is not a multi mapping you should try to execute it before entering the BPM and just handle the JDBC Messages in the BPM.
Wait steps are also costly steps, so reducing the time in your wait step could potentially lead to better performance. Or if possible you could omitt the wait step and just create a process that waits for 100 messages and then processes them.
Regards
Christine -
Help needed in Multiple Receivers sceenarios using BPM
Hi,
I am new to BPM. As per my requirement, based on a business logic i may split the messages into two at message mapping. If i have spitted the messages into two, it should go to different receivers. Or if my logic hasnt splitted the mesaage means it should go to any one of the receivers. I also expect response from the receiver system once its done successfully.
Could you help me how to do this using BPM?
Thanks & Regards,
Senthil.Hi,
You can do it without BPM also, by using MultiMapping. If only splitting is required then I would suggest not to use BPM since it will consume much memory. Instead you can use multmapping.
For Multimapping, go to messages tab in message mapping and select your different target structures and map it as per your requirement. In Integration Directory, go to advanced Interface Determination and proceed.
Br,
Madan Agrawal
Edited by: Madan Agrawal on Feb 12, 2009 8:25 AM -
Asynchronous, but need Ack without using BPM and IDocs.
Hi Experts,
I would like to do a scenario i.e., "Asynchronous communication, but need Acknowledgement without using BPM and also without using IDocs whether it is sender side or receiver side". Please help me.
Thanks in advance
Srihari.Without using BPM will be little longer process. But the alternative way is to add one more receiver in the receiver determination and send some file to that location with the actual mapping getting executed for the actual receiver. and in the second interface you can get the file created at second receiver back to the source location. But this will be little long as compared to synchronous scenarios.
Flow:
Source
Receiver 1--> Actual mapping as per requirement
Receiver 2(For Ack)--> Create a mapping with blank file sent to Receiver
Receiver 2-->File Adapter--> Source through 2nd mapping/interface and keep the File adapter pooling interval around 5 sec or less so that you can get the file back to source location.
Regards
Anand -
Message Spiltting Without Using BPM in XI-7.0
We are using XI-7.0.
We need to spilt the message from 1 to many without using BPM based on following conditions.
We need to spilt the one message in many messages depending on the segment records of ZORDER3 and ZORDER2.
If IDOC message do not have segment ZORDER3 then message needs to be spilt based on the segment records of ZORDER2.
In the following example, one IDOC message would come from SAP system and that message needs to spilt into 7 messages for the vendor's system.
Any help will be appreciated.
<u>Source message: IDOC-ZORDER</u>
<i>Segment:ZORDER1(Max occ-1)
PO:4600000010
LineItem:00010
Plant:5000
Segment:ZORDER2(Max occ-999)
ServiceCode-100000
Segment:ZORDER3(Max occ-99)
CostCenter:CC123456789
CostDesc:CCTest1
CocstCenter:CC23456795
CostDesc:CCTest2
WBSElement:WBS45698712
CostDesc:WBSTest1
WOrderNo:WO56987412
CostDesc:WOTest1
ServiceCode-200000
Segment:ZORDER3(Max occ-99)
CocstCenter:CC78956795
CostDesc:CCTest7
WBSElement:WBS492871
CostDesc:WBSTest5
WOrderNo:WO98757412
CostDesc:WOTest6
<u>Target Message Structure</u>
POData(1:1)
Level1(1:1)
PO&LineItemNo:460000001000010
Plant:5000
ServiceCode-100000
Level2(1:1)
costobjectID:CC123456789
costobjectDesc:CCTest1</i>Thanks in advance!
MPMrudula,
If you give the target structure and occurrences of it , then it will be more helpful. Also please quote on wht basis the message needs to be splitted, coz the condition is not clear, Please give the condition too.
Best regards,
raj. -
Multi-Mapping and Message Split using BPM
Hi All,
Could anyone pls let me know clearly how message mapping can be done for this weblog
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
Thanks,
RamHi,
When you are doing Message mapping after adding the Messaget types for source and target messages. You can click on the "" button in the target message and add one more tab. You can go to Message tab as shown in the 5th image and click "" button to add one more message type. Then do the mapping as usual.
<b>Based on the value of the element(name), the node of input(details)should be directed to one of the two message types</b>
Here in this blog it is done based on the Name.
You need to use IFTHENELSE boolean function and do the mapping.
Thanks,
Prakash -
Hi,
Current Interface Flow - File (xml) to Idoc (single Idoc type)
Thirdparty sends a File for Goods Receipt. This file may have multiple orders.
Orders are sorted in an xslt by ORDNUM. Each record has a delivery type (Deliver Type PO or Delivery Type STO). For each order Graphical Message mapping occurs.
In case of PO, inbound delivery number and item number have to be received from ECC via an RFC call and passed to VBELN and POSNR. While in case of STO, source field ORDNUM and ORDITEM are passed to VBELN and POSNR. (RFC call happens only for POs, not for STOs)
In case of STO, TCode will be MB0A.and IDoc would be WMMBXY (As is the case right now)
In case of PO, there may be two cases -
a) There is at least one response from ECC for all the line items inside an order --> in this case TCode will be MB0A and IDoc is WMMBXY .
b) If there is no inbound delivery number for any line item from ECC inside an order --> TCode MB01 will be used and IDoc used is WMMBXY
So for all the above cases Target IDoc is WMMBXY.
Changes to be done - Now File (xml) to Idoc (Two different Idoc types, WMMBXY and DELIVERY03)
Now there is an additional requirement that I will be using an additional IDoc (DELIVERY03) in above case a).
I want to use BPM in this case
1) RFC call in message mapping to get the inbound delivery number (for POs only) (Should be before the message enters BPM)
2) Separating the messages based on IDoc type
3) Interface / Message mapping for each IDoc type
4)Send the message to ECC
Please suggest how to proceed with BPM
Thanks,
Varun
Edited by: Varun Reddy on Feb 4, 2011 4:47 PMHi Varun,
Follow this thread... You have answer for this.
This link gives design ideas for your requirement
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
Follow Bhavesh discussion. It might be helpful too
Message Split: File to Multiple IDOC Types -
File to SOAP Scenario Using BPM
Hi,
I am doing File to SOAP scenario using BPM.
while doing Integration Process in IR, i got the following error message
"Expression of simple type xsd:string expected"
But i have given xsd:string in the correlation element as well as in Data types.
I dont know why it is getting the error.
could you anyone please help me to sort out?
Regards,
Sai Ch.Hey,
Check in the correlation editor, where you define the condition.
Whether the data type of the XPath is string and whether it matches with the data type of the messages that you have selected.also make sure the type of the correlation variable is string.
regards,
Milan -
N:1 Multimapping using bpm
hi all,
i am doing multiple file to single file that is n:1 mapping using BPM. please send me link for the same or give some suggestion regarding this.
thanks ,
Anup BanerjeeHi,
You can use any of the collect message pattern provided. In your case any one of the following can be used:
1. BpmPatternCollectMessage
2. BpmPatternCollectTime
->There are some patterns in SWC : SAP BASIS --> namespace : http://sap.com/xi/XI/System/Patterns In ESR of your SAP PI System.
-> please go through this blogs it will help you.
Correlation Runtime Behavior of BPM.
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/10526. [original link is broken] [original link is broken]
In Configuration By using of BPM.
-> two communication channels one for sender and one for receiver
-> 2 receiver Determinations
one for Sender to IP.
One for IP to Receiver.
-> 2 Interface Dtermination
one for Sender to Ip
one for IP two Receiver
-> 1 Sender agrement.
-> 1 receiver agrement for (IP to Receiver)
regards,
ganesh. -
Idoc(receiver) message splitting using BPM
Hi,
could you provide some blogs which is useful for Idoc (as a Receiver) message splitting (1:N scenario) using BPM.
I have gone thru some of the Blogs, i didn't find good one according to this scenario.
Thanks
PrabaHi Michal,
Thanks for ur reply.
You said " if you have one message and want to have multiple IDOCs
there is no need for a BPM -
you just need to change IDOC occurance - that's all"
I agree to your point.
My scenario is more or less same but "With single message , i need to generate multiple Idocs" based on synchronous proxy response from R3. That is the reason we already gone with BPM.
Already i used the BPM in my interface due to req. It was working. Earlier i was posting single Idoc to R3 with multiple Header segment (each Header segment has one quantity)
Now due to req. change, for each single quantity (quantity is my source Message Type field), i need to post single Idoc to R3 if i get response from R3.
My XI version PI 7.0 SP14
Idoc structure:
<xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</xsd:complexType>
- <xsd:complexType name="WPUWBW.WPUWBW01";>
- <xsd:annotation>
<xsd:documentation>POS interface: Upload goods movements</xsd:documentation>
</xsd:annotation>
- <xsd:sequence>
<xsd:element name="EDI_DC40" type="EDI_DC40.WPUWBW.WPUWBW01"; />
<xsd:element name="E1WPG01" type="WPUWBW01.E1WPG01"; minOccurs="0"
maxOccurs="9999999999" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</xsd:sequence>
<xsd:attribute name="BEGIN" type="xsd:string" fixed="1" use="required"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</xsd:complexType>
</xsd:schema>
Already I am using this Idoc structure in various interfaces also. If i edit the occurance of the this Idoc and import in External definition with same name, I feel it afffect mapping in other interfaces also.
Inputs are highly appreciated.
Edited by: Prabaharan Rangasamy on May 22, 2009 4:14 PM -
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. -
1:N mapping without using BPM -- IDOC to multiple files
Hi all,
I am facing a problem while sending multiple files,
I need to send files ( File1, File2 or FIle3) ...
I was able to successfully send the first 2 files and along with it the 3rd file is being created without any data... How to stop this file( either file2 or file 3 should be created) in creating..
I have done the sceanrio like this, )ALL the source and target files are XSD's imported)
In the Message Mapping <b>Messages Tab</b>
<b>Source is AFS_DELVRY03 occurence is 1,
Target files
rootI8 occurence is 1,
rootI9 occurence is 0...1,
rootIB occurence is 0...1</b>
I have done all the maping part , problem is all 3 files are being created(eventhough 2nd or 3rd has no data) , I need rootIB, either rootI9 or rootIB based on condition,
So any one has done the similar scenario, If please suggest me how to hadnle so that only 2nd or 3rd file should be created,
In Interface Determination i have selected the extended option also...
Should i do any specific handling in the Configuration part or should i create more than one mapping?..
U r suggestions are welcome and will be rewarded with points,
Regards,
sridharVenu,
Using a BPM, you can do the mapping / Split as needed and then send the files individually, using a Sens Step as needed. There are multiple ways in which this can be done with a BPM.
But, for a solution without a BPM, as the requirement is such that only 2 of the 3 target messages need to be created, multimapping would not work and the need for conditional routing occurs.So, this would require additional mappings.
The solution is either use a BPM or do the logic using Conditional Routing. Ofcourse the second solution requires 3 mapping programs , but you are avoiding a BPM which can cause a perfromance bottle neck.
If perfromance cannot become a bottle neck, then using BPM would make much more sense , but again it all boils down to the exact requirements and the feasibilty of the solutions!
Regards,
Bhavesh -
Multi-Mapping in IDOC without using BPM ?
Hi ,
Please check ..
Can below given blog can be used to achive Multi-mapping in IDOC without using BPM ?
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Regards
PSSolved .. Thx every one .
Approache Used :
1. Created mapping with Change signature on target Message type(idoc) with 1..N Occurence.
2. Operation mapping with change Occurence on Target Operation(1..Unbounded) .
3. Used same Operation mapping in Interface Determination with 0..unbounded(Multiplicity). -
Dynamic Receiver Determination [W/O using BPM] Sync interface
I have been exploring options w.r.t. performance sensitive service interface.
This has following issues :
1. Gets a org code looking up instance and route the msg. accordingly to an RFC and get response back.
2. Prominent answer would be Enhanced receiver determination step but that doesnt work in sync case.
3. Classic Receiver Determination needs the condition to be evaluated in source msg. which is not going to happen.
4. Use BPM i designed one but performance its not all acceptable it has a round trip of 10Sec.
are there any ways to overcome this ?Hi Bujji,
can you explain the point 1.
<i>1. Gets a org code looking up instance and route the msg. accordingly to an RFC and get response back.</i>
Thanks and Regards,
Himadri
null
Maybe you are looking for
-
Windows Vista not loading IPOD in itunes or explorer HELP!!!
Family just purchased a new HP pavillion w/ vista. I, myself, have a mac - i am LOST! We installed the latest ITUNES and checked all the drivers and every other option suggested online. We just can't get the ipod to be recognized on vista. The ipod i
-
When using spotloght to search my files for text within a scanned document, I may or may not find documents that were scanned by a scan program (ScanSnap) to a searchable PDF file on a firewire attached drive. Is there a specific manner that yeilds u
-
Values fall in and out of the 'box' of a field
I have fields that look like this |___IN|FO the INFO is inside the box for the first half and then appears outside the right side for the second half. This carries over from Live Previewer to .pdf files to printed reports. Any suggestions on how to b
-
Dropping signal when computer sleeps
I am having trouble with the wireless network dropping off every time the computer sleeps. Each time my iMac sleeps from inactivity when I start it up again I get a disconnect message and have to go through diagnostics to get the airport extreme to r
-
what are the things to note down for documentation on SAP projects