One source File should be sent to Receivers based on Message type

Hi All,
I am facing with a problem, the scenario is File to IDOC...
The file which comes has different message types if Message type is VERIFY then IDOC <b>_-AFS_-DELVRY03</b> has to be triggered and if Message type is MIGO101 then IDOC <b>_-AFS_-WMMBID02</b> has to be triggered,
Source message is same for both the idocs and mapping is different...
SO please any one can suggest how to proceed in Integration Directory configuration...
Thanks and Regards,
sridhar

Hi,
Your query is a little ambiguous.
You say, that the message type can be either VERIFY or MIGO101.
You also say that the source message is same for both the idocs. This is not very clear.
In case, you have the same message type, and VERIFY and MIGO101 are two fields/segments in this message type, then all you need to do is check if these segments exist, in interface determination.
Click the + symbol in the inbound interfaces section.Enter the following:
Condition: MT/VERIFY ex   If so, call IMapping which maps message to idoc AFS_-DELVRY03. Inbound interface for this would be idoc AFS_-DELVRY03
Condition: MT/MIGO101 ex If so, call IMapping which maps message to idoc -AFS-WMMBID02. Inbound interface for this would be idoc. -AFS-WMMBID02.
In case you have two different message types(which means you have two different source messages), you could create two different scenarios.
Regards,
Smitha.

Similar Messages

  • How do i create one source file that feeds two users on the same pro book?

    how do i create one source file/folder of photos that feeds two users on the same pro book?

    Well you can do exactly the same with a folder of photos, just put in the Users/Shared folder.
    Iphoto is a mite more complex than this. It's a database and so there's a bit more involved.
    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

  • Can you code 2 classes into one source file?

    Can you have 2 classes coded in one source file? If so, do you end up with 2 .class files after the compile?

    yes you can code 2 classes in one source file. I
    believe that you have to reference one class is an
    "object" class of the class under which you save the
    file as.
    Example:
    File name is A.java
    class A{
    class B{
    When you want to refer to class B, you have to say
    A.B ( eg: A.B ab = new A.B() ). The class file(s)
    will be A.class and A$B.class.
    This is what I recall at best at the time. good luckI presume you mean when one is an inner class? Otherwise:
    public class one {
      one() { System.out.println("one");
      public static void main( String[] argv ) {
        new one();
        new two();
    class two {
      two() { System.out.println("two");
    }Will work fine, and will create one.class and two.class. But that does not mean it is a good idea to do it ;o)

  • How can I put more than one source file when I am creating my installer from LV 7 Express

    Hi,
    I am creating my installer for my application and I would want to add more than one source file at once, how could I do it?
    Thanks,
    ToNi.

    Hi,
    I'm referring to the first executable. In other words, I have my application and I want to build and executable of it. Then I go to "Tools->Build application..." and then in the source files tab I can add my vi files but I want to add more than vi at the same time (at once) and not one by one. How can I do it?
    And my second question is: When I make the installer for my application I save the configuration in a build Script file (.bld) in order to use it whenever I want. Then If from another computer different from the one where I generate the .bld file, I load it, LV tells me that something is wrong (LV says there are some errors in some VIs but It doesn't tell me what files are). Why?
    Thanks in advance,
    ToNi.

  • Two public classes in one source file

    Can anyone please explain what is the exact reason why the java source file name should be same as the only allowed public class name in the source file. Answer only if you know the correct answer. No gusses please. I read the other postings on this topic. None of the answers were correct.

    One reason is that some RISC processor architectures
    (like those Sun uses mostly) have hierarchical memory
    architectures. This hierarchy is divided into global
    modules and local (global-accessible) submodules. The
    advantage of this is that the processor needs lesser
    memory access "points" (handles), as the modules
    delegate CPU calls to the submodules.
    The java compiler can utilize this and increase
    performance by loading the entire source files into
    the memory and assign them a CPU handle (the module
    ID). It'll be later used for linking, e.g. The public
    class in a file will be loaded as a module and gets
    the handle, all other non-public classes in that file
    will be submodules.
    If there is no public class, a generic module will be
    used, so that's no problem. But if there are multiple
    public classes, you'd end up with several modules and
    just one handle to assign, thus having ambiguity. The
    CPU won't be able to address the correct module.
    This all only applies to RISC CPUs, but for obviuos
    cross-platform compatibility reasons it was added to
    the standard - it doesn't hurt the other
    architectures, but helps those with hierarchical
    memory management.Thanks, but the rooster explanation makes more sense to me.
    Now could someone please express it a la Majinda?

  • Why we can have only one public class in one source file

    why we can have only one public class in one source file

    When the java compiler is run it looks for classes referenced by the classes you are directly compiling. When looking for these referenced classes it looks for source as well as class files and compiles them automatically if the coresponding class files are missing, or older than the source.
    In order to do this it must be able to work out the source file name for any given class which might be referenced from another (the rule also applies to package level access).

  • How can multiple users work on one source file?

    Hi There,
    I'm currently working on a project that I would like to hand-off to another person to finish. I've tried sending the source file located in at: Home>Movie>iMovie Projects but apparently that doesn't work as the second user is unable to work on the project.
    Is this achievable? If so, how?
    Thank you in advance for any help! It's greatly appreciated =)

    For iMovie 09, you:
    You have to plug in an external drive, and within iMovie, drag the project file to the external drive. It will ask you if you want to "copy project" or "copy project and events".
    If you want to move the project and not just make a copy, then hold down the Command key while you drag the project file to the external drive.
    iMovie 08 does not have the capability of having project files on the external drive, but you can try to manually copy it to the external drive with the finder, and then move the associated events +from within iMovie+ (critical for the other machine to find the files) and when copying the project file to the other computer, it would be critical to find the iMovie project folder in the Movies folder and put it in exactly the same place on the other machine. Otherwise iMovie won't find it.
    The way you want to use it, iLife09 might be worth the upgrade, especially if my suggestions don't work.

  • Why the name of our source file should be same as the 'public class'  name

    Hi all,
    I am very new in java and have a question in my mind.
    I read somewhere , our souce file name should be same as public class in that file.
    but i don't know the reason for this.
    Can anybody help me out with this .
    Thanks,

    HMRPanchal wrote:
    Thanks,
    Can you give me some link or documents from where I can go through this article.
    because I am not clear with what you are saying( makefiles , automatic recompilation etc).
    I am a new in Java .The fact that you don't have to worry about those things is what makes it A Good Thing.

  • Multiple Formats in one source file...

    I'm trying to load data from flat files that have multiple record formats within the same file.  Does anyone have experience with this scenario?

    Greetings Post Originator,
    This post is older than 60 days and there are no entries in the past 30 days.  Based on the content discussed, it appears that you question has been answered. This message is being marked as answered and points are being assigned if available where possible. 
    Thank you for being an active participant in the SAP Forums,
    Rob Siegele
    Forum Moderator
    SAP Americas

  • I have PE11and LR5 and want to use/create one catalog or source file.

    When I use the LR5 function "upgrade PE catalogue" for use in LR5 it works very well (first time! great new function) - however - it does not recognize the 6000 photos the still are in the subfolders from "my pictures" like c:/my pictures/adobe/digital camera/date these files where created by earlier PE versions.
    So the question(s) are:
    1. How to move all the photos in sub folders from "my pictures" - without having to do that one by one - so the LR5 function "upgrade PE catalogue" will recognise all the photos
    2. Is there another way to build one source file "my pictures" to use both in PE11 and LR5 without loosing metadata - qualifications and tags. I have a large collection of photos (>15.000) as I work on (semi) professional base since a number of years.
    thanks to all the wizards....

    No the left behind photos in the subfolders were not imported in Lightroom
    tx for your interest
    I don't think you answered either of my questions, and thus I am not able to help further.
    So, to ask again, hoping for a direct answer this time:
    1. Are these "left behind" files in formats recognized by Lightroom? What are the formats of these photo files?
    2. Are you saying that (other than for these 6000 files that were not converted), the metadata did not show up in Lightroom?

  • Parser converting java source file

    I want to build a parser, which reads a java source and adds stubs at the start and end of a method, which might be for a public/protected/private method.
    This public/protected/private keyowrd , and source file will be passed as command line arguments to the parser.
    The generated output java source file should be similar to input source file with stubs.
    For example , we have a java source file( A.java) file as specified below
    class A{
         public m1(int m1_a, int m1_b){  }
         protected m2(int m2_x, int m2_y){ }
         private m3(int m3_p, int m3_q) {  }
    parser public A.java;
    after parsing it should generate output source file as A.JAVA as specified below
    class A{
         public m1(int m1_a, int m1_b)
    {  System.out.println(" start of "A:m1"" +  time: +"parameters:" +" a="+a ," b="+b)
         System.out.println(" End of "A:m1"" + time: +"parameters:" +" a="+a ," b="+b)
         protected m2(int m2_x, int m2_y){ }
         private m3(int m3_p, int m3_q) {  }
    Are there any tools , example programs , tips on the above problem .
    Anticipating help at the earliest

    HI dcminter,
    I am not talking about performance tuning,
    I need to build a program ( tool) which add System.out.println() statements as specified above for specific methods ( which might be public/private/protected ) which will be passed to the parser along with the java source text file.
    This program(tool)should only convert from one java source text file (A.java) to another java source text (A.JAVA) file , by adding the extra System.out.println() statements.
    Please help in this regard about any sample or tool or tips in solving.
    Awaiting for ur reply
    --gvr123                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • BPM doubt - Retaining Source file

    Hi
    I am doing a BPM Asynch-synch scenario. I receive a source file, send the file to BPM where it makes sych RFC call. If the response is error then i have to write the source file which i received through RECEIVE step in an FTP server. My question is: How to retain the source file while it is sent to SAP for processing so that i can reuse the source file later?

    The container variable holding  the message after the receive step can be used to send the same received file to the  FTP server. Ur design would be: After receive step, there would be sync send step under exception branch. Whenever exception is raised, the flow ll move to exception branch where u may put a send step to send the data to FTP
    Regards,
    Prateek

  • Processing Mode = 'Delete'; Archive Faulty Source Files; Add Timestamp ?

    XI3.0 SPS 19
    For FTP Sender adapter, if Processing Mode is Delete, and you want to Archive Faulty Source Files with an added timestamp, it does not work (meaning it does not archive the faulty source file at all).
    Any suggestions?
    If I change the processing mode to Archive, it works. But my requirement is to archive only faulty files after adding timestamp and the source files should be deleted if processed.
    Thanks
    JB

    Hi james
    If you are using FCC or Modules then only Faulty files will be archived.
    The error that works with this should be a permanent error of file like field missing or compulsory field etc.
    if i understand correct you are trying to use Archive faulty messages in delete mode and you have FCC right ?
    I have also seen this behavior in delete mode it File adapter never archive. So it wont archive the faulty file as well.
    Thanks
    Gaurav

  • How to exclude src.zip with java source files from archive

    Hello All.
    Our team have to prepare our SCs (Sowtware Components) for using outside the company. Meanwhile our source files should be protected. We tried a lot of ways to remove all sources from SCA archives.
    This SC should then be integrated in third-party product.
    Using build options in compartments gives no effect.
    Any ideas?
    Thanks in advance.
    Maxim Maltsev.

    Thanks a lot.
    To make code invisible for customer we should build an assembly with build option "include_sources"=false.
    DCs in such assemblies won't be visible in inactive branch and could be used as non-editable in active branch of track.
    The task is settled - client can modify his own code and use our code only via used DC and their public parts, he is not able to see our code.
    Also customer can not see private sources as he gets assemblies without sources. Remember - public parts of type assembly shouldn't be of Source type.
    Maxim Maltsev.
    Edited by: Maxim Maltsev on Dec 10, 2009 3:53 PM

  • Java Source File

    I would like an explanation for the following:
    I have two public classes in one source file, one is nested inside another. Now, it was my understanding that you can only have one public class in one source file. Can somebody, please, explain me this?
    Thanks,
    Boris.

    ummm... the class is public and can be accessed from outside the class, the requirement is that there can be only one package level class in on source file. If the one of the public classes is nested, no problem :)

Maybe you are looking for

  • MS Office 2013 -Sharepoint 2013 Issues

    We have an MS-Office 2013 environment and we are rolling out MS Sharepoint 2013. While saving a new document from the MS-Office applications, we are experiencing erroneous behaviour. When the document is saved to Sharepoint, it asks to Choose the  Co

  • Need hard drive model/type for hp mini 110

    Hi, I took my hp mini 110-3518cl to IT today and they told me my hard drive was failing and needs to be replaced. What kind of hard drive do I need to buy? I already tried going to system diagnostics but was unable to find hard drive information. Pro

  • Print report, choose printer

    Hallo, I am running Report 6.08 on SUN Solaris 8. When I want to print a report and try to choose a printer, it seems to me that Reports only accepts local printers. The name of my network printer is hp5pac5ps. When I enter this name in the field "Pr

  • My purchased playlist is out of order in ios5

    I recently upgraded to iOS5 and my purchased playlist on my computer is in chronological order. When I sync my phone now the purchased playlist order is not in the correct. Is this a bug or does anyone have a suggestion? iPhone 3GS Macbook Pro Latest

  • Do I need an online number?

    Help I'm new to Skype, paid my subscription but can't seem to connect with anyone or anything.  Do I HAVE to have a online number?  I have tried to send messages but it won't work.  Really getting peed off now,