Last four digits

Hi
I working  BW with HR Recently i got requirement such a way i want show only LAST 4 digits of the PERNR number Actually my PERNR has 9 characteristic in length but i want to display it into last 4 DIGITS characteristic in my report XXXXX-3456 How can we do in back end side 0r front end side which is more reliable ? can you let me know is there logic behind it ?
Regards
Ram

Hi
I'm trying to get solve but it not coming proper out
I want to get last 4 digits number  but i'm getting that 9.999 so what i did is...
Initially when i created formula i given description as 0emppernr when i tried to created new formula what i did is i drag that old formula and multiplied by 1000
*'0emppernr' * 1000?* is it correct method ,but after executing of report i'm getting some different solution
can you let me know how to multiple *FRAC ( 'DEP SSN OFFSET 4' / 10000 ) * 10000* by 1000 i'm tried my best i not getting proper solution  now i'm getting 9.999 if i multiple by 1000 the output should get  9999 ..
Any one has idea how to reslove ?
Regards
Ram
Edited by: RAM KUMAR KUTTI on Oct 15, 2009 8:28 PM

Similar Messages

  • Show last four digits of credit card

    Hi all,
    From SBO 8.8 the credit card is encrypted and cannot be read from sql table.
    I try to make a crystal report layout for Incoming payment, this layout should contain last four digits of credit card. When the layout is printed the credit card number is shown as encrypted data.
    How can I print only the last four digits of the credit card that was written in the incoming payment.
    Thanks in advance.
    Yossi

    Hi,
    Check This Tread , I am not sure this will be helpful,
    http://scn.sap.com/message/4853784#4853784
    http://scn.sap.com/thread/1491483
    Regards
    Kennedy

  • Display last four digits of a credit card number

    Hi!
    How can I display the last four digits of a credit card number with x or asterix masking the other digits?
    I.E.
    xxxx-xxxx-xxxx-1234
    Thanks for suggestions or scripts!

    but this will not work when the pattern is not symmetric if the input is as below
    '2345-2341-567856-12-6578' so the general solution can be
    SQL> with t as(select '2345-2341-567856-12-6578' card_no from dual)
      2  select substr(regexp_replace(card_no,'[0-9]','X'),1,instr(card_no,'-',-1,1))||substr(card_no,-4) from t;
    SUBSTR(REGEXP_REPLACE(CA
    XXXX-XXXX-XXXXXX-XX-6578

  • How to display only last 4 digits of tax number in Vendor Master view MK03

    Dear experts,
    In the Vendor Master view by Purchasing Organization (MK03), is there a way that will allow the user to view only the last four digits of the Vendor tax number?
    For example: Display only **-*-6789 (or blank spaces), instead of 123-45-6789 ?
    Any ideas and insights are much appreciated. Will award points for help.
    -TW

    In your report, just do a substr(ssn,5,4) for your new & improved SSN field to be displayed:
    SELECT First,
    Last,
    SUBSTR(ssn,5,4),
    Phone
    FROM Employees
    Thank you,
    Tony Miller
    Webster, TX

  • AD user script to populate the IPPHONE attribute with the last 4 digits of the Telephonenumber attribute

    Good Afternoon Scripting Guys. I have a script that I have been working with pretty much all day today and just cant quite get it to play nice. Our objective is to search AD for specific users (say filtering them out with a username that starts with a "T")
    and User account is "Enabled" then grab the last four digits of their phone number (phone number is set up as follows: (800) 123 456 ) then populate the IPPHONE attribute with the last four digits of their phone number. I have read a ton of online
    blogs with users successfully making this happen but it appears that they are all using Quest (as the commands are all Get-qaduser and Set-qaduser). I need something that runs strictly in native Active Directory Module PowerShell on a Windows Server 2008r2
    Domain Controller.  I am also trying to keep it as simple as possible by using a Get command, then piping a Set command.  I have saved the script into a .ps1 file with the logic as follows:
    $SelUsers = Get-ADUser -filter {(SamAccountName -like "t*")} -Properties ipphone,telephonenumber -searchbase "OU=Test Users,OU=Temporary Org,OU=Test_Domain Users,DC=mydomain,DC=com" | where {($_.enabled -eq $True)}
    foreach ($user in $SelUsers)
     {$user.ipphone = $user.telephonenumber(4,$User.telephonenumber.length-4)
     set-aduser -instance $user}
    What is happening is kind of funny, but aggravating at the same time.  When we run the script, it completes with no errors.  When I pull up the properties of a user in the OU, the IP Phone field is populated with the number 8.  If the User
    account did not have a telephone number, the IP Phone field is populated with a -4.  So, apparently, the script is somehow subtracting the "-4" from the number of all of the Telephone Number field's characters.  Basically 12-4 is 8. 
    If there is no telephone number, then 0-4 is -4.  I have run the Get-ADUser portion of the script independently so I know its getting the correct users.  I also know it is populating the IPPHONE attribute but not with the last 4 digits of the telephone
    number.  Can you guys help out and maybe get this to work correctly?  Also, can you add logic to it to the script to delete any value in the IPPHONE field first, then replace it with the last 4 digits of the telephone.
    Any help would be GREATLY appreciated!!!!!  Thanks Guys...
    Lee

    First thing I would do is modify your filtering. This will remove the unneeded piping to the Where-Object cmdlet and also allow us to only return users who already have something in the telephoneNumber field. It is possible this could return all of your
    users, but if you have service accounts, etc. that do not have a telephoneNumber then they will not be included in your results. It's just a little cleaner.
    $SelUsers = Get-ADUser -filter {(SamAccountName -like 't*' -and Enabled -eq $True -and TelephoneNumber -like '*')}
    I suspect you may have a made a mistake when you entered what your phone numbers looks like. I assume that you forgot a final digit. If this is correct, and you have a space in the phone number between the three digits and the final four then you can use
    the split method to grab the last four digits.
    Foreach ($User in $SelUsers) {
    $Number = $User.telephoneNumber.split(' ')[-1]
    Set-ADUser -Identity $User -Replace @{ipPhone=$Number}
    There's no reason to delete what's in the field first because that's part of what the -Replace parameter will do anyway. This should help get you started!

  • I tried to use Apple Pay at the 1280 Lexington Ave store in NY but was asked for the last 4 digits of my cardnumber and it never worked.

    I tried to use Apple Pay at the 1280 Lexington Ave store in NY but was asked for the last 4 digits of my cardnumber and it never worked. The question itself made no sense but I tried in vain by supplying it as well as the security code. I didn't know the last 4 of my proxy card number.

    Open Passbook, select the credit card you are using, touch the Info icon on the lower right. This will display the last four digits of the ‘Device Account Number’. These four digits are what your retailer wants to complete the transaction, NOT the last four digits of your card number. Some retailers require this, others do not.

  • Why did myEE ask for my sort number and last 4 digits of my debit card

    When trying to set up myEE I was asked for my sort number and last four digits of my debit card, I got the myEE app from the App Store for my ipad

    It asks you for this information if you say you are the bill payer when setting up your account. This information is used to check and match the details with EE's payment systems so you can then access your bills/payments online.

  • How to get the last 3 digits of a Delivery Number

    Hi All,
    On the Transfer Order Collective form, the Delivery Number is printed. But I need to capture the last 3 digits of that delivery number and make the 3 digits to be printed on the same form with bigger font size. I would like to know how to capture the last 3 digits.

    If so, your form(subroutine) can look like this.
    form  get_last_3_digits tables co_sym_using   structure itcsy
                                   co_set_symbols structure itcsy.
      data: xvbeln type likp-vbeln.
    * Get the USING Values
      read table co_sym_using with key name = 'LIKP-VBELN'.
      check sy-subrc eq 0.
      shift co_sym_using-value left deleting leading space.
      xvbeln  = co_sym_using-value.
    * make sure it is internal format
      call function 'CONVERSION_EXIT_ALPHA_INPUT'
           exporting
                input  = xvbeln
           importing
                output = xvbeln.
    * Update the value
      read table co_set_symbols index 1.
      co_set_symbols-value = xvbeln+7(3).
      modify co_set_symbols index 1.
    endform.
    Regards,
    Rich Heilman

  • In Lion, Word for Mac only prints last two digits of year

    In Snow Leopard, the automatic dates that auto fill in Word for Mac (08, 2011) worked fine...BUT since I 'upgraded' to Lion, (10.7.3) only the last two digits of the year will autofill, EVEN in full date mode...ie, SHOULD BE:
    February 21, 2012
    BUT auto filled as: February 21, 12
    I saw on a MS help site that it's ID'ed as a problem in Lion:
    From http://answers.microsoft.com/en-us/mac/forum/macoffice2008-macword/automatic-dat e-entry-doesnt-enter-entire-year/91793432-006b-4f6a-99fa-cf425266cb84
    This was the query:
    automatic date entry doesn't enter entire year
    Applies To: Office for Mac | Office 2008 for Mac | Word for Mac
    When I enter the weekday at the beginning of a sentence, the month, date and year are automatically filled in. However, instead of having the whole years, such as 2011, it only enters the last two digits, such as "11". This is new since an update a month or so ago. I would like to set it back to the original "Friday, November 04, 2011" if possible.
    Appreciate any help I can get.
    ANSWER:
    Its a bug in OSX.7 evidently MS has not rung up Apple and said hey get off your duff and fix this date issue.  If you can find a place to send bug report to Apple do so.
    So I checked the OSX Lion support site on apple.com and could not find an answer.
    Does anyone know how to fix or how to get Apple to fix?
    Thank you.

    It's a bug, but whether it's a bug for Apple to fix or for Microsoft to fix is unknown. The thread you post is unauthoritative, being only comments by other users who have no more idea as to where the bug really lies (unless an Apple engineer has confirmed a Lion bug, something I've not seen) as any other user does; no one in that thread works for or speaks for either Microsoft nor Apple.
    You can comment on the issue to Apple, if you wish:
    http://www.apple.com/feedback/macosx.html
    but whether it's something they can fix or whether it's Microsoft's problem I can't say.
    Regards.

  • Create a customer code using the First letter of a customer name and the last 4 digits of a phone number

    I am trying to create a form where one the customer has input their name and phone number it should grab the first letter of the customer's name and then the last 4 digits of the phone number.
    I am not very good at coding, and have VERY VERY limited background in coding. I understand a little (the basics pretty much).
    I am thinking i am not using the right expression to get what i want. Below is the statement I have write. This is just to find the first letter of the name, have an idea on how to get the phone number but i was trying the use the "left" and "right" functions but they wouldn't work. More specifically the left.
    form1.#subform[0].CustCode::initialize - (JavaScript, client)
    str = CustName;
    var a = str.substr(0, 1);
    any help would be greatly appreciated.
    If more information is needed, please don't hesitate to ask.

    If you switch your language to FormCalc you can use the Left and Right functions, e.g.
    Concat(Left(Name,1) , Right(Phone,4))

  • HT5961 I want to receive the verification code for the keychain but I was sent to unknown number because the last two digits do not represent my phone number

    I want to receive the verification code for the keychain but I was sent to unknown number because the last two digits do not represent my phone number, so how can I change it to receive it on my cell phone ?

    I found this in the iCloud Keychain FAQs:
    How do I set up iCloud Keychain on a new device if I don't have one of my other devices to approve from?
    If you don't have access to any of your other devices that are using iCloud Keychain, you can still set up iCloud Keychain on another device if you have these items:
    - Your iCloud Security Code
    - The device that is using the SMS-capable phone number you provided when you first set up iCloud Keychain. A verification code is sent via SMS to this phone number. If you don't have access to this number, contact Apple Support, who can verify your identity so that you can complete setup on your new device.
    - If you have these items, follow the iCloud Keychain setup steps documented above. Your iCloud Keychain will then be pushed from the cloud to the new device.
    So it seems that you would have to directly contact the Apple Support: http://www.apple.com/support/icloud/contact/

  • Report Footer overlapping Last four records in the report body.

    <p>Hi All,</p><p>In all of my reports have more than 20 Pages. All of my reports are Webintellegence format. these reports we deployed in Java Appplication. Java Application is in Tiles Frame Work Architecture. </p><p><strong>Here Problem is all of my reports have report footer. that footer is Overlapping Last Four rows in the Report Body. in Infoview it&#39;s looks fine. in Application only this problem we are facing. </strong></p><p>In Application just we are displaying HTML Content. This HTML content Contains everything. Report  Header and Body and Footer</p><p>We are not able to understand this. Please tell me where is the problem this is in Businessobjects problem or Application Problem.</p><p>If any one facing same problem please let me know the solution.</p><p>Thanks & Regards</p><p>Vallabhaneni </p>

    Every page should leave last two line of the body to print other content (some summary)

  • Query for last four rows?

    please write query for get the last four rows from a table

    ratnakar wrote:
    please write query for get the last four rows from a tablelast 4 rows is indeterminate.
    rows in a table are like balls in a basket.
    which are last 4 balls in any basket?
    Handle:     ratnakar
    Email:     [email protected]
    Status Level:     Newbie
    Registered:     Aug 27, 2012
    Total Posts:     34
    Total Questions:     16 (11 unresolved)
    why so MANY unanswered questions?

  • How to ignore last four lines in file

    Hey All,
    We have a requirement where we have to ignore the last four lines of the text file using file sender communication channel. We are using file content conversion and there is no identifier as such which would identify this four lines separately.
    Please reply back to me soon.
    Thanks and Regards,
    Sandeep Maurya

    1.you can do that by writing a  commondline script if have unix operation system iam not sure if we can do that same by in windows by ingoring the last line of a file.
    or
    2. wirte a Module Processor code
    3. wirte a UDF in mapping and and not map the last four lines but you need to check for every field.
    Regards
    Sreeram.G.Reddy
    Message was edited by:
            Sreeram Reddy

  • Apple Pay: The last 4 digits of my device account number is not showing up on my phone.

    My credit card company needs the last 4 digits of my device account number, and only ***** (stars) show up under my divice account number.  I have 8.1 installed, and have tried restarting my phone.  Any suggestions on how to get my divice account number to show?

    natapech wrote:
    It sounds like your bank requires additional authentication before you can use Apple Pay. It does not look like there was a token activated for your wallet. When you are in your Passbook app- does it say under the card that your card is activated and ready for Apple Pay? If it does not, contact your Bank to get DAN (token) activated.
    DAN will show once token is provisioned and activated, no need for transaction to occur first.
    Hope this helps.
    My credit card is obviously activated, as I was just able to use Apple Pay with it at a store (where they didn't ask for any DAN code). When I view the card in Passbook, it says nothing about whether it's been activated, one way or the other, but obviously the card is working for Apple Pay.
    But I just did find the DAN, way, way down at the very bottom of the Info page, below the whole list of recent transactions.
    Nowhere in any documentation I've seen does it indicate that this would be at the very bottom and one has to scroll so far down. Does seem like an unfriendly place to put it,

Maybe you are looking for

  • I'm Disapointed with iTunes 8.1 performance!  How do I go back to 8.0?

    I was very happy with iTunes 8.0 then allong comes 8.1 and I did and upgrade. Way too many things just didn't work and iTunes was now very sluggish. I have the Installation file for iTunes 8.0 but iTunes is still sluggish. I would hate to totally uni

  • Universal Region Code

    I had a question posed of me today: "Do you know if the DVD format is universal and is compatible with overseas DVD systems? I have purchased USA DVDs before only to find they don't work here in South Africa." I think that there are two issues at wor

  • Motion Tween Text

    Hello - I am trying to motion tween text and it is not working.  It looks jerky.  I am trying to create a "rubberband" effect on some text and two tutorials I found online used the Motion Tween.  I right click and select Motion Tween and I see the bl

  • Should I buy Skype credit here in Australia before...

    I'm going to France, Italy and Morocco for a 6 wks holiday. Should I purchase Skype credit here in Australia or wait and do it there? I want to be able to use my iPhone to make a few calls to landlines or mobiles if the need arises.  Are there any pr

  • How to erase everything in iTunes and start over

    I now realize that I have TWO of each file and that NEITHER file shows the play count and rating from my previous computer. Furthermore, none of my playlists show up. For this reason, I would like to know how I can erase EVERYTHING in my iTunes libra