Workarea field is changing to ********* when i use at new command

Hi All,
I have a workarea. In that work area i have a field (zsample -zbill_zrass). I am using  at new statement.
My problem is when i debug the code, am able to see that when the control goes inside at new statement, my field (zsample -zbill_zrass). which is holding a number is changing into ***********.  I have attached the code below for your reference.
Please help me to solve this issue.
loop at lt_zsample[] into wa_ zsample.
      clear wa_usr_addr.
      read table it_usr_addr into wa_usr_addr
                        with key accnt = zsample -zbill_zrass.
      if sy-subrc = 0.
        CONCATENATE lv_string zsample -zbill_zreff into wa_temp-zbill_zreff
                       SEPARATED BY space.
        wa_temp-zbill_zrass   = zsample -zbill_zrass.
        wa_temp-accnt        = wa_usr_addr-accnt.
        wa_temp-smtp_addr    = wa_usr_addr-smtp_addr.
        lv_temp = lv_string.
        lv_string = wa_temp-zbill_zreff.
        at new zbill_zrass.   -
>  when control goes inside this (at new ) my problem occurs
          clear lv_string.
          if lt_temp is not initial.
            describe table lt_temp lines lv_line.
            read table lt_temp into wa_temp index lv_line .
            if sy-subrc is initial.
              wa_temp-zbill_zreff = lv_temp.
              modify lt_temp index lv_line from wa_temp TRANSPORTING zbill_zreff.
            endif.
            clear wa_temp.
          endif.
          wa_temp-zbill_zreff  = wa_ zsample -zbill_zreff.
          wa_temp-zbill_zrass   = wa_zsample -zbill_zrass.
          wa_temp-accnt        = wa_usr_addr-accnt.
          wa_temp-smtp_addr    = wa_usr_addr-smtp_addr.
          lv_string = wa_temp-zbill_zreff.
          append wa_temp to lt_temp.
          clear wa_temp.
        endat.
      endif.
clear wa_sample.
endloop.

Hi, Mohamed Aslam 
Suppose you have the following Internal Table.
Field1 Field2 Field3
When ever you will use AT NEW, AT END or AT LAST mean any of Control Break Statement one the Field1 you will find all the Fields on the right hand side of that field as *** Stars in it, Suppose if you will use these all on Field2 than Field1 OK Field2 will also be OK but Field3 will again have Stars to over come this you can define a new work are and just before going into these Statement's Blocks assigns the current work area to that one just like the following.
wa_all_ok = wa_stars.
than do your processing on that wa_all_ok instead of wa_stars
Please Reply if any Confusion,
Best Regards,
Faisal

Similar Messages

  • When we use TEST(in command field) in tcode SM12?

    When we use TEST(in command field) in tcode SM12?
    I know this is for Extended analysis,But in what situvations it is really useful.?
    Thanks,
    Satish

    As I said, I never needed to use that so I don´t know the functions behind it, it´s undocumented and that certainly for a reason
    You will need to ask the people who developed that (in the development support @ SAP). It´s used for doing special tests, increase trace levels etc.
    Markus

  • Why when i use a new apple Id and new id for icloud all my information is gone? For example all my contracts are all gone.

    I don't know why when i used a new apple ID and new icloud ID all my information is done. My contracts are all gone. This only happen on on phone. When i was changing the other phones it works fine. Nothing is lost. So i dont understand when i was changing the apple ID and icloud Id the information is lost. You know when you go to setting and you click iCloud and i saw that the contracts book was light on. Does that matter? Does that cause i lost my contracts?

    I don't think the iPhone is really designed for people to be switching from one Apple ID to another so when you do so you may experience problems.  You have two options on the iPhone for where you can be accessing contacts, from iCloud and the iPhone itself.  You can also pull contacts off of a SIM card but they are then stored on the iPhone and not accessed from the SIM card.
    You could try this;
    1. Go to Settings > iCloud
    2. Sign in to the Apple ID that you want the Contacts from,
    3. Turn "On" the Contacts slider and let it download all of your contacts
    4. When it's done downloading, turn the slider back to "Off" and you should get a message like this..."What would you like to do with the previously synced iCloud contacts on your iPhone?"
    5. Then select "Keep on My iPhone"
    Then after that you can then sign out of that Apple ID and into your other Apple ID and the contacts shouls still be there.

  • I changed my password and used the new computer, next time I tried to log in it wouldn't accept the password. I tried the old one as well but that doesn't work either. Can anyone help?

    I changed my password and used the new computer, next time I tried to log in it wouldn't accept the password. I tried the old one as well but that doesn't work either. Can anyone help?

    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    When the menubar appears select Terminal from the Utilities menu. Enter resetpassword at the prompt and press RETURN. Follow instructions in the dialog window that will appear.
    Or see Reset a Mac OS X 10.7 Lion Password and OS X Lion- Apple ID can be used to reset your user account password.
    Be sure to open Keychain Access and repair the keychain:
    Assuming that you are using a recent build of OS X, go to /Applications/Utilities and launch the app called Keychain Access. Go to the Window pulldown menu and select "Keychain First Aid". Enter your password, set the radio button to "Repair", and click "Start".

  • When I use the new Pages on my iPad, I can't open it on my new computer. It tells me that I must download the new Pages to see the Pages document, but when I try to download the new pages to my computer it tells me all apps are up to date.

    When I use the new Pages app. On my IPod  to type documents, I can't open them on my new computer. It sends me a message that I have to download a newer version of pages to see the Pages document. When I try to do that it tells me all my apps are up to date and will not allow me to upgrade the pages on my iMac.
    Any suggestions?

    What level of OS X is installed on your Mac (your profile is incomplete)?
    Barry

  • I share a macbook with my other half and we both use it for our iphones. When syncing using the new software I now have all of her and my contacts on my phone.  I don't want her contacts! How do I get rid?

    I share a macbook with my other half and we both use it for our iphones. When syncing using the new software I now have all of her and my contacts on my phone.  I don't want her contacts! How do I get rid?

    Hi,
    You have 2 solutions:
    1 - You can use 2 differents icloud account
    2 - You use the same account but you don't sync yours contacts.
    You configure that in  Settings > icloud
    You activate or desactivate what you want.
    Have a nice day.

  • I can't get my password manager working. It remembers passwords for websites but when I enter in a new password (because this had to be changed) or when I have a new username + PW that I wish to save, the password manager does not appear.

    I can't get my password manager working. It remembers passwords for websites but when I enter in a new password (because this had to be changed) or when I have a new username + PW that I wish to save, the password manager does not appear.

    If you updated your existing account then try logging out of it on the iPhone by tapping on the id in Settings > iTunes & App Stores and then log back in and see if that 'refreshes' the account on the iPad.
    If you created a new account then you can log out of the old account and in with the new one as above, but any content that you purchased/downloaded via the old account will remain tied to that old account, and only that old account can re-download its content and download updates to its apps.

  • When to use the new file based content repository

    In Service Pack 4 there's a new implementation of the CMSPI interfaces which is configured by using the following implementation class:
    com.bea.content.spi.internal.FileSystemRepositoryImpl
    When should one use this new file based repository versus the existing one (configured by using the following class: com.bea.content.spi.internal.RepositoryImpl).
    I've read the edocs, but it doesn't state when to use this new one compared to the previous implementation.
    We consider using a third party content repository, but for the time being we will use the content repository provided by BEA.
    Trond Andersen, Invenia AS, +4798290811

    use the new keyword when you don't have an instance of that object in memory that you want to use.  For example...
    if you have an object already in memory that is holding a property with a "CamelQuery" object, then you can say 
    var query = myobject.Query;
    however, if you have to write the query, or instantiate the object from nothing, then you need to use the "new" keyword.  A good example is SPSite object...
    if you can get a new SPSite object by either "newing one up and passing the URL" or getting the farm and getting a site from that object. 
    using(SPSite site = new SPSite("url to my site"))
    now I can use site.
    //or
    SPSite = myWebApp.Sites[0];
    // this gives you site at index 0 of current webApp
    most of the time in SharePOint you will be using the "new" keyword to open site collections, and then getting your subsites from there. BE CAREFUL using the "new" keyword. If you "new" up an object that is iDisposable... you
    MUST dispose of that, but if you use that same object but it comes from the "current context", you mustn't dispose of it.
    //dispose of this by using statement
    using(SPSite site = new SPSite(<url>))
    //do stuff
    //after this bracket it is disposed.
    //do not dispose of this:
    SPSite mysite = SPContext.Current.Site;
    //unpredictable behavior can occur because you will still need references to your current site.

  • *when we use at user -command and give smaple code fro at user-command*

    Hi experts,
    i am new to abap can any body tell me when we use AT USER-COMMAND and give a sample code for that.
    point will be rewarded.
    thanks.

    Hi,
    AT USER-COMMAND  is a list Event.This Event is triggered when user make an action on the Application Toolber Or Menubar.
    Here is the Program.
    START-OF-SELECTION.
      SET PF-STATUS 'TEST'.
      WRITE:  'Basic list, SY-LSIND =', sy-lsind.
    AT LINE-SELECTION.
      WRITE:  'LINE-SELECTION, SY-LSIND =', sy-lsind.
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'TEST'.
          WRITE:  'TEST, SY-LSIND =', sy-lsind.
      ENDCASE.
    This program uses a status TEST, defined in the Menu Painter.
    Function key F5 has the function code TEST and the text Test for demo.
    Function code TEST is entered in the List menu.
    The function codes PICK and TEST are assigned to pushbuttons.
    The user can trigger the AT USER-COMMAND event either by pressing F5 , or by choosing List -> Test for demo, or by choosing the pushbutton 'Test for demo'.The user can trigger the AT LINE-SELECTION event by selecting a line.
    Hopr This Will help You.
    Regards,
    Sujit

  • My computer crashed and I have to buy a new one.  What happens to my Contacts, Photos, etc when i use the new computer?  I do not have an iTunes backup.

    My computer crashed and I have to buy a new one.  What happens to my Contacts, Photos, etc when i use the new computer?  I do not have an iTunes backup.

    Do you have the iCloud set up?  If you don't you need to buy a third party software that will do it for you when you plug your phone into the new computer.  You can google: iPad/iPhone/iPod to Computer Transfer.  You have to pay for the software but it's really a life saver and you get free updates for life.  It'll save you a lot of pain and suffering in the future.  I've used it many times.

  • I have a site published that i need to change, but when i publish the new pages it dosen't change the site that's already published. How do i remove the old site?

    I have a site published that i need to change, but when i publish the new pages it dosen't change the old site.

    See if this helps you any further :
    The concept of Sites in iWeb
    Also, clear the browser cache and reload the page(s).

  • I started my account with a gift card. I have $0.68 credit remaining and I cannot change my settings to use a new gift card. What should I do?

    I started my app store account with a gift card. I have $0.68 credit remaining and I cannot change my settings to use a new gift card. What should I do?

    Done what? All you can do with an iTunes gift card is redeem it:

  • Why won't my ipod charge when i use my new usb

    why won't my ipod charge when i use my new usb is used?

    A new USB what? Cable? If the old one still works and the new one does not that would point to a bad new cable.

  • How to change color when I using delete button?

    Hi experts,
      When I using delete button on input schedule before enter any data, it display the same color on the data range, how can fix the color after using delete button? or is it a formatting problem?
    BPC ver : 7.5 sp3 for NW
    best regard
    Evans.

    Evans,
           Is delete button custom made? i think it is possible with Formatting Range.
          check the below for advanced formatting.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70573b01-657a-2b10-a2b2-ec54bb0a9c8c?quicklink=index&overridelayout=true
    I think you need use CHANGED  as value for CRITERIA.  I don't think NW doesn't support CHANGED value for CRITERIA i guess.
    Thanks,
    Ben.

  • When I use Find Font command from Type menu, the overprint fill changed!

    Can any one tell why the overprint fill attribute checked when I use Find Font from Type menu to simple change the font.
    Try this Illustrator file from this URL:
    https://docs.google.com/open?id=0BysC4QT512vCY2YzZDRkMGEtMjNmMy00MDE2LWFmNzQtNTBhNDQ5MTBlO Dk1
    and change the font of letter B in the illustration using Find Font command to and font and notice how the overprint fill changed from uncheched to checked.

    The problem happens here, even if I first change the color to CMYK 0000 prior to using find font.
    Anything we need to know about the history of this file, was it originally a pdf, or those text objects.
    Manually changing the font does not turn overprint on, Find Font is toggling the overprint value in the code for this probably due to somehting abnormal in the code, or maybe be associated to this font's name triggers this glitch.

Maybe you are looking for

  • Data packet not yet processing in ODS load??

    Hi all, I got an error when I loaded data from IS to the ODS. Can someone let me know why and how to resolve it. Thank you in advance. Here is the error message in the monitor: <b>Warning: data packet 1 & 2 arrived BW; processing: data packet not yet

  • Stopping and starting a movie

    I have a Flash movie which is going to have several hotspots where when a user moves their mouse over a photo will be displayed (a different photo for each hotspot). http://www.get2thepoint.org/g2p/about_usx.php - at present there are just 2 hotspots

  • AAM Won't Install - Admin Rights Required

    Hi Folks, Win7 64bit. I've just signed up for Creative Cloud and am trying to install the AAM so I can access a few Adobe installers and get setup.  I just crossgraded from Photoshop 5 CS and Dreamweaver, both of which previously installed no problem

  • Doubt in swing

    Hai , Can I create a installer using swing?. If it is how to do that? Refer me any link for the same.

  • Adobe 14  keeps crashing

    is there someone who can help out with what seems to be a common problem, that adobe flash 14 keeps crashing?  is there a straightforward thing I can do to stop this from interfereing with my work? thanks