Value starts with "!!", and I get an error

Hi
I am getting data from an oracle database, but it crash when a get values that starts with "!!". Is there a way I can get arround this? My Object is called "DESC"
Thanks

Hi,
If '!' present in first position of string, you need to remove it or replace it in transformation.
Following is the  sample code...
loop at SOURCE_PACKAGE into ls_SOURCE_PACKAGE.
      record_num = sy-tabix.
      IF ( ls_SOURCE_PACKAGE-fieldname(1) = '!' ).
        ls_SOURCE_PACKAGE-fieldname(1) = '' .
ENDIF.
    MODIFY SOURCE_PACKAGE INDEX record_num FROM LS_SOURCE_PACKAGE.
  ENDLOOP.
Hope this helps..

Similar Messages

Maybe you are looking for

  • CC Premiere Pro crashes on start up with "Not Responding"

    CC Premiere Pro crashes on start up with "Not Responding". Tried: 1. Reboot 2. Updating Graphics Drivers. 3. Removing Red Giant Plug-Ins from my current Adobe Common Folder. 4. Running in compatibility mode for Windows 7 5. Running as Admin All Faile

  • Unpublish iWeb site in iDisk

    Hi I can see a number of old threads here regarding removing a site through iDisk and I have folowed these but still have a folder remaining (with content) that I cannot remove. I have navivated to the iWeb/Sites folder but whenever I try to deleye t

  • Absolutely livid - considering legal action.

    Firstly, in there interest of manners and politeness, hello there. First time I've posted in here, and I wish it were on friendlier terms. Sadly I'm about to go off on a rant. On the 18th February we started experiencing problems with our phoneline,

  • AE Project will not load

    I'm having problems loading my After Effects project that I just worked on and saved. All the files are in the same location, but when I try to open the project, it just gives my a color wheel spinning(am using a new Mac with 12 GB RAM and Quad proce

  • Making java.sql.Date dd.mm.yyyy format

    Hi, java.sql.Date format is m/d/yyyy. I must use  dd.mm.yyyy format. How can it be done? Thanks.