Call File Adapter Externally and Pass on File name

HI experts,
We have a requirement where we need to call a file adapter externally to poll for a file.
The File name needs to be passed on to the called Adapter and the adapter will poll for that particular file.
Once it polls we will need to stop it -- in other words the the adapter will poll only when we call it externally.
Any form of inputs / help on this will be greatly appreciated. We will initiate this possibly from a BPM.
Many Thanks,
Himadri

Hey buddy ..
I agree with Praveen... you cannot dynamically change the filename in the sender File CC..\
regards,
arvind R

Similar Messages

  • Creating a print button to call a Report Query and pass filters

    If i use the REPORT QUERY option in APEX 4 to create an statement that is the same one used in an interactive report, can I create a link or button to the REPORT QUERY and pass all the session and filter information from the interactive report to the report query?
    This way I can have the interactive report screen where the user can do all sorts of modifications and such and then pass those to the REPORT QUERY so I can call that from a custom link or button.
    You may ask "why does he need another print button?"
    Answer: I am using a view that has some embedded HTML tags to format the output really nicely. The HTML download version created by the interactive reports works beautifully. The customer also wants a PDF version (meh) which does not render the HTML tags and actually echos them as part of the text. I found that I can create another view that uses the CHR function to create all the breaks and such I was doing with HTML and these do render properly in PDF. So, I figured just have 2 reports: 1 Interactive and 1 using a REPORT QUERY. I just want to call the REPORT QUERY version but use the Interactive Search form to set all the parameters.
    Or, am I over thinking this and there is an easier method?
    I made a previous post where I showed how I got the APEX printing to work and i hoped that helped someone out - fixing this issue would put the whole thing to rest.
    Thanks

    Is BI Publisher desktop (MS Word add-in) a possibility? This would allow you to use MS Word to create your output template (RTF) that would result in a properly formatted PDF. Of course, you'd have to right an updated version of the query without HTML embedded. Just thinking outside of the box.

  • Workflow step (Approve Action) calling custom Java Service and "passing params"

    Good Afternoon, Fellow Coders!
    Normally I research and do proof of concepts until I find a solution but given super tight deadlines, I just don't have time - so I need your help.
    I am trying to have an Workflow Approve Action (Workflow Exit Event idocScript call) call a Custom Component (Java Service) AND "pass" some kind of parameters (bare minimum dDocName)
    In a perfect world it would be as simple as:    processContentInfo(String dDocName, String xMyCode1, String xMyCode2);
    But since I am calling the Java Service from idocScript (via executeService) I cannot directly pass params via the API.
    Is there a simple way to do this??
    It seems like if you can't directly pass params you could at least set them in the managed container (m_binder) and just know to pick them up on the Java side via some DataBinder like m_binder.getLocal(
    Am I missing a simple idocScript function that will let you do this?
    Note: I am NOT executing the Service from a URL so the normal ?param1&param2 -> m_binder.getLocal  solution is no good.
    Also, Bex's book warns about Service Classes "not easily being able to call other UCM Services"....  My Custom Service needs to do exactly that (as well as JDBC and other stuff). Is this really an issue??
    Seems like as long as I have dDocName I could use RIDC to hit whatever I want as long as I know how to use a binder, etc - is there some mystic nuance that prevents this?  Or was he just saying it's hard UNLESS you know RIDC well??
    Any and all quality advice is appreciated!  And please, try to give me a detailed answer as opposed to something vague like "try a Service Handler", I need something I can quickly digest.
    Thanks in advance!

    You can set parameters for the service call by setting Idoc Script variables before you call executeService.
    <$dDocName="TEST12345"$>
    <$param1="09876"$>
    <$param2="ABCDEFG"$>
    These variables are then available via the service DataBinder.
    Here is information about how to execute a service from a custom component. There should not be any issues doing this.
    http://www.redstonecontentsolutions.com/5/post/2012/05/executing-a-service-from-aservicehandler.html
    http://jonathanhult.com/blog/2012/06/execute-a-service-from-a-java-filter/
    Jonathan
    http://jonathanhult.com

  • When i click the listview items I have to call two odata webservice and pass that data to next screen ?

    Hi All,
                I Have two odata webservices When i click the listview items I have to call that two odata webservice and pass that data to next screen ?

    You don't have to pass the data to any page.
    onInit method of controller set your oData model like this.
                  onInit: function() {
                  //var oModel = sap.ui.model.json.JSONModel();
                  var oModel = sap.ui.model.json.JSONModel("http://services.odata.org/V3/Northwind/Northwind.svc/Customers?$format=json");
                  sap.ui.getCore().setModel(oModel,"oDataId");
    After this you can access your model from any views by just binding the elements with your odata. Suppose i have a table in a view of my application then i can write like this.
                  var oTable = sap.ui.table.Table({
                         tableId: "myTable",
                         visibleRowCount: 5,
                         editable: false
                  oControl = new sap.ui.commons.TextView({text: "{CustomerID}"});
                  oTable.addColumn(
                               new sap.ui.table.Column({                             
                               label: new sap.ui.commons.Label({text: "Customer ID"}),
                               visible:true,
                               template: oControl  
                  oControl = new sap.ui.commons.TextView({text: "{ContactName}"});
                  oTable.addColumn(
                               new sap.ui.table.Column({                             
                               label: new sap.ui.commons.Label({text: "Contact Name"}),
                               visible:true,
                               template: oControl  
                  oControl = new sap.ui.commons.TextView({text: "{ContactTitle}"});
                  oTable.addColumn(
                               new sap.ui.table.Column({                             
                               label: new sap.ui.commons.Label({text: "Contact Title"}),
                               visible:true,
                               template: oControl  
                  oControl = new sap.ui.commons.TextView({text: "{CompanyName}"});
                  oTable.addColumn(
                               new sap.ui.table.Column({                             
                               label: new sap.ui.commons.Label({text: "Company Name"}),
                               visible:true,
                               template: oControl  
                  oTable.bindRows("oDataId>/value");
    Here you can see i have binded the oData with table.
    Just what i am seeing that you are trying to pass this model to a page. You don't have to do so. Just bind your oData with relevant elements lite table or anything by writing like this.
    oTable.bindRows("oDataId>/value");
    these functions are different for different elements.
    for listItem you may write like this.
                  var oList = new sap.m.List({
                  inset: true,
                  items : [
                                        new sap.m.DisplayListItem({ label :"Category ID", value : "{oDataId>/CategoryID}"}),
    {oDataId>/CategoryID} this has been used for binding.
    Regards
    Dhananjay

  • How to call PL/SQL function and pass parameter to ODI variable?

    Can I call PL/SQL function and assign a return value to an ODI variable? Also can I assign ODI variable to IN paramter and assign OUT parameter to ODI variable? What ODI doc has that information?
    Thanks

    Hi,
    Refer this http://odiexperts.com/how-to-use-plsql-procedures-and-functions-in-odi
    Thanks,
    Sutirtha

  • Templates and Passing a Report Name

    I need to create a template and have the report name passed on to that template, but I need a bit more detailed of an explanation then the following:
    Create a user parameter on the template and then pass the report name to the parameter at run time.

    I wish to have the report name sent to the template so that at runtime the report name will show. I have created a parameter for this to be passed to, and put a field in the header of the template to accept the parameter: what I need to know is how do you send the name of the report which exists in the property palette under -Report -General Information - Name node to the field on the template so it shows at runtime.
    Thanks

  • I need to call a java program and pass parameters from C#

    I'm new to C# and was given a project to rewrite some of my old VB.net programs to C# to help me learn.  These VB programs call quite a few .bat files that have calls to java programs in them. I'm doing okay converting my VB code, but I've been
    stumped for days trying to figure out how to call java from C#. 
    Does anyone here know how to do this?  I really should've had this figured out by now and my back is to the wall.  Ugh :(
    This is the line from the .bat file that I need to convert to C#. 
    call jvbat production_r115.Automotive m:\data\MK115mn.100 m:\data\MK115mn.101 %6
    There is one parameters being passed, %6
    I would be forever grateful if someone can show me how to do this!

    Hi Joni,
    Do you mean call a bat file that it is a Java program from C#?  If so, there is an article talking about it.
    If that's not what you're trying to do, please be more specific about what you're trying to do.
    http://www.c-sharpcorner.com/UploadFile/maheswararao/CallingJavaProgramfromCS12062005233321PM/CallingJavaProgramfromCS.aspx
    Now the next issue is pass some parameters from C#.
    The above article tells using Process.Start() method to call java program. Also  in this class, you could  specify them all in the
    Arguments property:
    var p = new Process();
    p.StartInfo.Arguments = string.Format("{0} {1}", argument1, argument2);
    For more detailed information, please refer to
    C# Passing Multiple Arguments to BAT File
    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control
    these sites and has not tested any software or information found on these sites;
    Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information
    found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Siri call both my wife and I by my name

    We have a family plan and both got iphone 4S at the same time. I see in settings under Siri that both phones have my name but cannot figure out how to change them

    In the Siri settings ("Settings" -> "General" -> "Siri"), there's a section called "My Info".  If you select it, it will bring up your address book, which you can navigate to select who you are.  Your wife needs to set up an address book entry for herself on her phone, and then she can select that as her info.  That should, in theory, set her up as "Siri's master" on that phone.
    You can also change your info that way (for example, if you prefer to use a nickname), but it sounds like yours doesn't actually need changing!

  • Concatenating 2 files  in Unix and passing as input to SQL loader program

    Hi,
    I have 2 files file1_DDMMYY.csv and file_2_DDMMYY.csv
    I want to insert the 2 files using SQL Loader
    I am using the all_directories table to look at the directory path and file name passed for example \test\sdf\test\file_1_DDMMYY.csv
    I am presently using INFILE * in the Control File.Does it will take care of the 2 files for loading?Also the file  naming convention may vary depending upon the dates.for example it can have file_1_210214.csv or file_1_220214.
    Can we using concatenate and call the unix shell script and combine the 2 files to one and load the data using sql loader??
    How will be process of calling the shell program and pass the 2 files and combine it to one. (cat file_1_DDMMYY.csv file_2_DDMMYY.csv > file_1_DDMMYY.csv)
    Regards

    DUPLICATE thread
    FTPing multiple files in Server using Unix

  • Calling a report and passing values!!

    Hi Experts,
    i have a requirement. I have a report [zrep1] with billing doc field and shipment field on the selection screen.
    The logic for billing document is written. Im writing logic for shipment numbers. I am finding the billing documents of delivaries for each shipment.
    I want to pass those billing documents as input to the same report program [zrep1] for the existing billing document code to get the output.
    How to call the same report and pass the values from internal table as input to it.
    Please suggest the way to proceed. i knw it is possible.
    Thanks in advance.
    Edited by: Craig Cmehil on Jul 3, 2008 3:30 PM

    Hello,
    Try this:
    The program report1 has a stand-alone selection screen with the screen number 1100. In the program report2, an internal table with row type RSPARAMS and a ranges table are filled for this selection screen. These are transferred at SUBMIT together with a single condition.
    Program accessed
    REPORT report1.
    DATA text TYPE c LENGTH 10.
    SELECTION-SCREEN BEGIN OF SCREEN 1100.
      SELECT-OPTIONS: selcrit1 FOR text,
                      selcrit2 FOR text.
    SELECTION-SCREEN END OF SCREEN 1100.
    Calling program
    REPORT report2.
    DATA: text       TYPE c LENGTH 10,
          rspar_tab  TYPE TABLE OF rsparams,
          rspar_line LIKE LINE OF rspar_tab,
          range_tab  LIKE RANGE OF text,
          range_line LIKE LINE OF range_tab.
    rspar_line-selname = 'SELCRIT1'.
    rspar_line-kind    = 'S'.
    rspar_line-sign    = 'I'.
    rspar_line-option  = 'EQ'.
    rspar_line-low     = 'ABAP'.
    APPEND rspar_line TO rspar_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'H'.
    APPEND range_line TO range_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'K'.
    APPEND range_line TO range_tab.
    SUBMIT report1 USING SELECTION-SCREEN '1100'
                   WITH SELECTION-TABLE rspar_tab
                   WITH selcrit2 BETWEEN 'H' AND 'K'
                   WITH selcrit2 IN range_tab
                   AND RETURN.
    Regards.

  • Set a variable in Adapter Module and read it during message mapping

    Hi guys,
    is there any way, how I could set some variable and store its value during the adapter module processing and read back this value in message mapping and use it? Without using a database or files.. I mean, some j2ee storage or something like that..
    Thanks for your help,
    Olian

    Hi guys,
    thanks for your answers..  just a clarification, what the problem is.
    I need to validate a message in the adapter module, if it's digital signature is valid. If it is, I need to send back to the sender a return code (message) OK, otherwise ERROR. I can't modify the message (or dynamic configuration) as I'm using a WSS in the sender channel. The system doesn't allow me to change anything in the message, so I can't find out in the mapping what the validation result was. I then tried to do the validation directly in the message mapping, but I have some issues there with libraries or what, because the validation code, which works in the adapter module, doesn't work in the mapping java class. So my final thought was maybe I could validate the message in the adapter module and pass the result to the message mapping and then create an appropriate return message (in the mapping). However, I see no way of passing a value there. I'm stuck and have no Idea how to resolve the problem. Any hints guys?
    Thanks a lot for your help!
    Olian

  • Why do some downloaded files get "generic" file names?

    Sometimes when I click on a link to download a file the file ends up on my computer with a name corresponding to part of the URL that I clicked on. It only happens when the link doesn't point to a file name but instead calls a serverside process and passes the name/ID of the file to be downloaded. For example, a URL that looked like this:
    http://www.servernamegoeshere.com/digitalAsset/?id=123456 (example - not a working link)
    results in a file named "digitalAsset" on my desktop. I'm sure the issue has something to do with how the file is being sent by the server (HTTP header or MIME info) but I'd like to figure out exactly why that happens so that I can point the server owner in the right direction so that it gets corrected (unless it's a Safari bug). The same ULR works as anticipated in FireFox 2.0.
    Other similar links on the same site that point to PDF files get handled properly (displayed by Safari). The links that don't behave correctly point to Word files.
    Any ideas why this happens?
    MacBook Pro   Mac OS X (10.4.8)  

    Hey there,
    Try this:
    Highlight the tracks in iTunes (hold down the control button to highlight multiple tracks at once) and right-click on them and choose Get Info from the menu. From there, head over to the Options tab. Towards the middle of the window should be a drop down menu for Media type. Choose either audiobook or music, depending on which way you want to organize them. Then hit OK to apply the changes.
    See if that helps.
    B-rock

  • Boyum External Launcher Passing Database Information w/Multiple Parametes

    I have a Boyum button which calls a .NET application passing multiple parameters.  However, I need to add an additional parameter that passes the database name.  Can someone show me the correct syntax to do so?
    Thanks in advance.

    FYI:  Here's the syntax for calling a .NET application and pass multiple arguments (In the "Arguments" field of the "Buttons - Configuration"):
    "C:\ExecutableLocation\Program.exe" | "Value1" "Value2"
    If you'd like to pass values from the form in which the button resides you can do the following:
    "C:\ExecutableLocation\Program.exe" | "$[$8.0.1\]" "$[$16.0.1\]"
    Edited by: David Miller on Oct 7, 2011 4:03 PM

  • File to File and then Call ABAP Program and pass file name and location

    Hi
    I am new to PI and am working on the following requirement and some guidance would help:
    A file is picked up from a third party server using FTP and is put in an SAP server in a specific location. After I have put in the file successfully, I need to call an ABAP program and provide the name and location of the file for further processing by the ABAP program.
    Although I am familiar with File to File, how can I add in the ABAP call with the filename and location? I do not want to pass any other information to the ABAP program.
    Thanks for your help.
    Manoj

    I think I get what you're saying. This additional file would have the file and the path in it's content. I would then use this as a source (FCC?) for Mapping with the RFC. Right?
    Exactly and yes, FCC would be helpful
    Would you have a sample OS script to do the above?
    Actually it depends on the operating system on which your PI system is standing. For instance for Windows, you might try with the following as a start point (but I was not able to test it, so I can't guarantee it will do the job):
    cmd.exe /C "%f %F > C:\target_directory\%DATE%_%TIME%.txt"
    In case you needed more, try googling on "windows batch script" or similar.
    Hope this helps,
    Greg

  • File adapter - How to pass File name and path at runtime

    Hi gurus,
    We want to use PI 7.0 as an ftp server and expose the config as a webservice where the service consumer can pass one or more file names and the path to pick them and drop them on a fixed ftp server.
    So precisely, I need to be able to set the file name, target directory parameters in both sender and receiver file/ftp adapters at runtime. is this possible at all ?
    I am aware of passing Adapter specific parameters from sender file adapter to receiver file adapter to create the same folder structure and file names. But my requirement is different. I hope I am clear.
    Could I please get some advise on this .
    Thanks & Kind Regards,
    Jhansi.

    Hi Jhansi,
    Either you can go ahead with dynamic configuration as said by other SDN'ers. Else can go with Java Mapping:
    Here is the code for Java Mapping:
    import com.sap.aii.mapping.api.*;
    import java.io.*;
    import java.text.*;
    import java.util.*;
    public class GetDynamicConfiguration implements StreamTransformation {
    private Map param;
    public void setParameter(Map map1) {
    this.param = map1;
    public void execute(InputStream inputstream, OutputStream outputstream) throws StreamTransformationException {
    try {
    AbstractTrace trace = null;
    // a) Set ouput File name
    String directory=null;
    trace = (AbstractTrace)param.get(StreamTransformationConstants.MAPPING_TRACE );
    param.put(DynamicConfigurationKey.create("http://sap.com/xi/XI/Dynamic", StreamTransformationConstants.DYNAMIC_CONFIGURATION), "");
    DynamicConfiguration conf = (DynamicConfiguration) param.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    String filename =conf.get(key);
    conf.put(key, filename);
    trace.addInfo("File name is "+filename);
    if(filename.equals("in.txt"))
    directory = "/home/ftpxi/in";
    if(filename.equals("test.txt"))
    directory = "/home/ftpxi/in/test";
    if(filename.equals("shweta27.txt"))
    directory = "/home/ftpxi/in/test";
    trace.addInfo("Directory name is "+directory);
    conf.put(key1, directory);
    // b) Just copy input file to output file
    byte[] b = new bytehttp://inputstream.available();
    inputstream.read(b);
    outputstream.write(b);
    } catch (Exception exception) {
    exception.printStackTrace();

Maybe you are looking for

  • No two way sync. Only iCal to BB?

    Hello again, Any simple answer for why suddenly my appointments on my Blackberry Curve  are now not syncing over to my iCal? I can get appointments from iCal to the BB, but NOT the other way around.  BB appointments will not show up in iCal. In Janua

  • Slideshow created with iphoto will not burn with idvd

    I cannot seem to burn dvd using idvd.  slideshow created with iphoto

  • How to change the web icon in the browser window

    i have created my site and cant find how to change the icon in the browser window (like they have done at the top of this page with the Adobe icon before the  Adobe Forums: text )would anyone be kind enough to give me some help??

  • Need help on Triggers

    Hi, I need to write a trigger on the prr_no so that whenever it is inserted or updated the prr_ind (which is again in the same table) is automatically set to 'Y' if prr_no <> null and prr_ind set to 'N' if prr_no = null I am using Oracle 11g, and fol

  • How to do slices with Fireworks

    I need to know how to change with slice tool images from gif to jpg? Currently it shows me gif format but do not know where to change this format or this is not possible. Need help