Removal of first two char  zero's from field .

As i am having field BKPF-BELNR  of internal table whose value is :0000000010
BKPF-BELNR = 0000000010
i have to remove first two zero from left and append 'CE' and
result like this : 'CE00000010'
as i have tried shift field remove leading zeros . it doesn't work .

Hi, if lv_belnr = '1000000000' then you get 1CE00000
I would change it to
replace '00' in lv_belnr(2) with 'CE'.
replace regex '^00(?=\d{8}$)' in lv_belnr with 'CE'. 
uffff it's possible in abap??

Similar Messages

  • Remove First Two Pages of Print from ALV

    Dear All,
        I am trying to give a print of standard ALV report <b>BCALV_GRID_VERIFY</b>. When I give a print of the Output ALV Grid using the Icon on the ALV toolbar. I get two more pages with Print Parameters and the total count.
        Could someone tell me how to remove the first two pages before I get the actual print. Everytime I give a Print I get these two pages so it budget issue wasting everytime two pages for a single page print even.
    Thanks & Regards,
    JJ.

    Hi Joseph,
    in my case these are the settings...
    Just change your spool  settings also ..
    in my case
    SAP Cover Page  System Administrator: Default Settings
    OS Covert Sheet  System Administrator: Default Settings
    ALV statastics     NO
    i think for your case ALV statastics is markes as YES is it true.
    Can you change the settings.
    Regards
    Vijay

  • I need to remove the first device on my account from at many years ago. How? Device long gone.

    I've had my account for many years and didn't know anything about deauthorizing devices back then. I've maxed out my number of devices at five and can't add anymore. I know the first device is long gone in a recycling bin some many years ago (or not, this was before recycling ewaste). The second device in my account is defunct, too.
    How do I delete those two so I can add my "new" iPad?
    help?
    djgonzales

    About authorization and deauthorization
    Read the above link and follow the instructions to deauthorize all, then authorize the computers you actually have.
    Note, only computers are authorized.  iDevices are not relevant to the number of computers authorized for an account.

  • I appear to have three different versions of photoshop Cc on my computer. They are Photoshop CC, Photoshop CC (64 bit) and Photoshop 2014. Am I able to remove the first two without affecting the preformance of the last version?

    Help as this is all taking up so much space on my computer.

    It is okay to remove the ones you do not need as they are not dependent on one another.  If any problems arise afterwards you can post here again to get help.

  • To skip the first two Digits of the Char in Query

    Iam using County code which is the attribute of Vendor in free-chars of my query. In back-end iam doing some enhancements for this county code and populating the county codes values with region. (For example if the country code value is 021 in back end iam populating by concatenating with region value. so the value in the back-end is 05021.)
    When i run the query the key of county code value i see is 05021. But i need to skip the first two digits in county code and should display in the result. Is there any way to skip the first two digits for the county code values.
    Thanks in Advance
    Sudhakar

    Hi Sudhakar,
    Pls go through the link:
    Remove the last two charecters from right
    Thanks and Regards,
    Ramki

  • I "downloaded" songs from my CD, but they do NOT show up in my iTunes "Songs". Tried it two times = zero, what's up?

    I "downloaded" songs from my CD, but they do NOT show up in my iTunes "Songs". Tried it two times = zero, what's up?

    Wow, I just checked & all the DOWNLOADED songs MADE it into my iTunes "Songs". Thanks anyway!

  • We just moved from the United States to Costa Rica.  The first two days my mac worked great.  Then all of a sudden I was trying to use a game application and the screen went black and there is a white cursor which I can move around, but I can't escape it

    We just moved from the United States to Costa Rica.  The first two days my mac worked great.  Then all of a sudden I was trying to use a game application and the screen went black and there is a white cursor which I can move around, but I can't escape it. When I restart it seems okay and I see my main screen, but only for a second and then it goes black again. 
    This computer was brand new in June.  Is it the humidity???   What can I do.  Please help!!!!

    No guarantess but try smc and pram resets,

  • I am trying to install windows 7 to my Macbook pro with bootcamp but every time I open bootcamp I am only able to check the first two boxes but not the third one saying "install or remove Windows 7", any solutions ?

    Hi, I am trying to install Windows on my MacBook Pro with bootcamp. Every time I open bootcamp I am only able to check the first two boxes but not the third one saying "install or remove Windows 7". I did this before using the same computer and the same hard drive so I am not sure why this is happening now but did´t happen then. Any solutions ?

    Was your Bootcamp info.plist manipulated to change any options?

  • I forgot my apple id password so i create a new one. the problem is i cant remove my first apple id because any time i tried to reset my password i never received any email from Apple.now the problem is my iCloud and ... have problem on my iPhone????

    I have a problem with my I phone5 . after i bought an iPhone6 and i joined it to my iTunes , the same problem happens to my new Iphone.
    i thought with the new Apple ID the problem could be solved. so i create a new Apple ID. now i have 2 I Phones  with the same problem means i can't remove my first Apple ID because any time i try to reset my password and delete the Apple ID i don't receive any Email from APPLE .
    Please HELP me. i would be very appreciated .
    thank you very much.

    Hello ba.t,
    After reviewing your post, it sounds like you tried to reset the Apple ID password but did not receive the email. I would recommend that you read this article, it may be able to help the issue.
    If you didn't receive your verification or reset email - Apple Support
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • I can't email a photo directly from iPhoto.  First, I only have two "themes" to choose from instead of 8, and when prompted to fill in the "to" and "from", the "from" box has "MobileMe" already in it, and I can't get rid of or change it. I have OSXLion

    I can't email a photo directly from iPhoto.  First, I only have two "themes" to choose from instead of 8, and when prompted to fill in the "to" and "from", the "from" box has "MobileMe" already in it, and I can't get rid of or change it. I have OSXLion

    I understand, as that was the place I would change it before 8.3 but now that option of Mail Days to Sync is not available?  Any idea why that would be?

  • Select only first 10 chars from the field in a table while writlng a selec

    hi experts,
    In a table  one field contains a value of above 10 characters (ex 10 or 15 or 20 characters).But i want to select
    only first 10 characters from this field while writing a select statement.
    This logic should be included in select statement.
    please gime immediate solution.
    My question is understood.

    Hi,
    Try this one
    data : begin of itab occurs 0,
            maktx(10) type c,
    end of itab.
    " though the length of MAKTX is 40 you only get 10 chars
    select maktx from makt into table itab up to 10 rows.
    if sy-subrc is initial.
    endif.
    " Suppose the field name of table you want to select is MAKTX then declare
    " Your internal table in the above manner, it will automatically fit into it and will get 10 Chars only
    " Instead of burding the select query / DB interface use the above.
    Cheerz
    Ram

  • Want to fetch first two row from database

    i'm having a database with multiple rows. I want to fetch first two rows form it dynamically, what should i have to do???.plz help....

    the data comes from external source and updating the database, at the same time i've to read only first two rows, plz explain.

  • TS1424 iTunes skip the first two songs of the album I just purchased from the iTunes Store?

    Why does iTunes skip the first two songs of the album I just purchased from the iTunes Store?
    I previously checked that the download was complete.  (Had plenty of time, but checked nonetheless it was done.)  I have closed and reopened iTunes several times.  Frustrated.

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

  • [svn:osmf:] 18007: 1. Remove two unused message code from MediaErrorCodes. as

    Revision: 18007
    Revision: 18007
    Author:   [email protected]
    Date:     2010-10-04 14:29:48 -0700 (Mon, 04 Oct 2010)
    Log Message:
    1. Remove two unused message code from MediaErrorCodes.as
    2. Fix bug FM-1041, extend timeout from 15 seconds to 60 seconds for multicast.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-1041
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/F4MLoader.as
        osmf/trunk/framework/OSMF/org/osmf/events/MediaErrorCodes.as
        osmf/trunk/framework/OSMF/org/osmf/net/MulticastNetLoader.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetConnectionFactory.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetNegotiator.as
        osmf/trunk/framework/OSMF/org/osmf/utils/OSMFStrings.as

    bringrags wrote:
    We do indeed recommend replacing the osmf.swc from a Flex 4 project if you're going to use OSMF in Flex 4, but you may (will?) run into issues if you attempt to use Flex's VideoPlayer within that project.  Note also that you'll need to replace osmf.swc for each individual project (or edit your flex-config.xml file to point to the updated SWC).
    In terms of future plans, we are working closely with the Flex team to ensure that their next release ships with the latest OSMF version.  No ETA on that though.
    I have followed the recommendations and removed the old version of swc and replaced it with the release version. And so far the video and audio players work fine without errors.
    But looking at the flex-config.xml I see that it still points to the old version.
    <!-- OSMF SWC -->
        <runtime-shared-library-path>
    <path-element>libs/osmf.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.0.0.14159/osmf_flex.4.0.0.13495.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>osmf_flex.4.0.0.13495.swz</rsl-url>
    <policy-file-url></policy-file-url>
    </runtime-shared-library-path>
    Could you elaborate a little bit more on editing this part of flex-config.xml?
    Thanks,
    FTQuest

  • How to find first non zero value from the numeric value or string?

    Hiii, Every body
              I have one numeric indicator in which some valuse is coming with the decimal value, lets say 0.00013, now i want to find the first non-zero value from this numeric indicator, then what should i do to do so? i have converted it in the string, but i could not find any method to find first non-zero value from that string or either from the numeric indicator????
          Can you please help me, how to do it? i have attached the vi and write all the description inside.
    Thanks in Advance,
    Nisahnt
    Attachments:
    Find first nonzero.vi ‏20 KB

    Just convert it to an exponential string and take the first character .
    Message Edited by altenbach on 05-10-2006 08:00 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    FisrstNonzeroChar.png ‏3 KB
    FindFirstNonzeroCharacter.vi ‏20 KB

Maybe you are looking for