Exporting a FPMApplication to another application server

hi,
i have justed created FPMApplication and FPMviews in my EP.  Is it possible to export what i have created to another EP ?

It is possible. You would need to transport the iViews through a transport package and deploy the application to the new EP.
-Abhishek

Similar Messages

  • OID Realm Setup for Partner Application in another application server

    This message was also posted under the Identity Management thread.
    We currently have 10.1.2 SSO running and configured to accept a partner application from another app server (10.1.3). A sample application attempts to authenticate a user and then use JAZN to confirm whether the user is in the correct OID group. The user can authenticate successfully, which shows up in the SSO audit table, but the group check fails. I believe this is due to the realm not being visible to the other app server? How do I go about setting up the app server or application on the 10.1.3 platform to be able to check the 10.1.2 SSO server for the right OID group when the user authenticates? I have tried to set up the file-based permissions through the EM console, but seems to be only valid for the local setup. My thought was that the system-jazn-data.xml file would need to identify and point to the SSO server? When I troubleshoot that file, I see the correct realm entry and also the correct JAZN group and the OID GUID for the group. Any suggestions?
    Thanks,
    Leif

    Hi Amit,
    I am also facing the same issue. Could you please share the work around you around to get rid of this issue?
    Mahendra.

  • Adding another application server.

    Hi Experts,
    My company is having 2 system landscape.
    DEV & QAS in one and PRD in one server.
    in recent years, my company is growing faster.
    i.e increasing number of End users and database growth.
    and now the task is to add 2 or more application servers.
    my doubts about application server are as follows:-
    1 *Deploying application server means is tht installation of sap central instance in
        new server or installing an Dailog instance ?
    2 *How to add new installed application server to the existing land scape ?
    3 *how to group up the added application servers in to a group , so that the
        user will get connected to sap by tht group of application server?
    requesting you to give some inputs on adding new application server and
    solution for database growth ?

    Hi graham,
    You mean to say, if i install Dailog instance in new server and connected to lan with same ip class as PRD server. that will appear in SMLG.
    so, there is no concept of selecting new server from PRD. i.e by STMS router or RFC .
    and after adding the new application server i can create new group in SMLG
    (by combining all the application servers, so tht user logons will be distributed.)
    is that right.
    if any RFC connection has to maintained from PRD to new application server.
    please let me know that.
    thanking you
    by
    raghav

  • Export internal table to application server

    hello all!
    i would like to export the contents of an internal table to the appliation server. i tried via OPEN DATASET, but my itab contains not only character type data.
    i do not want to copy all content into a parallel structure with all character type colums
    do you know a way to export an internal table on application server, in a way that it is readable by ms excel?
    thanks!

    Hi Matthias, i think that the only solution is using a parallel structure with all character type colums.  Also use 'SAP_CONVERT_TO_CSV_FORMAT' to convert the internal table to csv format in order to be readable by ms excel.
    Regards,
    Andrez

  • SharePoint 2010 - SQL Server Service Application Server Appears on Server without SSRS Installed

    I have SSRS instance installed on Server 2 in integrated mode and reports within SharePoint are working as expected.  But, when you go to manage the SQL Server Service Application it throws an 503 error and I believe it is related to the fact that the
    service also shows up on another Application Server, Server1, that does not have SSRS installed.  The service is disabled and it shows up in the list of Services for the server but I believe SharePoint thinks its the primary service and cannot access
    it.  Is there any way to remove the Service from Server2?  I attempted the below powershell commands to remove but it gives me an error.  Any suggestions would be appreciated.
    Get-SPRSServiceApplicationServers
    Address
    Server1
    Server2
    get-spserviceinstance -all |where {$_.TypeName -like "SQL Server Reporting*"}
    TypeName                         Status   Id
    SQL Server Reporting Services... Disabled a5179dce-2d6c-476b-a74b-764375d70a94
    SQL Server Reporting Services... Online   64a99ed8-d31c-4dd3-b9f7-b6d946e41e16
    Remove-SPServiceApplication a5179dce-2d6c-476b-a74b64375d70a94 -RemoveData
    Remove-SPServiceApplication : Object not found.
    At line:1 char:28
    + Remove-SPServiceApplication <<<<  a5179dce-2d6c-476b-a74b-764375d70a94 -Remo
    eData
        + CategoryInfo          : ObjectNotFound: (Microsoft.Share...viceApplicati
       on:SPCmdletRemoveServiceApplication) [Remove-SPServiceApplication], Invali
      dOperationException
        + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRemoveSe
       rviceApplication
    Remove-SPServiceApplication : Object reference not set to an instance of an ob
    ect. At line:1 char:28
    + Remove-SPServiceApplication <<<<  a5179dce-2d6c-476b-a74b-764375d70a94 -Remo
    eData    + CategoryInfo          : InvalidData: (Microsoft.Share...viceApplication:
       SPCmdletRemoveServiceApplication) [Remove-SPServiceApplication], NullRefer
      enceException  + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRemoveSe
       rviceApplication

    You're getting a Service Instance object and trying to remove it with a Service Application cmdlet... This won't quite work :)  Can you double check to validate that SSRS 2008 R2 or higher bits were not accidentally laid down on the problem host?
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Cannot print on LOCAL printer, but only from one application server

    Hello guys,
    we have a  case of user being unable to print directly on their own LOCAL printer from a certain application server. The status of their spool requests is stuck on "Waiting"/"Waiting for output formatter."
    If the print request is started either from the central instance or another application server, then everything works fine and a special window where you can choose your real local printer appears at the end and the request is printed. In the case of that "strange" application server this window doesn't appear at all. It seems that the printer daemon (SAPLPD) won't even execute in the background.
    The question is what can disturb SAPLPD of being properly triggered when the user fires a print out.. May be a certain port is blocked on our linux machine, where this application server (dialog instance) is running?
    Any other ideas?
    Many thanks,
    Polina

    hello Polina
       As you said its LOC print ,you need to install SAPSprint service on printer host ,this will try establish communication wit
    app server .
    Regards
    Arun.H

  • Creating a database with Sun Java Application Server 9

    I am using a slightly outdated reference book on J2EE programming. It gives 2 methods of creating a database used in its casestudies. The first is an ANT script that gives the following output:
    D:\original\CaseStudy-2-5\CaseStudy\Day02\exercise>asant database
    Buildfile: build.xml
    env-user:
    prop-user:
    set-user:
    env-password:
    prop-password:
    read-password:
    set-password:
    set-j2ee:
    create-jdbc:
    set-j2ee:
    asadmin:
    [echo] asadmin.bat create-jdbc-resource user admin password password --
    connectionpoolid PointBasePool --enabled=true jdbc/Agency
    [exec] Usage: create-jdbc-resource [--terse=false] [--echo=false] [--intera
    ctive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_
    user] [--passwordfile file_name] --connectionpoolid id [--enabled=true] [--descr
    iption text] [--target target(Default server)] jndi_name
    [exec] CLI193 Password option "password" is not allowed on the command line
    . Please use --passwordfile option or asadmin login command.
    set-j2ee:
    asadmin:
    [echo] asadmin.bat list-jdbc-resources user admin password password
    [exec] Usage: list-jdbc-resources [--terse=false] [--echo=false] [--interac
    tive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_u
    ser] [--passwordfile file_name] [target (Default server)]
    [exec] CLI193 Password option "password" is not allowed on the command line
    . Please use --passwordfile option or asadmin login command.
    set-dbpath:
    BUILD FAILED
    D:\original\CaseStudy-2-5\CaseStudy\common\targets.xml:87: D:\Sun\SDK\pointbase\
    lib not found.
    Total time: 2 seconds
    D:\original\CaseStudy-2-5\CaseStudy\Day02\exercise>
    I've checked and there is no Sun\SDK\pointbase folder. The book was written for SDK 1.4 and I believe another application server. There is also a Java program that attempts to create it with jdbc. Its output looks like this :
    D:\original\CaseStudy-2-5\CaseStudy\Day02\exercise\classes>java CreateAgency
    java.lang.ClassNotFoundException: com.pointbase.jdbc.jdbcUniversalDriver
    java.lang.ClassNotFoundException: com.pointbase.jdbc.jdbcUniversalDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at CreateAgency.main(Unknown Source)
    D:\original\CaseStudy-2-5\CaseStudy\Day02\exercise\classes>
    I am not conversant enough to discuss the corrections for the ANT script but I'm reasonably certain the Java program could work if I had the right strings in these lines.
    // PointBase
    private static final String driver = "com.pointbase.jdbc.jdbcUniversalDriver";
    private static final String protocol = "jdbc:pointbase:server://localhost/sun-appserv-samples,new";
    private static final String user = "pbPublic";
    private static final String password = "pbPublic";
    Can anyone help me with the correct driver and protocol?
    I am using the latest download version SDK JavaEE5
    the entire java program looks like this:
    import java.sql.*;
    public class CreateAgency {
    // Cloudscape
    //private static final String driver = "COM.cloudscape.core.RmiJdbcDriver";
    //private static final String protocol = "jdbc:cloudscape:rmi:Agency;create=true";
    //private static final String user = "";
    //private static final String password = "";
    // PointBase
    private static final String driver = "com.pointbase.jdbc.jdbcUniversalDriver";
    private static final String protocol = "jdbc:pointbase:server://localhost/sun-appserv-samples,new";
    private static final String user = "pbPublic";
    private static final String password = "pbPublic";
    public static void main(String[] args) {
    Connection conn=null;
    Statement s=null;
    try {
    Class.forName(driver);
    System.out.println("Loaded driver: "+driver);
    conn = DriverManager.getConnection(protocol,user,password);
    System.out.println("Connected to: "+protocol);
    conn.setAutoCommit(false);
    s = conn.createStatement();
    System.out.println("Dropping exisiting BMP tables...");
    try {s.execute("drop table ApplicantSkill");} catch (SQLException ex){}
    try {s.execute("drop table Applicant");} catch (SQLException ex){}
    try {s.execute("drop table JobSkill");} catch (SQLException ex){}
    try {s.execute("drop table Job");} catch (SQLException ex){}
    try {s.execute("drop table Matched");} catch (SQLException ex){}
    try {s.execute("drop table Customer");} catch (SQLException ex){}
    try {s.execute("drop table Location");} catch (SQLException ex){}
    try {s.execute("drop table Skill");} catch (SQLException ex){}
    System.out.println("Dropped tables");
    System.out.println("Creating new tables...");
    s.execute("create table Skill(name varchar(16) CONSTRAINT pk_skill PRIMARY KEY (name), description varchar(64))");
    s.execute("create table Location(name varchar(16)CONSTRAINT pk_location PRIMARY KEY (name), description varchar(64))");
    s.execute("create table Applicant(login varchar(16) CONSTRAINT pk_applicant PRIMARY KEY (login), name varchar(64), email varchar(64), summary varchar(512), location varchar(16), CONSTRAINT fk_location FOREIGN KEY (location) REFERENCES Location(name))");
    s.execute("create table ApplicantSkill(applicant varchar(16), skill varchar(16), CONSTRAINT fk_applicant FOREIGN KEY (applicant) REFERENCES Applicant(login), CONSTRAINT fk_skill FOREIGN KEY (skill) REFERENCES Skill(name))");
    s.execute("create table Customer(login varchar(16) CONSTRAINT pk_customer PRIMARY KEY (login), name varchar(64), email varchar(64), address1 varchar(64), address2 varchar(64))");
    s.execute("create table Job(ref varchar(16), customer varchar(16), description varchar(512), location varchar(16), CONSTRAINT pk_job PRIMARY KEY (ref,customer), CONSTRAINT fk_customer FOREIGN KEY (customer) REFERENCES Customer(login), CONSTRAINT fk_location FOREIGN KEY (location) REFERENCES Location(name))");
    s.execute("create table JobSkill(job varchar(16), customer varchar(16), skill varchar(16), CONSTRAINT fk_job FOREIGN KEY (job,customer) REFERENCES Job(ref,customer), CONSTRAINT fk_skill FOREIGN KEY (skill) REFERENCES Skill(name))");
    s.execute("create table Matched(applicant varchar(16), job varchar(16), customer varchar(16), exact boolean, CONSTRAINT fk_job FOREIGN KEY (job,customer) REFERENCES Job(ref,customer), CONSTRAINT fk_applicant FOREIGN KEY (applicant) REFERENCES Applicant(login))");
    System.out.println("Created tables");
    System.out.println("Inserting table records...");
    s.execute("insert into Location values ('London','London UK')");
    s.execute("insert into Location values ('Washington','Washington DC, USA')");
    s.execute("insert into Location values ('Verona','Verona, Renaissance Italy')");
    s.execute("insert into Location values ('Wessex','Wessex, Kingdom of England')");
    s.execute("insert into Skill values ('Tree Surgeon','Tree Surgeon')");
    s.execute("insert into Skill values ('Cigar Maker','Cigar Maker')");
    s.execute("insert into Skill values ('Bodyguard','Bodyguard')");
    s.execute("insert into Skill values ('Cook','Cook')");
    s.execute("insert into Skill values ('Lawyer','Lawyer')");
    s.execute("insert into Skill values ('Critic','Critic')");
    s.execute("insert into Applicant values ('juliet','Juliet Capulet', 'juliet@localhost' , 'Dutiful daughter', 'London' )");
    s.execute("insert into Applicant values ('romeo','Romeo Montague', 'romeo@localhost' , 'Dutiful son', 'Wessex' )");
    s.execute("insert into Applicant values ('julius','Julius Caesar', 'julias@localhost' , 'Roman Emperor', 'Washington' )");
    s.execute("insert into Applicant values ('brutus','Marcus Brutus', 'marcus@localhost' , 'Roman Senator', 'Washington' )");
    s.execute("insert into Applicant values ('proteus','Proteus', 'proteus@localhost' , 'Gentleman', 'Verona' )");
    s.execute("insert into Applicant values ('valentine','Valentine', 'valentine@localhost' , 'Gentleman', 'Verona' )");
    s.execute("insert into ApplicantSkill values ('juliet', 'Cook')");
    s.execute("insert into ApplicantSkill values ('romeo', 'Cook')");
    s.execute("insert into ApplicantSkill values ('romeo', 'Bodyguard')");
    s.execute("insert into ApplicantSkill values ('julius', 'Tree Surgeon' )");
    s.execute("insert into ApplicantSkill values ('julius', 'Tree Surgeon' )");
    s.execute("insert into ApplicantSkill values ('brutus', 'Critic' )");
    s.execute("insert into ApplicantSkill values ('brutus', 'Lawyer' )");
    s.execute("insert into ApplicantSkill values ('proteus', 'Lawyer' )");
    s.execute("insert into ApplicantSkill values ('proteus', 'Critic' )");
    s.execute("insert into ApplicantSkill values ('valentine', 'Critic' )");
    s.execute("insert into ApplicantSkill values ('valentine', 'Cigar Maker' )");
    s.execute("insert into Customer values ('george','George Washington', 'george@localhost', 'White House', 'Washington')");
    s.execute("insert into Customer values ('winston','Winston S Churchill', 'winston@localhost', '10 Downing Street', 'London')");
    s.execute("insert into Customer values ('abraham','Abraham Lincoln', 'abe@localhost', 'Springfield', 'Illinois')");
    s.execute("insert into Customer values ('alfred','Alfred the Great', 'alf@localhost', 'Wessex', 'England')");
    s.execute("insert into Job values ('Tree pruner', 'george', 'Must be honest', 'Washington')");
    s.execute("insert into Job values ('Cigar trimmer', 'winston', 'Must like to talk and smoke', 'London')");
    s.execute("insert into Job values ('Theatre goer', 'abraham', 'Should be intelligent and articulate', 'Washington')");
    s.execute("insert into Job values ('Cake maker', 'alfred', 'Should have a good sense of smell', 'Wessex')");
    s.execute("insert into JobSkill values ('Tree pruner','george','Tree Surgeon')");
    s.execute("insert into JobSkill values ('Cigar trimmer', 'winston', 'Cigar Maker')");
    s.execute("insert into JobSkill values ('Cigar trimmer', 'winston', 'Critic')");
    s.execute("insert into JobSkill values ('Theatre goer', 'abraham', 'Bodyguard')");
    s.execute("insert into JobSkill values ('Theatre goer', 'abraham', 'Lawyer')");
    s.execute("insert into JobSkill values ('Theatre goer', 'abraham', 'Critic')");
    s.execute("insert into JobSkill values ('Cake maker', 'alfred', 'Cook')");
    System.out.println("Inserted records");
    conn.commit();
    System.out.println("Committed transactions");
    catch (SQLException ex) {
    System.out.println("SQL Exception thrown: "+ex);
    ex.printStackTrace();
    try { conn.rollback(); } catch (Exception e) {}
    catch (ClassNotFoundException ex) {
    System.out.println(ex);
    ex.printStackTrace();
    finally {
    try { s.close(); } catch (Exception ex) {}
    try { conn.close(); } catch (Exception ex) {}
    }

    JavaEE Tutorial has a chapter on security:
    http://java.sun.com/javaee/5/docs/tutorial/doc/
    Usually a no-arg InitialContext() is used, rather than InitialContext(props). For more info, see
    Glassfish EJB FAQ:
    https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html
    -cheng

  • In Oracle 9 Application Server can we create multiple instances???

    Hi I need one help this is regarding to the oracle 9 application server in this can we create the multiple instances??
    my application was already developed and currently it is working with one instance for this i need to create the another one more instance which is same as existing and my application is web application developed in Forms6i and the db is oracle 9i my requirement is to create one more instance what are all the configuration files need to be modified and please give this info ASAP....

    It is still not very clear. What do you mean by creating "one more instance of the same application in the same application server"? By "application" do you mean another instance of OC4J in same Application Server Instance? If yes, you can do that. I mean you can create another OC4J component in same Application Server Instance without doing another installation. Refer this for details:
    http://download.oracle.com/docs/cd/A97329_03/core.902/a92171/config.htm#1010793
    If you are looking to create another Application Server Instance out of same installation/binaries (i.e. Oracle Home) than the answer is no. You can not create multiple Application Server Instances out of one Oracle Home. You will have to do another installation in a different Oracle Home and that's how you will get another Application Server Instance.
    Hope this helps.
    Thanks
    Shail

  • Sessions in jspx between different Application Server

    Hello All,
    I have two applications running in two different Application servers.
    I call the jspx in one applications server from jspx of another applications server using the href.
    My requirement is, when I logout the first application it shud automatically inviladate session in the second jspx also.
    Is there any way of acheive this..
    Also please pass on any links to work on sessions in jspx.
    Thanks
    Krrish

    Hi frank,
    Thank you for the reply..
    Can you please provide any links to SSO enabling the custom application.
    Thanks
    Krrish

  • Oracle BIEE installation issue: Application Server default OC4J name error

    Hi all,
    I am installing OBIEE 10.1.3.3.2 windows 32bit version on windows 2003 sp2. Before the installation I have installed the JDK 5 and Application Server 10.1.3.1.0(J2EE Server and Web Server) on the same server according to the pre-install section in the OBIEE installation guide.
    When I install OBIEE (advanced installation), I got the error when I specify the Oracle Application server location:
    Please specify a valid Oracle Application Server 10g installation location. A valid Oracle Application Server 10g installation must have the default OC4J instance named home and that home OC4J instance must be enabled.
    When I install the Application Server 10.1.3.1.0, I have change the default OC4J name to "oc4j-soa", I think this is the root reason I got the error. I have tried to create another OC4J instance named "home", but failed coz the name is used for another directory.
    Then can I have another way to continue the installation? Why OBIEE installer have this strange constrain while not any words about this issue in the installation guide (coz I follow the each steps in the guild before I take action)? I have search some threads and the only information is to install a simple installation, but it would create another application server..... and the simple installation type is not what I want.
    Can anybody give me some hint or information about this issue? otherwise I have to purge and reinstall the server...... Thanks
    Scott

    Reinstalling the App Server and naming oc4j instance to be called "home" resolves the issue but this is an odd requirement. I have an OC4J instance already running and it is named something else. Is there any other alternative to make this work?
    Swapan.
    PS. I can always create a new oc4j instance named "home" but this is wasting of server resources.

  • Active users on application server portal

    how can i find out the information of active users on portal?
    Please help me

    Hi,
    running 2000 users on one machine is possible, but not recommended. Oracle Application Server works with OC4J instances and each instance can handle a number of Forms Servlet connects. You need to increase the number of OC4J instances to increase teh number of users that can be handled by the server. You can do this either by setting up the number of processes for the BI_FORMS instance using Application Server Control (see the Administration tab and the System properties. The default number is set to 1 and you can change it to e.g. 10 or 15), or by creating a second Forms OC4J instance.
    in real life you want to create additional processes for the BI_FORMS instance and install another Application Server instance on a separate machine that you setup load balancing with. Running 2000 users with Forms on one machine is very unrealistic.
    Please see the Forms capacity planning guide on otn.oracle.com/products/forms for more information
    Frank

  • Switch to different application server in ABAP program

    Hello everyone,
    I am currently working on some ABAP objects classes and tool programs for additional user administration functionality. We are runnig a SAP ERP system with distributed application servers and active logon load-balancing for users.
    I'd like to switch to a different application server from within my program in order to get all relevant information for an active user. So far I only found the function TH_SELECT_SERVER (from the function group THFB) for this, but this uses a separate dialog for interactively switching to another application server.
    I could use RFC calls with a lookup table for the destinations of individual application servers, but this would not be as flexible. Also I would have to create some wrapper code for standard functions which are not defined as RFC-usable. So I would rather like to switch to the other server instead.
    What I'd like to do instead is switching to another server from a user-related server list without any additional interaction in order to run a function locally on the other server. Does anybody know some function, object method etc. which will do the trick?
    Greetings,
    Markus.

    Hello Thomas,
    Bingo !!!
    I debugged the report program RSM51000_ALV & found the sub-routine SM51_USER_CMD.
    The SY-UCOMM for our purpose is 'RLOG'. and it utilises the FM 'TH_REMOTE_TRANSACTION' )
    Hope this will be of some help to the thread starter.
    BR,
    Suhas

  • Discoverer viewer without oracle application server

    Hi,
    has anybody heard, how to use the discoverer viewer with
    another application server (than oracle).
    since j2ee is a standard there schould be a way.
    our administrators will not look after another
    application server, just to get some reports.
    so i have to get it running on a non-oracle-application server (or worst case: choose another reporting tool)
    thanks,
    Udo

    Discoverer is available and ships as a component of Oracle Application Server. Oracle Application Server via Oracle HTTP Server provides a proxy capability to support other web servers such as Netscape iPlanet and Microsoft IIS. The proxy capability will enable client applications to directly route requests to their native web server and these then get routed to Oracle Application Server and the Oracle HTTP Server. For detailed information on support for these web servers please refer to Oracle Application Server documentation.
    Regards
    Discoverer Technical Team

  • Application server queue overflow,application server overloaded currently

    dear Experts,
    please check my problem and give me one solution
    here iam trying to solve this problem but not getting result i,e
    today i installed one system (nw2005sr3) and after that
    i created one client for log in to this client i created parameter and save it
    then i stoped my application server and started after
    when i double clicked my gui application server is shown an error that error is
    Error:
    application server queue over flow
    application server is overloaded currently,try another application server do you want to see error log
    what happened for my server please give me some guidence for solution
    Regards
    Edited by: swathimatta on Sep 21, 2010 5:27 PM

    hi Experts,
    its my mistaq my version is wrongly typed nw2004s
    i tried for to check from os level
    but dpmon also not found
    i did not get what is an error
    why is shows this error and what is this means (application server overflow)
    Regards

  • Transfer a xml file from application server to another server using FTP

    Hi experts,
    I am stuck in this situtaion.
    My interface generates a xml file on an application server.
    Now i need to read the xml file generated and transfer it to another system using FTP.
    I can use READ DATASET to read the file from the application server.
    And use the below function modules to transfer it to another system
         HTTP_SCRAMBLE.
         FTP_CONNECT
         CONCATENATE 'put' src_file_dest into variable.
         FTP_COMMAND with command = variable.
         FTP_DISCONNECT.
    Now my question is:
       - Is it correct????
       - I am getting an cerror = 3 while using FTP_CONNECT. is it an authorization issue???
         if yes, what is the issue???
       - How to connect the file read from READ DATASET to the FTP Function Modules ????
    Thanks and Regards
    Gaurav Raghav

    Try the following set of FTP commands..
    This code gets the file (NOT the content) from the server and sends it to the FTP.
    *********start send file to FTP********************
    * FTP commands : 1. ascii
    *       2. cd
    *       3. lcd
    *       4. put
    call function 'HTTP_SCRAMBLE'
        exporting
          source      = x_pwd
          sourcelen   = dstlen
          key         = key
        importing
          destination = destin.
      clear pass.
      pass = destin.
      call function 'FTP_CONNECT'
           exporting
                user            = x_user
    *            PASSWORD       = X_PWD
                password        = pass
                host            = x_host
                rfc_destination = x_dest
           importing
                handle          = hdl.
    *  COMMAND ascii -->
      refresh : x_result.
      call function 'FTP_COMMAND'
        exporting
          handle        = hdl
          command       = cmd_ascii
          compress      = compress
        tables
          data          = x_result
        exceptions
          command_error = 1
          tcpip_error   = 2.
    *command cd SAP\ -->
      split x_file at '\' into dummy ftp_file.
      concatenate x_cmd1 dummy into dummy2 separated by space.
      concatenate dummy2 '\' into cmd_cd.
      refresh : x_result.
      call function 'FTP_COMMAND'
        exporting
          handle        = hdl
          command       = cmd_cd
          compress      = compress
        tables
          data          = x_result
        exceptions
          command_error = 1
          tcpip_error   = 2.
    constants: winslash(1)   value  '\',
                unixslash(1)  value  '/'.
    call 'C_SAPGPARAM' id 'NAME'  field 'DIR_HOME'
                         id 'VALUE' field  tempdir.
    * command lcd SERVER\usr\....\DIR_HOME --?
    concatenate 'lcd' tempdir into cmd_lcd separated by space.
    refresh : x_result.
    call function 'FTP_COMMAND'
        exporting
          handle        = hdl
          command       = cmd_lcd
          compress      = compress
        tables
          data          = x_result
        exceptions
          command_error = 1
          tcpip_error   = 2.
    * COMMAND put file -->
    concatenate 'put' ftp_file into cmd_put separated by space.
    refresh : x_result.
      call function 'FTP_COMMAND'
        exporting
          handle        = hdl
          command       = cmd_put
          compress      = compress
        tables
          data          = x_result
        exceptions
          command_error = 1
          tcpip_error   = 2.
    * command ls -->
      refresh : x_result.
      call function 'FTP_COMMAND'
        exporting
          handle        = hdl
          command       = cmd2
          compress      = compress
        tables
          data          = x_result
        exceptions
          command_error = 1
          tcpip_error   = 2.
      call function 'FTP_DISCONNECT'
        exporting
          handle = hdl.
    ******* end send file to FTP*****
    Edited by: Iria Koutsogianni on Jan 19, 2009 11:50 AM

Maybe you are looking for

  • Splitting of  GR/IR account

    Hello Experts, I have one requirement from client on GR/IR splitting. At the end of the month open items of GR/IR account needs to be split into Inter unit and outside unit and the criteria should be based on Trading partner ID being there in vendor/

  • After downloading iTunes 7.0.2 its stopped working Help!!

    I downloaded the upgrade as usual but then when i went to open iTunes it said i needed to reinstalled iTunes. I did using my cd that came with my ipod nano (which i got this year in march) but it then came up with an error message saying that the Lib

  • IMAC Flash Player Quit Unexpectedly

    Previously working fine and a couple days ago I get the message that Flash player quit unexpectedly

  • Don't see the entries in esb_error database jms queue (XA-backed error)

    Hi, I succesfull made the esb database persistent and patch the soa suite to 10.1.3.3.1 but I don't see the errors in the esb_error queue. I can see the esb_monitor entries when I set dequeue off. I got this error in the log.xml <MSG_TEXT>Failed to e

  • Combobox and checkbox in jexcelapi

    Hay Gays, with Writing Spreadsheets i want to cells which contain combobox and other cells which contain checkbox ,i need help with that i tried alot of things ?