XL Reporter Scheduled Jobs and connection settings

Company needs to decommission current SQL Server and move to new box.
Company has many XL Reporter scheduled jobs that run on a client machine.
When the new sql server is in place, what will happen to those jobs? The client machine SBO installation will be directed to the new sql server and the license server there. Will the scheduled jobs "know' from the SBO client to go to the new server for data? Or is the connection string somehow encapsulated in the scheduled job such that they will still try to access data on the old server?
SBO 2007 A SP 00 PL 48
(Yes, I know it's old. There are reasons.)
TIA.

Your 2nd guess is true: the connection string somehow encapsulated in the scheduled job such that they will still try to access data on the old server. It will not automatically find the new server unless new server has the identical settings.
You probably need to re-schedule those jobs.
Thanks,
Gordon

Similar Messages

  • PI Configuration and connection settings between SAP ERP and peoplesoft

    Can someone please share some docs or the link  for the PI Configuration and connection settings for the connection between SAP ERP and people soft system. Thanks in advnce
    Regards
    krish

    Hello,
    The following links will be helpful in this regard:
    http://help.sap.com/saphelp_nw04s/helpdata/en/14/39084136b5f423e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nwpi711/helpdata/en/d9/f3d22f01c741bdb0e62a2f4205411c/content.htm

  • Promotion and report schedule job goes to pending state

    hi everyone,
    we are using BO4.1 SP02 Patch 1 platform, suddenly now report schedules and promotion jobs are not promoting and it goes pending state.
    we restarted the LCM APS and AJS , but still promotion job in pending state
    we also restarted Webi APS and AJS but still schedule in pending state.
    anyone faced this problem before, could you please help us to find the cause.
    Regards,
    Ganesh

    HI Ganesh
    Can you make it 1 and try out once
    Because 1 = OUTPROC and 100 = MIXEDPROC
    Outproc causes the job server children to shut down after every job
    Mixedproc causes the job server children to shut down after every 100 jobs
    and Job server children will be automatically shutdown if left unused for more than 2 hours
    Can you check the taskmanager for the jobserverchild.exe is created or not ???
    Please get back

  • Scheduled refresh - Test connections settings validation failed: one or more connections did not pass the test

    I copied a workbook that has a working scheduled refresh
    modified the data model, added some new reports
    added a new source (PQ from azure market place)
    uploaded workbook to new powerbi location.
    get the following error when i try to turn on scheduled refresh - this is even if i just select one data source that is still identical to the original (working) workbook
    Test connections settings validation failed: one or more connections did not pass the test
    Technical Details ▼
    Correlation ID: ddcab6b8-ff2c-4881-9d8e-eeabbd23dff2
    Date and Time: 12/12/2014 06:13:06 AM (UTC)
    what's the problem?
    Jakub @ Adelaide, Australia Blog

    Still a problem and not just for me but other users going by the threads on here...
    https://social.technet.microsoft.com/Forums/en-US/eb8682f4-9b40-456a-a7f1-45627a0f4ff0/cannot-schedule-refresh?forum=powerbiforoffice365#eb8682f4-9b40-456a-a7f1-45627a0f4ff0
    Applies to all worksheets that utilise a PQ connection registered in the gateway. (my gateway is on an azure VM)
    Existing worksheets receive this warning. New workbooks that utilise these connections also receive this warning
    Adding a new PQ to the gateway and a new workbook that uses the new connection also receives this warning.
    Every PQ connection I have receives this warning. My PQ connections are all to web resources. Most are to the workflowmax.com API, and one is to the Azure Marketplace to retrieve data for a date dimension.
    Note: this does not prevent me from scheduling or triggering a refresh, and the refresh itself completes successfully. It's just a weird warning that caused confusion as it sounds like the actual refresh will fail as well seeing as the connection test failed.
    Jakub @ Adelaide, Australia Blog

  • How to create schedule job and event trigger in XI to start a ABAP program?

    Dear All:
    Here are what i need to do:
    1.To run a ABAP program to start an XI scenario per hour.
    2.To run a ABAP program to start an XI scenario per day at 6 PM.
    3.To run a ABAP program used event trigger to make sure that XI scenario has finished the process and after that wait for 10 min later and run again.
    only i know is used sm36 & sm37 to set up a schedule job.
    but what i don't know is how to do it step by step.
    especially point 3.
    are there any step by step example can show me how?
    it better be simple and details...
    thanks you all
    Regards
    Jack Lee

    Hi,
    If you want to trigger the event manually from within SAP, use transaction
    SM64
    in SAP this is done by scheduling a job
    once a new customer is entered
    your scheduled report sends customer master data
    you can schedule your report (TCODE - BD12 I think) to one day or every 5 minutes... it depend on your needs and the system performence
    Regards,
    Surya

  • Capture DDL for Oracle Scheduled Jobs and job from DBMA_JOBS

    I have trying at this for while and now I am stuck...so I need some help or advice.
    I am doing a DB migration and I need to capture the DDL for all Oracle Scheduled Jobs as well as DBMS_JOBS. Anyone have a good way?
    I took a datapump export last week. Can I run a impdp and capture the DDL for this VIA the sqlfile parameter? If so, how? What would be the script for it. Something like this maybe (par file)?
    directory=DP_IMPORT
    DUMPFILE=dump1.dmp
    SCHEMAS=A,B,C...X,Y,Z
    LOGFILE=JOBS.LOG
    EXCLUDE=TABLE,INDEX,CONSTRAINT
    PARALLEL=4
    INCLUDE=JOBS
    ????

    Hello,
    It's JOB, see following table for possible options , I recommend you to read throught this thoroughly before starting.
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_metada.htm#BGBIEDIA
    Regards

  • Report on DNS and WINS settings

    Hi,
    It doesn't look like there are built-in reports to show DNS and WINS settings for client machines in SCCM 2012? We are going to run a script to change all clients with static DNS and WINS settings and I need to have a report to show client machines with
    and without the new settings. Can anyone help with this?
    I have enabled 'DNS Server Search Order', 'WINS Primary Server' and 'WINS Secondary Server' in hardware inventory classes > Network Adapter Configuration (Win32_NetworAdapterConfiguration). I've done this in the Default client settings. There are other
    client setting policies with a higher priority but I assume they are cumulative and so as this isn't set on the other client setting policies it should implement this?
    Thanks,
    Andrew

    Hi,
    1. Please make sure the hardware inventory has completed and the data about that hardware incentory has been written into database.
    SCCM inventory troubleshooting
    2. You could have a look on the query in the thread below.
    SCCM custom report on DNS and
    WINS information for all Domain Controllers in a collection
    (Note: Microsoft provides third-party contact information to help you find technical support. This contact
    information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.)
    Best Regards,
    Joyce Li
    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.

  • Reports 9i authentication and connection parameters

    Hi,
    We are trying to integrate reports into our JDeveloper 9i application, which uses BC4J.
    Right now, we seem to have to pass the parameters for the authentication and database connection into the reports either via the URL or via parameters inside the JSP file.
    http://10.1.1.140:8888/cs8/MyTestReport.jsp?userid=xxxx/yyyyy@db
    OR ...
    <rw:report id="report" parameters="userid=xxxx/yyyyy@db">
    Now: how can we use the BC4J connection for this? I know the administrator can edit the data source via Enterprise Manager, but I'd like to have reports use the same connection information as the application so that the data is accessed seamlessly.
    Thanks,
    Jeff

    It's a start. But the cruxt of it is, that we develop the applications and hand them over the wall to the end user admin team and it really is critical not to publish, anywhere the passwords, etc. Without the getPassword() type of call, it will be painful. Ideally, the customer would be able to configure the datasource via EM, as they can for the application...
    It could be that I'm barking up the wrong tree, too. We are, ideally, using reports server and OC4J. If there is an "embedded" reports capability built into OC4J and the authentication is based upon the application's existing connection pool, that would be helpful, too.
    If someone has ideas as to how to make this easier, without having to store user name, connection info and passwords in a table (or xml file), that would be great. Obviously, the connection name and the username can be retrieved, but without the password, it's painful -- and probably less secure.
    Thanks!
    Jeff

  • Scheduled Jobs and Server Maintenance

    Hi All,
    Running SQL 2012.  We have a series of scheduled jobs that run once per day, with no retry interval set.  I was informed by IT today that they need to perform unscheduled maintenance on the server this evening - which may or may not be completed
    by the time our jobs are set to run.  My question is: if a job is set to run at (say) 10pm, and the server is off - when it is restarted, does it try and execute this missed job?  Or does it just do nothing and next execute according to it's regular
    schedule (so, at 10pm the following night?)
    Thanks.

    The job doesn't fail if SQL Server isn't started when the job is supposed to start. If SQL Server isn't started, then there is nothing tat will attempt to start the job and there's nothing to fail.
    There's no re-try here. SQL Server Agent will run the job next time (assuming it is started, of course).
    Tibor Karaszi, SQL Server MVP |
    web | blog
    Hello Tibor,
    I guess this is what Prashanth was trying to say. That if job is missed,because agent was not online, when agent comes online it wont execute it immediately but would follow normal course. Hope I am saying correct
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Delete DM scheduled job and .mrc file

    Hi,
    What's the best way for a BPC admin to stop a DM scheduled job either scheduled by error or incorrectly set up?
    My understanding was that deleting the .mrc automation file would take care of it but it doesn't stop the job automatically created in BI (that can be seen in SM37). The BI job can be manually deleted by the BI team but is there a way for the BPC Admin to completely delete it from BPC?
    Thanks
    David

    Hi,
    If the schedule has not started yet, then you can delete the automation from DM package list. It will stop the scheduling. Next time onwards, you can run the package by double clicking on it.
    Hope this helps.

  • Schedule Job and Read Spool

    Hi Guru's,
    my requirement is
    1.I need to run one standard program 3 times with 3 diffrent selection's.
    2.the resultant 3 diffrent ouput will be displayed in only ONE output.
    ( the prgram should have the capalibilty to ceate 3 diffrent jobs simulatenously I.e submitting  the job in background once submit dont wait for the result sicne this should be stored in spool and then submit the secound and thrid)
    after scheduling this 3 prgram program need to wait until all this 3 jobs beein scheduled which were running in paralled to complete. then read ther respective spool and output one result .

    Hi,
    You can check if FM: 'SUBST_SCHEDULE_BATCHJOB' is available on your system ,
    There u can pass the following parameters
    IMPORT
    REPNAME = "Name of the Report"
    LANGUAGE = 'Language in which job should run"
    SDLSTRTDT = "Start date"
    SDLSTRTTM = "Start time"
    STRTIMMED = 'X' = Immediate start
    TABLES
    SELTAB = "to fill selection screen"
    use this FM 3 times with different selections
    Get the Spool Numbers & Read them
    Regards,
    Gaurav

  • CCM schedule job and OCI used

    Hi all,
    We are using Requisite BugsEye 4.0.5.6 with SRM 4.0.  I'm studying CCM 2.0 to replace BugsEye and need helps from all of you:
    Q1: I saw a screen in service marketplace presentation, schedule upload catalog job in CCM need to specify Catalog ID and Supplier ID.  Are these IDs mandatory and what if we have 20 catalog and 500 suppliers, thus in worst case I need to run 20x500 jobs.  It this true?
    Q2: Can CCM schedule daily job to run at specific time?
    Q3: In Requisite, OCI-HTML document will be posted to SRM. What OCI document is posted back by CCM, OCI-HTML or OCI-XML?
    Q4: On the same presentation there is a statement "SAP CCM does not support exporting of content as files ...". Since we have other application polling export file from BugsEye catalog content.  Is there any other way to export CCM catalog content?
    Thanks in advance.
    Regards,
    Donald Lee

    Hi,
    Q1: Yes
    Q2: CCM is an SAP WAS 640 Add-on, the job schedduling is made manually, There is no CCM customizing point that automatically creates jobs, so you can scheddule them whenever you want, and specify the time.
    Q3: OCI is an SAP norm, you can use OCI-XML for asynchronous process, it should also be possible with CCM (depends on the catalog link definition)
    Q4: There is no sytandard exporting tool within CCM, but, once again, CCM is a SAP WAS addon developed in BSP and the data are stored in the WAS database. So you canmake whatever development you want, especially for exporting purposes.
    Regards.
    VAdim

  • Scheduling jobs and sending emails

    I wrote a procedure in Application Express that checks for expiring data and notifies its creator. The procedure is owend by the schema that houses the APEX application and data. I want this procedure to run everyday. I scheduled a job to run in Oracle to perform this duty. The dbms_job was created by SYS. However when I try to submit this job, I am getting this error:
    ORA-12011: execution of 1 jobs failed
    ORA-06512: at "SYS.DBMS_IJOB", line 406
    ORA-06512: at "SYS.DBMS_JOB", line 272
    ORA-06512: at line 1
    I have been looking at this over and over again and can't figure out what I'm doing wrong. I tried creating the job as sys and the "schema name" owner.
    Job code:
    DECLARE
    X NUMBER;
    BEGIN
    SYS.DBMS_JOB.SUBMIT
    ( job => X
    ,what => 'CHANGETRK.BLANKET_EXPIRATION_NOTICE;'
    ,next_date => to_date('09/12/2008 12:08:27','dd/mm/yyyy hh24:mi:ss')
    ,interval => 'TRUNC(SYSDATE+1)+6/24'
    ,no_parse => TRUE
    SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
    END;
    commit;
    PROCEDURE:
    CREATE OR REPLACE PROCEDURE "BLANKET_EXPIRATION_NOTICE"
    IS
    blanket_email_addr VARCHAR2 (100);
    GROUP_ID NUMBER;
    CURSOR exp_blnkts
    IS
    SELECT script_id, app_rej_by, title, bl_app_end_date
    FROM changetrk.scripts_main
    WHERE app_rej = 'BLANKET'
    AND TO_CHAR (bl_app_end_date, 'MM/DD/YYYY') =
    TO_CHAR (ADD_MONTHS (SYSDATE, 1), 'MM/DD/YYYY');
    blnkt exp_blnkts%ROWTYPE;
    BEGIN
    BEGIN
    SELECT nv ('FLOW_SECURITY_GROUP_ID')
    INTO GROUP_ID
    FROM DUAL;
    wwv_flow_api.set_security_group_id (GROUP_ID);
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    NULL;
    END;
    FOR blnkt IN exp_blnkts
    LOOP
    blanket_email_addr := NULL;
    blanket_email_addr := HTMLDB_UTIL.get_email (blnkt.app_rej_by);
    DBMS_OUTPUT.put_line ( 'script id: '
    || blnkt.script_id
    || ' '
    || 'titlel: '
    || blnkt.title
    || ' '
    || 'expiration date: '
    || blnkt.bl_app_end_date
    || ' '
    || 'email address: '
    || blanket_email_addr
    htmldb_mail.send (p_to => blanket_email_addr,
    p_from => '[email protected]',
    p_body => 'Script ID: '
    || blnkt.script_id
    || CHR (10)
    || 'TITLE: '
    || UPPER (blnkt.title)
    || CHR (10)
    || 'EXPIRATION DATE: '
    || TO_CHAR (blnkt.bl_app_end_date,
    'MM/DD/YYYY'
    || CHR (10)
    || 'This script will expire in 30 days'
    || CHR (10),
    p_subj => 'BLANKET SCRIPT: '
    || blnkt.script_id
    || ' '
    || 'EXPIRING'
    END LOOP;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    NULL;
    WHEN OTHERS
    THEN
    raise_application_error (-20100, SQLERRM);
    END;
    Edited by: UserLJ on Dec 10, 2008 5:38 AM

    The suggestion is valid. However in your case the call to the function
    nv ('FLOW_SECURITY_GROUP_ID')
    is going to return nothing because there is no 'FLOW_SECURITY_GROUP_ID' for your session since it was started outside of the APEX context.
    You should be able to obtain the 'security_group-id' for your application from the 'WWV_FLOWS' table. This table is owned by the schema into which APEX is installled (Usually FLOWS_XXXXX where XXXX is the APEX release id).The column named 'SECURITY_GROUP_ID' from the row corresponding to your application can be used in your call to to the 'wwv_flow_api.set_security_group_id' API.
    Varad

  • JCo server programming, properties and connection settings

    Greetings, SAP professionals.
    The reason I come to this forum is that I'm hoping to gain some insights into the use of the SAP Java Connector (JCo). I am a developer who was tasked with making a new component for a systems integration application. As is typical of integration software, our app can link together various different systems using a variety of protocols, as well as providing the means to apply business logic on messages passed from one location to another. We already have a connector acting as an SAP client which was implemented using JCo. Now, we were asked to develop a new component: a server capable of accepting RFCs from a remote SAP system acting as client. The server is to be created using the JCo classes, so basically an extension of JCo.Server, with some logic for creating function templates from configuration files.
    However, while I'm understanding the structure of the Java API, it's not entirely clear to me just what the classes do. I've found the JavaDoc for JCo to be mostly descriptive of the interface of classes and methods, but not really explaining what these achieve, or how. So I'm hoping to be set straight, as I fear I'm kind of misunderstanding the functionality of JCo... Being mainly an integrations developer, I unfortunately often have to settle for gaining a superficial knowledge of a variety of systems to quickly interface with them, so I don't have any prior knowledge of SAP but still need to be able to implement something with JCo without too much delay.
    The most important question I have is this: when a JCO.Server implementation is started, does it act as a fully standalone component capable of receiving calls, or does it merely act as a sort of listener for some main SAP system? I'm not talking about a reliability on the two .dll files (or .so for Linux) that are required for the use of JCo, I just wish to know if the JCo package is entirely self-sufficient for server functionality or if it is intended to be linked to some SAP system.
    A second problem I have is that the parameters passed to various constructors aren't clear to me... I'm not familiar with SAP terminology, nor have I worked with any client apps that make use of an SAP system.
    The meaning of client strings, gwhost, gwservice, ashost, system IDs and program IDs mostly elude me, especially when it comes to knowing what client parameters must match what server parameters.
    In order to familiarize myself with the classes, I've tried playing around with them a bit trying to create a small test app that first starts a JCO.Server instance, then tries to make a remote function call to it with a JCO.Client (within the same class, for simplicity and debugging purposes). I was wondering if this actually makes sense... Would a JCo client be capable of connecting to a JCo server, all running purely in Java, or is that nonsense?
    To eliminate some common troubleshooting options, I'll quicly describe the steps I've taken:
    Both librfc32.dll and sapjcorfc.dll were placed in the Windows system32 folder. Maybe only librfd32 needs to be placed there, but I copied both anyway to make sure.
    The directory containing the jar file and both dll files is included in my environment path variable.
    I've added a line to the C:\Windows\system32\drivers\etc\services file as follows:
    sapgw00          3300/tcp                           #SAP System Gateway Port
    I've opened port 3300 in my Windows firewall. In fact, I also tested with the firewall completely turned off.
    However, I do not manage to get my test class to work. I've tried ports 3300, 3200 and 3600. I've tried various permutations of the client and server properties. I've tried removing the line from the services file, which would prompt the client to state upon connecting that the service "sapgw00" is unknown. When I add it back in, the error changes to "partner not reached", so it is definitely picking something up.
    The server itself starts just fine, but connecting through a client doesn't work. My class source code is posted below. Maybe what I'm trying to do doesn't make any sense, but at the moment it's my best guess.
    I realize this is a pretty long post and the class, while not exactly big, also implies a bit of reading of its own. But if anyone could give me any answers that are new to me, I'd be hugely grateful. Right now I'm kind of stuck, and just setting up the service and letting our customer test on it is a somewhat slow approach that can't match developing and testing on one and the same host.
    Preliminary thanks to everyone who took the effort to read this.
    //Start of code
    import java.util.Properties;
    import com.sap.mw.jco.IFunctionTemplate;
    import com.sap.mw.jco.IMetaData;
    import com.sap.mw.jco.IRepository;
    import com.sap.mw.jco.JCO;
    public class Test {
         public static void main(String[] args) {
              Test test = new Test();
              ServerThread serverThread = test.new ServerThread();
              serverThread.start();
              while(!serverThread.isReady) {
                   try {
                        Thread.sleep(5000);
                   } catch(final InterruptedException i) {
                        System.out.println("Rudely awakened");
              try {
    //               JCO.Function func = getSampleFunction(test, "STAY");
    //               serverThread.server.handleRequest(func);
    //               System.out.println(func.getExportParameterList().toXML());
    //               func = getSampleFunction(test, "STOP");
    //               serverThread.server.handleRequest(func);
    //               System.out.println(func.getExportParameterList().toXML());
                   final Properties clientProps = getClientProps();
                   JCO.Client client = JCO.createClient(clientProps);
                   client.connect();
                   IRepository rep = JCO.createRepository("1", client);
                   IFunctionTemplate templ = rep.getFunctionTemplate("TEST_FUNC");
                   JCO.Function function = templ.getFunction();
                   function.getImportParameterList().setValue("STAY", "FIELD1");
                   client.execute(function);
                   JCO.Function function2 = templ.getFunction();
                   function2.getImportParameterList().setValue("STOP", "FIELD1");
                   client.execute(function2);
              } catch(final Exception e) {
                   e.printStackTrace(System.out);
                   serverThread.requestStop();
                   while(serverThread.isAlive) {
                        try {
                             Thread.sleep(5000);
                        } catch(final InterruptedException i) {
                             System.out.println("Rudely awakened");
              } finally {
         private static Properties getClientProps() {
              final Properties props = new Properties();
              props.setProperty("jco.client.client", "100");
              props.setProperty("jco.client.user", "");
              props.setProperty("jco.client.passwd", "");
              props.setProperty("jco.client.lang", "");
              props.setProperty("jco.client.sysnr", "00");
              props.setProperty("jco.client.ashost", "/H/localhost/S/sapgw00");
              props.setProperty("jco.client.gwhost", "localhost");
              props.setProperty("jco.client.gwserv", "sapgw00");
              return props;
         public class ServerThread extends Thread {
              public void run() {
                   isAlive = true;
                   IRepository repos = new TestRepository("testrep");
                   repos.addFunctionInterfaceToCache(getFunctionInterface());
                   server = new TestServer(repos);
                   server.start();
                   System.out.println("Server successfully started");
                   isReady = true;
                   while(!stop) {
                        try {
                             Thread.sleep(1000);
                        } catch(final InterruptedException i) {
                             System.out.println("Wouldn't let me sleep...");
                        stop = server.stopRequested;
                   server.stop();
                   isAlive = false;
                   System.out.println("Server successfully stopped");
              public void requestStop() {
                   server.requestStop();
              public TestServer server;
              public boolean isReady = false;
              public boolean isAlive = false;
         public class TestServer extends JCO.Server {
              public TestServer(IRepository rep) {
                   super("localhost", "sapgw00", "PROGID", rep);
              public void handleRequest(JCO.Function fct) {
                   try {
                        JCO.ParameterList importParams = fct.getImportParameterList();
                        final String importXML = importParams.toXML();
                        System.out.println("XML representation of import parameters: ");
                        System.out.println(importXML);
                        final String input = importParams.getString("FIELD1");
                        System.out.println("FIELD1 value: " + input);
                        JCO.ParameterList exportParams = fct.getExportParameterList();
                        if(input.equals("STOP")) {
                             exportParams.getField("FIELD2").setValue("OK");
                             stopRequested = true;
                   catch(JCO.AbapException ex) {
                        throw ex;
                   catch(Throwable t) {
                        throw new JCO.AbapException("SYSTEM_FAILURE", t.getMessage());
              public boolean checkAuthorization(String functionName, int authorMode, String partner, byte[] key) {
                   System.out.println(functionName + " " + partner);
                   return true;
              public void requestStop() {
                   stopRequested = true;
              public boolean stopRequested = false;
         public class TestRepository extends JCO.BasicRepository implements IRepository {
              public TestRepository(String name) {
                   super(name);
         public static IMetaData getFunctionInterface() {
              JCO.MetaData metaData = new JCO.MetaData("TEST_FUNC");
              metaData.addInfo("FIELD1", IMetaData.TYPE_STRING, 4);
              metaData.setFlags(0, IMetaData.IMPORT_PARAMETER);
              metaData.addInfo("FIELDX", IMetaData.TYPE_STRING, 8);
              metaData.setFlags(1, IMetaData.IMPORT_PARAMETER & IMetaData.OPTIONAL_PARAMETER);
              metaData.addInfo("FIELD2", IMetaData.TYPE_STRING, 2);
              metaData.setFlags(2, IMetaData.EXPORT_PARAMETER);
              return metaData;
         public static JCO.Function getSampleFunction(Test test, String s) {
              TestRepository testRep = test.new TestRepository("testrepository");
              testRep.addFunctionInterfaceToCache(getFunctionInterface());
              JCO.Function func = testRep.getFunctionTemplate("TEST_FUNC").getFunction();
              func.getImportParameterList().setValue(s, "FIELD1");
              return func;
         private static boolean stop = false;

    If I understood you correctly, you want to provide a "service" that can be called from SAP. To provide this service you've chosen to implement an (external) RFC server program via JCo. One common method for RFC server programs is to register in SAP on the gateway - you do this by supplying the three parameters
    <ol>
    <li><b>jco.server.gwhost</b> -  SAP gateway host on which the server should be registered (so this would be the server name or IP address of the SAP gateway; localhost is only correct, if your RFC server program runs on the same server as the SAP gateway)</li>
    <li><b>jco.server.gwserv</b>  - Gateway service, i.e. the port on which a registration can be done</li>
    <li><b>jco.server.progid</b> - Program ID under which your RFC server program can be reached (free, made-up case sensitive name, that should represent the service your RFC server is providing)</li>
    </ol>
    So essentially you're creating a listener, that is registered in SAP and waits for any invocations. Within SAP they will define a <i>RFC destination</i>, which basically represents a TCP/IP connection pointing to the SAP gateway where you registered with the given program ID. If you want more details, check the SAP help pages for <a target="_blank" href="http://help.sap.com/saphelp_nw04/helpdata/en/22/04262b488911d189490000e829fbbd/content.htm">RFC destinations</a> (you're looking for destination type <b>T</b>, see explanations <a target="_blank" href="http://help.sap.com/saphelp_nw04/helpdata/en/22/042652488911d189490000e829fbbd/content.htm">here</a>).
    Usually gateway host and service (port) are given to you by the SAP basis folks and you tell them which program ID you're using. They will then enter those parameters in an RFC destination of type <b>T</b> in SAP. So no need for any of the client parameters you've mentioned. Although, I'd like to repeat, it's usually handy to also have SAP logon parameters maintained on your RFC server program, so that you can utilize the repository data from SAP (might be irrelevant in your case).
    Hope this clarifies it a bit...

  • Scheduled shutdown and power settings

    I have set up a policy to shut down all domain computers at 1900 every day with Task Scheduler via GPO, but there is still something that I need to configure.
    Working hours of the company that I work for, are from 0800 to 1700, but there are still employees that remain after working hours to finish their daily tasks. Many time it happens that the any computer won't be used at all, but they just do not shut it
    down.
    I would like to set a policy which would apply after 1700 to send the computers to sleep mode after 30 minutes of inactivity and then shut down the computers that have been on sleep mode for more then 15 minutes. So they do not have to wait till 1900 to
    shut down.
    Thanks

    Hi,
    You can create a scheduled task using group policy preferences to initiate shutdown.
    Checkout the below thread on similar discussion,
    http://social.technet.microsoft.com/Forums/en-US/c01687ff-d42d-4e32-9305-6ba3802b68b0/how-to-schedule-shutdown-task-by-group-policy-?forum=winserverGP
    FYI
    The file path for the executable to initiate shutdown, restart, logoff, hibernate -
    c:\windows\system32\shutdown.exe
    Command for,
    Shutdown - shutdown -f -s
    Restart     - shutdown -f -r
    Logoff       - shutdown -f -l
    Hibernate - shutdown -f -h
    Regards,
    Gopi
    JiJi
    Technologies

Maybe you are looking for

  • Error message for pdf making overload

    I spent a day or so trying to find why my large, complex doc with lots of raster links make AI CS3 go out to lunch. Then I realized that it simply could not handle the amount of data I had in the file. A simple error message like 'This doc contains i

  • Transferring iTunes from Windows PC to new iMac

    Hi guys, I know this has probably been asked a hundred times but I cannot seem to find a definitive and straightforward answer. Basically I have just bought a 27" iMac and would like to transfer my iTunes library and iPhone settings across to this be

  • Picture not the same as original

    I have Adobe Photoshop Elements 7.  I received a photo that is really great but I wanted to change the size in my program.  When I opened the photo in Elements, the saturation and contrast were out of wack.  I have a new monitor, a Samsung LCD HDMI 2

  • MacBook slow Wifi (file copying)

    Hi there, I'm running a 802.11n 2,4GHz Wifi at home. My Mac Mini (2011) and Macbook (2007, white) connect to my network using it. My server is connected through gigabit LAN. Using my Mini I get very decent speeds copying files, a 700MB file takes jus

  • Selecting the records

    hey guys i need ur help. I have columns with values in a table like this flag -- reading --amount Y --10 --300 N --40 --NULL N --50 --NULL Y --50 --200 N --50 --NULL now i have to calculate the split_amount for each individual READING based on first