Handling a payload only if a trigger file is available,

Hi XIons,
I have an inbound scenario.
The flow is:
X.trg and X.dat files (FTP Location)>Communication channel picks *.trg File> Module read the name of File> Modules picks the .dat file with same name> sends it to FCC in the comm. Channel--> sends to PI.
The source is a legacy system which send a X.dat (CSV) file to a FTP location.
when this dat file is complete then a X.trg file is created which confirms the completeness of dat file.
Now FTP File channel have to pick this trg (trigger) file, read the name of this file and then have to pick the dat file with same name. Then thats dat file will undergo FCC and then finally sent to PI.
We are trying to build a module to deploy in Comm Channel.
Please share ur experiences for this scenario.
Your fast response will be deeply appreciated.
Regards
Anand Shankar
Infosys Technologies Limited.

Hi Anand.
Try to develop a new module adapter java.
Follow the link with the steps:
How to Create Modules for the J2EE Adapter Engine (NW7.0)
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b918e
How to Create Modules for the J2EE Adapter Engine (NW7.1)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa?overridelayout=true
XI libraries for development
https://wiki.sdn.sap.com/wiki/display/XI/XIlibrariesfor+development
Good Luck
Bruno

Similar Messages

  • Sender File Adapter should run only when trigger file is found PI 7.1

    I am using PI 7.1 . I have a File Sender Adapter communication channel that needs to poll for a trigger file - input.trg  . Only If that is found then it needs to pick up the actual data file -  input.dat   .  The Transport Protocol is  FTP not NFS, so I cannot use standard features like   'Addtional Files'. 
    Is there any other workaround for this ? OS Commands etc?
    I have also read that I can use BPM for this . Could anyone help me out with the steps and if you have any good blog on BPM.
    Thanks !

    Hi Dev,
    You can use BPM for this. The steps benig
    1. Fork with two receive step (one for trigger file and one for dat) . The end condition of fork is when both brach is completed.
    2. transformation step
    3. send step
    you can use a dummy correlation between the two input files (trigger and dat input file)..
    Regards
    Suraj

  • Trigger file in Sender File CC

    Hi All,
    I have a query regarding the usage of trigger file in Sender File CC.
    I am triying to pick .XML files only if respective .trg file is existing. My question is when ever there are 10 files where 9 are completely written and have respective .trg but 10th file still being written(which does not have a .trg file), the other 9 files are also not getting picked.it is waiting for the 10th .trg file throowing an error. But in real time these are dynamic files, when one is completed there may be other file being written. Is there any possibility to pick the 9 files which have .trg and leave the 10th file to be written completely and pick that in the next polling.
    Please find the below attachment of configuration.
    Kindly post your solutions on this.
    Thanks & Regards,
    Sandhya

    Hi
    If i understand correctly your 10th file is placing into the folder and it was not completely placed yet.For this as suggested you need to use File Modification Check.
    Coming to trigger file,once your files are ready (File Modification check success) then using some background job, we used Autosys tool to place the trigger file then PI will pick the files.There should be a gap between the background jobs which places actual data files,trigger file and polling of PI channel.
    Please try with SAP SFTP adapter which has more functions compared to normal FILE.In Case of SFTP you no need to use any modules for the payload conversion.
    Thanks

  • Trigger File Option in SFTP Advantco Sender Adapter

    Hi ,
    What is the purpose of Trigger file option in sender SFTP adapter?When i enabled Advance selection for source file we have this functionality.Can i use this option to delete the multiple files in the same directory instead of using File Name Mask.
    We have scenario to delete 4 files from application server in that only one file should be sent to partner and the rest should be delete from application server.
    Actual solution is to use to use script to delete the rest of the files do we have any other alternative.
    Thanks

    Hi,
    Another alternativet is to write your own customer adapter module and using java programming you can delete remaining 3 files. This is bit complex comapre to script writing but one advantage is with adapter module is that, you can provide the deteted file names with time stamp in the audit log of XI message, which will help in troublshooting if some issue happens.
    Regards,
    RK

  • How to handle the control records in case of file to idoc scenario.

    Hi All,
    can you please clarify me how to handle the control records in case of file to idoc scenario.

    Hi,
    In File to Idoc scenario even though you selected apply control record values from payload and you are not getting those correct values which you have provided in the mapping.
    Also check the checkboxes Take sender from payload and Take receiver from payload along with the Apply control record values from payload checkbox
    Regards
    Seshagiri

  • Can only open some JPEG files in Camera Raw through Bridge CS3

    I'm running Bridge CS3 version 2.0.0.975. I always edit my JPEG files through Camera Raw in Bridge CS3. I only have to Right-Click on the file and select "Open in Camera Raw...". However, I've come into a situation where some jpg files will not open this way; the option is not even there.
    I have made sure to tick the box in preferences under Behavior "Double-Click Edits Camera Raw Settings in Bridge", and also tick the box under Thumbnails -> Performance and File Handling "Prefer Adobe Camera Raw for JPEG and TIFF Files.
    These files were originally 16bit Grayscale TIFF files, but I changed them to RGB 8bit JPEG files.
    Also, I know the program works because I navigate to an older photo I worked which is a JPEG and the "Open in Camera Raw..." option is there when I Right-Click, but then I navigate back to the image I want to edit, and the option is not there.
    Here are links to my screenshots of what I'm talking about. Both images in the last two screenshots are JPEG:
    General Prefs - http://img535.imageshack.us/i/prefgeneral.png/
    Thumbnail Prefs - http://img716.imageshack.us/i/prefthumbnails.png/
    Camera Raw Option - http://img847.imageshack.us/i/option.png/
    Camera Raw No Option - http://img852.imageshack.us/i/nooption.png/

    function(){return A.apply(null,[this].concat($A(arguments)))}
    MapsCollector wrote:
    When I open Photoshop CS3, then go File -> Open As and change the Format Type to "Camera Raw", the JPEG files vanish and I can only see the TIF files. When I open them, it doesn't open in Camera Raw, but rather opens like a normal file would.
    That's a fundamental problem right there, and a clue in all this.  You should be able to see JPEGs in the Open As Camera Raw dialog.
    What happens if you type in the name?
    I'm almost convinced you have a file named .jpg but with a different image format inside.  Can you put one of these files online for others to try to open?
    -Noel

  • How do i set drive to update changes only when same name files are added

    I Want to set up an external drive to update changes only when same name files are dragged from desktop can any one help?

    That's still a little ambiguous. What recording software are you using?
    Usually the individual sound files in a music project file are included in a separate folder. For example, GarageBand normally hides these files inside a single Project file in the Finder, but you can right-click and Show Package Contents to see the individual audio files.
    Any of those backup utilities I mentioned will be smart enough to copy the new and changed files within the project file. In the Terminal these .band files are actually directories, just like .app Applications in the Finder are actually directories. I think Finder may actually handle it properly also, but I'm not really sure what the Finder will do when you re-copy a GarageBand project folder to an existing backup copy and only some of the audio files have changed.

  • Create a trigger file after successfully processing of a regular file?

    Hi,
    I have 10 differet proxy-tofile scenario interfaces going to one target system (10 different transcational data sets). For each interafce after creating the file (fixed file name file1.txt), PI has to create/append a file called "trigger file" which has different structure with fine name, file creation date/time etc. and kind of file (all or delta) which comes from proxy.
    So if file1.txt (all) has created, after that PI has to create "trigger file" with:
    file1.txt 20110106 all
    So if file2.txt (changes), another interface with different transaction, is created, we need to append "trigger file" with:
    file1.txt 20110106 all
    file2.txt 20110106 delta
    Can I do this scenario without BPM, in Integrated Configiration, we are in PI 7.1 EHP1.
    Regards,
    N@v!n

    Hi All,
    Let me try to put the question differently for the same scenario. I have completed dev with two message mappings, two operation mappings (one for regular file and one for tigger file). In ID, I am using the Integrated Configuration (with multiple receivers; here I created 2 communication components, one for regular file, another one for trigger file). This scenario works fine, creates regular file and trigger file. Only thing is it creates trigger file even regular file fails, we dont want to create a trigger file when the regular file creation fails..... since we have lof of scenario like this, we want to use integrated configuration only......I have tried to use one operation mapping (with multiple message mappings with in it), but looks like Integrated Configuration doesn't support this.
    So if I have one operation mapping with 2 message mappings in it, does operation mapping fail when one of the message mapping fails? At the end all we wanted to do create a file when ever the regular creats successfully. Pleae help me with the design. Let me know if you need more info.
    Thank You,
    N@v!n

  • Numbers 09 not working - I can open the program but only a few files are available, missing blank, checklist and many others. e.g  when I click on a file I get this error: The document "nmbtemplate is invalid. The index.xml file is missing. help.

    Please let me know what I can do to get my Numbers (iWork 09) working properly again.
    Here is what is going on:
    Numbers in iWork 09 not working can't access Blank, Checklist and many other files within Numbers.   I can open the program but only a few files are available. When I click on the file (which also has no icon just the name of the file) this warning appears:
    The document "Blank.nmbtemplate" is invalid.  The index.xml file is missing.
    I recently had to get a new hard drive installed and had the system upgraded and more memory put in by a Mac certified specialist recommended to me from the Apple store in Northbrook because this was the 3rd time my drive went bad but this time it was to old (I got the IMAC- in 2007) and the Apple store could no longer work on it this time so they recommended a few places that had certified Mac specialists.  Since then Numbers is not working right.
    I'm sure it's something simple to fix, but I've tried re installing it and that didn't work.  Appreciate any help.
    Thanks
    AppMare

    There is one way its getting fixed. Once I update my Adobe Illustrator CC to Adobe Illustrator CC 2014 it is further allowing me to go into the system folder and allocate the font to the file so that it can replace it. My only concern now is that our MAC partners who will receive these files back from us have Adobe CS6. We will down save it to CS6 but I hope they won't experience any font issues because of us using CC 2014? Any light you can shed on this?

  • HOW CAN I USE TIME MACHINE TO BACKUP ONLY PART OF MY FILES ON EXTERNAL D?

    Hi, I am using time machine to back up all my files at the moment. but I want to get rid of video and photo material from my laptop and keep it on the external hard drive to which the time machine backs up my stuff.
    how can i do this without losing the video and photo files permamnently?
    thank a lot!

    nefsi wrote:
    doesn't time machine back up my files on the External hard disk?
    By default, Time Machine backs-up almost everything on your internal HD to your External HD. It can also back up things on an external HD, if you want it to.
    What I would like is, to find a way so that I could back up everything, but not have all the videos and photos I do not use often, on my laptop. instead I want to put them on the external hard drive and have time machine update all the other files.
    Yes, you can do that, but there are two considerations:
    You should partition the external HD so the TM backups are in one partition, and the other files are in the other partition. A partition (also called a volume), is treated like a separate disk for most purposes. See #3 in the Frequently Asked Questions *User Tip* at the top of this forum.
    You should find another way to back-up the videos and photos in that other partition, such as archiving them to CDs/DVDs.
    In other words, can Time machine back up only some of my files?
    Yes. You can exclude things from Time Machine. See #10 in the FAQ Tip. If you partition your TM drive, the other partition on it should be excluded automatically; but if it isn't, you can easily add it to the +Do not back up+ list in TM Preferences > Options.
    For detailed instructions on making another partition on your external HD, see #6 in the FAQ Tip. It shows how to add a TM partition to a drive that already has other data on it, but the procedure is the same.

  • I converted aif files to mp3 files in I tunes so I could put them on a flash drive.  Now when I transfer an album to the flash drive I get both the aif files and the mp3 files in the flash drive.  How do I get the iTunes to only copy the smaller file?

    I converted aif files to mp3 files in iTunes so I could put them on a flash drive.  Now when I transfer an album to the flash drive I get both the aif files and the mp3 files on the flash drive.  How do I get the iTunes to only copy the smaller file?

    My suggestion to use the smart playlist was more along the lines of making one list with rules to show everything in your library as long as it was kind "mpeg" (= mp3).
    Smart playlists cannot be edited manually, only by changing the rules.  You can use them as the basis for another smart playlist though.
    There is added overhead to using smart playlists, so don't go overboard.

  • Can only Reconnect Media one file at a time

    I posted this problem almost two months ago, and was told at the time that it was a bug in FCP 6.0 and 6.0.1, but was fixed in 6.0.2. Well, I finally upgraded to 6.0.2, and the problem remains. What is strange, is that after I upgraded, the first two bins of files reconnected correctly, but ever since then none of the others have (and I tried the third bin right after the second, no changes at all to the computer). So I'm having this problem with both my G5 dual 2 gig (OS 10.4.9) and my Intel Macbook Pro (OS 10.4.11). Any ideas? The problem:
    I'm trying to relink media I have on an external firewire drive, but when I click Relink, FCP only relinks the first file in my list. The files are all there, in the same location, and have not had any name or reel changes - each one relinks fine individually, but I can't get FCP to link more than 1 file at a time.
    Procedures: I select all the files from a certain reel that are listed as being offline, then File>Reconnect Media. All the files I've selected are listed in the top half of the window, with the first file underlined. I have Search Single Location checked. I select Locate (though same thing happens if I select Search and locate the file myself), Show: Video Files (tho same thing happens if I select All Files), I've checked Match Name and Reel Only (though again same thing happens if this is not checked), and I checked Reconnect All Files in Relative Path. FCP finds the first file, and I click "Choose" - and the first file is listed in the bottom part of the window, but only that file.
    Everything else in FCP works fine.
    Thanks for any suggestions.
    Tom Valens
    Tamalpais Productions
    Forest Knolls, CA

    I am not having the same issue, and I am running 10.5.2 OS and 6.0.2 FCP. I also have FCP 6.0.2 on a computer running 10.4.11 and I have duplicate media on both systems, and bring a file back and forth and don't have to connect the media one at a time. This was a wide spread problem with 6.0.1, and the 6.0.2 update fixed that for most people. Why you are still having that problem is odd. Try trashing your FCP prefs with FCP RESCUE, and also try repairing your permissions with the Disk Utility.
    Shane

  • I can only open 1 .Ai file at a time from explorer

    Okay.  Googling is getting me nowhere and posting this is a last resort.
    computer is running:
    Windows 7 x64 SP1
    Creative Suite 5.5
    Illustrator 5.1
    The problem is:
    From within Windows Explorer, I can only open 1 Illustrator file at a time.  To get a different file to open, I either have to drag and drop the second file into the tabs under the menubar, or I need to quit Illustrator and re-open it.  Also,  I can not open additional files from Explorer one-at-a-time if one is already open.
    Quirks:
    If I go to File -> Open I can select multiple files from within the Open File dialogue window and they open just fine.  but i can't do it from within windows explorer.  This used to work and now it doesn't and I have no idea why.  Can anyone help me out?
    Seriously? 137 views and no replies?  No one has run into this before?

    This is a long shot but try going to Preferences/Type and uncheck "Show Font Names in English".
    Quit illustrator and restart, does it work now?
    The reason I´m suggesting this is that unless I have this box unchecked, some internal function in illustrator crashes after I´ve opened one document and I have to quit & restart if I wan´t to open another one. A rather silly bug and I stumpled upon the solution by accident after cursing illustrator for a couple of months...

  • When I power up my Mac-Pro I only get  a flashing file folder with a ? inside the folder. I suspect my hard drive is maxed to capacity can anyone help me as to what I should do?

    When I power up my Mac-Pro I only get  a flashing file folder with a ? inside the folder. I suspect my hard drive is maxed to capacity can anyone help me as to what I should do?

    Whatever the problem is you no longer have a bootable system. You need to try reinstalling OS X.
    Reinstall Snow Leopard without erasing the drive
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.
    Reinstalling Lion/Mountain Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • Export Media in Premiere Pro CS6 ONLY produces an Audio File in Media Encoder

    First, all the system info:
    Windows 7 Home Premium Service Pack 1
    Intel HD Graphics 3000 Display Adapter
    I’m using Premiere Pro CS6 Version 6.0.5 (001  (MC: 264587)) “Mighty Kilt”
    Version 6.0.3.1 (64 Bit) of Adobe Media Encoder CS6
    Other Adobe applications installed: AIR, Creative Cloud, Download Assistant, Encore CS6 Library, Flash Player 12 ActiveX, Flash Player 12 Plugin, Help Manager, Premiere Pro CS6, Premiere Pro CS6 Functional Content, Reader XI
    I’ve run check for updates on both Premiere Pro and Media Encoder and everything is up to date
    I'm producing a two disc, dual layer DVD set for 100 families of my son's marching band.
    I have a half hour "masterwork" of interviews, performance segments, rehearsal sequences, credits, etc that I've edited together complete with sound, etc.
    I also then have various other video segments from the season, some high quality (1920x1080) and some lower quality.
    Rather than import everything into Encore and have Encore transcode them all at the same quality, I wanted to ensure that the half-hour piece and certain other segments were transcoded as high quality as possible and given the largest file sizes I could and then transcode other segments at lower quality levels as needed so everything would fit on the discs.
    The company I'm using to duplicate/replicate the 100 DVDs from my Master DVD advised me to encode them FIRST in Premiere Pro as desired, and THEN import those files into Encore.
    I've used Adobe Media Encoder a lot to export the individual segments into files I could upload to Youtube and have had no problem for the last several months.
    But now, two things happen:
    1) AME automatically designates the "Output File" with an .aac extension (see attached)
    2) When I do an "Import As" of the AME encoded file in Encore it only loads an audio file (obviously)
    Huh?
    Here are the settings I use in my Export Media dialogue in Premiere Pro CS6:
    Format: MPEG2-DVD
    Preset: NTSC Widescreen High Quality
    Output Name (and filetype): ______ name with Save as Type of "Video Files(*.mpg)
    BOTH the "Export Video" and "Export Audio" boxes are checked (see attached screen print)
    Filters Tab: left as is, don't do anything here
    Multiplexer Tab:
    choose the "DVD" button (vs the "None" button)
    Bitrate Type: left as Variable which is what is selected as a default
    Video Tab:
    Codec: Reads MainConcept MPEG Video
    Quality: increase it to the max of 5
    TV Standard: NTSC
    Frame Rate: 29.97
    Field Order: None (Progressive)
    Pixel Aspect Ration: Widescreen 16:9
    Render at Maximum Depth box checked
    Bitrate Encoding: I choose CBR for my high quality segments and VBR 2-pass for my lower quality segments
    Bitrate: kick it up to the max for high qulaity segments, adjust as needed to get the filesize I want for my lower quality segments
    Audio Tab:
    Audio Format: Dolby Digital
    Codec: Dolby Digital
    Bitrate: At least 320, sometimes higher for the segments I want to be the highest quality
    I check the "Use Maximum Render Quality" box
    I chose "Queue" for everything and then let it run overnight
    And yes, the original media has BOTH a video track and an audio track that works (see Screenprint)
    So... what am I doing wrong, helpful experts????

    Larry, Mark, Jim & Bill -
    It is 1 am Tuesday morning and I'd do a primal scream if my family weren't all sleeping upstairs.
    Somewhere along the way, I either read or was given the advice to just skip AME, load my videos as timelines in Encore, and just do the transcoding there.
    I spent almost a day trying to figure out how to get "buttons" for my menus I was building (they weren't appearing in Encore's library like they should) and eventually found a simply workaround.
    So I then spent the last 24 hours or so building all my menus, creating small clips for my "motion menu" buttons, getting all that straightened away.
    Got really excited earlier tonight since it seemed like I was nearly finished and coming down the home stretch.
    I hit "build" in Encore, went away for a couple hours, and came back to find a big error message awaiting me telling me that "Encoding Failed."
    I have read a lot of posts, and the outlook is not good, or at least the possible solution not simple or short from a time perspective.
    I have a 100 families awaiting their DVD they've paid for that they initially were told they'd have by mid-February. I've been telling everybody that they would have it - guaranteed - by this weekend when there's a band festival that would be ideal for distribution. The DVD duplication company says they have to have it by Wed morning at the absolute latest. Meaning I've got about 24 hours to figure this out and burn my dual-layer masters of the two DVDs or once again tell people "I know I guaranteed you'd have it by this weekend, but I don't have it ready yet."
    Almost as importantly, I can't afford to keep spending the hours and hours and hours on this that I have. It's impacting my personal and professional life.
    Thus the primal scream.
    The posts I read about the encoding failure all pretty much advise that I use AME to do all the transcoding work. Which of course brings me squarely back to my original problem: I cannot get a video file out of AME.
    I'm embedding a screenshot of what I see when I click on the pull-down menu in the AME dialogue window. The problem: there is no MPEG2-DVD option listed to be chosen.
    Although I'm relatively new to forums, I've read enough posts by now that it seems like most people are in crisis mode when they post. So I realize my situation is not all that unique. But from a newbie rookie in the field to you experts, I REALLY could use some assistance right now, because between this and the long, cold winter we've had, I'm about to lose it.  :-)
    P.S. Mark, in answer to your question about frame rates, I have 18 different videos/films/projects that I'm including in my two DVD-set. There have probably been nearly 6-7 different cameras that have contributed footage to one or more of those films by borrowing camcorders of different brands and types and quality levels from people. Nearly every one of those 18 films have multi-camera sequences in them. And many films are collections of sequences which themselves are "nested sequences" sometimes three deep.  In otherwords, there is no way I can tell you all the various frame rates that may be represented among these 18 separate projects and I certainly can't go back and hope to change them all to the same one.
    Help. Please.  :-)

Maybe you are looking for