Payables data stuck in gl_interface table

Created Invoices in Payables.
Validated
process run for create accounting & trasfer to gl
resulted in warning with message in log:
SHRD0008: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
R_CLPR0003: Unprocessed records exist in GL_INTERFACE for period JUN-10
Any help will be highly appreciated.
Regards,
Umair

common issues for this are,
check if there is any security rule in place which is restricting the subledger transactions to get imported to GL.
check any CVR might have been put after the invoice was accounted and before being transferred to GL.
check if any CCID got invalid.
there is a related article at,
http://oracally.blogspot.com/2010/02/ap-period-is-not-closing-due-to.html
cheers,

Similar Messages

  • Prevent auto data deletion of records from gl_interface table after success

    Hello All,
    I currently developing the journal conversion.
    I have successfully imported some sample journal data.
    But the problem here is i am not able find the successfully uploaded journal data in the gl_interface table.It is getting deleted after successful import.
    How to prevent this deleted, i want that data to be available in the gl_interface table.
    Any setup needs to be done for this?
    Oracle ebs version : 12.1.1
    Thanks & Regards
    aboothahir

    any suggessions on the above query?
    Thanks & regards
    Aboo

  • Oracle GL_INTERFACE table - Data Populate

    We would like to populate the accounting data in Oracle GL_INTERFACE table (Oracle EBS R 12.1.3) and the data receiving that import from other systems like SAP/People Soft or Home based applications
    Since SAP/PeopleSoft/Homebased Application does not have web/other servcies to PUSH the accounting data to Oracle EBS GL_INTERFACE table. We are looking the possible options from Oracle EBS prospective to receive the data from other system.
    1. Is there any standard Oracle API is available to meet this requirement or do we need to develop the PL/Sql Prgm?
    And other alternative solution is looking for...
    2. Installting the BEPEL in a SOA and use the "mq" servcies to find the solution. In case if we want to use the BPEL-SOA it might need the seperate license. As SOA geteway is standalone component and it is not part of Oracle EBS R12 Suite.
    3. Is there any other solutions to achieve this?
    Thanks in advance to speraing the time on this.... Thank you.
    Rgds

    1. Is there any standard Oracle API is available to meet this requirement or do we need to develop the PL/Sql Prgm?
    And other alternative solution is looking for...Please see these docs/links.
    R12 Populating The GL_INTERFACE Table [ID 578930.1]
    R12 Populating GL_INTERFACE - Assigning Values to Optional Columns (i.e Reference Fields) [ID 578959.1]
    IREP
    http://irep.oracle.com/index.html
    eTRM
    http://etrm.oracle.com/
    2. Installting the BEPEL in a SOA and use the "mq" servcies to find the solution. In case if we want to use the BPEL-SOA it might need the seperate license. As SOA geteway is standalone component and it is not part of Oracle EBS R12 Suite.You need a separate license for Weblogic/SOA installation -- Contact your Oracle Sales representative for details.
    3. Is there any other solutions to achieve this?Please review the docs/links referenced above.
    Thanks,
    Hussein

  • Controlling posting sequence during GL Import(GL_INTERFACE table)

    I am putting multiple journal records in GL_INTERFACE table having same accounting date. I have enabled Auto Post.
    My requirement is, during Journal import and subsequent Auto posting. Some particular journals to be posted before posting other journals. Is there any column in GL_INTERFACE other than accounting date, which can be used to sequence the posting of journals in GL.
    This requirement comes due to the fact, that some of the journals add funds to a account and other journals use that funds from that account. My requirement is when I do a journal import, GL should first post the journals which add funds and then post the other journals which use those funds, else I may have funds check failed issue.
    Please let me know of solutions...

    Hi,
    Thanks for the solution. My company has assigned me similar kind of automation process. So if you could give me more input on this that would be great. You can send me further mails on the following id : [email protected] or a reply in the same forum is much appriciated. Waiting for your reply.
    Thanks,
    Nagaraj

  • Uploading excel data(.xls) directly into table

    I have a requirement to develop a form that allows the user to upload an excel file data into already created table.(user is not willing to save it as a .CSV file :(
    I have to skip some rows in the beginning of the sheet and start uploading data from 25th row.
    Any guidance wud be appreciated.
    Its urgent ,i am stuck.
    Thanks

    Hi Arie,
    And here I thought you are preaching for simple solutions :)
    Depending on the context it might well be the simplest solution to implement and work with :). At my current customer I have implemented it this way, too. The only user to import the data is a skilled "power user", working frequently with MS Access.
    All I did was to build a staging table and the final target table. Then I had a package validating the data in the staging table and marking the errornos rows. In MS Access he could easily set up a macro to copy the data via the database link and call the stored procedure. All by clicking just a simple button ;).
    Most of all I am advocating to have a good look at the requirements, especially at the skills of the actual users to do the work. There are soo many different ways to build a solution, the hard task is to choose the best suited one wisely.
    Also, I have come to dislike solutions that involve too many manual steps. It will cause problems eventually, most certainly when you have to do it quickly due to time pressure.
    Regards,
    ~Dietmar.

  • Master/Detail? Repeating Tables - Combine data from 2 repeating tables to one cell in sharepoint

    Hi there, new to infopath.  I have 2 sections in my form which are hidden and display based on the department selected.  So Department A versus Department B, a section opens for details pertaining to that Department.  So in each
    section I have similar information requirements, similar but not exactly the same.  Now I was able to create hidden fields that will concat the values from both sections in the instances of similar data (i.e. Name, Department location, etc, so if Department
    A fills in Name on their section, then someone else submits the same form for Department B I still have one column of metadata in SP to displace the Name regardless of department or section they filled data into). However now I am stuck, I have repeating
    tables in both sections and I want to concate the entries to output to the sharepoint list for that cell.  However everything I have tried so far only concats the 1st value in the repeating table.  Is there a way to take ALL of the data from
    two repeating tables and merge them into one column/cell in sharepoint (metadata for the one form entry)???  I want to avoid having to create a excessive "views" of a list in order to accomodate the needs for BOTH departments.  I hope
    this is clear.  Thanks for your help!
    from msn forum

    Hi Meera,
        I apologise for delay. Anyways you can goto the
    following link:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36f08758-0a01-0010-c291-c03004aeb1af
    for details.
    Hope this will clear you. However, you further require
    any more information then please feel free to mail.
    Note:
    ty_t_sender, cl_abap_char_utilities DEFINITION LOAD
    all these are present in alsmex function group if you
    place your function module in this function group then
    you'll be able to access these things. Further, like
    if you have security options and can't place your code
    in this function group then create your own function
    group in your own package and copy the contents from
    alsmex function group.
        Hope that answer your questions.
    Regards,
    Mirza Ifthekhar Baig.

  • GL_INTERFACE table accidentally dropped

    Hi all,
    Please this is urgent, i dropped the gl_interface table accidentally, oracle 10g, flashback wasnt enabled, so recyclebin doesnt hold it. so what can i do now? can i still possible recover the table or can the gl_Interface table be generated again, is there any other alternative?
    thank you
    larry

    This DDL is for
    RDBMS : 10.2.0.2.0
    Oracle Applications : 11.5.10.2
    CREATE TABLE GL_INTERFACE
    STATUS VARCHAR2(50 BYTE) NOT NULL,
    SET_OF_BOOKS_ID NUMBER(15) NOT NULL,
    ACCOUNTING_DATE DATE NOT NULL,
    CURRENCY_CODE VARCHAR2(15 BYTE) NOT NULL,
    DATE_CREATED DATE NOT NULL,
    CREATED_BY NUMBER(15) NOT NULL,
    ACTUAL_FLAG VARCHAR2(1 BYTE) NOT NULL,
    USER_JE_CATEGORY_NAME VARCHAR2(25 BYTE) NOT NULL,
    USER_JE_SOURCE_NAME VARCHAR2(25 BYTE) NOT NULL,
    CURRENCY_CONVERSION_DATE DATE,
    ENCUMBRANCE_TYPE_ID NUMBER,
    BUDGET_VERSION_ID NUMBER,
    USER_CURRENCY_CONVERSION_TYPE VARCHAR2(30 BYTE),
    CURRENCY_CONVERSION_RATE NUMBER,
    SEGMENT1 VARCHAR2(25 BYTE),
    SEGMENT2 VARCHAR2(25 BYTE),
    SEGMENT3 VARCHAR2(25 BYTE),
    SEGMENT4 VARCHAR2(25 BYTE),
    SEGMENT5 VARCHAR2(25 BYTE),
    SEGMENT6 VARCHAR2(25 BYTE),
    SEGMENT7 VARCHAR2(25 BYTE),
    SEGMENT8 VARCHAR2(25 BYTE),
    SEGMENT9 VARCHAR2(25 BYTE),
    SEGMENT10 VARCHAR2(25 BYTE),
    SEGMENT11 VARCHAR2(25 BYTE),
    SEGMENT12 VARCHAR2(25 BYTE),
    SEGMENT13 VARCHAR2(25 BYTE),
    SEGMENT14 VARCHAR2(25 BYTE),
    SEGMENT15 VARCHAR2(25 BYTE),
    SEGMENT16 VARCHAR2(25 BYTE),
    SEGMENT17 VARCHAR2(25 BYTE),
    SEGMENT18 VARCHAR2(25 BYTE),
    SEGMENT19 VARCHAR2(25 BYTE),
    SEGMENT20 VARCHAR2(25 BYTE),
    SEGMENT21 VARCHAR2(25 BYTE),
    SEGMENT22 VARCHAR2(25 BYTE),
    SEGMENT23 VARCHAR2(25 BYTE),
    SEGMENT24 VARCHAR2(25 BYTE),
    SEGMENT25 VARCHAR2(25 BYTE),
    SEGMENT26 VARCHAR2(25 BYTE),
    SEGMENT27 VARCHAR2(25 BYTE),
    SEGMENT28 VARCHAR2(25 BYTE),
    SEGMENT29 VARCHAR2(25 BYTE),
    SEGMENT30 VARCHAR2(25 BYTE),
    ENTERED_DR NUMBER,
    ENTERED_CR NUMBER,
    ACCOUNTED_DR NUMBER,
    ACCOUNTED_CR NUMBER,
    TRANSACTION_DATE DATE,
    REFERENCE1 VARCHAR2(100 BYTE),
    REFERENCE2 VARCHAR2(240 BYTE),
    REFERENCE3 VARCHAR2(100 BYTE),
    REFERENCE4 VARCHAR2(100 BYTE),
    REFERENCE5 VARCHAR2(240 BYTE),
    REFERENCE6 VARCHAR2(100 BYTE),
    REFERENCE7 VARCHAR2(100 BYTE),
    REFERENCE8 VARCHAR2(100 BYTE),
    REFERENCE9 VARCHAR2(100 BYTE),
    REFERENCE10 VARCHAR2(240 BYTE),
    REFERENCE11 VARCHAR2(100 BYTE),
    REFERENCE12 VARCHAR2(100 BYTE),
    REFERENCE13 VARCHAR2(100 BYTE),
    REFERENCE14 VARCHAR2(100 BYTE),
    REFERENCE15 VARCHAR2(100 BYTE),
    REFERENCE16 VARCHAR2(100 BYTE),
    REFERENCE17 VARCHAR2(100 BYTE),
    REFERENCE18 VARCHAR2(100 BYTE),
    REFERENCE19 VARCHAR2(100 BYTE),
    REFERENCE20 VARCHAR2(100 BYTE),
    REFERENCE21 VARCHAR2(240 BYTE),
    REFERENCE22 VARCHAR2(240 BYTE),
    REFERENCE23 VARCHAR2(240 BYTE),
    REFERENCE24 VARCHAR2(240 BYTE),
    REFERENCE25 VARCHAR2(240 BYTE),
    REFERENCE26 VARCHAR2(240 BYTE),
    REFERENCE27 VARCHAR2(240 BYTE),
    REFERENCE28 VARCHAR2(240 BYTE),
    REFERENCE29 VARCHAR2(240 BYTE),
    REFERENCE30 VARCHAR2(240 BYTE),
    JE_BATCH_ID NUMBER(15),
    PERIOD_NAME VARCHAR2(15 BYTE),
    JE_HEADER_ID NUMBER(15),
    JE_LINE_NUM NUMBER(15),
    CHART_OF_ACCOUNTS_ID NUMBER(15),
    FUNCTIONAL_CURRENCY_CODE VARCHAR2(15 BYTE),
    CODE_COMBINATION_ID NUMBER(15),
    DATE_CREATED_IN_GL DATE,
    WARNING_CODE VARCHAR2(4 BYTE),
    STATUS_DESCRIPTION VARCHAR2(240 BYTE),
    STAT_AMOUNT NUMBER,
    GROUP_ID NUMBER(15),
    REQUEST_ID NUMBER(15),
    SUBLEDGER_DOC_SEQUENCE_ID NUMBER,
    SUBLEDGER_DOC_SEQUENCE_VALUE NUMBER,
    ATTRIBUTE1 VARCHAR2(150 BYTE),
    ATTRIBUTE2 VARCHAR2(150 BYTE),
    ATTRIBUTE3 VARCHAR2(150 BYTE),
    ATTRIBUTE4 VARCHAR2(150 BYTE),
    ATTRIBUTE5 VARCHAR2(150 BYTE),
    ATTRIBUTE6 VARCHAR2(150 BYTE),
    ATTRIBUTE7 VARCHAR2(150 BYTE),
    ATTRIBUTE8 VARCHAR2(150 BYTE),
    ATTRIBUTE9 VARCHAR2(150 BYTE),
    ATTRIBUTE10 VARCHAR2(150 BYTE),
    ATTRIBUTE11 VARCHAR2(150 BYTE),
    ATTRIBUTE12 VARCHAR2(150 BYTE),
    ATTRIBUTE13 VARCHAR2(150 BYTE),
    ATTRIBUTE14 VARCHAR2(150 BYTE),
    ATTRIBUTE15 VARCHAR2(150 BYTE),
    ATTRIBUTE16 VARCHAR2(150 BYTE),
    ATTRIBUTE17 VARCHAR2(150 BYTE),
    ATTRIBUTE18 VARCHAR2(150 BYTE),
    ATTRIBUTE19 VARCHAR2(150 BYTE),
    ATTRIBUTE20 VARCHAR2(150 BYTE),
    CONTEXT VARCHAR2(150 BYTE),
    CONTEXT2 VARCHAR2(150 BYTE),
    INVOICE_DATE DATE,
    TAX_CODE VARCHAR2(15 BYTE),
    INVOICE_IDENTIFIER VARCHAR2(20 BYTE),
    INVOICE_AMOUNT NUMBER,
    CONTEXT3 VARCHAR2(150 BYTE),
    USSGL_TRANSACTION_CODE VARCHAR2(30 BYTE),
    DESCR_FLEX_ERROR_MESSAGE VARCHAR2(240 BYTE),
    JGZZ_RECON_REF VARCHAR2(240 BYTE),
    AVERAGE_JOURNAL_FLAG VARCHAR2(1 BYTE),
    ORIGINATING_BAL_SEG_VALUE VARCHAR2(25 BYTE),
    GL_SL_LINK_ID NUMBER,
    GL_SL_LINK_TABLE VARCHAR2(30 BYTE),
    REFERENCE_DATE DATE
    TABLESPACE APPS_TS_TX_INTERFACE
    PCTUSED 0
    PCTFREE 10
    INITRANS 10
    MAXTRANS 255
    STORAGE (
    INITIAL 128K
    NEXT 128K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    CREATE INDEX GL_INTERFACE_N3 ON GL_INTERFACE
    (SUBLEDGER_DOC_SEQUENCE_VALUE, SUBLEDGER_DOC_SEQUENCE_ID)
    LOGGING
    TABLESPACE APPS_TS_TX_INTERFACE
    PCTFREE 10
    INITRANS 11
    MAXTRANS 255
    STORAGE (
    INITIAL 128K
    NEXT 128K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    CREATE INDEX GL_INTERFACE_N4 ON GL_INTERFACE
    (REFERENCE26, REFERENCE22, REFERENCE23)
    LOGGING
    TABLESPACE APPS_TS_TX_INTERFACE
    PCTFREE 10
    INITRANS 11
    MAXTRANS 255
    STORAGE (
    INITIAL 128K
    NEXT 128K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    CREATE INDEX GL_INTERFACE_N2 ON GL_INTERFACE
    (REQUEST_ID, JE_HEADER_ID, STATUS, CODE_COMBINATION_ID)
    LOGGING
    TABLESPACE APPS_TS_TX_INTERFACE
    PCTFREE 0
    INITRANS 11
    MAXTRANS 255
    STORAGE (
    INITIAL 128K
    NEXT 128K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    CREATE INDEX GL_INTERFACE_N1 ON GL_INTERFACE
    (USER_JE_SOURCE_NAME, SET_OF_BOOKS_ID, GROUP_ID)
    LOGGING
    TABLESPACE APPS_TS_TX_INTERFACE
    PCTFREE 0
    INITRANS 11
    MAXTRANS 255
    STORAGE (
    INITIAL 128K
    NEXT 128K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    CREATE SYNONYM APPS.GL_INTERFACE FOR GL_INTERFACE;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO AP WITH GRANT OPTION;
    GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON GL_INTERFACE TO APPS WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO AR WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO BOM WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO CE WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO CN WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO CRP WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO HR WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO HR_SECURE_USER;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO INV WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO JG WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO MFG WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO MRP WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO OE WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO OSM WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO PA WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO PO WITH GRANT OPTION;
    GRANT DELETE, INSERT, SELECT, UPDATE ON GL_INTERFACE TO QA WITH GRANT OPTION;

  • GL_INTERFACE Table si droped by mistake

    While perform the data migration activity by mistake insted of dropping the rows in GL_INTERFACE table, i drop the table it self. Please help in recreating the table and giving it the right permissions to other users.
    Waiting for quick reply
    Thanks
    Kiran

    Ouch :-) Hopefully this is not a production instance. If you have another test/dev instance with the exact same patch level, you can export this table from that instance and import it into this instance, then truncate the table to delete the rows. Ever after recreating the table, there may be lingering issues since you have effectively lost any referential integrity. The only "correct" solution would be to restore the entire database from backups.
    HTH
    Srini Chavali

  • How to get the data from a cluster table to BW

    Dear All,
    I want to extract the data from R/3 to BW by using 2 tables and one Cluster B2.
    Actually my report contains some fields from PA2001, PA2002 and one cluster table B2 (Table ZES). Can I create View by using these 3 tables? If it is not possible how can I get the data from the cluster? Can I create generic datasource by using cluster tables directly?
    In SE11 Transaction the Cluster (table ZES) is showing invalid table.
    I referred some Forums, but no use.
    Can any body tell me procedure to get the data from a cluster (table ZES) ?
    Waiting for you results.
    Thanks and regards
    Rajesh

    HI Siggi,
    Thank you for your reply..
    I am also planning to do FM to get the data. But it is saying that the Cluster table ZES does not exist (ZES is the the standard table, in SE11 also).
    How can I use the Fields from the that table.?
    What can I do now, can you please explain me about this point.
    Waiting for your reply.
    Thanks and Regards
    Rajesh
    Message was edited by:
            rajesh

  • How to pass the data from a input table to RFC data service?

    Hi,
    I am doing a prototype with VC, I'm wondering how VC pass the data from a table view to a backend data service? For example, I have one RFC in the backend system with a tabel type importing parameter, now I want to pass all the data from an input table view to the RFC, I guess it's possible but I don't know how to do it.
    I try to create some events between the input table and data service, but seems there is no a system event can export the whole table to the backend data service.
    Thanks for your answer.

    Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to  be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
    Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
    Thanks.

  • How to populate data in dynamic internal table

    Hi Expert,
    fyi. My dynamic internal table field is created base on data selected. Eg. select table qpcd has 5 records.  These 5 recods will become fieldname to my dynamic internal table. My dynamic internal table will be
    ...itab
          01
          02
          03
          04
          05
    The 5 records from qpcd is populated in another table call viqmel.  I need to find the occurance of each code in viqmel and populate the number of occurance in itab in each of column.  The final dynamic itab will be like this
    table itab
    01       02     03    04     05   -
    > field name
    2         0        1     0       1    -
    > data
    my source code like below
    Report ZPLYGRND2.
    TABLES: mara, makt.
    TYPE-POOLS: slis, sydes.
    DATA:it_fcat TYPE slis_t_fieldcat_alv,
         is_fcat LIKE LINE OF it_fcat,
         ls_layout TYPE slis_layout_alv.
    DATA: it_fieldcat TYPE lvc_t_fcat,
          is_fieldcat LIKE LINE OF it_fieldcat.
    DATA: new_table TYPE REF TO data,
          new_line TYPE REF TO data,
          ob_cont_alv TYPE REF TO cl_gui_custom_container,
          ob_alv TYPE REF TO cl_gui_alv_grid,
          vg_campos(255) TYPE c,
          i_campos LIKE TABLE OF vg_campos,
          vg_campo(30) TYPE c,
          vg_tables(60) TYPE c.
    types : begin of t_qpcd,
             codegruppe like qpcd-codegruppe,
             code like qpcd-code,
            end of t_qpcd.
    data:wa_qpcd type t_qpcd,
         i_qpcd type standard table of t_qpcd initial size 0.
    FIELD-SYMBOLS: <l_table> TYPE table,
                   <l_line> TYPE ANY,
                   <l_field> TYPE ANY.
    select * into corresponding fields of wa_qpcd from qpcd
    where katalogart = 'D'
    and   codegruppe = 'OOT01'.
    append wa_qpcd to i_qpcd.
    endselect.
    loop at i_qpcd into wa_qpcd.
      is_fcat-fieldname = wa_qpcd-code.
      APPEND is_fcat TO it_fcat.
    endloop.
    LOOP AT it_fcat INTO is_fcat.
        is_fieldcat-fieldname = is_fcat-fieldname.
        is_fieldcat-ref_field = is_fcat-ref_fieldname.
        is_fieldcat-ref_table = is_fcat-ref_tabname.
        APPEND is_fieldcat TO it_fieldcat.
    ENDLOOP.
    *... Create the dynamic internal table
    CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
            it_fieldcatalog = it_fieldcat
        IMPORTING
            ep_table = new_table.
    if sy-subrc = 0.
    endif.
    *... Create a new line
    ASSIGN new_table->* TO <l_table>.
    CREATE DATA new_line LIKE LINE OF <l_table>.
    ASSIGN new_line->* TO <l_line>.
    LOOP AT <l_table> INTO <l_line>.
    ENDLOOP.

    hello dear i m giving u a code in this a dynamic table is made on the basis of table in database , and u can download this data correct it , see it, or even change it....and upload in tht table help full if u dont know the table name...in advance.
    also the code to populate data in dynamic table is in this code like:
    SELECT * FROM (MTABLE_N)
    INTO CORRESPONDING FIELDS OF TABLE <FS_ITAB> .
    look at the whole program .hope this solve ur problem thanks.
    REPORT ZTESTA  MESSAGE-ID ZIMM    .
    TYPES : DATA_OBJECT TYPE REF TO DATA.
    DATA : MITAB TYPE REF TO DATA .
    TYPE-POOLS : SLIS .
    DATA : IT_FIELDCAT TYPE STANDARD TABLE OF SLIS_FIELDCAT_ALV
    WITH HEADER LINE .
    DATA : IT_FIELDCATALOG TYPE LVC_T_FCAT .
    DATA : WA_FIELDCATALOG TYPE LVC_S_FCAT .
    DATA : I_STRUCTURE_NAME LIKE DD02L-TABNAME .
    DATA : I_CALLBACK_PROGRAM LIKE SY-REPID .
    DATA : DYN_LINE TYPE DATA_OBJECT .
    FIELD-SYMBOLS : <FS_ITAB> TYPE STANDARD TABLE .
    DATA : TABLE_NAME_IS_VALID TYPE C .
    DATA : DYNAMIC_IT_INSTANTIATED TYPE C .
    CONSTANTS BUTTONSELECTED TYPE C VALUE 'X' .
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) T_TABL.
    PARAMETERS : MTABLE_N LIKE RSRD1-TBMA_VAL
    MATCHCODE OBJECT DD_DBTB_16 OBLIGATORY .
    DATA CHECKTABLED.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) T_FILE.
    PARAMETERS : MFILENAM LIKE RLGRAP-FILENAME .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) T_DOWN.
    PARAMETERS : P_DOWNLD RADIOBUTTON GROUP GRP1
    USER-COMMAND M_UCOMM .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) T_CHKF.
    PARAMETERS : P_CHKFIL RADIOBUTTON GROUP GRP1 .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) T_UPLD.
    PARAMETERS : P_UPLOAD RADIOBUTTON GROUP GRP1 .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) T_SHOW.
    PARAMETERS : P_SHOW_T RADIOBUTTON GROUP GRP1 .
    SELECTION-SCREEN END OF LINE.
    AT SELECTION-SCREEN OUTPUT .
      PERFORM CHECK_FILENAME .
    AT SELECTION-SCREEN.
      IF SY-UCOMM = 'ONLI'.
        CHECKTABLED = MTABLE_N+0(1).
        IF CHECKTABLED NE 'Z'.
          MESSAGE I017.
          LEAVE TO SCREEN 1000.
        ENDIF.
        IF SY-UNAME NE 'KAMESH.K'.
          MESSAGE I023 WITH SY-UNAME.
          LEAVE TO SCREEN 1000.
        ENDIF.
      ENDIF.
      IF SY-UCOMM = 'PRIN'.
        CHECKTABLED = MTABLE_N+0(1).
        IF CHECKTABLED NE 'Z'.
          MESSAGE I017.
          LEAVE TO SCREEN 1000.
        ENDIF.
        IF SY-UNAME NE 'KAMESH.K'.
          MESSAGE I023 WITH SY-UNAME.
          LEAVE TO SCREEN 1000.
        ENDIF.
      ENDIF.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR MFILENAM .
      PERFORM F4_FOR_FILENAME .
    INITIALIZATION .
      T_TABL = 'Table Name' .
      T_FILE = 'File Name' .
      T_DOWN = 'Download Table' .
      T_CHKF = 'Check File to Upload' .
      T_UPLD = 'Upload File' .
      T_SHOW = 'Show Table Contents' .
    START-OF-SELECTION .
      PERFORM CHECK_TABLE_NAME_IS_VALID .
    END-OF-SELECTION .
      IF TABLE_NAME_IS_VALID EQ ' ' .
        MESSAGE I398(00) WITH 'INVALID TABLE NAME' .
      ELSE .
        PERFORM INSTANTIATE_DYNAMIC_INTERNAL_T .
        CHECK DYNAMIC_IT_INSTANTIATED = 'X' .
        CASE BUTTONSELECTED .
          WHEN P_DOWNLD .
            PERFORM SELECT_AND_DOWNLOAD .
          WHEN P_CHKFIL .
            PERFORM CHECK_FILE_TO_UPLOAD .
          WHEN P_UPLOAD .
            PERFORM UPLOAD_FROM_FILE .
          WHEN P_SHOW_T .
            PERFORM SHOW_CONTENTS .
        ENDCASE .
      ENDIF .
    FORM CHECK_TABLE_NAME_IS_VALID.
      DATA MCOUNT TYPE I .
      TABLES DD02L .
      CLEAR TABLE_NAME_IS_VALID .
      SELECT COUNT(*) INTO MCOUNT FROM TADIR
      WHERE PGMID = 'R3TR'
      AND OBJECT = 'TABL'
      AND OBJ_NAME = MTABLE_N .
      IF MCOUNT EQ 1 .
        CLEAR DD02L .
        SELECT SINGLE * FROM DD02L WHERE TABNAME = MTABLE_N .
        IF SY-SUBRC EQ 0.
          IF DD02L-TABCLASS = 'TRANSP' .
            TABLE_NAME_IS_VALID = 'X' .
          ENDIF .
        ENDIF.
      ENDIF .
    ENDFORM. " CHECK_TABLE_NAME_IS_VALID
    FORM SELECT_AND_DOWNLOAD.
      CLEAR : <FS_ITAB> .
      SELECT * FROM (MTABLE_N)
      INTO CORRESPONDING FIELDS OF TABLE <FS_ITAB> .
      PERFORM CHECK_FILENAME.
      CALL FUNCTION 'WS_DOWNLOAD'
           EXPORTING
                FILENAME                = MFILENAM
                FILETYPE                = 'DAT'
           TABLES
                DATA_TAB                = <FS_ITAB>
           EXCEPTIONS
                FILE_OPEN_ERROR         = 1
                FILE_WRITE_ERROR        = 2
                INVALID_FILESIZE        = 3
                INVALID_TYPE            = 4
                NO_BATCH                = 5
                UNKNOWN_ERROR           = 6
                INVALID_TABLE_WIDTH     = 7
                GUI_REFUSE_FILETRANSFER = 8
                CUSTOMER_ERROR          = 9
                OTHERS                  = 10.
      IF SY-SUBRC EQ 0.
        MESSAGE I398(00) WITH 'Table' MTABLE_N
        'successfully downloaded to '
        MFILENAM .
      ENDIF.
    ENDFORM. " SELECT_AND_DOWNLOAD
    FORM UPLOAD_FROM_FILE.
      DATA : ANS TYPE C .
      DATA : LINES_OF_ITAB TYPE I .
      DATA : MSY_SUBRC TYPE I .
      CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
           EXPORTING
                TEXTLINE1 = 'Are you sure you wish to upload'
                TEXTLINE2 = 'data from ASCII File to DB table '
                TITEL     = 'Confirmation of Data Upload'
           IMPORTING
                ANSWER    = ANS.
      IF ANS = 'J' .
        PERFORM CHECK_FILENAME.
        CLEAR MSY_SUBRC .
        CALL FUNCTION 'WS_UPLOAD'
             EXPORTING
                  FILENAME                = MFILENAM
                  FILETYPE                = 'DAT'
             TABLES
                  DATA_TAB                = <FS_ITAB>
             EXCEPTIONS
                  CONVERSION_ERROR        = 1
                  FILE_OPEN_ERROR         = 2
                  FILE_READ_ERROR         = 3
                  INVALID_TYPE            = 4
                  NO_BATCH                = 5
                  UNKNOWN_ERROR           = 6
                  INVALID_TABLE_WIDTH     = 7
                  GUI_REFUSE_FILETRANSFER = 8
                  CUSTOMER_ERROR          = 9
                  OTHERS                  = 10.
        MSY_SUBRC = MSY_SUBRC + SY-SUBRC .
        IF SY-SUBRC EQ 0.
          DESCRIBE TABLE <FS_ITAB> LINES LINES_OF_ITAB .
          IF LINES_OF_ITAB GT 0 .
            MODIFY (MTABLE_N) FROM TABLE <FS_ITAB> .
            MSY_SUBRC = MSY_SUBRC + SY-SUBRC .
          ENDIF .
        ENDIF.
        IF MSY_SUBRC EQ 0 .
          MESSAGE I398(00) WITH LINES_OF_ITAB
          'Record(s) inserted in table'
          MTABLE_N .
        ELSE .
          MESSAGE I398(00) WITH
          'Errors occurred No Records inserted in table'
          MTABLE_N .
        ENDIF .
      ENDIF .
    ENDFORM. " UPLOAD_FROM_FILE
    FORM F4_FOR_FILENAME.
      CALL FUNCTION 'WS_FILENAME_GET'
           EXPORTING
                DEF_PATH         = 'C:\'
                MASK             = ',.,..'
                MODE             = '0'
           IMPORTING
                FILENAME         = MFILENAM
           EXCEPTIONS
                INV_WINSYS       = 1
                NO_BATCH         = 2
                SELECTION_CANCEL = 3
                SELECTION_ERROR  = 4
                OTHERS           = 5.
    ENDFORM. " F4_FOR_FILENAME
    FORM CHECK_FILENAME.
      IF MFILENAM IS INITIAL
      AND NOT ( MTABLE_N IS INITIAL )
      AND P_SHOW_T NE BUTTONSELECTED.
        CONCATENATE 'C:\'
        MTABLE_N '.TXT' INTO MFILENAM.
      ENDIF .
    ENDFORM. " CHECK_FILENAME
    FORM INSTANTIATE_DYNAMIC_INTERNAL_T.
      CLEAR DYNAMIC_IT_INSTANTIATED .
      I_STRUCTURE_NAME = MTABLE_N .
      CLEAR IT_FIELDCAT[] .
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
           EXPORTING
                I_STRUCTURE_NAME       = I_STRUCTURE_NAME
           CHANGING
                CT_FIELDCAT            = IT_FIELDCAT[]
           EXCEPTIONS
                INCONSISTENT_INTERFACE = 1
                PROGRAM_ERROR          = 2
                OTHERS                 = 3.
      IF SY-SUBRC EQ 0.
        LOOP AT IT_FIELDCAT .
          CLEAR WA_FIELDCATALOG .
          MOVE-CORRESPONDING IT_FIELDCAT TO WA_FIELDCATALOG .
          WA_FIELDCATALOG-REF_FIELD = IT_FIELDCAT-FIELDNAME .
          WA_FIELDCATALOG-REF_TABLE = MTABLE_N .
          APPEND WA_FIELDCATALOG TO IT_FIELDCATALOG .
        ENDLOOP .
        CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
        IT_FIELDCATALOG = IT_FIELDCATALOG
        IMPORTING
        EP_TABLE = MITAB .
        ASSIGN MITAB->* TO <FS_ITAB> .
        DYNAMIC_IT_INSTANTIATED = 'X' .
      ENDIF.
    ENDFORM. " INSTANTIATE_DYNAMIC_INTERNAL_T
    FORM SHOW_CONTENTS.
      CLEAR : <FS_ITAB> .
      SELECT * FROM (MTABLE_N)
      INTO CORRESPONDING FIELDS OF TABLE <FS_ITAB> .
      I_CALLBACK_PROGRAM = SY-REPID .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                I_CALLBACK_PROGRAM = I_CALLBACK_PROGRAM
                IT_FIELDCAT        = IT_FIELDCAT[]
           TABLES
                T_OUTTAB           = <FS_ITAB>
           EXCEPTIONS
                PROGRAM_ERROR      = 1
                OTHERS             = 2.
    ENDFORM. " SHOW_CONTENTS
    FORM CHECK_FILE_TO_UPLOAD.
      PERFORM CHECK_FILENAME.
      CALL FUNCTION 'WS_UPLOAD'
           EXPORTING
                FILENAME                = MFILENAM
                FILETYPE                = 'DAT'
           TABLES
                DATA_TAB                = <FS_ITAB>
           EXCEPTIONS
                CONVERSION_ERROR        = 1
                FILE_OPEN_ERROR         = 2
                FILE_READ_ERROR         = 3
                INVALID_TYPE            = 4
                NO_BATCH                = 5
                UNKNOWN_ERROR           = 6
                INVALID_TABLE_WIDTH     = 7
                GUI_REFUSE_FILETRANSFER = 8
                CUSTOMER_ERROR          = 9
                OTHERS                  = 10.
      IF SY-SUBRC EQ 0.
        I_CALLBACK_PROGRAM = SY-REPID .
        CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
             EXPORTING
                  I_CALLBACK_PROGRAM = I_CALLBACK_PROGRAM
                  IT_FIELDCAT        = IT_FIELDCAT[]
             TABLES
                  T_OUTTAB           = <FS_ITAB>
             EXCEPTIONS
                  PROGRAM_ERROR      = 1
                  OTHERS             = 2.
      ENDIF .
    ENDFORM. " CHECK_FILE_TO_UPLOAD
    Message was edited by:
            SAURABH SINGH
            SENIOR EXECUTIVE
            SAMSUNG INDIA ELECTRONICS LTD.,NOIDA

  • How to populate data in the same table based on different links/buttons

    Hi
    I'm using jdeveloper 11.1.4. I have a use case in which i need to populate data in the same table based on click of different links.
    Can anyone please suggest how can this be achieved.
    Thanks

    I have a use case in which i need to populate data in the same table based on click of different linksDo you mean that you need to edit existing rows ?
    What format do you have the date in - table / form ?

  • DB Connect Load - "Unknow error while uploading data from the DB Table"

    Hi Experts,
    We have our BI7 system connected to Oracle DB based third party tool. The loads are performing quite well in DEV environment.
    I would like to know, how we transport DB Connect datasources to Quality systems? Any different process to be followed for DB Connect datasources?
    At present the connections between BI Quality and the third party quality systems are established. We transported the DataSource from BI DEV system to BI quality system, but on trigerring an infopackage we are not able to perform loads. It prompts - "Unknow error while uploading data from the DB Table".
    Also on comparing the DataSources in DEV system and Quality system there are no fields in "Proposal" tab of datasource in Quality system. Also I cannot change or activate Datasource in Quality system as we dont have change access in quality.
    Please advice.
    Thanks,
    Abhijit

    Hi,
    Sorry for bumping an old thread ....
    Did this issue get ever get resolved?
    I am facing the same one. The loads work successfully in Dev. The transport for DBConnect DS also moved in successfully.
    One strange this is that DB User for dev did not automatically change to db user from quality when I transported the DBConnect datasource. DBCon DS still shows me the DB User from Dev in Quality system
    I get "Unknown Error" whenever I trigger the data package.
    Advait

  • Not displaying the data in to the table..wht is the issue

    I have problem for the displaying the RFC Model object date in to the table.
    I have created the Table in the view, Then  i have choosed  the "create  binding" option in the outLine window to map the perticular RFC model object to the Table to display. The data is not displaying in the table . But the RFC model object contains data. when i am trying to display with MessageMaganger.reporSuccess(). it is diplaying the data.
    Can any one tell me what is the issue.

    First, in your view layout in NWDS,  look at the tableview,  do you see fieldnames in the columns and rows.  If so, then I believe that you have bound correctly.    Also, in your executeBAPI method,  make sure that it looks something like this.
        public void executeBapi_Gl_Acc_Getlist_Input( )
        //@@begin executeBapi_Gl_Acc_Getlist_Input()
        try{
             wdContext.currentBapi_Gl_Acc_Getlist_InputElement().modelObject().execute();
        catch (Exception ex)
                  ex.printStackTrace();
    <b>    wdContext.nodeOutput().invalidate();</b>
        //@@end
    Regard,
    Rich Heilman

  • Data Modeler : Modifying the Table Report layout

    Hi ,
    I'm using SQL Data Modeler (DM) 4.0 EA .
    I used the File -> reports option to generate the reports on Table and in the report
    1) I couldn't see the column data type ? (Refer below table ) , Is there any options to bring on the Data Type in the Report ?
    No
    Column Name
    PK
    FK
    M
    Data Type
    DT
    kind
    Domain Name
    Formula
    (Default Value)
    Security
    Abbreviation
    1
    ID1
    P
    Y
    (10)
    LT
      2
    ID2
    F
    Y
    (10)
    LT
    3
    ID3
    Y
    (1)
    LT
    4
    ID4
    Y
    (10)
    LT
    5
    ID5
    F
    (20,4)
    LT
    2) In options to manage the Table report (Reports -> Manage). Currently I can only remove a heading (like Descriptions Notes ,columns,column comments.). Is there is any way to customize the report in such a way that I can remove some columns (mostly the empty ones) from the report and add the column comments along with the column table than a new column comments table.
    Please let me know  ,is there is an option to customize the report .
    Note: I even tried generating the report using the search then report , but it doesn't give a complete report (i was only able to generate a report on column or table name or constraints , not all together.)
    Thanks,
    Srinivasan.K

    Thanks for the immediate reply.
    I checked on the DM again, the report comes good for the one which has the data type . But now all my data type changed to UNKNOWN and lokks like ,due to this my table report is coming without the "Data Type".
    Can you please help me in fixing this unknown data type issue ?
    Table report for the ones with proper Data type:
    Columns
    No
    Column Name
    PK
    FK
    M
    Data Type
    DT
    kind
    Domain Name
    Formula
    (Default Value)
    Security
    Abbreviation
    1
    ID1
    Y
    NUMERIC (10)
    LT
    2
    SCRIPT
    Y
    VARCHAR (1024)
    LT
    3
    UPGRADE_S
    Y
    VARCHAR (10)
    LT
    4
    UPGRADE_D
    Y
    VARCHAR (250)
    LT
    5
    UPGRADING_F
    Y
    VARCHAR (20)
    LT
    6
    TIMESTAMP2
    Y
    Timestamp
    LT

Maybe you are looking for

  • Question about Siebel.

    hi, how are you, sorry for posting this in this forum, but i didnt find any other way to know this, since i dont know where to find experts to answer this. I have worked 2 years and a half in Incident support and implementation using siebel tools (7.

  • Getting the value of an out parameter

    Hello, I have the procedure procedure GetRoutingNr(     sid in number,     product_code in varchar2,     routing_nr out number   ) is     soap_msg VARCHAR2(32767);     resp XMLType;     txt_err varchar2(254);     numews varchar2(32) := 'GetRoutingNr'

  • Use LoginToken for Server API Session

    I get an Invalid pointererror when I try the code below. I'm trying to use the Login Token passed from the portlet as the token for the Server API Session I create. portletContext = PortletContextFactory.CreatePortletContext(Request, Response); //Get

  • Registration Codes/Keys for Apllications

    Before I installed Leopard, I backed up my user folder, application folder, and systems folder from Tiger using Lacie software. I did a complete reinstall with Leopard. I have fix most of the problems with address book, ical, mail (minus the Hotmail

  • Import Video Recordings Missing/hidden

    I just updated the iMovie program and found out how to record a video through mac camera. I hit import, selected camera, Made new event, then hit the record button. recorded about 12 hours worth with breaks every 2 to 3 hours. I went to upload it to