RFC - Presentation to application Server

Hi,
    when we call a transaction in SAP R/3  e.g. SE38. , a  RFC is called from presentation server to application server. i wnat to know what exactly happens behind the screen.how a rfc is called? how  the connection is established between presentation server & application server.
please do the needful
Regards
Hemant

Hi,
The following is an example of the Client-Server negotiation
    process.
      Server:   IAC DO TERMINAL-TYPE
      Client:        IAC WILL TERMINAL-TYPE
      Server:   IAC SB TERMINAL-TYPE SEND IAC SE
      Client:        IAC SB TERMINAL-TYPE IS IBM-3287-1 IAC SE
      Note: To request a specific LU the TERMINAL-TYPE string would be:
      IAC SB TERMINAL-TYPE IS IBM-3287-1 @ LUNAME IAC SE
      (The client has specified its terminal type is an IBM-3287-1)
      Server:   IAC DO END-OF-RECORD
      Client:        IAC WILL END-OF-RECORD
      Server:   IAC WILL END-OF-RECORD
      Client:        IAC DO END-OF-RECORD
      (The Server and Client have both agreed to transmit End-Of-Record
      (EOR)).
      Server:   IAC DO TRANSMIT-BINARY
      Client:        IAC WILL TRANSMIT-BINARY
      Server:   IAC WILL TRANSMIT-BINARY
      Client:        IAC DO TRANSMIT-BINARY
      (The Server and Client have both agreed to use binary
      transmission)
      Server:   0x00 (3270 PRINT DATA)
      Client:        (S/S with DEV END) IAC EOR
      Server:   0x00 (3270 PRINT DATA) IAC EOR
      NOTE:  LU 1 type data is prefaced with a 0x00 character. LU 3
      type data is not prefaced with a special character.  This
      character will precede print data in each chain, and should be
      discarded before the print data is processed.   An <IAC EOR> must
      be received before changing to LU 1 or LU 3 type data.
      Client:        (S/S with IR) IAC EOR (This indicates a paper jam
                    at printer.)
      Client:        (S/S with DE) IAC EOR (This indicates the clearing
                    of above condition.)
      Server:  0x00 (3270 PRINT DATA) (This indicates start of LU 1
               data)
      Server:   (3270 PRINT DATA)
      Server:   (3270 PRINT DATA)
      Server:   (3270 PRINT DATA) IAC EOR
      Client:        (S/S with DE) IAC EOR
      Server:   0x00 (LAST 3270 PRINT DATA) IAC EOR
      Client:        (S/S with DE) IAC EOR
      Server:   IAC AO
      (The Abort Output <AO> signifies the end-of-bracket -- end of
      print job)
Thanks,
Shankar

Similar Messages

  • Regarding tranfer of exel file from Presentation to Application server

    Hi,
    I want to transfer <b>excel file</b> in presentation server [Desktop] to Application server[<b>AL11</b>].
    I have made use of F.M <b>C13Z_FRONT_END_TO_APPL</b>, But it is showing the data in AL11 as some junk characters.
    Where as when i transfer a Text file to AL11 using above F.M it is showing the data correctly.
    How can solve this issue!
    I need to transfer <b>Excel file</b> data in <b>Presentation Server</b> to <b>Application Server</b> with tab delimeter.
    Can any body give the solution for the same!
    Thanks in advance.
    Thanks,
    Deep.

    Dear Deep,
    Please go though the following lines of code:
    D A T A D E C L A R A T I O N *
    TABLES: ANEP,
    BKPF.
    TYPES: BEGIN OF TY_TABDATA,
    MANDT LIKE SY-MANDT, " Client
    ZSLNUM LIKE ZSHIFTDEPN-ZSLNUM, " Serial Number
    ZASSET LIKE ZSHIFTDEPN-ZASSET, " Original asset that was transferred
    ZYEAR LIKE ZSHIFTDEPN-ZYEAR, " Fiscal Year
    ZPERIOD LIKE ZSHIFTDEPN-ZPERIOD, " Fiscal Period
    ZSHIFT1 LIKE ZSHIFTDEPN-ZSHIFT1, " Shift No. 1
    ZSHIFT2 LIKE ZSHIFTDEPN-ZSHIFT1, " Shift No. 2
    ZSHIFT3 LIKE ZSHIFTDEPN-ZSHIFT1, " Shift No. 3
    END OF TY_TABDATA.
    Declaration of the Internal Table with Header Line comprising of the uploaded data.
    DATA: BEGIN OF IT_FILE_UPLOAD OCCURS 0.
    INCLUDE STRUCTURE ALSMEX_TABLINE. " Rows for Table with Excel Data
    DATA: END OF IT_FILE_UPLOAD.
    S E L E C T I O N - S C R E E N *
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME,
    BEGIN OF BLOCK B2 WITH FRAME.
    PARAMETERS: P_FNAME LIKE RLGRAP-FILENAME OBLIGATORY.
    SELECTION-SCREEN: END OF BLOCK B2,
    END OF BLOCK B1.
    E V E N T : AT S E L E C T I O N - S C R E E N *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FNAME.
    CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
    EXPORTING
    PROGRAM_NAME = SYST-REPID
    DYNPRO_NUMBER = SYST-DYNNR
    FIELD_NAME = ' '
    STATIC = 'X'
    MASK = '.'
    CHANGING
    FILE_NAME = P_FNAME
    EXCEPTIONS
    MASK_TOO_LONG = 1
    OTHERS = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    E V E N T : S T A R T - O F - S E L E C T I O N *
    START-OF-SELECTION.
    Upload Excel file into Internal Table.
    PERFORM UPLOAD_EXCEL_FILE.
    Organize the uploaded data into another Internal Table.
    PERFORM ORGANIZE_UPLOADED_DATA.
    E V E N T : E N D - O F - S E L E C T I O N *
    END-OF-SELECTION.
    *& Form UPLOAD_EXCEL_FILE
    text
    --> p1 text
    <-- p2 text
    FORM UPLOAD_EXCEL_FILE .
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
    FILENAME = P_FNAME
    I_BEGIN_COL = 1
    I_BEGIN_ROW = 3
    I_END_COL = 7
    I_END_ROW = 32000
    TABLES
    INTERN = IT_FILE_UPLOAD
    EXCEPTIONS
    INCONSISTENT_PARAMETERS = 1
    UPLOAD_OLE = 2
    OTHERS = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " UPLOAD_EXCEL_FILE
    *& Form ORGANIZE_UPLOADED_DATA
    text
    --> p1 text
    <-- p2 text
    FORM ORGANIZE_UPLOADED_DATA .
    SORT IT_FILE_UPLOAD BY ROW
    COL.
    LOOP AT IT_FILE_UPLOAD.
    CASE IT_FILE_UPLOAD-COL.
    WHEN 1.
    WA_TABDATA-ZSLNUM = IT_FILE_UPLOAD-VALUE.
    WHEN 2.
    WA_TABDATA-ZASSET = IT_FILE_UPLOAD-VALUE.
    WHEN 3.
    WA_TABDATA-ZYEAR = IT_FILE_UPLOAD-VALUE.
    WHEN 4.
    WA_TABDATA-ZPERIOD = IT_FILE_UPLOAD-VALUE.
    WHEN 5.
    WA_TABDATA-ZSHIFT1 = IT_FILE_UPLOAD-VALUE.
    WHEN 6.
    WA_TABDATA-ZSHIFT2 = IT_FILE_UPLOAD-VALUE.
    WHEN 7.
    WA_TABDATA-ZSHIFT3 = IT_FILE_UPLOAD-VALUE.
    ENDCASE.
    AT END OF ROW.
    WA_TABDATA-MANDT = SY-MANDT.
    APPEND WA_TABDATA TO IT_TABDATA.
    CLEAR: WA_TABDATA.
    ENDAT.
    ENDLOOP.
    ENDFORM. " ORGANIZE_UPLOADED_DATA
    In the subroutine --> ORGANIZE_UPLOADED_DATA, data are organized as per the structure declared above.
    Regards,
    Abir
    Don't forget to award points *

  • How to write data to an XML file present under application server

    frnds: can ne one tell me, how to write data in to a file, which is present under a application server
    Ex: i want to write a string data in to a file test.txt which is present under "http://localhost:8080/<some_webapp>/test.txt"
    Note:i have deploted a service<some_webapp> under Tomcat/webapps dir

    Very simple. A servlet can writes to that file if it has the good rights.
    In the servlet get (or post) method, use a code like this:
    import java.io.*;
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) {
    try {
    String filePath = this.getServletContext().getRealPath("/text.txt");//See http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
             PrintWriter writer = new PrintWriter (filePath);
            //or BufferedWriter out = new BufferedWriter(new FileWriter(filePath));
            writer .println("aString");
           writer.flush();
            writer .close();
        } catch (Exception e) {
           e.printStackTrace();
    }Hope That Helps

  • How to Archive files present in application server?

    Hi all,
    We have one report which will be run as batch job for every 5 min. and creates files in application server. Our requirement is when ever this report is run the files present in the application server folder(Which are created during previous execution) should be moved to an Archive folder and new files will be created in the original folder. So at any point of time the original folder have the files created during latest execution of the report only. Can any one tell me how to achieve this requirement. <REMOVED BY MODERATOR>
    Thanks,
    Vinod.
    Edited by: Alvaro Tejada Galindo on Mar 10, 2008 4:19 PM

    HI,
    Use this forms.
    FORM archive_file .
      DATA: obj_typ   TYPE tdxloadp-objecttype,
             filename  TYPE dxfile-filename,
             filename1 TYPE dxfile-filename,
             filetyp   TYPE dxfile-filetype,
             v_strlen  TYPE i.                                  "#EC NEEDED
      obj_typ = 'BUS6035'.
      filename1 = v_file_path.
      filetyp   = 'P'.
    --Assigning Physical path in "filename"--
      CONCATENATE '/sapdata//Dev/Archive/' p_ipfile sy-datum sy-uzeit INTO filename.
    ---Function to Copy the File--
      CALL FUNCTION 'DX_FILE_COPY'
        EXPORTING
          objecttype                     = obj_typ
          progtype                       = 'REPO'
          progname                       = sy-cprog
          v_ds_name                      = filename1
          v_ds_type                      = filetyp
          n_ds_name                      = filename
          n_ds_type                      = 'P'
        EXCEPTIONS
          canceled_by_user               = 1
          problems_with_logical_filename = 2
          file_is_used                   = 3
          unknown_object_loadprg         = 4
          error_with_copy                = 5
          db_error                       = 6
          no_authority_to_read_file      = 7
          no_authority_to_write_file     = 8
          no_authority                   = 9
          OTHERS                         = 10.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      DATA file_name TYPE epsf-epsfilnam.
      file_name = p_ipfile .
    ---Function to Delete the File--
      CALL FUNCTION 'EPS_DELETE_FILE'
        EXPORTING
          file_name              = file_name
          dir_name               = '/sapdata//Dev/inbound/'
        EXCEPTIONS
          invalid_eps_subdir     = 1
          sapgparam_failed       = 2
          build_directory_failed = 3
          no_authorization       = 4
          build_path_failed      = 5
          delete_failed          = 6
          OTHERS                 = 7.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        MESSAGE s025(zfi).   "File Processed For creation Of Invoice
      ENDIF.
    ENDFORM.                    " ARCHIVE_FILE

  • FM to tansfer data in flat file from presentation to application server

    Hi Experts,
    Please tell the FM to tansfer data in flat file from presentation server to application server or vice versa in ECC 6.0.
    Thanks.

    Hi,
    This is how you can achieve it:
    1. You read the flat file from presentation layer and store the file content in internal table gt_inrec
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = gw_filename
          filetype                = 'ASC'
        IMPORTING
          filelength              = gw_length
          header                  = gw_header
        TABLES
          data_tab                = gt_inrec
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
    2. Create a new file at the application server:
      OPEN DATASET p_ofile FOR OUTPUT IN
      TEXT MODE ENCODING DEFAULT.
    3. Transfer the content from the internal table into the file at the application server:
        LOOP AT gt_inrec.
          TRANSFER gt_inrec-record TO p_ofile.
        ENDLOOP.
    Hope it helps,
    Lim....

  • Memory utilization presented in Application Server Control

    Hi
    I have Oracle Application Server 10g R3 Patch Set 5 application server, which work in cluster. On mian page in Oracle Application Server Control I have memory column, where I can see information about memory utilization. I wonder about this information. For example, I have heap size set for 2 GB and application uses 300MB, but I have on main page Application Server Control 900 MB memory utilization for OC4J container. Why is so difference between use heap space memory (only 300 MB), and this information 900 MB? But sometimes, memory in Server Control rises to 2 GB, but application uses 300 MB heap space still. Why does occur this situation (much difference between uses heap space and memory presented on Server Control)?
    Thanks awfully for help.
    Regards
    Edited by: Luk004 on 2012-01-16 03:30

    > Central Instance : 1.2GB is physical memory is free out of 12GB.
    > App1 Instance: 400MB is physical memory is free out of 10GB.
    > App2 Instance: 2GB is physical memory is free out of 14GB.
    >
    > Right now, no background for dialog process are running in any of the three instances but still ocuupy lot of physical memory.
    >
    > Questions: How to calculate memory in ECC and where could be the rest of memory defined in system? No process is running and all memory seem to be consumed.
    Memory is allocated
    - by the operating system itself
    - by the database (SGA_TARGET)
    - by the application server buffers (ST02 et al)
    - by the operating system as filesystem cache (if you e. g. use VxFS you may configure the memory consumption)
    To see where the memory is being used, use OS tools like 'glance' or 'top'.
    Markus

  • From PL/SQL call java class present in Application server

    Hi,
    I need to call a java class file which is present on the application server. the call has to be made from pl/sql.
    I do not want to make use of the java stored procedures for this.
    Is there a way to call a class file residing on the application server from a pl/sql.
    Please help me out.
    Thanks & Regards
    Kamlesh

    New idea. DDL isn`t working but if i would make some DQL ? Like select??
    I`m trying to deploy java class like this:
    public class test {
         public static String say()
              throws SQLException{
                   Connection conn = new OracleDriver().defaultConnection();
                   String sql = "Select names from pdb_proteins where numbers=61";
                   try {
                        // Load the Oracle JDBC driver
                        Class.forName("oracle.jdbc.OracleDriver") ;
                        System.out.println("Oracle JDBC driver loaded ok.");
                        } catch (Exception e) {
                        System.err.println("Exception: "+e.getMessage());
                   try {
                        ResultSet rset = null;
                        PreparedStatement pstmt = conn.prepareStatement(sql);
                        rset=pstmt.executeQuery(sql);
                        String wynik = null;
                        wynik = rset.getString(1);
                        return wynik;
              } catch (SQLException e) {
                   System.out.println("Connection Failed! Check output console");
                   e.printStackTrace();
                   return "nope";
    Then invoke with PL/SQL function
    and i`m getting error ORA-29534: object SYSTEM.oracle/jdbc/OracleDriver
    Could someone help me with this? How i could register jdbc driver inside Oracle db??
    Edited by: Rado_mir on 2013-06-03 02:42

  • Upload the doc , pdf  file presentation to application server

    When upload file from presentaion to application server other then text
    file data is corruption in wed dynpro application using the UI element
    of UPLOAD. we used the code in custom application when we checked in
    T.Code : 'AL11'. only text file is showing file other then text file
    data is showing as corrupt.
    code:
    elem_sel_opt_1->get_attribute(
    EXPORTING
    name = 'DATASOURCE'
    IMPORTING
    value = gd_data ).
    CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
    EXPORTING
    in_xstring = gd_data
    IMPORTING
    out_string = gd_filedata.
    SPLIT gd_filedata AT cl_abap_char_utilities=>newline INTO TABLE
    ist_data.
    Opening the File
    OPEN DATASET gd_file_appl IN TEXT MODE FOR OUTPUT ENCODING DEFAULT. IF sy-subrc NE 0.
    WRITE: 'File cannot be opened. Reason:', D_MSG_TEXT.
    EXIT.
    ENDIF.
    Transferring Data
    LOOP AT ist_data INTO wa_data.
    TRANSFER wa_data TO gd_file_appl.
    ENDLOOP.
    Closing the File
    CLOSE DATASET gd_file_appl.
    is it problem with my code. is it problem with UI element.
    for file uploading the prasentation server to appliation.
    we try with binary mode also
    Regards
    Praveen Chetpally.

    You can't tranfer the whole PDF data with just one transfer statement, instead you have to loop that table and transfer the data to the file until you reach the last row.
      open dataset pr_file for output in binary mode."text mode encoding  NON-UNICODE.
      if sy-subrc  0.
        exit.
      endif.
      loop at fp_formoutput-pdf  *****************
        transfer fp_formoutput-pdf  to pr_file.
      endloop.
      close dataset pr_file.
      clear :fp_formoutput-pdf,lv_file.

  • How to store pdf file to presentation or application server, as i mentioned

    hi,
    I have used SO_NEW_DOCUMENT_ATT_SEND_API1 function module to send employ details through mail generating individual pdf files for each.but i need a copy of all files on to my computer also which has send through mail, what should i do?, can any one sugest me a function module or a sample code to achive this. Its urgent ,hope any one could help me in this

    Thanks This really helped.
    For other readers, I am summarising what I did.
    create table test
    id number primary key,
    docs BLOB
    create or replace directory doc_loc
    as 'c:\test';
    CREATE OR REPLACE PROCEDURE Load_BLOB_From_File (file_name in varchar2)
    AS
    src_loc bfile:= bfilename('DOC_LOC',Load_BLOB_From_File.file_name);
    dest_loc BLOB;
    begin
    insert into tkctsf15t values(1,empty_blob()) returning docs
    into dest_loc;
    dbms_lob.open(src_loc,DBMS_LOB.LOB_READONLY);
    DBMS_LOB.OPEN(dest_loc, DBMS_LOB.LOB_READWRITE);
    DBMS_LOB.LOADFROMFILE(
    dest_lob => dest_loc
    ,src_lob => src_loc
    ,amount => DBMS_LOB.getLength(src_loc));
    DBMS_LOB.CLOSE(dest_loc);
    DBMS_LOB.CLOSE(src_loc);
    COMMIT;
    end;
    show errors;
    exec Load_BLOB_From_File('test.pdf');
    exec ctx_ddl.create_preference('mylex','BASIC_LEXER');
    create index testx on test(docs) indextype is ctxsys.context
    parameters
    ('filter ctxsys.AUTO_FILTER LEXER mylex ');
    select id from test where contains(docs,'patch')>0;
    Thanks Roger once more

  • Error Web Services RFC proxy - Application Server

    Hi,
    I configured the Web services consumer. The architecture requires passage through a proxy. Now when I check the RFC of WS from  Central istance the test is ok. While, when I check the same RFC from the application server, this asked by the user and password, resulting in authentication failure.
    How do I solve my prolem?
    Best regards,
    Diego.

    Hi Nagaraju
    The checks are all ok. Then I contacted the network administrator, this was not the vision for SAP in the proxy.
    The problem has been resolved.
    Thanks for your cooperation.
    Best regards,
    Diego Garofalo.

  • Checking the existence of  a file in the presentation/application server

    Hi All,
    If we have a filename with path, how do we check whether the file is existing in the presentation or application server?
    Thanks in advance,
    Regards,
    Bijesh

    hi,
    Please refer this thread. Solution is there.
    https://forums.sdn.sap.com/click.jspa?searchID=4091909&messageID=243700
    Rgds
    Reshma

  • Uploading the data from Application server to Database

    Hi,
    I am trying to upload tab delimited file from application server into database.
    I have upload the file from presentation to application server by CGZ3
    and i am able to see file in app server with #s and it appers in application server as
    10140#A#E#120#abcd#
    10146#M#P#300#a.b#
    10152#M#P#200#dat123.com##
    140#A#P#300#blicksat123.com#
    10140#A#E#260#cust1at123.com##
    And my notepad records looks like
    10140     A     E     120     abcd
    10146     M     P     300     a.b
    10152     M     P     200     dat123.com     
    140     A     P     300      blicksat123.com
    10140     A     E      260     cust1at123.com
    I am using open data set and read dataset to read the file as shown below
    DATA:
        l_htab      TYPE c,                " Horizontal tab
        l_line(100) TYPE c.                " Content in the file
      l_htab = cl_abap_char_utilities=>horizontal_tab.
    Open dataset
      OPEN DATASET pp_afname FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc EQ 0.
        DO.
    Read dataset
          READ DATASET pp_afname INTO l_line.
          IF sy-subrc EQ 0.
            SPLIT l_line AT l_htab
                       INTO fs_file-carrid
                            fs_file-autoind
                            fs_file-commtype
                            fs_file-resptime
                            fs_file-smtpaddr.
            APPEND fs_file TO pt_afile.
          ELSE.
            EXIT.
          ENDIF.                           " IF SY-SUBRC EQ 0.
        ENDDO.                             " DO.
        CLOSE DATASET pp_afname.
      ELSE.
        MESSAGE 'Problem in opening the App.Server file' TYPE con_msgtyp_i.
      ENDIF.                               " IF sy-subrc EQ 0.
    Load the data to the database
      PERFORM load_data_to_database USING t_afile.
    When i am trying to upload it is taking me to dump and the errpr analysis is like
    "The program attempted to interpret the value "26 0 " as a number, but
    since the value contravenes the rules for correct number formats,
    this was not possible."
    Any suggestions on this
    Regards
    VEnk@

    Hi,
    Thats the line feed character. After reading  the application server file, use this
    data: lv_feed type c value CL_ABAP_CHAR_UTILITIES=>CR_LF.
    loop at itab.
    replace all occurrences of lv_feed in itab-field with space.
    modify itab.
    endloop.
    Vikranth

  • Downloading more than 1 file from Application server

    Hi Gurus,
    I have a requirement in which I have to execute my program once in every 15 minutes which will check if there are any files present in application server. Is so I have to retreive the files to SAP from Application server.
    Now I have couple of issues in doing so.
    1. How to find the number of files present in that directory?
    2. How to retreive more than 1 file at a time from the directory.
    Its bit urgent.
    Cheers,
    Naveen
    NOTE: Points will be awarded to every useful answer.

    hi,
       hope this FM can help.
    PARAMETER: p_file           type pfeflnamel DEFAULT '/usr/sap/tmp'.
    data: begin of it_filedir occurs 10.
            include structure salfldir.
    data: end of it_filedir.
    START-OF-SELECTION.
    Get Current Directory Listing for OUT Dir
    call function 'RZL_READ_DIR_LOCAL'
           exporting
                name     = p_file
           tables
                file_tbl = it_filedir.
    List of files are contained within table it_filedir
      loop at it_filedir.
        write: / it_filedir-NAME.
      endloop.
    rgds
    Umakanth

  • How to get correct format in file at Application server

    Hi,
    I am retrieving data MATNR,MAKTX,VENDOR,VENDOR NAME,PRODUCT HIERARCHY,QUANTITY(LABST),BUDAT.
    I am downloading the data into .xls file in both presentation and application server.
    In presentation I am getting correct format.
    Where as in application server I am not getting proper format.
    Quantity(MARD-LABST) is not coming proprely.(###6## instead of 36)
    How to get it in correct forma?I

    symbol means  Space
    Before transfer the data to File..
    condense MARD-LABST and then transfer it.
    I guess you are using charcter field LABST while transferring the data to file.
    Do not use quantity field directly,please move it to charcter field then condense it.
    Thanks
    Seshu

  • ABAP code for wrting a file to application server

    <Moderator Message: We are not here to do your job for you>
    Hi All,
    i have a requirement to get the data from some other ABAP program and this data has to be written in one of the files present in application server.
    please provide me the exact ABAP code for this...
    Edited by: Siegfried Szameitat on Dec 17, 2008 10:40 AM

    this has to be done using a process chain

Maybe you are looking for

  • Need Help Urgently please

    i'm not a Java expert but i like to think i'm not a beginner. I've been working on a University Project now for a week and it must be submitted tomorrow . It is a Lexical Analyzer of sorts but for some reason the program freezes and kicks out this er

  • Jakarta Commons Lang 1.01 vs. 2.0?

    I looked through the newsgroup, but didn't see this question come up. Currently, the latest version of the Jakarta Commons Lang package is 2.0, though Kodo 3.2.4 includes 1.0.1. Are there any known problems or incompatibilities with using Lang 2.0 wi

  • File to IDOC with content conversion

    Hi I am trying to do a file content conversion scenario. This is a fixed length file which needs to be converted to idoc. I have configured IR and ID (FCC parameters added). While testing the end-end scenario we are able to see that sender adapter ha

  • Create WCS guest accounts

    Hi I like to know if some one has some solution or input to my questions below Is there a way to auto generate user and password for guest accounts? So that you don't have to write in username just click on generate accont and WCS make up a username

  • Help! Windows Projector

    I am fairly new to director 11 but am getting the hang of it. My problem is windows projectors. I am in mac 10.5.4 and can publish a mac projector fine but my windows projector give me a "adobe projector has encountered a problem......has to close" (