At new- command - making non-numeric fields as ******* how to correct this

Hi,
I am using the following code.
Tables : vbap.
DATA: t_vbap TYPE STANDARD TABLE OF vbap,
      x_vbap TYPE vbap.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
SELECT-OPTIONS: s_vbeln FOR vbap-vbeln.
SELECTION-SCREEN END OF BLOCK b1.
START-OF-SELECTION.
  SELECT * FROM vbap
    INTO TABLE t_vbap
    WHERE vbeln IN s_vbeln.
  LOOP AT t_vbap INTO x_vbap.
    at new vbeln.
      write:'new vbeln'.
      ENDAT.
  ENDLOOP.
In debugging mode, the non-numeric fields on x_vbap becomes ****
I want to know whether this can be done using oops.. any methods available for at new
Moderator message: please search for available information/documentation before asking (as you can tell from some of the replies so far)
locked by: Thomas Zloch on Oct 1, 2010 3:25 PM

see documentation:
"If the INTO addition is used in the LOOP statement to assign the content of the current line to a work area wa, its content is changed upon entry into the AT-ENDAT control structure as follows:
The components of the current control key remain unchanged.
All components with a character-type, flat data type to the right of the current control key are set to character "*" in every position.
All the other components to the right of the current control key are set to their initial value.
When the AT-ENDAT control structure is exited, the content of the current table line is assigned to the entire work area wa. "

Similar Messages

  • How do I take two separate non numeric fields in a acrobat form and combine the data to display in a third separate field?

    How do I take two separate non numeric fields in a acrobat form and combine the data to display in a third separate field?

    You have to use custom JavScripting to concatenate the first 2 fields. You cannot use the first 2 calculation options because they force the values of the fields to a numeric value or ignore string values.
    Possible scripts for the 3rd field are:
    event.value = this.getField("Text1").valueAsString + " " + this.getField("Text2").valueAsString;
    or
    event.value = this.getField("Text1").valueAsString.concat( " ",  this.getField("Text2").valueAsString);
    If you do not want change the separator or not show the separator when on or the other field is empty, you will need to add more code to adjust for change.
    The above scripts will also concatenate number because the field values are read as strings and not numbers.
    There is also a generalized user written function to concatenate up to 3 fields with a separator that adjust for missing data.

  • Convert non numeric field

    I'm looking for a function that will allow a conversion from a non-numeric field to a numeric field. Any suggestions?

    CAST(col as INTEGER) or CAST(col as DOUBLE)

  • I have an older version of itunes stuck on my computer and because of an apparent pathway missing it wont let me uninstall and reinstall the newer itunes....anyone know how to fix this issue?

    I have an older version of itunes stuck on my computer and because of an apparent pathway missing it wont let me uninstall and reinstall the newer itunes....anyone know how to fix this issue?

    What's the precise text of that message please, jeremy? (There's a few different ones I can think of that you might be getting.)

  • My iPhone 3GS is making two rings on recieving each message. How to correct this?

    Hi,
    I have set a ring tone for incoming messages. When a message comes the ringtone is heard two times, with a time interval of around 2 minutes in between. Many times I think this as for a new message and opened inbox. How to resolve this problem? Is it a manufacturing defect?
    This problem was not there when I bought the phone. It appeared after an year of purchase.
    Regards,
    Sunil kumar A V

    settings - notification - message - repeat alert - set to never

  • I need to find my serial number so i can put it on my new computer no one seems to know how i do this

    i need to find my serial number so i can put it on my new computer no one seems to know how i do this

    Find your serial number quickly

  • Websheet objects non-existent or invalid -- how to correct?

    OS: RHEL 5.4
    DB: 11gR2
    APEX: 4.1
    After upgrade of APEX to 4.1, websheet objects non-existent or invalid -- hence, can not create Websheet app. Any clues on how to correct and/or what may be wrong? Sample database applications imported and working fine.
    Cheers!

    Got this figured out...
    Just had to install the sample Websheets from the Application.
    Cheers!

  • Adding leading zeros to a non-numeric field

    Hello
    I have an application which currently does not validate a field and the user can enter any string on this specific field. The customer wants me to write a view to bring information from a child table which uses the free format field as the key to join.
    Example, the field A is free format, but, we would expect something like "0000001-AB', however the users are inputing '1' or '001-AB'. The client wants to see these cases to be displayed (and joined) as '0000001-AB'. The format is 7 digits + '-' + two digit code.
    I would like to know, how can I display this on a view, since most of my cases are '1' or '001-AB'. But there are others with crazy things like '1+2+3+4' and these cases are giving me an error of "invalid number" since I am using the TO_NUMBER function so far.
    Thanks!
    Eduardo Ferrari

    WITH t AS (SELECT '1' txt FROM DUAL
               UNION
               SELECT '001-AB' FROM DUAL
               UNION
               SELECT '1+2+3+4' FROM DUAL)
    SELECT CASE
              WHEN LENGTH ( (REGEXP_REPLACE (txt, '[-AB]') || '-AB')) < 10
              THEN
                 LPAD ( (REGEXP_REPLACE (txt, '[-AB]') || '-AB'), 10, '0')
              ELSE
                 REGEXP_REPLACE (txt, '[-AB]') || '-AB'      
             end  txt
    from t
    TXT
    0000001-AB
    0000001-AB
    1+2+3+4-ABunion
    Edited by: pollywog on Nov 10, 2010 3:41 PM
    Edited by: pollywog on Nov 10, 2010 3:53 PM

  • ALV SUM for non numeric fields.

    Hello Gurus,
    I have a requirement where i have a alv output and i have a check field of char 1 length...and it displays X as the output. Now i need to have X at the sum line at the end.is there is any possibility with the fieldcatalogue.

    Hi
    U can not do sum for char type fields,it will only possible for numaric fields.
    This u can do by program,after populating the output data,do the sums for the required fields in program and append that to output table as last record.Display the last row with differant color.
    Regards,
    Raghu/

  • New to flash...help on how to do this?

    hey all. i'm going to be workin on a simple website. i need to be able to scroll a cursor over an object/picure/button/whatever and have it change to what i desire when the cursor is over it. is there some simple code to do that or a tutorial to show me how?

    The simplest way to do that, without code, is to create the object as a button symbol.
    What you do is put the visual for the non-rolled over in the first frame (Up) on the button's inner timeline, and the second visual on the Over frame of the inner timeline.  It's ready to work.
    To get started, select Insert -> New Symbol and select a button as the symbol type.  If you look at the timeline it will show four frames that you can use for the button's visual content, labelled Up, Over, Down, and Hit.

  • I recently purchased a new macbook and am having trouble syncing my iPhone with the iTunes. It won't allow me to delete any of the music on my phone, so I am unable to make room for the new software upgrade. Does anyone know how to fix this?

    Does anyone know how to enable editing on a new computer? I only have an 8gb phone and over 4gbs of music, half of which I don't even listen to anymore. I really want it off my phone, but when I plugged it into my new macbook nothing would delete. My old computer barely turns on so I can't even plug it into the old one to delete anything. I hit the sync button on the new computer and that didn't help either. I'd really like to upgrade to the new software but don't have the room on my phone until this music/a few apps are deleted. Any help would be appreciated!!

    Here are two screen shots to show you what I am seeing.  The first screen shot shows it allowing me to select (highlighted in blue) my admin user (which is what I am locced in as).  The second screen shot shows it allowing me to select the "Guest" user (highlighted in blue).  However when I click on the user "Orion" nothing happens.  It will not change to highlight that user.

  • HT1807 I travelled to a different country & using a new sim; with the change in sim, I have been unable to use iMessage & FaceTime. Cant replace replace the earlier no with the current one and it reads error. how to correct this?

    I traveled to a different country and using a new sim/new carrier. With the change in the sim, I have been unable to use the iMessage--outside of WiFi coverage area, and FaceTime at all time. I believe it is due to the phone number registered as an address in the phone, which has not changed with the change of sim; so it countinues to showing as an error while varifying the data.
    Wonder if any of you are in a position to advise as to how to address the following.
    1. I need to input correct phone no, meaning the number I am using in the correct location.
    2. I need to activate FaceTime and be able to use it.
    3. I need to be able to use iMessage and/or ordinary sms while outside of WiFi coverage area.
    It may be mentioned in my current location I don't have GPRS on the cell phone which is the case in my regular station.
    Thanks for your help.

    for #1
    Frequently asked questions about Apple ID - Apple Support
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
    If you are wondering how using multiple Apple IDs relate to iCloud, see Apple IDs and iCloud.
    for #2
    Apple does not accept unsolicited ideas see Apple - Legal - Unsolicited Idea Submission Policy

  • My camera is no longer working on my new HTC One M8.  I have searched for tips in trouble shooting, but no luck.  It's almost like the lens isn't working.  Did I set something incorrectly?  Any ideas how to correct this?

    I also noticed when I tried using my Flashlight app I get a message that says another app is using your LED. Is this all inter-related?  How can I find out what other app is using my LED?

    Thanks for getting in touch!  It’s so frustrating to have a new phone and not be able to use one of the most important features.
    When I try to turn the camera on, the screen goes black for a couple seconds, almost like the camera is turning on, but there’s something blocking the lens.  Then the camera just turns off, and the screen goes back to my home screen.
    I have tried uninstalling the Flashlight app, but that did not resolve the issue.
    One other thing I have noticed in recent days is my battery is draining really fast.  I can’t even get through the day without charging my phone.  That was not the case a week ago.  In fact, that was one of the best things about this new phone.  It could go all day, and the battery not need recharging.  Could there be an app running that is zapping all my battery power and using that LED???
    MayGirl8286

  • With multiple tabs open, and selecting a new (blank) tab, RoboForm open new web page in far left tab, not the new (blank) one. How to correct this?

    Problem: Firefox Browser Tabs when using RoboForm
    When using Tabs in the Firefox browser (with multiple Tabs already open), I (1) click to open a new (blank) tab and then, (2) click on RoboForm to go to a new website. Instead of the new website opening in the newly opened (blank) tab it opens in the first (far left) tab. This only began happening when I installed Firefox 5.0 and RoboForm Desktop v7.3.2 at the same time.
    My system: HP Pavilion Media center, Windows Vista Ultimate 64-bit, 8GB RAM, Firefox v5.0, Roboform Desktop v7.3.2

    Thanks a lot. The culprit turned out to be Webmail Notifier. Unfortunately, there seems to be some problems on their end that the developer has not yet responded to, but something about the extension is screwing up tab functionality.
    Thanks!

  • After updating with the IOS8 my photos are no longer in an album or photo stream.  Any idea how to correct this issue.  Hate this new feature.

    When I updated my iphone and ipad with the new update IOS 8 my photos are no longer in an album or photo stream.  They are in different files with all the dates that they were taken.  I hate this feature.  Is there any way I can get the photo stream and album back.  Why do they make these changes when they just undo all the good things.  Any help would be appreciated.  Thank you in advance for anyone that can help me.  It is impossible to reach apple when your device is an older model.

    Hey there Trishna51,
    It sounds like you are seeing your photos grouped together by date, rather than the view you are used to seeing. From what you are describing, it seems like you are seeing either the Moments, or Collections view in the photos app. You can switch to the Camera Roll view in Albums located at the bottom of the Photos window:
    From: iOS 8 User Guide
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

Maybe you are looking for

  • Project Server 2010: AssignmentUIDInvalid on UpdateStatus()

    Hello, we want to update actual work via statusing.UpdateStatus(changeXML) for specific assignments. For this purpose we built a changeXML that includes ResID (equally ResUID of assignment owner) and call UpdateStatus with this changeXML. Now, everyt

  • MSI R6850 low 3dmark06 score

    Hey, I build a new PC about a month ago and I noticed that my graphics card isn't reaching it's potential about 16463 3DMarks. I didn't figure out how to put my specs below but I'll post them here. Motherboard: MSI 785GM-E65 bios version: 2.BO Proces

  • Additional fields in CATSDB errors out in ESS

    Hi, We added additional fields in CATSDB (customer fields). This errors out in ESS. Is there anything else needs to be done after adding these fields? Do we have to adjust profiles? Error when accessing Dictionary table ABAP-generation exit error., e

  • 'i tunes has detected an ipod which needs recovery'

    My son has an ipod touch 3g...stopped charging and asked for connection to pc via usb...on connection a message box appears on i tunes on pc 'i tunes has detected an ipod that requires recovery' 2 buttons to press - one 'restore' and one 'cancel'....

  • How can I find duplicates within my form?

    I'm trying to find a way to track down if we get any duplicate entries in our form. I've seen the filter option but not sure I'm using it correctly as it seems I would still need to go through all the names to find the duplicates.