Issue with at new command

Hi,
Please check the following code
loop at itab1.
loop at itab where id  = itab1-id and
                 werks = itab1-werks.
clear text1.
    at new text.
      text1 = itab-text.
    endat.
write text1.
endloop.
endloop.
say i have text field in itab as
a
b
c  for id  = itab1-id and
       werks = itab1-werks.
for the first text i.e its not going inside the at new command,
its skipping the at new command for text a but for text b it going inside th at new command.
Can anyone tell me what should i do inorder to go to at new command even for the first text.
Thanks

preeti,
This is definitely the correct answer. SAP online help says:
<i>You can use control level statements to react to control breaks in internal tables instead of programming them yourself with logical expressions. Within the loop, you must order the AT-ENDAT statement blocks according to the hierarchy of the control levels. If the internal table has the columns <f1>, <f 2>, ...., and if it is sorted by these columns, you must program the loop as follows:
</i>
<i><b>You should not use control level statements in loops where the line selection is restricted by WHERE or FROM and TO. Neither should the table be modified during the loop.
</b>
</i>
Regards,
Clemens
P.S.; Please mark question as answered

Similar Messages

  • Just activated BlueAnt S4 with my iPhone4 and having an issue with the Phone Commands

    Just activated BlueAnt S4 with my iPhone4 and having an issue with the Phone Commands - as I have multiple numbers for people (ie: iPhone, Work, Home), is it the BlueAnt that is having the issues or the iPhone? Tried to eliminate info on my partner's contact in with only 2 contact numbers (iPhone, Home) and one or the other is totally screwing up. Seems, from BlueAnt website, that it would be the iPhone contacts...and the guessing begins?!! Anyone else have similar issues when BlueAnt S4 was paired and giving 'Phone Commands'?? Any suggestions would be beneficial as I've spent way too much time on the web looking for a good fix/answer. Thanks.

    On your new phone: Settings>General>Reset>Erase All Content & Settings. Start over, this time using your new ID.

  • Issue with the new COPA field added into the BBSEG Structure

    Hello All,
    I have an issue with the new COPA field added into the BBSEG Structure.
    I think its added becuase of test Operationa Conern Created by somebody.
    Can you please let me know how to remove that structure from BBSEG Structure.
    Thanks
    vsr

    Hi Monohar & Ankur,
      Thanks for your answers..
      main issue is suddenly new field called RKE_COPA_KOSTL has  been added to the BBESG Structure..
      Because of this RFBIBL00 Upload is not working. I heard that  this new fields will come by generating Operating Concerns by Transaction KEA0.I found an operating concern which was created as a test in developemt system..
      But I am not sure how to delete that operating concern.Even i am not sure if we delete the Operating Concern ..is it going to delete that field in BBESG Structure or not??
    Please advise me..
    Thanks
    sathi

  • Issues with the New Cloud

    Missing options in Media Encoder, Premiere, and After Effects.
    Just got done with this chat with Richa.
    It appears that there are some issues with your new version of several of your flagship programs. No way to create SMALL size video files for use on slower networks (yes, they still exist out there, I deal with them every day). And the video files have to have alpha channels so they can be overlayed on top of graphics. I am still using flash because it can do things that just cant be done with HTML 5, javascript, css. And it is compatible across almost all browsers. I don't really care what Apple says it is still a very viable program. And if you want to play it on an iOS platform all you need is a browser app to do so. (people have safari, firefox, internet explorer, google etc. so get over the fact that it doesn't work with safari on iOS for iPads and iPhones and download another browser).
    But now Adobe has started pulling some real stupid mistakes on purpose or by accident. Not everyone using your production suite is working on the next blockbuster movie for Hollywood. We use these programs for other applications as well. And you have opted to leave some of those tools out of your latest release of flagship programs. What are you thinking!
    We in the industry need to make video files that are small in size, that contain alpha channels, and will download over slow networks at a reasonable rate. I don't have any use for a Quicktime mov the size of the Titanic (1.2Gig) when I can compress it to a reasonable size. BUT I NEED THE ABILITY TO INCLUDE THE ALPHA CHANNEL.
    And if you read in the chat session below, I would like to be able to do this without having two copies of After Effects loaded on my system.  Or any of the other programs as I come across issues.
    You have 2.3 million people paying you a monthly subscription. Put down the champagne and start really looking at these new versions of software for your omissions.
    I will climb down off my soapbox now and hope, no pray these issues get taken care of very soon. I use your software to make a living. I am not just playing with it as a hobby. Time is money, especially when you can't deliver something to a client after you upgrade your software because you have this wonderful subscription thing that is supposed to make the world better.
    You are now chatting with Richa.
    Richa: We appreciate your patience and regret the inconvenience due to high wait time.
    Richa: Hello. Welcome to Adobe Technical Support.
    Richa: Please allow me a moment while I look into your account & verify the details.
    Richa: which application are you using?
    Richa: We have not heard from you for some time.  Do you wish to continue to chat?
    david young: After Effects, Premiere, Media Encoder. Any of these. I have downloaded CC 2014 and you have done away with several options when creating video that I use to create interactive pieces for Flash presentations. I can no longer create flvs with alpha. I cannot create H.264 with alpha.
    david young: Are you still there?
    Richa: yes, please wait a moment
    Richa: Open the preferences of After Effects and in the output tab, click on show depriciated formats
    david young: Opened prefrences/output but dont see depricated formats.
    Richa: I am sorry that option is available in CC as of now, so you need to save this project as AFter effects cc version and open in the previous version and work on it
    david young: Well that Sucks. I removed the previous version of the program when I upgraded. How do I get to a previous version from the app manager?
    Richa: go to creative cloud app
    Richa: and click on the previous version
    david young: The only version available is 2014. I don't see a previous version.
    Richa: Please allow me to take the remote access of your computer, so that I can troubleshoot further accordingly.
    david young: You may not have remote control of my computer. Walk me through the process. And how do I lodge a formal complaint about this issue. Do you not remember why people switched from Final Cut 10 to Premiere?
    Richa: We already have posted this issue online on our blogs and forums. Secondly, for the older versions, it is just a simple step in creative cloud app
    Richa: All you have to do is in the dropdown menu on uninstalled apps select "Previous version" and click on the version you need to install
    david young: There is no drop down menu that says previous version.

    Please refer to:
    Can You Save/Open CS6 Files on CS5, CS4 or CS3 – and Vice Versa? | ProDesignTools
    Can You Open/Use/Export/Save Adobe CC Files on CS6 – and Back? | ProDesignTools
    It has important information.
    Regards
    Rajshree

  • Hi support please help me to sync my ipod and iphone 5 . Since i have installed new itunes version 12 , i am not able to sync to transfer data to my devices through itunes.  I think there is some issue with tunes new version .kindly support ASAP.  Ra

    Hi support please help me to sync my ipod and iphone 5 . Since i have installed new itunes version 12 , i am not able to sync to transfer data to my devices through itunes.
    I think there is some issue with tunes new version .kindly support ASAP.
    Rachna khanna
    [email protected]

    you might need to buy a new cable from the apple store.

  • Hi, Using MAC OSX 10.6.8 and have intermittent issues with receiving new emails - sending is OK. I've tried the workarounds (take offline & take online), quitting mail etc - no luck. Any suggestions?

    Hi, I'm using MAC OSX 10.6.8 and have intermittent issues with receiving new emails - sending is OK. I've tried the workarounds (take offline & take online), quitting mail etc - no luck. Have cleared space, checked Window - Doctor and server has green light.  Mail Activity shows 47 emails waiting to download, iPad and iPhone download them all OK - no extra big files stopping the download either.    In the past, quitting mail has worked, but not today... Any suggestions?

    Hi, I'm using MAC OSX 10.6.8 and have intermittent issues with receiving new emails - sending is OK. I've tried the workarounds (take offline & take online), quitting mail etc - no luck. Have cleared space, checked Window - Doctor and server has green light.  Mail Activity shows 47 emails waiting to download, iPad and iPhone download them all OK - no extra big files stopping the download either.    In the past, quitting mail has worked, but not today... Any suggestions?

  • I've got a death grip issue withe my new iphone 4s 16GB.

    I've got a death grip issue withe my new iphone 4s 16GB. When I touch lower left corner of the device signal goes down and NO SERVIS pops up. When I do not touch this part of device everything is fine.
    I am from Slovakia.
    I have unlocked device and using T-mobil / Telekom carrier.
    Please help me slove this problem. Thank you for any advice / response.

    get a case.  That's the solution.  Simple.

  • Syncing issues with the new iTunes..

    Hi,
    I just downloaded the new iTunes (11.0.1.12) and am facing some sunc issues.
    In my previous itunes, when i would download an app to my iPod over wifi and then connect it to my PC, iTunes would automatically sync and maintain a copy of the app in my PC. My iPod and the PC would be in sync.
    But now after I've downloaded this latest iTunes, I downloaded an app to my iPod and when I tried to sync with the PC, the app no longer got copied to my PC. I've tried syncing many times. Its there on my iPod but never gets copied to the PC during sync. Why is is this happening?
    Help!

    There aren't any issues with the new iTunes. You need the most recent iTunes to sync your iPod

  • Is anyone having volume issues with the new Iphone 4S?

    Is anyone having volume issues with the new Iphone 4S?

    Yes, the volume on my iPhone 4s will max out without me touching any button or setting.  When opening mail, for instance, the ringer icon will appear and the volume level goes to max volume - and I'm not touching the volume buttons.  It seems to happen randomly, at least I can't identify a pattern, but thankfully it doesn't happen all the time, but at least once a day.  
    Anyone else seen this?

  • How to initialize the index with "at new" command ??

    Hi All,
    I am facing a problem of Initializing the index .
    I want to Initialize the Index with the " at new "
    command within a loop but its not working.
    Otherwise,please tell me the way to put a flag on the first record with " at new " command.
    Please provide a solution ASAP.

    loop at itab.
    if sy-index = 1.
    set ur flag.
    endloop.
    check the code below..
      LOOP AT lt_citm_b INTO wa_citm_b.
        AT NEW vbeln .
          CLEAR: wa_temp_output , lt_temp_output[].
        ENDAT.
        AT LAST.
          lv_t = 'X'.
        ENDAT.
        LOOP AT lt_char INTO wa_char WHERE instance = wa_citm_b-instance.
          MOVE:  c_d TO wa_temp_output-type,
          wa_citm_b-vbeln TO wa_temp_output-vbeln,
          wa_citm_b-posnr TO wa_temp_output-posnr,
          wa_citm_b-matnr TO wa_temp_output-matnr.
          MOVE-CORRESPONDING wa_char TO wa_temp_output.
    Special requirement
         IF wa_temp_output-atnam = c_itr AND wa_temp_output-atwrt = c_itr03
                                                        OR
           wa_temp_output-atnam = c_cosr AND wa_temp_output-atwrt = c_osr03.
            CLEAR: wa_temp_output-atnam, wa_temp_output-atwrt.
            MOVE: c_iorp TO wa_temp_output-atnam,
                  c_in2-os_nd TO wa_temp_output-atwrt,
                  'X' TO wa_temp_output-flag.
          ENDIF.
    *If the characteristic value for PMFREQUENCIE is initial need to pull
    *the floating value.
          PERFORM fr_get_float TABLES lt_char USING wa_char-atwrt
                                                    wa_char-instance
                                                    wa_char-atnam
                                           CHANGING wa_temp_output-atwrt.
    *To recognize if contract item have extended and standard
    *characteristics.
          PERFORM fr_ext_std USING wa_temp_output-atnam
                          CHANGING wa_temp_output-ext
                                   wa_temp_output-std.
          APPEND wa_temp_output TO lt_temp_output.
          CLEAR: wa_temp_output, wa_char.
        ENDLOOP.
        SORT lt_temp_output BY vbeln posnr std ext.
        AT END OF vbeln.
    To translate the data according to the mapping rules
          PERFORM fr_translate.
          IF lv_t = 'X'.
            DESCRIBE TABLE lt_output LINES gv_count.
            READ TABLE lt_output INTO wa_output INDEX gv_count.
            IF sy-subrc EQ 0.
              CLEAR wa_output.
              MOVE:  c_t TO wa_output-type.
              APPEND wa_output TO lt_output.
            ENDIF.
          ENDIF.

  • Issue with Executing OS commands from Stored Procedure

    I am trying to execute the scripts provided at :
    http://github.com/xtender/XT_SHELL
    provided by xtender user.
    As required, I have asked my DBAs to grant privileges by executing the following scripts:
    Begin
      --change to needed permissions and execute
      dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/factiva/ODS/bin/CVIM_Rpt_ExportCSVFile’, 'read,write,execute' );
    end;
    /where CVIM_Rpt_ExportCSVFile is my script residing in the Unix server where my Oracle is installed.
    The error I am facing when I try to execute the following command is:
    select * from table(xt_shell.shell_exec('/var/scripts/CVIM_Rpt_ExportCSVFile',100))
    Exception:the Permission (java.io.FilePermission /var/scripts/CVIM_Rpt_ExportCSVFile execute) has not been granted to ODS. The PL/SQL to grant this is dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/scripts/CVIM_Rpt_ExportCSVFile', 'execute' )I have asked my DBA to also execute the following scripts: - But I still see the same error as above. I am not able to figure out whats going on. Can anyone pls help me out??
    EXEC Dbms_Java.Grant_Permission('ODS', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '');
    EXEC Dbms_Java.Grant_Permission(ODS', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '');
    dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/scripts/CVIM_Rpt_ExportCSVFile', 'execute' )

    DUPLICATE
    ===============================================================
    Issue with Executing OS commands from Stored Procedure
    ==============================================================

  • Issues with Executing Javascript command in Captivate

    Hi,
    I am having issues with executing javascript for a button in adobe captivate 5.  Let me explain what I am trying to do.  I am working on a WBT that has three skill checks throught the course. These skill checks are not graded or tracked for completion.  I currently have an image button that has the command "Open another project" The first image button is pointed to SkillCheck1 and I have the html file and swf file in the published root folder.  This currently works fine.
    However I want to use javascript to open a new window 800X600 with not toolbars at the top.  I got this part working with the code below:
    window.open('http://www.adobe.com','mywin',
    'left=40,top=40,width=800,height=600,toolbar=1,resizable=0');
    My only problem is, once the popup opens, my WBT goes to a page that says [object] and thats it.  I am uploading two images to show what I have.  Can someone help resolve my issue of the WBT going to

    Ok so I took this link and viewed over it.  I am new to Javascript and know very little about it.  Therefore this script kind of makes no sense to me.
    <script language="JavaScript"><!--
    var windowHandle = '';
    function myOpen(url,name,attributes) {
        windowHandle = window.open(url,name,attributes);
    //--></script>
    <a href="javascript:myOpen('page.htm','windowName','height=100,width=100')">text link</a>
    I chose the option to exectute javascript.  Does captivate need all of this including <script language=JavaScript">  Here is how I edited the script.  Should I make any changes to what is in bold?
    var windowHandle = ''; 
    function myOpen(url,name,attributes) {
        windowHandle = window.open(url,name,attributes);
    <a href="javascript:myOpen('http://www.adobe.com','Adobe Website','height=600,width=800')">text link</a>

  • Anybody else having issues with the new 1.1??

    For some reason, I have encountered two issues already.. Whenever I'm exporting my galleries as web pages, nothing happens! It creates a null folder that I specify but then doesn't export any photos or html pages.. If I delete the folder and do it again, the exact same way, for some miracle it then begins to export.. There is no logical explanation and its clear that its a bug..
    Also, when exporting multiple images into CS2, that also fails for me.. It only opens up one picture and even though the others are selected, it doesn't seem to do the trick.. Its not my computer because i have a brand new quad w/ 4 gigs of memory.. I didn't encounter either of these issues with the older version..
    Anybody else??

    I tried both, and was successfull both times.
    External Edit:
    1. I selected 2 images (D200 RAW images).
    2. Right clicked to get the contextual menu and selected Open with External Editor (I have my prefs set up for Photoshop).
    3. Both images opened in Photoshop.
    I can't image it being system specific. What camera and file type are you using?

  • My iPad 4 says not charging but it does slowly charge . I got it replaced on sat but the new one is the same . I have tried using a different power outlet and it is the same so it appears to be an issue with the new iPad

    Can anyone help .my new iPad notes not charging when it is in fact slowly charging.  I had it replaced 2 days ago but the new one has the same issue.it would appear this is a common issue with ipad4.can anyone advise on how to get over this problem. .thanks

    Found this thread by searching the forum. I hope it helps.
    https://discussions.apple.com/thread/5471311

  • Issues with my new W541 - Built in Display and Keyboard on Number 5

    I have been almost 2 weeks with my new W541 and I have found 2 issues, one is kind of easy and could be related to drivers. 
    Built in screen is not detected so, at this moment I'm using an external monitor since my laptop screen is not working. I assume this is related to drivers since this started happening after I connected to an external monitor via the VGA cable.
    Keyboard issue on number "5" key, just by touching (not even pressing) I can get the 5555555555555555555555555555555555555555555555555555555, so this is very bad since I assume I will have to ship my computer back. This is bad quality inspection for sure.

    Hi Manuel_Anaya,
    Welcome to Lenovo Community!
    Can you able to see the BIOS screen on laptop display?
    Is the display going blank after booting to windows?
    Did you try booting the system into “Safe mode” and also check if the keyboard issue occurs?
    Check with uninstalling the keyboard adapter from “Device Manager”.
    Hope this helps!
    Best regards,
    Hemanth Kumar
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

Maybe you are looking for

  • When I tweet from my notification center on my iPad mini, the link is not included. How do I fix that?

    When I tweet from my notification center on my iPad mini, the link to the content I'm tweeting about is not included. It only includes the title of the tweet. How do I fix that? Thanks.

  • A normal question on programming

    When programming, samples are very important. When I get a new function of java, how can I find some samples of it. The java language specification is very useful, but it doesn't include code samples. Please recommend a good way or a good place to so

  • FCE HD Crashes when trying to open "capture" window.

    The subject line says it all.... I open FCE HD, try to open the capture window (either by shortcut or by menu) I get the "Initializing Capture" and boom, FCE closes down. It's not even the kind of crash that gives me a dialog box with an opportunity

  • BOE- CMC Link 404 Error

    Post Author: vdinenna CA Forum: Administration Hi, I'm not sure where to post this question.  I am not a Crystal Reports admin.  Moderator, please move this question as you see fit. We are running BOE XI.  The CMC page has become unavailable after in

  • Is it possible to gater three data in one number ranger (Ecc - CRM)

    Hi, all. Now, we plan to gather three data types in CRM : employee in HR, students in CM, BP(Gen.) in CRM In other words, we want to dowload two data types from ECC to CRM and to save BP in one number range in CRM . Then we want to save the three dat