Receving two idoc in ratio 1:n and branch to 2 receiver
Hi All,
I need help to configure the scenario that I need to receive 2 idoc of different type one with 1 occurene and the other with n occurence. I configured BPM like this
1. Fork step with 1 receiver step in one branch and other receiver step inside the loop (because we need to sum the value of one single field f1 using container step) in the other branch. for the loop and receiver step correlation condition is specified.
2. Switch step for 2 branch with the correlation condition of summed variable. In this if condtion is satisfied we need to send file to both email and file adapter. so used fork step with sender in 2 branch else if the condition is not satisfied only one sender to the mail adapter.
please let me know whether this BPM configuration is correct . because it is picking the file but there is an error in BPM. Please let me know how to check in which step the error is.
Regards,
Dhill.
Hi Ahmad,
I gone through the blog but here we have multiple sender but not multile receiver... In my case i have multiple sender (two idoc n:1 occurence) and multiple receiver (file and email).
If need to sum the value of the field in the idoc which comes n times and then i need to compare the thing with the field in other idoc whosse occurence is one..
if the above condition is satisfied i wil be sending for the both the sender file and mail if not only to mail. Can you please tell me can we do it without BPM.. because now i have totally 3 sender.. 2 in fork and 1 separately.. but all the sender the message type is same.
Now i don't know whether to specify the communication channel for the sender to differentitate between the two sender.
Regards,
Dhill.
Dhil Kumar
Similar Messages
-
I entered two itunes gift cards this morning, and still have not received a conformation number nor has it shown up in my itunes account. What should I do?
Hello Tntingey,
The gift card you've given your father must be redeemed via the steps below.
Redeeming iTunes Gift Cards and content codes
http://support.apple.com/en-us/HT201209
Cheers,
Allen -
Compare two Idoc's and send to te recievers as per the Condition.
Hi,
Scenario: Sender are a Idoc's and Receiver is Mail and File.
Sum the value of field1 of IDOC1 loop and compare with the field 2 of IDOC2. If the Condition satisfy send the data to file and mail reciever else send to only mail reciever.
I tried using a BPM. Steps used in BPM are as follow:
Step: 1
Fork -- with two branches.
Branch 1:loop1-- reciever1 -- container
Branch 2:reciever2
Step2:
Switch with two branches: Check the compare condition of the two Idoc
Branch 1:
Fork with two branches with send step with mail and file recievers
branch 2: Only mail reciever.
However if the condition is true or false the information is send mail to reciever.
I tried with the above steps, but failed.
Any changes required, please let me know.
Regards,
Manojsumit,
I recieve N number of IDOC1. I need Sum the value of field1 of IDOC1 loop and compare with the field 2 of IDOC2.
I tried using a BPM . Steps used in BPM are as follow:
Step: 1
Fork -- with two branches.
Branch 1:loop1-- reciever1 -- container
Branch 2:reciever2
Step2: Transfomation with Mapping program, source and Target message
Step3:
Switch with two branches: Check the compare condition of the two Idoc
Branch 1:
Fork with two branches with send step with mail and file recievers
branch 2: Only mail reciever.
When i checked with workflow i observe that that the message is not moving out of transformation step.But the message mapping is succesfully tested
Thanks,
Manoj -
Hi
We would like to monitor the idoc hit ratio (No of idocs posted successfully in the first instance/Total No of Idocs) to see the success rate of our interfaces.
What is the best way to get this data?
Is there any table which gives all the statuses of the idocs. For eg If a idoc had initially failed (status 51) and then it was reprocessed and was successfully posted (status 53), is there any table which gives us this data?
Thanks in advance.
MickThanks Sergey.
I checked one idoc, which was created on 29.01.2010 (29th January 2010). However when I use table EDIDS, with field CREDAT as 10.02.2010 (10th Feb, 2010), it shows me 2 entries for the above mentioned idoc. This is because it was reprocessed on 10th of Feb.
Is there any way to get the idocs created on say for eg 0n the 1st of Feb, 2010 along with the entire history of statuses on the 1st of Feb (all the statuses that the idoc went through on the 1st of Feb)?
Mick -
Two idocs of same type for each line item
I am new to SAP PI and seeking your help in the following scenario
legacy -> SAP PI -> branched to two idocs in ECC
The scenario is that a fixed length flat file coming from Legacy wil contain some line items but each line will be a separate invoice ..the twist . since it is a financial posting each invoice(line) has to be posted twice in the same IDOC but different logics which implies that for each line in the file there will be two IDOCS created in ECC of the same type, where one would be the AR posting and the other would be the AP posting
How can i make this happen without BPM ??
I have referred to a blog 1 : n possible in PI without BPM but here it is a combination of 1:n and also splitting of the line and posting it to two IDOCS simultaneously
since the transformation logics are different will I have to create two mappings but how and where to use them ??
Can I please have someone help me with the steps in ESR ad ID
Kindly help
Thanks
RohanThanks Prateek i have done that but
" Map the occurrence of line items to the node Idoc at the target structue and then multiple idocs will be created "
is what iam unable to do
In the mapping i have to create two idocs per line item and this is creating just one
my source structure is like this
MT_abc 1.1
Invoices 1..unbounded
field 1
field 2 etc
and the target is
ACC_DOCUMENT02 1..1
IDOC 1.unbounded
and i have mapped invoices to IDOC
now for testing in the test tab of mapping
how do i test if i will have two IDOC if i get one line item ??
Edited by: RohanS on Jun 18, 2009 2:06 PM
Edited by: RohanS on Jun 18, 2009 2:08 PM -
BPM startting with two IDoc Types
Hi All!!
I have designed a BPM starting with two IDocs (MATMAS05 y CLFMAS02). Is designed with two start process in a switch. When one comes, wait a minute for the other. I'm not sure what IDoc comes first to the process, the I can lose data.
Somebody has any idea tto encapsulate the infornmation of the 2 IDocs without a ZIDoc?
Thanks and regards,
Manuel Míguez.Hi,
sounds like a
> Collecting and Bundling Messages - Multiple Interfaces
scenario like described here:
http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/frameset.htm
Regards
Patrick -
Does LR 5 handle a dual monitor setup with different aspect ratios (16:9 and 16:10)?
I'm planing to buy a 27" 16:9 monitor and use it as primary together with a 22" 16:10. Does any have any idea?
ThanksMoreover, the two monitors can have completely different characteristics. As always, you really need to calibrate/profile any monitor (with a hardware tool - Spyder, Colormunki etc). That's no more important with two monitors, but you see for sure if you don't, as two dissimilar monitors will then probably look different.
-
Two idocs with same idoc number in idx5
We are using an idoc to file scenario where idocs are bundled using bpm and posted to ftp. here the issue is we are getting two idocs with same idoc number in idx5. due to which the file in ftp is getting overwritten.
Could anyone suggest me what to do in this regard.Hi,
>>>check your sender system is sending same IDoc twice ?
if you send the same IDOC twice they both get different numbers as IDOC number is taken from the IDOC num range
unless you're able to send the same IDOC twice with the same IDOC num somehow
Regards,
Michal Krawczyk -
EDI Seperator Channel Issue - Single EDI File is Creating Two IDOCs
Hi Experts,
We are facing a strange issue in our project. We are working on SAP PO 7.4 SP06. Our's is an EDI to IDOC Scenario. We are using standard EDI XSD's generated by B2B 2.0 Cockpit. Since yesterday our Quality server is behaving strangely. Its processing an EDI File and generating TWO IDocs out of it.
When we run the same EDI File in our DEV Environment it executes perfectly and creates only ONE IDOC.
Signature in OM and it is 1 to 1 and in MM Target IDOC header is mapped to "Constant".
Our Scenario is :
1st IFLow : File to EDISeperator
2nd IFlow: EDISeperator to IDOC.
Appreciate your valuable inputs.Hi,
Please do check your input file(s). Could be that you offer an EDI interchange, containing multiple messages, to SAP PO.
Also, maybe in the mean time, some objects or configuration was changed.
Kind regards,
Dimitri -
Steps for receving/sending IDOC using ICAN
Hello,
Can somebody please send me the detailed steps required for receving an Idoc from a SAP r/3 system and then sending the same idoc to another sap r/3 system? What all options are available for this? I'm bit new to this and have looked at all the documents available with Ican . These documents have some information but doesn't clearly state the steps for a new user like me.
I'm using ICAN 5.0.5 version.
Regards,
DeepakHello Chris,
Here is the error I receive in my log file after a CREMAS03 IDOC is sent to the RFC destination created for my program id. (Since this error is coming on the FileClient_1.setByteArray( input.getIDOC_INBOUND_ASYNCHRONOUS().marshal() ) it's not creating the file.)
2006-08-30 14:58:00,633 INFO [JCO.ServerThread-2] [com.stc.is.naming.NamingEnumerationImpl] [] init(), list size: 1, list: [Service1: javax.naming.LinkRef]
2006-08-30 14:58:02,258 ERROR [Thread-69] [SAP_BAPI_TRFC_JCE2.Service1.Collaboration_1_Runtime_Handler] [] Cannot access protected JCO.Table data
java.lang.RuntimeException: Cannot access protected JCO.Table data
at rFC_IDOC_INBOUND_ASYNCHRONOUS.RFC_IDOC_INBOUND_ASYNCHRONOUS$IDOC_INBOUND_ASYNCHRONOUS.convertTablesToIDoc(RFC_IDOC_INBOUND_ASYNCHRONOUS.java:2005)
at rFC_IDOC_INBOUND_ASYNCHRONOUS.RFC_IDOC_INBOUND_ASYNCHRONOUS$IDOC_INBOUND_ASYNCHRONOUS.marshal(RFC_IDOC_INBOUND_ASYNCHRONOUS.java:1969)
at SAP_BAPI_TRFC_JCE2.Collaboration_1.IDOC_INBOUND_ASYNCHRONOUSReceive(Collaboration_1.java:10)
at SAP_BAPI_TRFC_JCE2.Service1.Collaboration_1_Runtime_Handler.handleRequest(Collaboration_1_Runtime_Handler.java:334)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.stc.is.ejb.slsb.StatelessSessionContainerService.invokeEJBMethod(StatelessSessionContainerService.java:262)
at com.stc.is.ejb.BaseBeanContainerService$ContainerInvocationChainListener.perform(BaseBeanContainerService.java:1038)
at com.stc.is.listener.TransactionInvocationChainListener.perform(TransactionInvocationChainListener.java:236)
at com.stc.is.listener.PoolInvocationChainListener.perform(PoolInvocationChainListener.java:85)
at com.stc.is.listener.JNDIInvocationChainListener.perform(JNDIInvocationChainListener.java:67)
at com.stc.is.listener.IIOPInvocationChainListener.perform(IIOPInvocationChainListener.java:62)
at com.stc.is.listener.InvocationContextInvocationChainListener.perform(InvocationContextInvocationChainListener.java:59)
at com.stc.is.listener.SecurityInvocationChainListener.perform(SecurityInvocationChainListener.java:195)
at com.stc.is.ejb.BaseBeanContainerService.invoke(BaseBeanContainerService.java:457)
at com.stc.is.proxy.ContainerInvokerService.invoke(ContainerInvokerService.java:365)
at com.stc.is.proxy.GenericProxy.invokeContainer(GenericProxy.java:329)
at com.stc.is.proxy.LocalStatelessSessionProxy.invoke(LocalStatelessSessionProxy.java:96)
at $Proxy12.handleRequest(Unknown Source)
at STC_MDB__SAPBAPI_IN_Service1$1.run(STC_MDB__SAPBAPI_IN_Service1.java:325)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at rFC_IDOC_INBOUND_ASYNCHRONOUS.RfcRepositoryBase.getTableData(RfcRepositoryBase.java:251)
at rFC_IDOC_INBOUND_ASYNCHRONOUS.RFC_IDOC_INBOUND_ASYNCHRONOUS$IDOC_INBOUND_ASYNCHRONOUS.convertTablesToIDoc(RFC_IDOC_INBOUND_ASYNCHRONOUS.java:2001)
... 21 more
2006-08-30 14:58:02,289 INFO [Thread-69] [SAP_BAPI_TRFC_JCE2.Service1.Collaboration_1_Runtime_Handler] [] ----- Transaction will be to rolled back--------
Any Ideas?
Cheers,
Deepak -
Hi all,
How to compare two IDoc's. If the both the IDocs are are of same type, i want to distinguish the data in those two IDocs.
Thank you in Advance
Regards
HarshaHi Harsha,
Transaction WE05 will help you out.You should first know some details like the
iDoc type, partner, the date/time and maybe the iDoc #. There can be many iDocs
generated/processed per day and without having some info to start with,
one will never find anything useful. Filter what you can, and then
navigate in the left hand frame/double click on the results lines in the
right hand frame to drill down. Eventually you will see the single iDoc
with all the many 'segments' available. Expand the 'data records'
branch (and sub-branches) to see each 'segment' and find the data fields
& values (these will appear in the lower right hand frame).
Reward points if helpful..
Regards,
Goutham. -
What should be the translation ratio between KRW and TWD
Hi,
What is the translation ratio between KRW and TWD I should maintain on transaction OBBS.
Please advise.
Thanks...
Ram.Strictly speaking, the translation ratio depends upon what exchange rate you are comfortable with. One can only suggest - the System owner has to be the judge of what ratio they want to maintain the ratios at.
Due to the prevalent values for the two currencies, I suggest a ratio of KRW to TWD of 100 : 1.
Of course, that doesn't mean you can't use 10 : 1 - remember it's at best a recommendation / best practice.
Please remember to assign points if found useful.
Regards,
Gulshan -
I put in two cds on my itunes library and they wont sync to my ipod
I put two cds on my itunes libary and they wont sync to my ipod
What happens when you try to sync?
Does other media sync to the iPod?
Was the iPod previous synced to another iTunes library/computer?
Have you successfully synced from this iTunes library/computer before?
Do the songs play in iTunes?
Do you have the right boxes checked to sync?
iTunes: Syncing media content to iOS devices and iPod
Try syncing using the manual method -
when i open reader two AcroRd32.exe*32 processes open and do not close after closing the reader. i have seen 10 AcroRd31.exe*32 processes open. do I have an undetectable virus or is the software just poorly written and tested. I am running Windows 7 premium that is fully up to date and the reader is up to date also. i have even deleted reader and reinstalled it.
All 8 Processors activity jumps really high while AcroRd.exe*32 is running with no pdf documents open and as soon as i end the processes the processor activity goes down to near 0 according to the performance tab in task manager. My fan also kicks on because of all the heat from the processor.open acrord32.exe and go to edit, preferences, internet, and then uncheck "Allow fast web view" and "allow speculative downloading in the background". This will save your processor and keep your system from locking up from all of the acrord32.exe processes running.
-
How can I have one "family" Apple ID and two icloud accounts one for me and one for the wife?
MacVirgin!Just got new Air and iMac (iphones on the way). How can I have one Apple ID but two iCloud accounts (one for me and one for my wife)? I have set up one iCloud account and am attempting to share contacts between iMac, iCloud and Air, however iMac and iCloud are not in sync? I must be missing something very simple.
ok. I set up the imac and Air with one user account. this was used to activae iCloud on both machines and I have now se up one iCloud account and managed to share calander and contacts between the two. Ultimately both me and my wife will have an iphone and we wish to share calenders and contacts. We both also use the imac and air on one user account. It looks like I need to set another user account then activate iCloud in my wifes Apple ID
Maybe you are looking for
-
PO line item qty dosnt come in cumulative manner
Dear all, When production runs MRP , sometime the indent for one material comes many times and when we are making PO for those item it does not club those material qty in PO. In this case the single material displays many time as different line item
-
Best practice to configure a web server which hosting more than 1000+ Websites.
We are deploying a new server for our shared clients. We have a new branded server with good config. Server is hosting IIS,MySQL,Mailserver is this ok. Or should i keep mailserver on different server. Also should i change the installation path of iis
-
Hi, Can I save pictures in custom table ? If yes, how to do that? Regards, Beena
-
Sent output from excel to query builder
Hi all, I am usung BO XI 3.0. I have some query in query builder, how can I sent that to excel output, without doing VBA.
-
I can not copy and paste in the field of a email, but it will paste in the subj line
I right click to copy & paste and try to put it into the field of the email, and there is no option for paste in the options box. but I can paste it in the subject line of the email. Everything works fine in Explorer.....