Fill the new table

Hi Experts,
suppose <outtab>.has three columns (this is the new generated table).
How can I fill now this table with simple data.
Regards
sas
CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog =  gt_fcat
        IMPORTING
          ep_table        = new_table.
ASSIGN new_table->* TO <outtab>.
CREATE DATA new_line LIKE LINE OF <outtab>.
ASSIGN new_line->* TO <l_line> .

Hi ,
U can do it by the below mentioned way.
LOOP AT fcat INTO ls_fcat TO 23."WHERE col_pos <= '19'.
read table it_parent with key name = '1'. "build your logic to read data
       ASSIGN COMPONENT ls_fcat-fieldname
            OF STRUCTURE <l_line> TO <l_fs_dyn>.
        ASSIGN COMPONENT ls_fcat-fieldname
            OF STRUCTURE it_parent TO <l_fs_bom>.
        <l_fs_dyn> = <l_fs_bom>.
      ENDIF.
    ENDLOOP.
APPEND <l_line> TO <outtab>.
where   <l_fs_dyn> & <l_fs_bom> are field symbol of type any.
Thanks & Regards,
Ruchi Tiwari

Similar Messages

  • Material Valuation Transaction Codes to fill the new records in MBEW table

    Hi Experts,
    May i know the Material Valuation Transaction Codes because i want to fill the MBEW table with changed(new) records.
    Thanks in advance.
    Regards,
    <BMP>

    Hi,
    Please check the T-codes as follows which be helpful to you :----
    ME61                 Maintain Vendor Evaluation                        
    ME62                 Display Vendor Evaluation                         
    ME63                 Evaluation of Automatic Subcriteria               
    ME64                 Evaluation Comparison                             
    ME65                 Evaluation Lists                                  
    ME6A                 Changes to Vendor Evaluation                      
    ME6B                 Display Vendor Evaln. for Material                
    ME6C                 Vendors Without Evaluation                        
    ME6D                 Vendors Not Evaluated Since...                    
    ME6E                 Evaluation Records Without Weighting              
    ME6F                 Print                                             
    ME6G                 Vendor Evaluation in the Background               
    ME6H                 Standard Analysis: Vendor Evaluation              
    ME6Z                 Transport Vendor Evaluation Tables                
    Hope this helps........
    Regards,
    Suman

  • Dynamically fill the internal table with new fileds

    Hi Friends,
    I have the internal table like
    Data:begin of i_data occurs 0,
               a(60),
                b(60),
                c(60),
                d(60),
                 e(60),
            end of i_data.
    I need to fill the internal table dynamically like
    Data:begin of i_data occurs 0,
               a(60),
                b(60),
                c(60),
                 c1(60),  "new filed dynamically
                 c2(60),  "new field dynamically
                d(60),
                 e(60),
            end of i_data.
    Please suggest me how to do this.
    Regards,
    Sunny.
    Code Formatted by: Alvaro Tejada Galindo on Jan 8, 2009 1:55 PM

    You can not add new fields to a statically defined internal table, instead you must create the entrie internal table at runtime.
    Search this forum for Dynamic Internal tables, you will get a lot of example programs.
    Regards,
    Rich Heilman

  • Error while filling the Setup tables

    Hi Experts,
          I tried to fill the setup tables using the transaction code SBIW. But there I found an error saying that
    "Error determining rate: foreign curr.  local curr. EUR date 25.07.2007 (doc. 2497)
    Message no. M2810".
       Please help me in this..
    With Regards,
    Yokesh Kumar.

    Hello Yokesh,
    Please check whether the Exchange rates that are used in the records are maintained in SPRO.
    Thanks
    Chandran

  • Extraction Problem- while filling the setup table

    Hi all,
    I have a problem when i  fill the setup table for LO cockpit Extraction on any SD datasources (2_LIS_VAHDR,2lis_13_vdkon etc.,). i am done with LBWQ successfully. i also verified the datasources in RSA6. They are in active status in RSA7-delta queue.
    After i submit the request to fill the setup table, i am getting
    "datasource 2_LIS_VAHDR contains data still to be transferred". if i check the extract checker (RSA3) i am getting the error msg "data source is not defined in the source system"
    Can anybody help me on this?
    one of my friend suggested that it could be the reason that some jobs are in active status that loads/updates data into base tables which the datasources refers.
    Any idea on the reason and resolutions?
    Greatly appreciated !

    Hi Vijaya,
    We too got the same Error : " the datasources are not defined in the source system".
    This is source system connection problem.  Check whether connection between R/3 and BW is active.
    This error occurs when the connection is inactive.
    Also, if it is copy client, then check data exists in other client. If so delete the setup tables data in that client as well.
    This will resolve your issue.
    Thanks
    Edited by: Allen Fyne on Aug 9, 2008 6:47 PM

  • Problem while filling the Setup Table for the DS 2LIS_02_SCL.

    Hi All,
    When I am trying to fill the Setup table for the DataSource 2LIS_02_SCL and only for one specific Purchase Order, it is showing me a message like
    u201CDataSource 2LIS_02_ITM contains data still to be transferredu201D
    I have deleted the Setup Table and I want to delete the entries from SM13, but I do not have Authorization.
    Also, here I am trying to fill the Setup Table for 2LIS_02_SCL and not for 2LIS_02_ITM, but the message displayed above is showing as 2LIS_02_ITM DataSource. I think the Setup Table will be same for both the DataSources.
    Waiting for your valuable inputs.
    Thanks in Advance.

    Hi,
    When you want to fill the setup tables first you need to delete setup tables to avoid the duplicate entires in setup tables ( you can delete the setup tables by using t.code LBWG with application no is 02)
    In your case, the data souce is 2LIS_02_SCL for purchasing.
    when you want to delete the setup tables by using t.code LBWG with 02 application no it will delete all the purchasing related data from all the data sources like
    2LIS_02_SCL
    2LIS_02_ITM
    Before the deletion of setup tables you need to clear the delta Queues and stop the V3 jobs, which loads the data to Delta Queues (RSA7) and Update tables(LBWQ).
    you need to run the V3  jobs manually by using LBWE > Job control > and schedule the jobs until the delta queues will get 0 records. that means no data will be available in RSA7 and LBWQ
    go to SM37 to see the jobs LIS-BW-VB_APPLICATION_02,
    once the delta queues gets 0 records by running V3 Jobs manullay.
    Then remove the released state jobs > remove from schedule means delete the jobs in LBWE > Go to job control > you can delete the released jobs.
    Becuase No postings to be done in application tables, while running setuptable filling you should take some down time to fill the setup tables.( OLI*BW)  *=Application number.
    Once you clear the Queues and delete the v3 jobs, then you need to fill the setup tables after deletion of setup tables.
    once you fill the setup tables , by running intialization to BW side the delta Queue is formed for the data source in R3 side
    Now the postings can be done in R3 side, so you need schedule back the V3 jobs, which you already delted from LBWE to load the data from application tables to RSA7 or LBWQ.
    I hope this may help yoou.
    Regards.
    Rambabu
    Edited by: Rambabu velanati on Jun 9, 2010 4:41 PM
    Edited by: Rambabu velanati on Jun 9, 2010 4:52 PM

  • Problem while filling the setup table

    Hi experts,
    i am extracting data from 2lis_12_vcitm, while filling the setup table it showing bellow error message,
    NO EXTRACT STRUCTURE ACTIVATE OR NO BW CONNECTED
    but i Extract structure is in active mode and BW connection also is there.
    what is the problem,
    please help me,
    answer will be appreciated with full points,
    regards,
    venkat

    Hi Venkata,
    If u are looking for reinitialization to ur targets and which needs the refilling of setup tables then u need to perform the following activities.
    Try to take the down time in R3 to stop the posting.
    try to empty the queue(both the extraction and Delta queue in R3 and deeavtivate the V3 update) and then delte the data in ur targets in BW which are getting feeded from these Data sources and remove the init flag at the Infopackage level for the respective DS's.
    And then check if there is any blocked records in SM13 for ur application.
    Delete the existing set up for the application 12.
    And then refill the setup tables (may be u can think of multiple setups to make this execution faster and to reduce the R3 load).
    Once the setup is done.. then take init-without data transfer for ur DS's in BW and then activate the V3 in R3.Down time can be taken off here.
    and then take repair full load(which carry all of ur Setup tables data to ur targets). Once the repair is done then u can look for the regular deltas...
    For more information u can search SDN on the same..
    thanks
    Assign points if this helps

  • Dump error while filling the Setup table

    Hi All,
    I am trying to fill the setup table.While filling the stup table for 2lis_03_BF datasource, i got the Dump error after some time. I have checked the data in Setup table and found 9000 records.
    Shall i proceed further by pulling the data from R/3 to BW.I have checked the data in RSA3 and got some data.
    Shall i schedule the data from BW side.
    Pls help on this issue.
    Thanks,
    Siva.

    Thanks Reddy and JS.
    I have checked the TCODE SM37 and found no jobs are available. I have checked the TCODE : NPRT and found some logs.In this, it is not showing any errors.
    I have checked in SM21 and found some errors.
    Time_______________Text
    17:08:10____________Transaction Canceled M2 630 ( )
    17:23:47____________Run-time error "TIME_OUT" occurred
    17:23:47____________> Short dump "090302 172347 sand1_W2 2_00 " generated
    17:30:08____________Status: 80% of IL00.DAT is in use
    17:30:17____________Status: 90% of IL00.DAT is in use
    17:30:18____________Overflow of Paging File (032768 Blocks)
    17:30:18____________Run-time error "MEMORY_NO_MORE_PAGING" occurred
    17:30:19____________> Short dump "090302 173018 sand1_W2 2_00 " generated
    Shall i execute filling the setup table again. Do i need to give termination time More ( 2 Hrs difference)
    Any issue on refilling the setup table again.
    Pls suggest.
    Thanks,
    Siva.

  • How to find the new tables and columns in a schema

    hi..good morning to all...
    I have a schema ABC which owns some objects.
    Now some days before I have made another schema XYZ which was a replica of ABC schema.
    between these days some new tables, new columns in the existing tables(with or without default value), comments on the columns are being added in the new schema i.e XYZ schema.
    Now I have to find the extra things which are present in the new schema. I need to find the new tables, new columns in hte existing tables, their default values and descriptions of those.
    Can u plss help me how can I find it?
    I am guessing that I have to write a SQL query with a minus clause but I am not able to write it and also dont know where should I execute it.
    plss help. thanks in advance.

    And moreover, when I am executing the query to get the desired result, then it is throwing "illegal use of long datatype" error and pointing to the b.data_default area of my query..
    select a.table_name, a.column_name, b.data_default, a.comments from all_col_comments a, dba_tab_columns b
    where a.TABLE_NAME=b.TABLE_NAME
    and a.OWNER=b.OWNER
    and a.OWNER=XYZ
    minus
    select c.table_name, c.column_name, d.data_default, c.comments from all_col_comments c, dba_tab_columns d
    where c.TABLE_NAME=d.TABLE_NAME
    and c.OWNER=d.OWNER
    and c.OWNER='ABC'
    order by 1, 2;
    plss help...

  • Taking long time filling the setup tables for sales and shipment

    Hi ,
    I am trying to fill the setup tables for sales and shipment and it is taking lot of time .
    It took 16 hours just to bring 6 months of  sales history  data in the test environment .
    Cn anybody help on this issue why it is taking that much of time ...
    I am trying to  load the sales data from R/3 into APO-BW from 2005 to 2007 .......
    It is taking 16 hours to fill the data for only 6 months .

    Hi,
    1. delete data and refill the setuptables again by spliting to several small pieces.
    2. compare the data. wht is the last Document numner in RSA3(Maximum one). Start from Maximum one. may be bit complex approch.
    you need to check with PSA and base tables.
    keep one thing in your mind you need to check againest MSEG and BSEG only. noy BKPF and MKPF.
    correct if i'm wrong.
    either refill or create a user exit to avoid duplicae records(you should have very good understanding of data, it will lead to inconsitent data for delta records).
    User exit not a good solution. it's one possibility.
    ****Assign Points If Helpful****
    Regards,
    Ravikanth

  • Stored procedure to update the new table by using back up table

    Hi all,
    oracle version -10g
    iam planning to do one time legacy conversion during the migration of one of the tables.
    for that i took the back up of table , now i need to transfer all of the data from the backup table to the new table with some changes..
    so please suggest me how to write the stored procedure?
    back up table name: test t
    new table: test n
    new table will have extra one row .. in that i need to put the logic
    so am planning to write a procedure like below
    create or replace procedure test as
    begin
    insert into TEST T ( u
              v
              w
              X
              y
              z) VALUES
    SET T.U = O.U
    T.V = O.V
    T.W = DECODE(O.W, AD     '01',
                   00     '01')
    T.X = O.X
    T.Y = IF O.W = 'AD' AND O.Y = 'YES' THAN PUT 'AD'
         IF O.W = '00' AND O.Y = 'YES' THAN PUT 'PD'
    IF O.W NOT IN ('AD','00') AND O.Y = 'YES' THEN PUT 'E'
    O.Y= 'NO' THEN PUT 'D'.
         '

    10g is not an Oracle version number. Please run the following:
    SELECT * FROM v$version;What about your situation indicates a requirement for a stored procedure? I wouldn't write one based on what you have posted. It seems, again from what little you posted, that all you need is:
    INSERT INTO <new_table>
    SELECT ... FROM <temp_table>;

  • The new table and Columns to look for in picking headers, etc

    Hi,
    What are the new tables and columns to look for mapping the following old ones:
    1) Pick_Slip_Number from So_Picking_Headers,
    2) Sequence_Number from SO_Picking_lines
    3) Line_ID from So_Note_References
    Thanks and Regards,
    Praveen

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ravi alladi ([email protected]):
    Actually would it be possible to get a list of all changes in Order Management between 11 and 11i? ie what tables added, what have been modified and which ones are obsolete<HR></BLOCKQUOTE>
    Ravi
    Actually, we are working on that same analysis. If you receive any responses, please forward to myself as well.
    Thank you
    Sha Green

  • Added Articles and ran snapshot, but the new tables not showing up

    I have a publication that is running on 2012 SQL server.  I added several tables, some stored procedure and some views.  Then I selected 'view snapshot agent service' and selected start.  It says running, and then says '9 articles published'
    (or something like that) but the number is incorrect.  It should be a LOT more than that.  Then when I look at the subscriber, it doesn't have the new tables.  Thanks for any help you can offer.

    After creating a new snapshot did you start synchronizing the subscriptions which applies the schema and data for the newly
    added articles
    --Prashanth

  • Will delta disturb if we fill the Setup tables ??

    Hi All,
    In the process of R/3 upgradation we have deleted the Setup tables.
    After that Deleta is running fine. But I am not able to see the data in RSA3.
    Now I want to fill the Setup tables for that particular application
    If I fill setup tables is it disturb the delta process ???
    Regards
    Sankar

    Hi Sankar,
    Filling up Set up Table will not effect Delta as Set up table is relateed to Full Load and Not Delta laod.
    The Delta and Full Load are TWO different Routes.Both are not connected to each other.
    Follow this procedure
    For Delta Loads-Queued Delta
    1)Do an Init Data load without data transfer .BI Side
    2)Check whether the datasource is GREEN Status in RSA7
    3)Run the Activate Transfer Structure Programme.-BI side
    4)Run the V3 job-LBWE JOb Control or in SM37
    5)Then check form the Delta in RSA7
    6)Do a delta Load .
    For Full Load
    1)Delete Set Up Table-In r/3
    2)Do an Init Data load without data transfer .BI Side
    3)Fill Up Set up Table-In R/3
    4)Full Repair -FullLoad -in BI
    5)Then the delta Loads will follow.
    Rgds
    SVU

  • Sample report for filling the database table with test data .

    Hi ,
    Can anyone provide me sample report for filling the database table with test data ?
    Thanks ,
    Abhi.

    hi
    the code
    data : itab type table of Z6731_DEPTDETAIL,
           wa type Z6731_DEPTDETAIL.
    wa-DEPT_ID = 'z897hkjh'.
    wa-DESCRIPTION = 'computer'.
    append wa to itab.
    wa-DEPT_ID = 'z897hkjhd'.
    wa-DESCRIPTION = 'computer'.
    append wa to itab.
    loop at itab into wa.
    insert z6731_DEPTDETAIL from wa.
    endloop.
    rewards if helpful

Maybe you are looking for

  • How do I find the number of instances of a text entry?

    Hello, I have a spreadsheet and the cells have either a text entry or numerical entry. I am trying to work out how to write a formula to total the number of cells which have a particular text entry. Any help would be apprectiated. Thank you.

  • Illustrator CC2014 keeps crashing on launch....help i'm on a mac running maverick

    My illustrator program keeps crashing upon launch i called tech support they fixed it and the next day it's doing it again I'm trying to contact them but they are closed thanks for any help you can provide

  • Only part of iTunes library visible on iPhone5

    I have about 1000 albums in my iTunes library, which I access successfully from two different computers using iTunes Match.  But despite the fact that my Settings in my iPhone5 are to have "iTunes Match" on and "Show All Music" on, only 367 of these

  • Photo Stream not working for Windows 7 iCloud

    I am using an iPhone 4 and Windows 7--I have downloaded iCloud but when I take a new picture on my iPhone it does not show up in my "Uploads" folder. Am I doing something wrong?

  • How to cancel an engineer appointment?

    How do I cancel an engineer appointment, as the problem I had has now been rectified? I have been calling the Sky number all evening and trying to get somebody on live chat but to no avail.  The engineer is due tomorrow between 8am and 5pm.  I would