I want to delete first two zeroes in pranr(12)

Hi
lifnr(char,10),parnr(char,12) i am getting problem while comparing  lifnr, parnr .
I already   used 'CONVERSION_EXIT_ALPHA_OUTPUT'. but still it is not working.
SELECT LIFNR
         FROM LFA1
         INTO TABLE I_LFA1
         FOR ALL ENTRIES IN I_IHPA
         WHERE LIFNR eq I_IHPA-PARNR.
error name: type and lengh is mismatching
Regards
Arvinda

Hi,
Check this code.
DATA: BEGIN OF i_ihpa OCCURS 0,
        parnr LIKE vbpa-parnr,
        lifnr LIKE lfa1-lifnr,
      END OF i_ihpa.
DATA: i_lfa1 LIKE lfa1 OCCURS 0 WITH HEADER LINE.
LOOP AT i_ihpa.
  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
       EXPORTING
            input  = i_ihpa-parnr
       IMPORTING
            output = i_ihpa-lifnr.
  MODIFY i_ihpa.
ENDLOOP.
SELECT lifnr
            FROM lfa1
            INTO TABLE i_lfa1
            FOR ALL ENTRIES IN i_ihpa
            WHERE lifnr EQ i_ihpa-lifnr.
Let me know if you have any question.
Regards,
RS

Similar Messages

  • 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.

  • 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??

  • How can I pull info into a report using just the first two characters of that field?

    I am trying to pull a total cost based upon locations in a particular area(s). Can I get the formula to just do this based on the first two characters of that field?
    Here is what I have so far:
    if {PACKED.LOCATIONS.NEXT OPERATION} = ["xx"] THEN {Job.Total_Price}
    Packed locations is a table I'm pulling from and the column I want just the first two digits is the the Next operation. Once this meets the "xx" (whatever location) then give me the total price from the Job table.
    This works for one or two orders, but then blows up when I do 10 or so.

    Hi Steve, assuming that Next Operation is a string field...
    Create a new formula and place it in the field where you see the {Job.Total_Price} field (Detail or Group depending on your report) with the formula:
    whileprintingrecords;
    global numbervar TotalValue;
    if len({? Replace me}) <= len({PACKED.LOCATIONS.NEXT OPERATION}) then(
    if left(ucase({PACKED.LOCATIONS.NEXT OPERATION}),len({? Replace me})) = ucase({? Replace me}) then
    TotalValue := TotalValue + {Job.Total_Price}
    TotalValue;
    You can go ahead and suppress that field.
    Create a new formula to place where you want to view the summary using the formula:
    whileprintingrecords;
    global numbervar TotalValue;
    This method allows for a higher degree of flexibility and you can search for the first x characters of that field instead of only the first 2 characters

  • HT1918 I've two account and I want to delete one of them and I want to change e-mail of my main account to the one which is my second account.

    Dear Apple Support,
    I've two Apple ID account.
    First account is my primary account with email is atichat39@*** is the Thai account. However, my secondary account I cant remember which country is US account and the email is chicky.viruz@***. The US account is use when I was in US for short period.
    Both of them is mine and I want to delete my US account to use the email for my primary account.I should not use my hotmail email as soon as possible due the email problem (Some one hack my account and I can recovery it for this time and it may hacked for second time). I want to use only my primary account which I pay many apps in my iDevices and I want to change my email of primary account to chicky.viruz@***. How can I do for this case. I don't want to miss my purchased app from my primary account. Please contact me back for the process.
    Thanks and Regards,
    Athichat K.
    <Edited By Host>

    Hi Athichat,
    you have two issues:
    1. Change of email of Primary Account.
    You can change your Apple ID name, password, or billing information at any time.
    To change your account information:
    Choose Store > View My Account.
    Click the Edit button.
    Make your changes, and then click Done.
    Your changes take effect immediately.
    If you also use your Apple ID in other applications, you don’t need to update your information in those applications. The changes you make in iTunes apply to all applications in which you use your Apple ID.
    2. Delete Secondary Account
    You can't currently delete an account, all you can do is remove any personal info from it and stop using it - any content that you bought/downloaded via that account will remain tied to it

  • Want to delete the first Menu

    Hi, I added a movie with chapters into an iDVD project, but this one gives me two options, "Play the movie", and "Play the movie and Scene Selections".
    I want the Scene Selections to be in the first menu, I don't want to go to two menus to play the movie, How can I get rid off the first menu.
    Thanks,
    Claudia

    .... How can I get rid off the first menu.
    One way would be to author the DVD using apple's Final Cut Studio 2 / DVDSP as opposed to iDVD. Frankly, all of my own iDvd's have a play movie button. So I'm not 100% sure if this is even possible within iDVD since this app makes some very basic assumptions (as a consumer app) regarding buttons and menus, as in you either have a menu, or you don't. If you do not have a main menu, then it's a bit difficult to proceed to a scene selection menu thereafter.
    Not the case with DVDSP, where all one needs to do is select the main menu and hit the delete key.
    Hope this helps but if not feel free to come on back.

  • I have two iCloud accounts and I want to delete one, help!

    I have two icloud accounts and I want to delete one and have the one across all my devices, however, I have tried a number of times, I have deauthorised all my computers on the old icloud/apple account, yet every time I log back onto my main compputer, the old account comes up. I have tried everything, any help would be appreciated....
    Cheers

    You can't delete an iCloud account.  You can, however, sign out of that account and just stop using it.  Then sign in to your second account on all devices account. 
    OT

  • I have two itunes accounts and want to delete one

    i have two itunes accounts and want to delete one how do  i do this????

    Just stop using it

  • I cannot access my old email address anymore, however I have used it for my apple ID and now I want to delete it because the account has never been verified in the first place so my password for it doesn't work. What do I do?

    I cannot access my old email address anymore, however I have used it for my apple ID and now I want to delete it because the account has never been verified in the first place so my password for it doesn't work. So when I want to download apps I have to sign in with apple id but I can't so I made a new one, However I can't seem to be able to delete the old one. What do I do?

    You can't merge Apple IDs.  You also can't cancel (delete) and existing ID, you can only choose to stop using it.
    If your old ID was compromised and you can no longer access it, you'll have to contact Apple for assistance.  Go to https://expresslane.apple.com ; click 'See all products and services' at the bottom of the page. In the next page click 'More Products and Services, then 'Apple ID'. In the next page select 'Other Apple ID Topics' then then 'Apple ID account Security’.

  • Two Accounts - Want to delete my acc

    Hi, I have two skype account. The one I have problem with is the fact that I link it with my Microsoft account, and now unlink it...so I can't log in and wants to delete my account..please help

    Hi, Annstone05, and welcome to the Community,
    In order to delete/remove/cancel a Skype account, please see here:
    'Can I delete my Skype account?'
    http://community.skype.com/t5/Security-Privacy-Tru​st-and/How-Do-I-Delete-My-Skype-Account/td-p/31461​...
    Please note, you need to file your request directly with Skype Customer Service; we here in the Community can not process account-related service requests.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Hello. I have two version of Office for Mac. 2008 and 2001. I want to delete the 2008 version. If I use the removal tool within the Offie 2008 folder, is there any danger of the 2001 version being removed too.  Thanks Dave UK

    Hello. I have two version of Office for Mac. 2008 and 2001. I want to delete the 2008 version. If I use the removal tool within the Offie 2008 folder, is there any danger of the 2001 version being removed too.  Thanks Dave UK

    Do you mean Office 2008 and 2011 or do you really want Office 2001? I think you mean 2011 since Office 2001 wouldn't make much sense.
    The Office uninstaller should be able to identify there are two versions and allow you to delete either one or both.

  • I have two apple IDs i dont know how that happened but i want to delete one so i can use that information on my itouch

    i have two apple IDs i dont know how that happened but i want to delete one so i can use that information on my itouch

    You can use more than one ID oin the iPod
    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.

  • Accidentally set up two users on mac pro- i want to delete one user

    When I set up my mac pro I started setting up a user account.  Then I used merge assistant and it created a second account.  I want to merge the two accounts or delete one of them

    Go to system preferences>users & groups. Highlight the one you wish to delete and hit the minus sign at the bottom. I do not know of a way to merge them.
    Barry

  • How do I easily select a group of emails in Apple Mail if I want to delete them? In other words, how do I select the first and last message and delete everything in between?

    How do I easily select a group of emails in Apple Mail if I want to delete them? In other words, what do I select if I mark the first and last email to delete everything in between? Thanks.

    I have this same issue. I have over 100 email addresses that I need to add to a group. The issue is not making the group, it's getting the email addresses from Mail to Contacts.
    Dragging the email addresses does nothing. You can copy the addresses, but there's nowhere to put them. You can make a VCF for an email address, but then you have to find all of them to add them to the group. How do you automate this?!
    I'm astounded that there's so little support for such a common issue for which people have been asking for years.

  • I added music to a project in iMovies. I wanted to delete the music I put in,but could not figure out how to delete the music. I also had two songs playing at same time. How do I delete music from project in iMovies?

    I added music to a project in iMovies. I wanted to delete the music,but could not figure out how. I also had two songs playing at same time. How do I delete music in project and how do I prevent two song playing at same time?

    Select your Music Track so that a yellow border is around it. Then hit the Delete Key. Alternatively, hit EDIT/DELETE SELECTION.

Maybe you are looking for

  • HT203254 NVIDIA GeForce 8600M GT graphics processors

    How much does this repair cost now that Apple is no longer covering the expense?

  • BLACK SCREEN on a Model 500-056

    Upgrade from windows 8 to 8.1 with no problems. But now i get the Black screen of death.  The monitor is fine. How can i reload Windows 8 and be done with this. Thanks for an help  

  • Index and Alpha transparencies

    This is a multi-part message in MIME format. ------=_NextPart_000_0008_01C73F09.CBD4E090 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am saving images in Gif with a transparent background and it gives m

  • How to integrate BW3.5 into Portal6.0

    Dear all I want to distribute Queries and Web reportings directly into Portal6.0,but i did not integrate BW3.5 into Portal6.0,although i have solved SSO between Portal and BW system.My BW system and Portal release are last version of Netweaver2004, a

  • Timestamp not flowing from eBS

    Hello Gurus, How do i bring in the complete timestamp which appears in the OLTP(EBS),currently in OBIEE 11g showing only the date and not the time portion. I have a column which is w_job_rqstn_event_f.event_dt and in EBS it showing *16-APR-2013 11:14