How to transfer from internal table to table control ?

How to transfer data from internal table to table control wihtout using select statement?

HI
GOOD
The commands in the flow logic are:
LOOP AT itab [INTO wa] WITH CONTROL ctrl.
ENDLOOP.
This statement assigns an internal table itab of the ABAP program to the table control and triggers a parallel loop run over the table control rows displayed on the screen and over the internal table itab. The additions INTO and WITH CONTROL are possible at the time of PBO, but not at PAI. The assignment of the loop to the table control takes place at PAI through the internal table.
Using the INTO addition, the fields of the internal table itab are written to the work area wa at the time of PBO and the content of wa is transported, line by line, to the identically-named fields of the table control on the screen. Without the INTO addition, you must use an internal table with a header line. Then the content of the header line is transported line by line to the identically-named fields of the table control on the screen at the time of PBO. No module is required for filling the table control rows.
Conversely, at the time of PAI, the internal table rows are not automatically filled with the contents of the table control rows. Instead, you must call a dialog module within the loop that modifies the table.
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/0970a4543b11d1898e0000e8322d00/content.htm
THANKS
MRUTYUN^

Similar Messages

  • How to transfer data in change log table of dso to z-table using abap code

    Hi  can you please explain me how to transfer data in change log table of dso to z-table using abap code ,with out using Function module concept

    PROGRAM NAME:   ZBW_DELTA_TO_GSTAR                                 **
    report ZBW_DELTA_TO_GSTAR no standard page heading
                                     line-size 120
                                     line-count 75
                                     message-id ZBW_MSG_CLS.
    tables:   ZGIV_DLTA_EBV_BB,
              ZGIV_DLTA_EM2_BL,
              ZGIV_DLTA_EM2_BK.
    Selection Screen Definitions
    SELECTION-SCREEN: BEGIN OF BLOCK INNER WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN: SKIP 1.
    PARAMETERS:       EBVBB RADIOBUTTON GROUP ROLL,
                      EM2BL RADIOBUTTON GROUP ROLL,
                      EM2BK RADIOBUTTON GROUP ROLL.
    SELECTION-SCREEN: END OF BLOCK INNER.
    Data:  WS_UPDATE_FLAG  Type C,
           UCounter(9)      Type N,
           ICounter(9)      Type N.
    DATA:  T_ZGIV_DLTA_EBV_BB Type Standard Table of ZGIV_DLTA_EBV_BB,
           s_ZGIV_DLTA_EBV_BB LIKE line of T_ZGIV_DLTA_EBV_BB.
    DATA:  T_ZGIV_DLTA_EM2_BK Type Standard Table of ZGIV_DLTA_EM2_BK,
           s_ZGIV_DLTA_EM2_BK LIKE line of T_ZGIV_DLTA_EM2_BK.
    DATA:  T_ZGIV_DLTA_EM2_BL Type Standard Table of ZGIV_DLTA_EM2_BL,
           s_ZGIV_DLTA_EM2_BL LIKE line of T_ZGIV_DLTA_EM2_BL.
    Standard Internal Tables - Describe usage.
    data: begin of i_AEPSD_O0140 occurs 0.
            include structure /BIC/AEPSD_O0140.
    data: end of i_AEPSD_O0140.
    data: begin of i_AEPSD_O0240 occurs 0.
            include structure /BIC/AEPSD_O0240.
    data: end of i_AEPSD_O0240.
    data: begin of i_AEPSD_O0340 occurs 0.
            include structure /BIC/AEPSD_O0340.
    data: end of i_AEPSD_O0340.
    data: begin of i_GIV_DLTA_EBV_BB occurs 0.
            include structure ZGIV_DLTA_EBV_BB.
    data: end of i_GIV_DLTA_EBV_BB.
    data: begin of i_GIV_DLTA_EM2_BK occurs 0.
            include structure ZGIV_DLTA_EM2_BK.
    data: end of i_GIV_DLTA_EM2_BK.
    data: begin of i_GIV_DLTA_EM2_BL occurs 0.
            include structure ZGIV_DLTA_EM2_BL.
    data: end of i_GIV_DLTA_EM2_BL.
    Miscellaneous Program Variables and Constants.
    TOP-OF-PAGE
    top-of-page.
    START-OF-SELECTION
    start-of-selection.
      Clear: i_GIV_DLTA_EBV_BB,
             i_GIV_DLTA_EM2_BK,
             i_GIV_DLTA_EM2_BL,
             UCounter, ICounter.
      IF EBVBB = 'X'.
        PERFORM 100_EXTRACT_EBV_BB_DELTA_RECS.
      ELSEIF EM2BK = 'X'.
        PERFORM 100_EXTRACT_EM2_BK_DELTA_RECS.
      ELSE.
        PERFORM 100_EXTRACT_EM2_BL_DELTA_RECS.
      ENDIF.
    FORM 100_EXTRACT_EBV_BB_DELTA_RECS
    FORM 100_EXTRACT_EBV_BB_DELTA_RECS.
      Refresh:   i_AEPSD_O0140,
                 i_GIV_DLTA_EBV_BB.
      Clear:      UCounter, ICounter, s_ZGIV_DLTA_EBV_BB .
      Select * From /BIC/AEPSD_O0140
        Into TABLE i_AEPSD_O0140.
      IF SY-Subrc = 0.
        LOOP AT i_AEPSD_O0140.
          MOVE-CORRESPONDING i_AEPSD_O0140 TO s_ZGIV_DLTA_EBV_BB.
          MOVE SY-DATUM to s_ZGIV_DLTA_EBV_BB-create_dt.
          INSERT ZGIV_DLTA_EBV_BB FROM s_ZGIV_DLTA_EBV_BB.
          IF SY-Subrc = 0.
            ICounter = ICounter + 1.
          ELSE.
            UPDATE ZGIV_DLTA_EBV_BB FROM  s_ZGIV_DLTA_EBV_BB.
            IF SY-Subrc = 0.
              UCounter = UCounter + 1.
            ELSE.
              Message E067 with SY-DATUM ' ' SY-UZEIT ' '.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "100_EXTRACT_EBV_BB_DELTA_RECS
    FORM 100_EXTRACT_EM2_BK_DELTA_RECS
    FORM 100_EXTRACT_EM2_BK_DELTA_RECS.
    Refresh:   i_AEPSD_O0240,
               i_GIV_DLTA_EM2_BK.
      Clear:      UCounter, ICounter, s_ZGIV_DLTA_EM2_BK .
      Select * From /BIC/AEPSD_O0240
        Into TABLE i_AEPSD_O0240.
      IF SY-Subrc = 0.
        LOOP AT i_AEPSD_O0240.
          MOVE-CORRESPONDING i_AEPSD_O0240 TO s_ZGIV_DLTA_EM2_BK.
          MOVE SY-DATUM to s_ZGIV_DLTA_EM2_BK-create_dt.
            INSERT ZGIV_DLTA_EM2_BK FROM s_ZGIV_DLTA_EM2_BK.
          IF SY-Subrc = 0.
            ICounter = ICounter + 1.
          ELSE.
            UPDATE ZGIV_DLTA_EM2_BK FROM  s_ZGIV_DLTA_EM2_BK.
            IF SY-Subrc = 0.
              UCounter = UCounter + 1.
            ELSE.
              Message E067 with SY-DATUM ' ' SY-UZEIT ' '.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "100_EXTRACT_EM2_BK_DELTA_RECS
    FORM 100_EXTRACT_EM2_BL_DELTA_RECS
    FORM 100_EXTRACT_EM2_BL_DELTA_RECS.
    Refresh:   i_AEPSD_O0340,
               i_GIV_DLTA_EM2_BL.
      Clear:      UCounter, ICounter, s_ZGIV_DLTA_EM2_BL .
      Select * From /BIC/AEPSD_O0340
        Into TABLE i_AEPSD_O0340.
      IF SY-Subrc = 0.
        LOOP AT i_AEPSD_O0340.
          MOVE-CORRESPONDING i_AEPSD_O0340 TO s_ZGIV_DLTA_EM2_BL.
          MOVE SY-DATUM to s_ZGIV_DLTA_EM2_BL-create_dt.
            INSERT ZGIV_DLTA_EM2_BL FROM s_ZGIV_DLTA_EM2_BL.
          IF SY-Subrc = 0.
            ICounter = ICounter + 1.
          ELSE.
            UPDATE ZGIV_DLTA_EM2_BL FROM  s_ZGIV_DLTA_EM2_BL.
            IF SY-Subrc = 0.
              UCounter = UCounter + 1.
            ELSE.
              Message E067 with SY-DATUM ' ' SY-UZEIT ' '.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "100_EXTRACT_EM2_BL_DELTA_RECS
    END-OF-SELECTION
    end-of-selection.
      perform D1000_REPORT_DATA.
    D1000_REPORT_DATA
    form D1000_REPORT_DATA.
    *Display the title of the program
      write: /25 SY-TITLE.
      skip.
    Diaplay the details of the user and time
      write: /1 'Executed by', 15 SY-UNAME, 30 'Date',
      38 SY-DATUM, 53 'Time', 60 SY-UZEIT.
      skip 2.
      write: /  'Delta Records have been extracted  ',
             /   'Updates : ', UCounter,
             /   'Inserts : ', ICounter.
      skip.
      skip 3.
      write: /20 'End of the report'.
    endform.                                           "D1000_REPORT_DATA
    chgeck it out this also may hep you

  • Computer was stolen--how to transfer from iPod to new computer

    My computer was stolen and I want to transfer my iPod library to my new computer. I know how to transfer from one computer to another using an iPod but is there a way to do it when I don't have the computer that has my iTunes library?

    There are a number of third party utilities you can use to retrieve the files from your iPod. This is just a selection.
    YamiPod
    PodUtil
    PodPlayer
    iPodAgent
    There is also a manual method of accessing the iPod's hard drive posted in this thread: iPod to iTunes
    If your iPod was set for automatic update change it to manual update. While connecting the iPod to the computer, hold down the Shift + Ctrl keys. This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 3 and 30 seconds depending on your computer. Then go to Preferences>iPod and check the "Manually manage songs and playlists" box.
    Keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync again.
    Another way is to connect your iPod and before it starts to sync, click the little X on the right hand side of the display beside the "Do Not Disconnect" message. The display is the little window to the right of the iTunes control buttons: iPod Interface
    Or you could look at the method described in this link: How to keep iTunes from automatically updating your iPod
    Go with whichever method you feel most comfortable. If at any point you are asked if you want to link your iPod to a new library, click No.

  • Lost my contacts, how to transfer from macbook pro to ipad

    lost my contacts, how to transfer from macbook pro to ipad

    Which OS X is installed on your Mac ?
    Click the Apple () menu top left in your screen. From the drop down menu click About This Mac.
    The version is noted there.
    Minimum system requirements for syncing data from a Mac to an iPad is v10.6.8 >  Apple - iPad:  Technical Specifications
    Your profile indicats your Mac has v10.4.11 installed ??

  • How do transfer from iPad one to iPad three

    Was wanting to know how u transfer from iPad one to iPad three

    First, sync the iPad 1 to your computer with iTunes.
    Then, sync the new iPad 3 through iTunes where you can restore the most recent backup to the new iPad.

  • HT201250 how to transfer from mac to mac using time machine

    how to transfer from mac to mac using time machine

    See How do I set up a new Mac from an old one, its backups, or a PC?

  • How to transfer an internal table from one FUNCTION to another

    Hi,
       In Normal Enabled Function, I have created an External Parameter as
         ZTEMP LIKE ZSTR.  (ZSTR is a structure).
       In Source Code, am using an Internal Table(ZINT) which is of the same structure type.
    I have populated the internal table. Now I have to export these internal table values to another function.
    I tried to assign the internal table to the exporting parameter. But this shows error as ZTEMP is not an internal table.
       So, How to transfer this??
       Give me sample Code.
    Regards,
    Kalai.
    Message was edited by:
            Kalaivani Pachiappan

    Hi Ramesh,
      Thanks for ur reply. Actually I am a beginner. So I dint get u. Can u first clear me one doubt: If I give ZTEMP LIKE ZSTR as export parameter, will it create ZTEMP as a table with all fields as in ZSTR ( or ) ZTEMP itself as a structure???
      Then How can I transfer the internal table using Import/Export?
       Actually FUNCTION1 is giving some input to FUNCTION2. FUNCTION2processes and stores the result in Internal Table. Now I have to export these internal table contents to FUNCTION1. 
       How can I do this??
    Thanks and Regards,
    Kalai

  • How to transfer log files into Database Table.

    Hello,
    I have a requirement. My Front end is Oracle Application. If any user deletes the data from front end screen. One log file should be generated. That file will save in one folder in my server. And That log file consists which code is deleted.
    And the user name who deleted the code, time and deleting status..
    Now my requirement is i have to develop a report to display the log file data. But i dont have a database table to retrieve the data. The data consists Log files.
    How to transfer the Log files in DB table.
    I need a data in DB table to develop a report.
    Thanks...

    How do I ask a question on the forums?
    SQL and PL/SQL FAQ
    is application 3-tier

  • Transfer from Subtotal in one table to another sheet.

    Hi, about a year ago i made a salary application for my production company. This works quite well, but when I supposed to report amounts for each employed to the swedish tax authorities I am still not automatic because I haven't solved how to transfer a subtotal sum to a specific cell in another sheet. I am sure that this has been discussed earlier, but in the searches I have done I can't find a similar question. So if someone has an idea where to look or knows if it is possible.
    What I would need is to have a formula like LOOKUP (I guess that is the english formula for looking up references) or similar so that I can identify a Subtotal for a specific class of rows (i.e. salaries for one person).

    Thanks for the reply. If I understand you correctly the approach is simple an genial. I am all the time using and thinking within the frame of the elegant sorting functions that you find in the tables. Very easy to use when you need a quick result, though as far as I can see impossible to bring with you. But of course just put the conditions i a Sum.if. Simple!
    Thanks.
    Leif

  • How to migrate from internal hard drive to SSD (Solid State Drive)?

    I just bought 128GB SSD. I want to replace my internal hard drive with SSD on MacBook Pro. My internal drive has only Mac OS installed (no dual boot with Windows/Linux). Going forward I want to boot my Mac OS from SSD and use internal drive for backup purposes only. I read many forums regarding this here, but each one talks about different methods of doing it.
    * Carbon Copy Cloner for the Mac side (free)
    * Casper 6.0 for the Windows side (not free)
    * SuperDuper
    Can some one provide me with simple steps to migrate Mac OS along with my personal data from internal hard drive to SSD?

    Because Windows is not involved, you don't need Casper or anything else Windows-related.
    Use Disk Utility to repair permissions and repair the directory on your internal hard drive. Buy an external SATA hard drive enclosure* and mount your SSD in it. Connect it to the MBP and use Disk Utility to create a single GUID partition on it, formatting the partition Mac OS Extended. Use SuperDuper or Carbon Copy Cloner, it doesn't matter which, to make a bootable clone of the internal hard drive on the SSD in the external enclosure. Restart the computer holding down the Option key, and select the SSD to start up from; the purpose here is to verify that the SSD really is bootable. If that works OK, shut down, disconnect the external enclosure, and exchange the drives.
    *I recommend a FireWire 800 enclosure, but they are much more expensive than USB-only enclosures, which will work OK — USB is just slow.

  • How to transfer from ipad 1 to ipad 2?

    Hi
    Did anybody have ipad1 and bought ipad 2, I need to transfer from ipad 1 to ipad 2, anyway to do it?

    http://manuals.info.apple.com/en_US/ipad_2_user_guide.pdf
    As long has you have synced your iPad via iTunes, then when you first plug in the iPad 2, it will ask you if you want to restore your iPad 1 settings and apps to your iPad 2.
    If you want to transfer everything you can, on the same computer you used for old iPad, just restore the new iPad from the backup of your old iPad.
    Instructions:
    http://support.apple.com/kb/HT1414

  • Don't understand how to transfer from iWeb to personal website

    I have created a website on iWeb but I don't understand how to transfer it to my own domain name through my university. I'm not very good with technology and don't really understand what an FTP is. Is that what I would use Dreamweaver for? So confused, help!

    I have created a website on iWeb but I don't understand how to transfer it to my own domain name through my university. I'm not very good with technology and don't really understand what an FTP is. Is that what I would use Dreamweaver for?
    No, you should not use Dreamweaver. A good ftp program is Cyberduck.
    http://cyberduck.ch/
    You publish your site to a folder and then upload it with Cyberduck. I recommend you ask the IT Help desk of your university about how best to do this.

  • How to move from one SQL Server table to another

    Suppose I have two tables:
    Employee1:
    EmpName varchar(100)
    EmpAddress varchar(200)
    And
    Employee2:
    EmpID int,
    EmpName varchar(100),
    EmpAddress varchar(200)
    Note: EmpID is not an identity field
    How to move all the data from Employee1 table to Employee2 table with values of EmpID as 1, 2, 3, ....so on.
    Can anyone have any idea?

    INSERT INTO [Employee2] (EmpID, EmpName, EmpAddress)
    SELECT ROW_NUMBER() OVER (ORDER BY EmpName), EmpName, EmpAddress from Employee1
    should work

  • How to transfer from key figure model into account model?

    Hello,buddies:
       If I have a datasource wich upload from FLAT FILE contains only key figures and I know every key figure's meaning,then I want to transfer it into account model.
       For example,I have data like this
      training fee salary   compensation
        20000          5000         5678
       then I want to transfer this to:
      training fee 20000
      salary       5000
      comp         5678
      because the source contains no cost element,and the target contain elements.
       How can I do this?

    Hi Martin,
    You can use result table functinality in routines of update rules.
    Assuming 0COSTELMNT and 0AMOUNT are the target fields
    in your cube, value1, value2, value3 represent fields
    form flat file/commstructure code for 0AMOUNT could be like this :
    RESULT_TABLE-Amount = COMM_STRUCTURE-Value1.
    RESULT_TABLE-COSTELMNT = 'training fee'.
    append RESULT_TABLE.
    RESULT_TABLE-Amount = COMM_STRUCTURE-Value2.
    RESULT_TABLE-COSTELMNT = 'salary'.
    append RESULT_TABLE.
    RESULT_TABLE-Amount = COMM_STRUCTURE-Value3.
    RESULT_TABLE-COSTELMNT = 'comp'.
    append RESULT_TABLE.
    So you generate 3 records for Infoprovider from one out of commstructure.
    Regards
    Joe

  • I downloaded 2 cds onto my ipod nano through itunes.  Recently my itunes account changed and now it doesn't recognize the songs from the cds.  How to transfer from ipod back to itunes?  I don't have the cds anymore.

    I downloaded 2 cds onto my ipod nano through itunes.  Recently my itunes account changed for some unknown reason and now it doesn't recognize the songs from the cds.  The songs are still on my ipod.  I am affraid to sync now because the songs may be deleated, and I don't have the cds anymore.  How can I transfer the songs from the cds on my ipod back to itunes so that I don't lose them? 

    What you have on your computer is your iTunes library, not your "account."  The "account" you have for iTunes is your Apple ID, which you use when purchasing or downloading from the iTunes Store.  If these songs came from music CDs that you imported into iTunes, those songs are not related to your Apple ID.
    Recently my itunes account changed for some unknown reason and now it doesn't recognize the songs from the cds
    How are they not "recognized"?  Are the songs still listed in your iTunes music library, but grayed out?  They no longer appear in your iTunes library at all?
    If you search your computer (not in iTunes) for the song files, using one of the song names, can you find the song files?

Maybe you are looking for

  • CRVXI fails to open report

    Hi, Can anyone help with this issue? Some reports are failed to open in CR XI Report Viewer when being scheduled and sent to the email.  The Error:  Problem Encountered: com.crystaldecisions.reports.common.GeneralException: Unable to load database co

  • Whats the best way to connect multiple iphones, ipads, ipods with multiple accounts to one mac

    I have iPhone 5s, ipad 4th gen ipod classic and mac mini on one itunes account with iphone 4s with ipad 1st gen on another account (wife's account) and also want to be able to add to this in the future. I want to connect through the mac mini and be a

  • How to add a standerd infotype infotype (eg IT1000) in PA40 ?

    Hi Seniors, 1.  When I try to create a relationship in PA30, it shows 'No infotype exist for corrector string 100' (it shows the same if I try any OM IT). I tried to create 1001 in PA >> Customizing Procedures >> Infotypes but it shows "choose the ke

  • Question about my account

    Question about item that has been paid with my credit card

  • Dropdown field in table - Values are not shown..

    Hi, My Query is i am not able to push values into dropdown table field. My data comes from config part (through OADP Provider). When i click on MSS-> Performance Management link in portal a new screen gets triggerred which displays the required table