File Adatper in Sychronous Mode

Hi,
I want to use file adapter in synchronous mode without using BPM.
Can anyone tell me please which method should be used in Advance Mode.
Thanks and Regards,
Sandeep

chk this extract that was posted by Bhavesh some time back -
<i><b>From SP 19 on XI 3.0 and SP 10 on PI 7.0, a File - RFC - File ( Asynch - Synch ) scenario can be done without a BPM.</b>
Steps:
Integration Repository
The Integration Repository will be similar to any Synchronous Scenario ( say HTTP - RFC ) . 1 Outbound Synch message Interface and 1 Inbound Synch Message Interface.
Integration Directory
This is where a few differences lie, so let me take some time.
1. The Receiver Determination , Interface Determination will be the same as in HTTP - RFC synch scenario. Create the Sender File Adapter, Receiver RFC Adapter and Receiver File Adapter.
2. Sender Agreement will be for the Sender File Adapter. Sender Agreement uses the Synch Outbound Message Interface.
3. Receiver Agreement will be for the Receiver RFC adapter. Receievr Agreement will use the RFC as thge Inbound Message Interface.
4. We need to add a few modules in the Sender File Adapter.
Go to the Modules Tab of the Sender File Adater, and add the following modules in the same sequence,
Number - ModuleName - Type - ModuleKey
1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
2- CallSapAdapter-Local Enterprise Bean - 2
3-AF_Modules/ResponseOnewayBean-3
Parameters
ModuleKey - ParameterName - ParameterValue
1 - passThrough - true
3-receiverChannel - Receiver File Adapter Name
3-receiverService - Receiver Business Service/ System
With this configuration, you can now handle the requirement without a BPM
This feature been already blogged for JMS Adapters in these blogs ,
Sync/Async communication in JMS adapter without BPM (SP19)
Async/Sync Communication using JMS adapter without BPM (SP 19)
Dynamic Configuration is also possible,and this as well as many other options are discussed in the How To guide - "How To Realize a sync-async and async-sync
bridge within the Adapter Framework" available on the Service Market Place.
For info on the Modules used here, look into these links,
Request Response Bean
Response Oneway Bean</i>
It should help you !!!

Similar Messages

  • Issue regarding open word file and read only mode using c# & MS-word interop

    i am programmatically open a word file for search and highlight keyword. my routine is working fine. the problem is when i am opening the file programmatically then a dialog come and ask me to open file in read only mode. the dialog look like below one
    actually i do not want to open the file in read only mode because people can open and like to change and save. so guide me what i can do to not to open the file in read only mode.
    here is my full code. just have a look and tell me what is wrong in my code or tell me any trick as a result i can open the file not in read only mode. here is my code.
    private void button1_Click(object sender, EventArgs e)
                object fileName = "";
                string filePath = "";
                string strSaveasPath = "";
                DialogResult result = openFileDialog1.ShowDialog();
                if (result == DialogResult.OK)
                    fileName = openFileDialog1.FileName;
                    //strSaveasPath = Path.GetDirectoryName(path.ToString());
                //fileName = "Z:\\C0000000003.doc";
                List<string> _list = new List<string>();
                _list.Add("tridip");
                _list.Add("arijit");
                //object fileName = "D:\\CVArchievePath\\C0000000001.doc";
                object textToFind = "test";
                object readOnly = false;
                Word.Application word = new Word.Application();
                Word.Document doc = new Word.Document();
                object missing = Type.Missing;
                try
                    doc = word.Documents.Open(ref fileName, ref missing, ref readOnly,
                                              ref missing,
    ref missing, ref missing,
                                              ref missing,
    ref missing, ref missing,
                                              ref missing,
    ref missing, ref missing,
                                              ref missing,
    ref missing, ref missing,
                                              ref missing);
                    doc.Activate();
                    object matchPhrase = false;
                    object matchCase = false;
                    object matchPrefix = false;
                    object matchSuffix = false;
                    object matchWholeWord = false;
                    object matchWildcards = false;
                    object matchSoundsLike = false;
                    object matchAllWordForms = false;
                    object matchByte = false;
                    object ignoreSpace = false;
                    object ignorePunct = false;
                    object highlightedColor = Word.WdColor.wdColorGreen;
                    object textColor = Word.WdColor.wdColorLightOrange;
                    object missingp = false;
                    Word.Range range = doc.Range();
                    foreach (string line in _list)
                        textToFind = line;
                        bool highlighted = range.Find.HitHighlight(ref textToFind,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing,
    ref missing);
                    System.Diagnostics.Process.Start(fileName.ToString());
                catch (Exception ex)
                    Console.WriteLine("Error : " + ex.Message);
                    //Console.ReadKey(true);
                finally
                    //doc.Close(missing, missing, missing);
                    if(doc!=null)
                        System.Runtime.InteropServices.Marshal.ReleaseComObject(doc);
                    if (word != null)
                        System.Runtime.InteropServices.Marshal.ReleaseComObject(word);
                    word = null;
                    doc = null;
                    GC.Collect();
                    GC.WaitForPendingFinalizers();

    I know it's a very old issue and I reached to this page looking for a solution. Finally, I have found a fix to this problem.
    The problem is that we create an instance of Word and do not close it correctly. This makes program believe that the file is already open and hence you're getting the respective message of file being locked by you.
    Set the visibility of your application to true and then when you close it both file and instance should close and you will not get the problem again.

  • I am not able to use Firefox with Sharepoint - I can only open a file in read-only mode and cannot checkout the document and edit.

    I would like to use Firefox with Sharepoint.
    However, I am only able to open a file in "read only" mode whch means I cannot edit the document and save it. I am also not able to "check-out" a document in Sharepoint and edit it at the same time.

    This may not work for everyone, but I solved this problem by clicking on the file name in sharepoint, not the document icon to the left of the name. This then brought up the various options, including checking out, editing, version history etc. It seems obvious but I have only just realised this!

  • No longer able to open Illustrator files when in Review mode in Bridge.

    No longer able to open Illustrator files when in Review mode in Bridge.
    This used to work in CS5.
    Control click the focused image (at front). Near the bottom of the contextual menu select 'Open' and nothing happens.
    Anyone else having this problem?
    Note: Files can be opened from the regular grid mode in the Content Panel.
    Preference File Type Association is correct ai=Illustrator CS6

    Uninstall the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and Firefox that prevents new tabs from being opened. The Ask toolbar can be installed as part of Foxit.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

  • Is it possible to store a back up on external HD by transfering files using Target Disk Mode?

    Dear Apple community,
    There's absolutely no way that I'm going to be able to fix my MBP without a clean install. I simply cannot log in and get to my desktop screen after upgrading to Mavericks. So I will have to erase everything and perform a clean install. However, before proceeding with this plan, I'll have to back up my files from my MPB since I cannot use my mac normally, I'll have to back up my files using the Target Disk Mode. I've connected my MPB to another MPB in the past, so I know how the process work. But this time around I won't be able to use another MBP but a MB. I have a few doubts regarding the process especially in what concernd adding an external HD to this equation. So please bear with me and see if you can answer my doubts.
    So this is the equipment I'll be working with: my MPB, my friends MacBook (2008) and my 1TB external hard drive.
    My basic question is: once I connect my MPB in Target Disk Mode to the MB, I'm sure I'd be able to transfer my files to this MB. But let's say that I don't want to leave my files in this MB (after all it's not my computer) and want to send my files straight to an external HD connected to this MB. Is it possible?  If positive, I know that the only FireWire port in the MB is a 400 port. That means my MBP will be connect to the MB using the only FireWire port available in the MB. So I believe that my external HD would have to be connected to the MB with the help of an USB cable. I assume that this will make the transferring process a little slower than if I could count solely on FireWire ports. Slowing the process down is not a problem but could this corrupt any of my files during the transferring process or even damage anything? I assume that would never happen after all it's just digital data, but better safe than sorry, right? What do you think?
    Another thought that occurred to me is: let's say I connect my MBP to the MB using the FireWire 400. I'd still have an FireWire 800 port available on my MBP. If I connect my external HD to my MBP (yeah, the one that will be in Target Disk Mode) using that FW 800 port, would my MBP allow this external HD to mount as if it was just another folder/drive in my computer? If positive, theoretically I'd be able to transfer files from my MBP to my external HD manually (by dragging files from folder to folders), right?
    I really don't want to transfer my files from the MBP to the MB and then from MB to external HD. That would just take time and I really don't know how much available space I'll find on my friend's MB.
    Oh, one last question: when transferring files using Target Disk Mode, do all computers involved in this process gotta have the same OS X version installed or it doesn't matter if e.g one is running Snow Leopard and the other Mavericks?
    Looking forward to hear back from you, experts.

    Grant Bennet-Alder West of Boston, USA 
    A new 1TB External drive (suitable to replace your current Internal drive if you choose to) and enclosure can be had for under US$160
    Ehh, you meant $60 ,  not $160
    CassHeger 
    I do need to buy an external HD to be used solely for that purpose.
    Yes, quality HD are cheap as dirt.
    however a likewise Toshiba Internal HD 1TB is $70   (same as used by Apple)
    http://www.ebay.com/itm/TOSHIBA-MQ01ABD100-1TB-5400-RPM-8MB-Cache-2-5-SATA-3-0Gb   -s-Internal-Notebook-/121107538930?pt=US_Internal_Hard_Disk_Drives&hash=item1c3 2 9263f2
    best options for the price, and high quality HD:
    Quality 1TB drives are $50 per TB on 3.5" or  $65 per TB on 2.5"
    Perfect 1TB for $68
    http://www.amazon.com/Toshiba-Canvio-Portable-Hard-Drive/dp/B005J7YA3W/ref=sr_1_ 1?ie=UTF8&qid=1379452568&sr=8-1&keywords=1tb+toshiba
    Nice 500gig for $50. ultraslim and perfect
    http://www.amazon.com/Toshiba-Canvio-Portable-External-Drive/dp/B009F1CXI2/ref=s r_1_1?s=electronics&ie=UTF8&qid=1377642728&sr=1-1&keywords=toshiba+slim+500gb
    2.5" USB portable High quality BEST FOR THE COST, Toshiba "tiny giant" 2TB drive (have several of them, LOT of storage in a SMALL package)    $117
    http://www.amazon.com/Toshiba-Canvio-Connect-Portable-HDTC720XK3C1/dp/B00CGUMS48 /ref=sr_1_4?s=electronics&ie=UTF8&qid=1379182740&sr=1-4&keywords=2tb+toshiba
    *This one is the BEST portable  external HD available that money can buy:
    HGST Touro Mobile 1TB USB 3.0 External Hard Drive  
    $88
    http://www.amazon.com/HGST-Mobile-Portable-External-0S03559/dp/B009GE6JI8/ref=sr _1_1?ie=UTF8&qid=1383238934&sr=8-1&keywords=HGST+Touro+Mobile+Pro+1TB+USB+3.0+72 00+RPM
    Most storage experts agree on the Hitachi 2.5"

  • My illustrator CS6 crashes when i try to open an AI file with RGB color mode

    My illustrator CS6 crashes when i try to open an AI file with RGB color mode. I worked on this file yesterday and changed it to RGB mode. Today i tried to open the file again but illustrator won't open it and crashes. It does work when i want to open a file with CMYK color mode.
    Anyone know how to fix this ?

    Have you tried trashing the prefs?

  • How to Upload a file in a Batch Mode ?

    Hi, I want to upload a Comma separated value File via RFC to a BW system.
    The scenario is the following: From a Portal server i call the BAPI using JC0/JCA.
    The problem is that GUI_UPLOAD does not support a BATCH job. At least i get a error when calling the BAPI: Exception condition "NO_BATCH" raised. 
    How do i upload a file in a Batch Mode ?
    Thanks,
    Kai

    Hi Kai,
    Sorry for the delay. The delay was in trying to get to talk to the Basis team.
    Here is how we have it.
    On the message server of every instance, there will be a SAP admin id that is '<SID>ADM' or 'SAPSERVER<SID>' where SID is the system ID. We use the '<SID>ADM' user id.
    On the external NT fileserver, there has to be a user id created on the NT box with the same SAP admin id and this id on the NT box should have access rights do Read/Write.
    All of these have to be in the same domain (or different domains that have trust access to each other).
    So, there is basis,network and security groups involved.
    Once these are in place, we can have file access to the external fileserver box.
    We use logical filenames at our place (Transaction FILE).
    This makes all the file transfer locations well organized and manageable.
    Hope that answers your question regarding this.
    Regards,
    -Ramesh

  • Opening the file in read only mode

    hi all,
    i am using
    i want to open any type of files in read only mode using host command.so first i am setting the attribute to read only and then opening the file. But still the opened file is editable. i have written like below
    Host( 'cmd /c  attrib +r "\test_folder\testing\PURCHASE_ORDER\'||:PO_FILE_NAME||'"',NO_SCREEN);
    Host( 'cmd /c "\test_folder\testing\PURCHASE_ORDER\'||:PO_FILE_NAME||'"',NO_SCREEN);is this is the way to open the file in readonly mode?
    Along with the above the files which i opened with the help of above said code those files i am not able to delete also.(i have to delete the selected file)
    i thing when i am setting the attribute something is going for a mess!
    Please help.
    Thanks..
    Edited by: GD on Jun 23, 2011 2:25 AM

    hi,
    Read only means you cannot mofiy the file. This also includes that you cannot delete a readonly-file yes,
    what i am doing is i have three button in my layout 'save','view' and 'delete'.
    1.so when user press 'save' button after selecting the file then the file gets saved into the specified.
    2. when user press 'view' button the file has to open in read only mode.
    for this i have written above mentioned code(but still i am able to edit the file)
    3.when user press 'delete' button the file has to be deleted from the specified location.
    so my problem is after setting file to read only mode, i am able to edit but i am not able to delete it.
    What i am using to set the file to read only mode is right?
    Please help.
    Thanks..

  • New-line Character for a file opened in BINARY mode for O/P

    Can anybody please tell me how to put a new-line charcter for each record in a file opened in Binary mode for O/p. I cant use text mode  for other reasons in my scenario.
    DATA: l_outdata TYPE xstring.
    OPEN DATASET file FOR OUTPUT IN BINARY MODE.
    Application logic to populate l_outdata
    TRANSFER l_outdata TO file.
    Any help, or attempt towards it will be duely rewarded,
    Thanks in advance,
    Sujit.

    hi sujit,
    1. how to put a new-line charcter for each record
    but how will you decide, at which POSITION,
    to put the new line character, if u have opened the file in binary  mode.
    2. However, if u know the exact positions(s),
      u can use  CL_ABAP_CHAR_UTILITIES=>CR_LF
      to insert the new line character,
    regards,
    amit m.

  • 3 Files are in recovery modes & we are not having any backup, how to recove

    3 Files are in recovery modes & we are not having any backup, how to recover.
    select from v$recover_file;
    FILE# ONLINE ONLINE_ ERROR CHANGE# TIME
    137 ONLINE ONLINE 1.7142E+10 05-MAR-11
    138 ONLINE ONLINE 1.7142E+10 05-MAR-11
    139 ONLINE ONLINE 1.7142E+10 05-MAR-11
    These 3 files are part of tablespace, whcih is having total 26 files
    SQL> select FILE#,TS#,name from v$datafile where TS#=12;
    FILE# TS# NAME
    137 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_00.dbf
    138 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_01.dbf
    139 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_02.dbf
    140 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_03.dbf
    141 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_04.dbf
    142 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_05.dbf
    177 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_06.dbf
    178 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_07.dbf
    179 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_08.dbf
    180 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_09.dbf
    181 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_10.dbf
    182 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_11.dbf
    183 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_12.dbf
    184 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_13.dbf
    185 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_14.dbf
    186 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_15.dbf
    187 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_16.dbf
    188 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_17.dbf
    189 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_18.dbf
    190 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_19.dbf
    192 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_20.dbf
    195 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_21.dbf
    196 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_22.dbf
    200 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_23.dbf
    257 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_24.dbf
    258 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_25.dbf
    260 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_26.dbf
    Pls treat it urgent.

    Pls treat it urgent. If it's urgent , open a priority 1 service request on My Oracle Support/metalink.
    If it's not so urgent, set the datafiles to OFFLINE, so you can open the database.
    Without backup you only can recover if you have ALL archivelogs since creation of the files. Normally that's rarely the case.
    Werner

  • Finder is not showing correct file in cover flow mode. The files shown in the top panel are one file off.

    finder is not showing correct file in cover flow mode. The files shown in the top panel are one file off.

    This problem occurs after I move a file or files to trash. If I remove one file, then the sequence is one file off, if I move two files to trash then the sequence istwo file off. For example, if I delete file 1 and highlight (click on) file 3, then the cover flow panel shows file 2, when it should show file 3.

  • Office 2013 opens file in read only mode

    I have a client on Windows 8.1 Pro using Office 2013. When he access an office file from a network drive it opens in read only. When he saves the file to his desktop using save as it lets him open the file again in compatibility mode but he is unable to
    then overwrite the file on the network folder. It keeps giving him a permission error. I have deleted his profile, changed settings in office trust center settings and checked folder permisisons. I am out of ideas. Can anyone help me out here.
    Thanks

    Hi,
    Thanks for the reply.
    From the user, "Every file that I open, opens in read-only mode.  It appears that the security is set correctly and I have not changed anything, but, it does not allow it.  I have tried rebooting - not solved.  I tried disconnecting the shared drive and reconnecting - not solved.  However, when I do disconnect the mapped drive, I get a warning saying I have files open.  The problem occurs whether I access the files from the mapped drive or directly by drilling down through the folder structure." 
    When I try to move files over to the drive it says I do not have required permissions to overwrite or move a file. On a different computer he has full access but not on this one. Also the settings in trust center settings for file blocking and trusted locations
    also privacy.

  • Cannot view jpg files in full page mode. Contents of jpg files are enlarged so that it requires 4 pages to print one page.

    When people send me jpg files that contain a page of information, I cannot view the file in full page mode. I can only view 1 quadrant of the page at a time. If I print the jpg file, it uses 4 pieces of paper (1 quadrant per page). Others who receive this file can view it fine.
    == This happened ==
    Every time Firefox opened
    == It has always worked this way.

    There is an option for the Initial View that is "Magnification:" "Fit Page".  And this works for the initial page when the PDF is opened and it does not matter what the page size it, Acrobat/Reader will automatically fill the screen with the page. If you want the zoom type to change with each page then you need  add a page open script to each page to set the pages zoom type to "zoomtype.fitP"
    this.zoomType = zoomtype.fitP;

  • Changing of the timestamp in sender file adapter in archive mode

    Hi,
    I have a requirement where in I have to archive a file with timestamp different from that generated by XI.
    Please let me know if this can be done and if so how can we handle the changes to be made to the timestamp in the sender adapter in archive mode.
    regards,
    Srinivas.

    Srinivas,
    Option 1) Create a bat file..to run the perl script you call..
    Perl script..
    #!/usr/bin/perl -w
    print("Starter that you want to change: ");
    chomp($badex = <STDIN>);
    print("Starter that you want added: ");
    chomp($goodex = <STDIN>);
    foreach $file (<$badex*>){
        @fields = split(/$badex/,$file);
        $goodfile = ("$goodex" . "$fields[1]");
        rename("$file","$goodfile");
    Run that on the os
    That should fix it.........
    Option 2) On your local Machine create a java file..add this code to it
    public class Utils
         public static int Randomizer(){
              int randomInt = 0;
              randomInt = (int) (Math.random()*1000);
              return randomInt;
    public static void main(String[] args)
         Randomizer();
    save and compile..
    Create a bat file to add the number returned from the random to your targetFilename
    so it would be something like..
    mv oldFileName Newfilename+randomizer... and also get this command written to a file..helpful later on.........
    Hope that helps
    Regards
    Ravi Raman
    PS:Dont forget the points if helpful

  • Need help to play a DV file in full screen mode w/o losing resolution

    I just finished a 20 minute film using iMovie, and in order to share it, I created a Quicktime DV File using the Full Quality mode. However, when I play the obtained Quicktime file in full screen, the images become blurry and the titles are unreadable, so I am forced to sticking to the standard size (which is relatively small).
    I need to project this video THIS SAME WEEK on a screen in front of a large crowd and the largest screen size for Quicktime to avoid pixelation is very small (1/6 of my screen).
    Is there any way in which I can get a larger resolution DV file than the one iMovie creates? How can I share this with the audience w/o having to project it from the original iMovie file?
    HELP PLEASE...!!!!! I am desperate, so any urgent advice will be greatly appreciated. And please note I am a novice at iMovie (first time I used it). Any help to increase the resolution quality of my DV file will be EXTREMELY HELPFUL.
    Thanks a lot in advance.

    Any help to increase the resolution quality of my DV file will be EXTREMELY HELPFUL.
    For faster editing iMovie 08 & 09 uses single-field processing. This means every other horizontal line of the video is thrown out, which reduces the sharpness of the footage. iMovie 06 uses all of the image, I think you will find it looks better.
    iMovie 06 and iDVD 09 is a terrific combination.

Maybe you are looking for

  • Encrypt communication between SharePoint Web App and SSRS

    Hi I have SharePoint 2010 in multi server farm. The SharePoint web app has SSL enabled. The Reporting Server (SSRS) is http URL. So when the Report Viewer web part is used, the communication between SharePoint web server and SharePoint Reporting Serv

  • Connecting new iPod Classic, old PB G4 without USB2.0

    This may be an old question at this point, but I just recieved a new iPod Classic and wish to connect it to my PB G4 through a connection faster than USB1. What is the most reliable high speed connection available? Powered PCMCIA USB2.0 card? Firewir

  • Default tax code in MIRO item

    Hello Experts, While doing invoice through MIRO, system is defaulting the tax code in the line item level.There is no tax code in the header level. We have not entered tax code in the PO also. How to avoid the default tax code in the MIRO item, becau

  • Should I have the same admin account name on multiple computers

    Currently I have a Macbook with an admin account plus 2 user accounts. When get a 2nd macbook, should I use the same admin name on the 2nd computer? I was thinking of making all admin account names the same for multiple macbooks, time machine, networ

  • Database Connection: Http Error 405 Method Not Allowed

    Hi, I am new to this forum, but I am having an issue I hope you can help with.  I have a database on my MS SQL Server 2008.  I am trying to access it with my DW8 page, and while I can code a connection successfully, I can't use the Database or Bindin