Uploading T710 and T710A Tables

I have written a program to populate the tables T710A and T710
Everyything works fine but when the data is populated there is a currency key that should populate in T710 A and the same field is the header in the T710 table. Even that does not Populate.
Any Suggestions.

Hi,
I did not find any problem while populating the data check the code below
DATA : BEGIN OF it_t710 OCCURS 0.
       INCLUDE STRUCTURE T710.
DATA:  END OF it_t710.
IT_T710-MANDT = 100.
IT_T710-MOLGA = 99.
IT_T710-SLTYP = 01.
IT_T710-SLREG = 12.
IT_T710-SLGRP = 'G12'.
IT_T710-SLLVL = 01.
IT_T710-ENDDA = '99991231'.
IT_T710-BEGDA = '19000111'.
IT_T710-SLMIN = 60000.
IT_T710-SLMAX = 90000.
IT_T710-SLREF = 65000.
insert T710 from it_T710 .
It populates the data .
Is there any other problem.
Please reward points if helpful.
Thank you!
Sunmit.

Similar Messages

  • Help with displaying uploaded document in the table

    I have a table that displays documents that are stored in FileNet. Below the table, I have an 'Upload' button that allows users to upload document(s). When I click on the upload button after filling in all the metadata, the file gets uploaded to FileNet, but I do not see the uploaded document displayed in the table. I've tried using the 'Create' operation from the Data Controls, but it only inserts a blank row into the table. What is the best approach to doing this? Thanks.

    Hi there:
    Please remove the 'Create' button. You should properly use PPR - Partial Page Rendering.
    You should make sure the upload file component, the upload button and the table are within the same af:form. Then go to the af:table on your jspx page where you want to display the uploaded file, add the component id of the upload button to the "partialTriggers" of your "af:table", then you should be good to go.
    You can find how to properly set PPR from Internet or any Oracle ADF document.
    Please mark my answer as 'Correct' or 'Helpful' if it is to you.
    Good luck,
    Alex

  • Uploading extractor setup file in mdmgx in upload ports and customizing tab

    hi
    i am searching for file called MDMGX_5.5_<OBJECT TYPE.TXT> , which needs to be uploaded in mdmgx tcode under "upload ports and customizing tables " in servicemarket place , can any bdy directions where i can download that .txt file
    thanks in advance

    Hi Akhil,
    Please refer the link as follows on Service Market Place:
    https://websmp210.sap-ag.de/swdc
    then on the left hand side, click on
    Search for all Categories, in search term write "MDMBC55005P_2-10003437.ZIP" and search method = "All Terms" then press enter.
    then download this Business Content , in Zip folder you will get
    55510_Article.zip, 55510_Customer.zip etc under each these like 55510_Article.zip you will get MDMGX_55510_Article.txt
    i checked in business content all these MDMGX_XXX. txt files are available there.
    Hope it helps you,
    Mandeep Saini

  • Program to upload and download table content

    Hi,
    I need to create a program which should upload and download table content from PC and to PC.
    How can i develop this program..Should i use BDC or any function module?
    Ezhil.

    The 2 program requested.....
    Program to Download
    REPORT ztable_download.
    PARAMETERS: table LIKE dd02d-tabname,
                                file(50) LOWER CASE.
    DATA: code(72) OCCURS 10,
                w_code(72),
                prog(8),
                msg(120),
                lin(3),
                wrd(10),
                off(3).
    DATA: BEGIN OF rectest,
          tprec(1) VALUE '0',
          nometab(16),
          utente(20),
          data(10),
          ora(8),
    END OF rectest.
    DATA: BEGIN OF recdett,
          tprec(1) VALUE '1',
          tab LIKE table,
    END OF recdett.
    DATA: BEGIN OF rectot,
        tprec(1) VALUE '2',
        tot(9),
    END OF rectot.
    OPEN DATASET file FOR OUTPUT IN TEXT MODE.
    rectest-nometab = table.
    rectest-utente = sy-uname.
    rectest-data = sy-datum.
    rectest-ora = sy-uzeit.
    TRANSFER rectest TO file.
    APPEND 'PROGRAM SUBPOOL.'  TO code.
    CONCATENATE 'TABLES ' table '.' INTO w_code SEPARATED BY space.
    APPEND w_code TO code.
    APPEND 'FORM DYN1 USING FILE.' TO code.
    CONCATENATE 'SELECT * FROM ' table '.'
    INTO w_code SEPARATED BY space.
    APPEND w_code TO code.
    CONCATENATE 'TRANSFER ' table ' TO FILE.'
    INTO w_code SEPARATED BY space.
    APPEND w_code TO code.
    APPEND 'ENDSELECT.' TO code.
    APPEND 'ENDFORM.' TO code.
    GENERATE SUBROUTINE POOL code NAME prog
    MESSAGE msg LINE lin WORD wrd OFFSET off.
    IF sy-subrc <> 0.
       WRITE: / 'Error during generation in line', lin,
                    / msg,
                    / 'Word:', wrd, 'at offset', off.
    ELSE.
       PERFORM dyn1 IN PROGRAM (prog) USING file.
       WRITE: / 'Esportati ',sy-dbcnt,' records.'.
    ENDIF.
    Program to upload
    REPORT Ztable_upload.
    PARAMETERS: FILE(50) lower case,
                               TEST AS CHECKBOX.
    DATA: CODE(72) OCCURS 10,
                W_CODE(72),
                PROG(8),
                MSG(120),
                LIN(3),
                WRD(10),
                OFF(3).
    DATA: BEGIN OF RECTEST,
          TPREC(1) VALUE '0',
          NOMETAB(16),
          UTENTE(20),
          DATA TYPE D,
          ORA TYPE T,
    END OF RECTEST.
    DATA: BEGIN OF RECTOT,
          TPREC(1) VALUE '2',
          TOT(9),
    END OF RECTOT.
    OPEN DATASET FILE FOR INPUT IN TEXT MODE.
    READ DATASET FILE INTO RECTEST.
    WRITE:/ 'Tabella..:',RECTEST-NOMETAB.
    WRITE:/ 'Utente...:',RECTEST-UTENTE.
    WRITE:/ 'Data.....:',RECTEST-DATA,RECTEST-ORA.
    IF TEST = 'X'.
        APPEND 'PROGRAM SUBPOOL.'  TO CODE.
       CONCATENATE 'TABLES ' RECTEST-NOMETAB '.'
       INTO W_CODE SEPARATED BY SPACE.
      APPEND W_CODE TO CODE.
      APPEND 'FORM DYN1 USING FILE.' TO CODE.
      APPEND 'DATA W_COUNT TYPE P.' TO CODE.
      CONCATENATE 'SELECT * FROM' RECTEST-NOMETAB '.'
      INTO W_CODE SEPARATED BY SPACE.
      APPEND W_CODE TO CODE.
      CONCATENATE 'DELETE' RECTEST-NOMETAB '.'
      INTO W_CODE SEPARATED BY SPACE.
      APPEND W_CODE TO CODE.
      APPEND 'ENDSELECT.' TO CODE.
      APPEND ' DO.' TO CODE.
      CONCATENATE 'READ DATASET FILE INTO' RECTEST-NOMETAB '.'
      INTO W_CODE SEPARATED BY SPACE.
      APPEND W_CODE TO CODE.
      APPEND ' IF SY-SUBRC NE 0.' TO CODE.
      APPEND ' EXIT.' TO CODE.
      APPEND ' ENDIF.' TO CODE.
      CONCATENATE ' INSERT ' RECTEST-NOMETAB '.'
      INTO W_CODE SEPARATED BY SPACE.
      APPEND W_CODE TO CODE.
      APPEND 'ADD 1 TO W_COUNT.' TO CODE.
      APPEND 'ENDDO.' TO CODE.
      APPEND ' write: / ''Importati'' ,W_COUNT, ''records''.' TO CODE.
      APPEND 'ENDFORM.' TO CODE.
      GENERATE SUBROUTINE POOL CODE NAME PROG
      MESSAGE MSG LINE LIN WORD WRD OFFSET OFF.
      IF SY-SUBRC <> 0.
         WRITE: / 'Error during generation in line', LIN,
         / MSG,
         / 'Word:', WRD, 'at offset', OFF.
      ELSE.
         PERFORM DYN1 IN PROGRAM (PROG) USING FILE.
      ENDIF.
    ENDIF.
    Edited by: robcom69 on Feb 23, 2010 2:35 PM

  • Uploading Excel to Internal Table

    Hi,
      Can anyone please look into the code and suggest me the changes in uploading Excel to Internal Table. Code is as below in OnInputProcessing.
    DATA: event TYPE REF TO CL_HTMLB_EVENT.
    event =
    CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
    DATA: fileUpload TYPE REF TO CL_HTMLB_FILEUPLOAD,
           fcontent type xstring,
           fstring  type string,
                  len TYPE I.
    fileUpload ?= CL_HTMLB_MANAGER=>GET_DATA(
    request = runtime->server->request
    name = 'fileUpload'
    id = 'myFileUpload1').
    len = fileUpload->file_length.
    IF event->id = 'submitButton' AND
        event->event_type = 'click'.
       fileUpload ?=
    CL_HTMLB_MANAGER=>GET_DATA( request = request
                               id = 'myFileUpload1'
                               name = 'fileUpload' ).
       IF ( fileUpload->file_name NE '' ) AND
       ( fileUpload->file_length GT 0 ).
         IF fileUpload->file_content_type
         = 'application/vnd.ms-excel'.
           DATA: content TYPE ZTABLE,
           conv TYPE REF TO CL_ABAP_CONV_IN_CE,
           viewoff TYPE REF TO CL_ABAP_VIEW_OFFLEN,
           it_off TYPE ABAPOFFLENTAB,
           wa_off TYPE ABAPOFFLEN,
           dd_fields TYPE DDFIELDS,
           wa_fields TYPE DFIES.
    data: codepage type CPCODEPAGE.
    CALL FUNCTION 'SCP_CODEPAGE_BY_EXTERNAL_NAME'
    EXPORTING
    external_name       = 'utf-16le'
      KIND                = 'H'
      IMPORTING
      SAP_CODEPAGE        = codepage.
    conv = CL_ABAP_CONV_IN_CE=>CREATE( encoding = '4103'
    endian = 'L'
    input =   fileUpload->file_content
    ignore_cerr = 'X').
           CALL FUNCTION 'TR_NAMETAB_GET'
             EXPORTING
               IV_TABNAME                 = 'ZTABLE'
               IV_GET_LENGTHS_IN_CHARMODE = 'X'
               IV_GET_TEXTS               = ' '
             IMPORTING
               ET_DFIES                   = dd_fields.
            LOOP AT dd_fields INTO wa_fields.
             MOVE wa_fields-offset TO wa_off-ioff.
             MOVE wa_fields-intlen TO wa_off-ilen.
             APPEND wa_off TO it_off.
            ENDLOOP.
           viewoff = CL_ABAP_VIEW_OFFLEN=>CREATE( tab = it_off ).
            call method conv->read( importing data = fstring ).
           fcontent = conv->get_buffer( ).
           call function 'HR_KR_XSTRING_TO_STRING'
               exporting
                   from_codepage = '4103'
                   in_xstring    = fcontent
              importing
                   out_string    = fstring.
          data: input_string type string.
          data: fields  type string_table.
          data: s_table type string_table.
    split fstring at cl_abap_char_utilities=>cr_lf into table s_table.
    field-symbols: <wa_table> like line of s_table.
    loop at s_table assigning <wa_table>.
      split <wa_table> at cl_abap_char_utilities=>HORIZONTAL_TAB into table
    fields.
    endloop.
      endif.
      endif.
      endif.
    thanks in advance,
    anjani.

    Hi anjani,
    it doesn't help much if you just post some code and request changes, if you don't state the kind of problem you are having ... in order to receice helpful replies, you have to give detailed information, what you want to do, what is not working as expected ... so please post more details.
    Meanwhile I recommend doing a search for your excel problem in the forum and also read the excel weblogs from <a href="https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/u/1918">Thomas Jung</a>.
    Regards,
    Max

  • I am not getting the upload poin and recipient feilds in the PO.

    Hi Friends,
    When i am converting a  Purchase Order with reference to Purchase Requisition with account assignment cat = network  and uploading point field data and recipient data  and the item type D ,we are not getting uploading point data and recipient data.
    for this i used BADI ME_PROCESS_PO
    and the INTERFACE    IF_EX_ME_PROCESS_REQ
    I REALLY DONT NO HOW TO USE METHODS AND HOW TO WRITE A CODE IN THAT PLEASE HELP ME TO GET THE VALUES OF UPLOADING POINT AND RECIPIENT FIELDS DATA SHOULD POPULATE IN PURCHASE ORDER WITH RESPECT TO THA PURCHASE REQUISITION.
    HELP ME WITH SUITABLE CODE FOR THE METHOD...
    THANKS IN ADVANCE ........
    UPENDAR G

    I would just like to add to Billy's remarks: PL/SQL exception management is not just a language function, it also affects the database itself.
    If you "swallow" exceptions, you have defeated the language and you have probably also corrupted data.
    Why do I say this? Because PL/SQL exceptions cause changes in the data to roll back. If you "swallow" the exception, whatever changes you made before the error happened will not be rolled back. This is a huge threat to transactional integrity.
    Here is a demonstration:SQL> create table t(k number);
    table T created.
    SQL> begin
    insert into t values(1);
    insert into t values('a');
    end;
    Error starting at line 6 in command:
    begin
    insert into t values(1);
    insert into t values('a');
    end;
    Error report:
    ORA-01722: invalid number
    ORA-06512: at line 3
    01722. 00000 -  "invalid number"
    *Cause:   
    *Action:
    SQL> select * from t;
    NO ROWS SELECTEDYou see, the "correct" insert into table t was rolled back automatically. This ensures the "all or nothing" property of transactions called "atomicity".
    Now look what happens if you "swallow" the exception:SQL> begin
    insert into t values(1);
    insert into t values('a');
    EXCEPTION WHEN OTHERS THEN NULL;
    end;
    anonymous block completed
    SQL> select * from t;
    K
    1The first insert is not rolled back, so if the calling program commits you will have changed data without respecting transaction boundaries.

  • Difference between materailized view and a table

    hey hiii
    i want to know what is a difference between a materialized view and a table i.e suppose i create a table A and another table B on table A i have created a trigger which will upload all the changes made in A ie insert,update or delete so whether this will perform all the action that a materialized view can perform on A or is there any difference between them
    thks

    I'll add to Nicolas' answer that the MV maintenance does have access to mechsnisms other than row-by-row replication of the trigger-based type. Direct path inserts to the base table are very efficiently propagated to the MV, as are partition-based DDL operations. Also MV's come with optional query rewrite built in (you need 10g+ to query rewrite to a non-MV data set), and scheduled refresh so you can defer maintenance of the data set until later.
    MV maintenance can be less efficient though -- you may know something about the data and the way that it changes that allows you to write more efficient meintenance than the MV code.

  • HI all pls give me diff btwn upload ws_upload and GUI Upload

    HI All,
             pls give me difference  between
            upload
            ws_upload and
            GUI Upload
    Thanks & regards .
    Bharat Kumar

    Hi,
    WS_* Function modules are replaced by GUI_* FMs from 4.7 SAP version.
    GUI_* modules have additional parameters when compared with WS_* FMs.
    Both FM are used for uploading data .
    But ws_upload is obsolete now .
    WS_UPLOAD and WS_DOWNLOAD, the function modules used until now are not part of the standard set of ABAP commands. They are used to display the file interface on the presentation server. WS_UPLOAD and WS_DOWNLOAD are not compatible with USs and have been replaced by GUI_UPLOAD and GUI_DOWNLOAD.
    The new function modules, GUI_UPLOAD and GUI_DOWNLOAD, have an interface that also allows you to write Unicode format to the local hard drive. For a description of these interfaces, refer to the documentation for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.
    WS_UPLOAD, GUI_UPLOAD FMs are used in BDCs.
    WS_UPLOAD loads files from the Presentation Server to Internal ABAP Tables.
    This is used upto SAP 4.6 version.
    GUI_UPLOAD is used to loads a file from the PC to the server. The data can be
    transferred in binary or text format. Numbers and data fields can be
    interpreted according to the user settings.
    You can check this for some info
    http://help.sap.com/saphelp_erp2005/helpdata/en/79/c554a3b3dc11d5993800508b6b8b11/frameset.htm
    http://www.sapdevelopment.co.uk/file/file_otherpc.htm
    Regards,
    Priyanka.

  • Uploading data in the table from mysql db, any help is welcome

    Hi, I have made a table with two columns, "Name" and "ID". Those are binded to contexts NameCtx and IDCtx. There are ten rows in table. What I need to do is upload Names and IDs from mysql database and fill those rows from 1 to 10 and I dont have much idea how to do this. Any tutorial, blog or your piece of code or tips will be most welcome. Regards, Balmer

    Hi,
    To access the My SQL db pl refer this thread
    writing data form Webdyn Pro inputfield into MySQL db
    Once the connection is done
    Create a statement
    Exeecute the sql statement
    Iterate the resultset
    populate the context
    try{
                  Connection conn;
                  Class.forName("com.sap.dbtech.jdbc.DriverSapDB");
                   String urlConn = "jdbc:sapdb://localhost/maxdb1"; //replace localhost and the maxdb1 with your server name and database.
                   String username = "userID";
                   String password = "password";
                   conn = DriverManager.getConnection(urlConn, username, password);
                   System.out.println("connected to DB...");
                   //Change the select statement to that of yours
                   Statement stmt = conn.createStatement();
                   stmt.execute("select name,id from table1");
                   //Result set
                   ResultSet resultSet = stmt.getResultSet();
                   //Iterate to populate the context that is bound to the table.
                   while (resultSet.next())
                        //Change the element and node name to that of yours
                        IOrdersElement ordersElement = wdContext.nodeOrders().createAndAddOrdersElement();
                        ordersElement.setNameCtx(resultSet.getString(1));
                        ordersElement.setIDCtx(resultSet.getString(2));
                }catch(Exception e)
                     //handle the exception
    Regards
    Ayyapparaj

  • Issues with uploaded files and timestamps

    Hi All,
    I am building an app that will have 2 csv's uploaded daily, and compare results. The problem I have is that I can't seem to get the data into tables using the timestamp datatype.
    I fixed this by making the columns varchar2 rather than timestamp in a stage table, and am now trying to write a sql query that would move the data to the original tables.
    I have tried the "insert into <table_name> select ..." without any success.
    I get a "ORA-01401: inserted value too large for column" error.
    I have tried to use timestamp(0) - (6) as the datatype, and have tried to use the to_timestamp(field,'YYY-MM-DD-HH24.MI.SS')
    Here is my table(s) - note that the temp table is exactly the same, except the timestamps are converted to varchar2
    CREATE table "PRINT_RESULTS" (
       "OUTPUT_FILE"            VARCHAR2(65)       NOT NULL,
        "FOLDER_ID"               NUMBER                NOT NULL,
        "TIME_PROCESSED"   TIMESTAMP(0)       NOT NULL,
        "TIME_RECEIVED"       TIMESTAMP(0)       NOT NULL,
        "FILE_SIZE"                  NUMBER(10,0)       NOT NULL,
        "PROGRAM_USED"      VARCHAR2(50)      NOT NULL,
        "PRINT_FILENAME"      VARCHAR2(55)      NOT NULL,
        "DOCUMENT_CNT"       NUMBER(7,0)         NOT NULL,
        "SHEET_CNT"               NUMBER(7,0)        NOT NULL,
        "IMPRESSION_CNT"     NUMBER(7,0)         NOT NULL,
        constraint  "HVP_PRINT_RESULTS_PK" primary key ("ID")
    )And here is the select statement I have been using: insert into PRINT_RESULTS <br>Select "OUTPUT_FILE", "FOLDER_ID",
    to_timestamp("TIME_PROCESSED",'YYYY-MM-DD-HH24.MI.SS'),
    to_timestamp("TIME_RECEIVED",'YYYY-MM-DD-HH24.MI.SS'),
    etc...Any ideas would be greatly appreciated.
    Thanks in advance...
    Corey

    Corey,
    1) What does the data look like in your VARCHAR2 columsn TIME_PROCESSED and TIME_RECEIVED?
    2) What happens if you change your INSERT INTO SELECT, and for the timestamp columns in your select clause, change those for the time being to TO_TIMESTAMP(null)? Does the error still occur?
    Joel

  • Tcode to upload data into CATSDB table

    Hi All,
      Could anyone let me know what is the TCODE that we will record and upload data into CATSDB table in HR ABAP.
    Regards,
    Srinivas.

    Hi,
    I also need the same information...i.e i want to record overtime of Employees...Where to do this?
    I tried creating it in PA61. I am able to create it with attendance type. But its triggering the CREATED method of ATTENDANCE Bus. Object. But i have been asked to use CREATED method CATS Bus. Object.
      Can anyone help me in this??? Also tell me how make entries in CAT2 ....
    Thanks,
    Sivagami.R

  • Making Upload/Ws_Upload and Download/Ws_Download unicode compliant.

    Hi Guys/Dolls
    We're in the process of making our SAP ERP2005 system unicode compliant and when I run the uccheck transaction on a program I'm getting the following message:-
    Upload/Ws_Upload and Download/Ws_Download are obsolete, since they are not Unicode-enabled; use the class cl_gui_frontend_services.
    Can somebody give me the correct unicode translation for the following code:-
    * Download Column Headings interactively
    MOVE ' ' TO V_CANCEL.
    CALL FUNCTION 'DOWNLOAD'
        EXPORTING
             CODEPAGE            = 'IBM'
    *         FILENAME            = ' '
            FILETYPE            = 'DAT'
    *         ITEM                = ' '
    *         MODE                = ' '
    *         WK1_N_FORMAT        = ' '
    *         WK1_N_SIZE          = ' '
    *         WK1_T_FORMAT        = ' '
    *         WK1_T_SIZE          = ' '
    *         FILEMASK_MASK       = ' '
    *         FILEMASK_TEXT       = ' '
             FILETYPE_NO_CHANGE  = 'X'
    *         FILEMASK_ALL        = ' '
    *         FILETYPE_NO_SHOW    = ' '
    *         SILENT              = 'S'
             COL_SELECT          = 'X'
             COL_SELECTMASK      = V_MASK
         IMPORTING
             ACT_FILENAME        = V_FILENAME
    *         ACT_FILETYPE        =
    *         FILESIZE            =
             CANCEL              = V_CANCEL
         TABLES
              DATA_TAB            = I_H1
    *         FIELDNAMES          =
         EXCEPTIONS
              INVALID_FILESIZE    = 1
              INVALID_TABLE_WIDTH = 2
              INVALID_TYPE        = 3
              NO_BATCH            = 4
              UNKNOWN_ERROR       = 5
              OTHERS              = 6.
    I have had a look at   CALL METHOD cl_gui_frontend_services=>gui_download
    but there doesn't seem to be a match for match on the fields - can any of you guru's assist.
    Above code translation would be most appreciative.
    Many thanks in advance.
    Raj

    Hi Raj,
    Replacement Method and FM:   CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG and GUI_DOWNLOAD.
    Example:
    *CALL FUNCTION 'DOWNLOAD'
              EXPORTING
                   FILENAME            = SPACE
                   FILETYPE            = u2018DATu2019
              TABLES
                   DATA_TAB            = T_DOWNL
              EXCEPTIONS
                   INVALID_FILESIZE    = 1
                   INVALID_TABLE_WIDTH = 2
                   INVALID_TYPE        = 3
                   NO_BATCH            = 4
                   UNKNOWN_ERROR       = 5
                   OTHERS              = 6.
    *End of deletion CH01-
    Replacement Method for above code:
    DATA: l_filename    TYPE string,
           l_filen       TYPE string,
           l_path        TYPE string,
           l_fullpath    TYPE string,
           l_usr_act     TYPE I.
    l_filename = SPACE.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
      EXPORTING
        DEFAULT_FILE_NAME    = l_filename
      CHANGING
        FILENAME             = l_filen
        PATH                 = l_path
        FULLPATH             = l_fullpath
        USER_ACTION          = l_usr_act
      EXCEPTIONS
        CNTL_ERROR           = 1
        ERROR_NO_GUI         = 2
        NOT_SUPPORTED_BY_GUI = 3
        others               = 4.
    IF sy-subrc = 0
          AND l_usr_act <>
          CL_GUI_FRONTEND_SERVICES=>ACTION_CANCEL.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        FILENAME                        = l_fullpath
       FILETYPE                        = 'DAT'
      TABLES
        DATA_TAB                        = T_DOWNL
    EXCEPTIONS
       FILE_WRITE_ERROR                = 1
       NO_BATCH                        = 2
       GUI_REFUSE_FILETRANSFER         = 3
       INVALID_TYPE                    = 4
       NO_AUTHORITY                    = 5
       UNKNOWN_ERROR                   = 6
       HEADER_NOT_ALLOWED              = 7
       SEPARATOR_NOT_ALLOWED           = 8
       FILESIZE_NOT_ALLOWED            = 9
       HEADER_TOO_LONG                 = 10
       DP_ERROR_CREATE                 = 11
       DP_ERROR_SEND                   = 12
       DP_ERROR_WRITE                  = 13
       UNKNOWN_DP_ERROR                = 14
       ACCESS_DENIED                   = 15
       DP_OUT_OF_MEMORY                = 16
       DISK_FULL                       = 17
       DP_TIMEOUT                      = 18
       FILE_NOT_FOUND                  = 19
       DATAPROVIDER_EXCEPTION          = 20
       CONTROL_FLUSH_ERROR             = 21
       OTHERS                          = 22.
    Thanks
    Sudharshan

  • BDC to upload data into FF67 Tables

    Hi,
    I like to upload data into FF67 Tables to process manual Bank Reconciliation.
    I wanted to know to upload data into FF67 Tables what are the related table.fields I have to consider.  (fields name and table names)
    My inputs are --  Posting Date, Assignment, Business Area, Profit Center, Amount, Tran key, Value Date, Bank Account, G/L Account, Co. Code, Currency
    Regards
    Rahkes

    Hi Divraj,
    As this is a regular posting like tranasction, I have to create BDC for this data posting.
    For this I like to know the table.fields that I need to update for FF67 Posting.
    If you can let me know the impacted table.fiedls for TCode: FF67 update then it will help me for creating BDC.
    Thanks & Regards
    Rahkes

  • For uploading Excel to Internal Table??????

    Hello All,
    Can anybody give me the details for uploading Excel to Internal Table.
    Plz give me the FMs with parameters (Eg).
    I need to use this inside a BDC Program.
    Urgent
    Thanks in Advance,
    Regards,
    LIJO.

    Hi,
    refer the below code.
    DATA:xl_sheet LIKE kcde_cells OCCURS 0 WITH HEADER LINE.
    DATA : scol   TYPE i VALUE '1',
           srow   TYPE i VALUE '1',
           ecol   TYPE i VALUE '256',
           erow   TYPE i VALUE '65536'.
    DATA :  index TYPE i.
            FIELD-SYMBOLS : <fs>.
      CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
        EXPORTING
          filename                =  'file path'
          i_begin_col             = scol
          i_begin_row             = srow
          i_end_col               = ecol
          i_end_row               = erow
        TABLES
          intern                  = xl_sheet
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          OTHERS                  = 3.
      IF sy-subrc <> 0.
    Write:/ 'Not a valid Excel file'.
      ENDIF.
      IF xl_sheet[] IS INITIAL.
        WRITE:/ 'Error:Data not Uploadeded'.
        EXIT.
      ELSE.
        SORT xl_sheet BY row col.
        LOOP AT xl_sheet.
          MOVE xl_sheet-col TO index.
          ASSIGN COMPONENT index OF STRUCTURE ittab TO <fs>.
          MOVE xl_sheet-value TO <fs>.
          AT END OF row.
            APPEND ittab.
            CLEAR ittab.
          ENDAT.
        ENDLOOP.
      ENDIF.
    Note:- after reading excel sheet to our internal table, each excel cell will be stored as a reocrd into yout internal table,let us i suppose if you have 3 fields in first reocrd, it will stores 3 fields data as 3 records into your internal table, each field contains row number and column number, then you have to take care to from this information as a record.
    Reward if useful.
    Thanks,
    Sreeram.

  • Help with ecomerce and dynamic table link

    I am new to dynamic pages. I am trying to build or use a
    template to display my tables.
    Here is an example of what I want to do.
    http://www.snaz75.com/ if you
    click on any of the links on the left side, it brings up the
    products on the right. I know this is done through tables. I have
    the website built and the tables built, but don't know how to get
    the product to display dynamically without manually adding each
    item.
    I am using yahoo e-commerce and have downloaded their table
    formats. I have all the tables created and uploaded to my hosting.
    I am trying to use these tables to display my product in a simple
    way. Yahoo has a site builder where you can build tables and upload
    them and your product is displayed, but I am extremely limited on
    the actual design of their website builder. I want to use my
    website, but do essentially the same thing. How can I get the built
    tables display my products. I have 1000's of products and I know
    there must be a way display the item through a table using
    template.. I can't imagine someone adding one item at a time to
    their website. Any idea's where to start.

    I have checked with method GET_ATTRIBUTE_VALUEHELP_TYPE of interface IF_WD_CONTEXT_NODE_INFO, on an attribute which i know to have a search help (Foreign key of a check table).
    The method returns 'N', that is the constant IF_WD_VALUE_HELP_HANDLER~CO_VH_TYPE_NO_HELP. So, the framework was not able to find a suitable search help.
    Using method GET_ATTRIBUTE_VALUE_HELP of the same interface, on the same attribute, returns me '111', which is constant C_VALUE_HELP_MODE-AUTOMATIC.
    Therefore, the WD framework knows it has to automatically detect a value help, but fails to find one.
    Also, this means in my opinion that the ALV and the dynamic external mapping are not the culprits: since node creation, no help is detected for any attribute but the date. Honestly, I don't have a clue on what's happening.

Maybe you are looking for

  • How do i find out who is using my airport express?

    I have an airport express to extend my Wifi coverage and i am sure other people who have asked for the password in the past are still using it. Is there a way to see who is using it, when and block people? I could change the password, but I would lik

  • My ring tones are not listed in my Sounds to select as a ring tone any more

    My *.mr4 ring tones show in my library and sync both on phone and itunes, but are not listed in my Sounds to select as a ring tone.  Was all setup and working and have vanished when I installed latest update.  How can I fix this?

  • Business Rule Sequence Error in Planning

    Hello Everyone, I have a Planning application where users can run a sequence of rules by going to Tools > Business Rules and selecting the sequence. The sequence has about 8 rules in it. The sequence errors after the 7th rule (a currency conversion/c

  • How to quickly transpose 3d array?

    Dear all: I just  run into a strange problem. I have a 3d array, say, 400(page) x 55(rows) x 512(columns), and I would like to transpose it to 55(pages) x 512(rows) x 400(columns). I used the code as attached to this message. The speed is too slow. I

  • Essbase.sec

    Hi, Will there be any issues if we copy essbase.sec file from one environment to another like Prod to Test. Essbase security is maintained through external authentication from Shared services. I wanted to do this to migrate the essbase application al