on 05-12-2010 10:13 AM
Hi All,
Im working on a IDOC to multiple files scenario.
There is a single IDOC WP_PLU03 that is triggered as a batch job every night . So there is 1 outbound interface (IDOC)
There are 2 types of stores (Premium stores and Regular). So if the Store number in IDOC (SNDPRN) is 101 or 102 then the Premium Store inbound interface(MI_PREMIUM_IB) should be called and filename should be prem.00611 or premium.00612 . And if any other Store number it should call regular store inbound interface(MI_REGULAR_IB) and file name should be regpluXXXXX.txt where XXXXX is store number . So there are 2 inbound interfaces .
Apart from this i have 2 questions -
1. In extended interface determination, I do not have the condition editor . How do I configure that for SNDPRN = 101 or 102 it should call (MI_PREMIUM_IB) and for others it should call (MI_REGULAR_IB)
2. Will I have 2 receiver communication channels, since I have 2 inbound interfaces?
Jo
Edited by: johannd on May 12, 2010 11:13 AM
Hi Johann,
There are some questions that you should clarify to us before we can answer.
1) How many store numbers can occur in ONE idoc?
2) Can you tell us if there is a possibility of having multiple output files , simultaneously?
I assume that you will have either a Premium store or a regular store but not both at a time.
In such case, you just need a condition in the condition editor of the receiver determination.
And yes, you need two communication channels, if you are transferring the file to two file systems/ locations.
And to get the file names in the specified format, you should use Variable substitution concept.
Regards,
Ravi Kanth Talagana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys,
Thanks for the direction .
I didnt mention in my original message that I have a single receiver (a folder on my receiver system) where the files need to go.
1) How many store numbers can occur in ONE idoc? -
There could be several , between 2 and 35
2) Can you tell us if there is a possibility of having multiple output files , simultaneously? -
Yes, I will need multiple output files, simultaneously.
I assume that you will have either a Premium store or a regular store but not both at a time. -
This is correct .
Not sure about you, but I am 100% confused
May be instead of using modules he can opt for Variable substitution, when multi-mapping is to be used.....having Interface Determination in Standard Mode and then including two different Mapping Programs one for each of the receiver structure can help.....will it work?
Thanks,
Abhishek.
> May be instead of using modules he can opt for Variable substitution, when multi-mapping is to be used.
Yes, when the filename is part of the target structure, then this is the better solution.
> having Interface Determination in Standard Mode and then including two different Mapping Programs one for each of the receiver structure can help.....will it work?
Hm, here he can have one two files as result, but the last answer was:
"Yes, I will need multiple output files, simultaneously."
whatever that means
> 1. In extended interface determination, I do not have the condition editor . How do I configure that for SNDPRN = 101 or 102 it should call (MI_PREMIUM_IB) and for others it should call (MI_REGULAR_IB)
Do not use "extended" in this scenario. Do standard interface determination and add both target interfaces here.
> 2. Will I have 2 receiver communication channels, since I have 2 inbound interfaces?
No, this is not necessary.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can give your condition in Receiver Determination.
Under configured receivers you give both of your receivers and then specify a condition at the left side using XPATH.
You can specify condition on a specific field using XPATH.
yes you should have two receivers communication channels.
Regards
Dheeraj Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create two different receiver services for this....in receiver Determination make use of the condition and then route it to proper receiver and then maintain a different set of Interface Determination, Receiver Agreement and Receiver Channel.
You will require different channels not because the Interfaces are different but your naming convention is different.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.