RE: Suppress or stripping of some digits in XI with out effecting others

In  POS, the Employee Id (of the Store Rep) who does the sale is his PEIN.  The design of POS does not allow the employee to work in more than 1 store. Therefore we-are exploring a "corrective" solution which - ideally would not affect POS+ as follows:
XYZ  team will "pass"  an employee ID which is made of  his PEINstorecode (which would fit in the 12 digits alphanumeric employee code in POS Employee table).  In other words, the new employee ID in POS+ will have the official  PEIN (7 digitis) suffixed with storeId as the next 5 digits
All sales transactions will carry this "new" employee ID. HOWEVER, when the sales transactions is passed over to XI ,  "a code fix"/or/ a data transformation / or / data mapping whithin XI (?) would have to be effected within XI to "strip" the extra 5 StoreId digits?
In the "hypothetical" scenario I described,  the the input file from POS+ to XI will display an Employee id with the new format as " PEIN Nostoreidincremental digit"  (74digitsx) 
In my XML example ,
<StoreID>4152</StoreID>
  <TransactionID>8962</TransactionID>
  <RegisterTransNumber>2607</RegisterTransNumber>
  <TransactionCode>101</TransactionCode>
  <EmployeeID>6020540</EmployeeID>
ithe new Employee ID will show  : 602054041521    with the last digit incrementing from 1 to 9 .
What can be done in XI to parse the information and get it back to an Employee ID as for example EmployeeID>6020540 , so that the remaining XI, SAP , SAP BW streams is left intact?  Please advise on this 
How can we resolve this in XI?
Thanks in advance
Amar

Hi Amarnath,
If you want to remove the last 5 then create a value UDF with one input argument 'a' and name as removelastfive and add this code:
Imports:  java.;*
   //write your code here
String str = a.substring(0, a.length()-5);
return str;
Then you map like this:
input --> removelastfive(udf) --> output.
Regards,
---Satish

Similar Messages

  • TS2446 I forgot my security questions how do I buy some thing on iTunes with out them?

    I forgot my security questions how do I buy some thing on iTunes with out them?

    See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities.
    Send Apple an email request for help at: Apple - Support - iTunes Store - Contact Us
    Call Apple Support in your country: Customer Service: Contacting Apple for support and service

  • We were wondering how you stop some apps from running with out deleting them something like a task manager and in my settings im missing the application button in it how do i get it back and stop some apps its making it run really slow

    how do you stop apps with out deleting them i have looked for something like a task manager and nothing and researched about it and it says to go into your settings and then click applications but i dont have one can someone please help[ me thank you

    Double click the Home button. The bottom row shows the recently used apps. Touch and hold the app until they all start to wiggle then tap the circled minus sign by apps you want to remove. Press the Home button to return to normal.
    However, that is recently used apps not apps doing something. Some apps will do things all the time/periodically like checking for Notification, new mail. Yu can turn those off in the apps themselves.
    Just what are you trying to accomplish?

  • Is there a reason why some applications have "updates" greyed out and others don't ?

    deploying using Creative cloud packager with Adobe Application Manager disabled
    Some applications have the update option under "help" greyed out while others are not.
    the ones that are not will try to open AAM and fail out when selected but i find it kind of weird that they cant make it the same across the board
    Thanks for any info
    Jeff

    Packager Links https://forums.adobe.com/thread/1586021
    http://forums.adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent

  • Hi my mac book pro is having some problem with mouse , With out my actions it's automatically running for example If I open some site the arrow is automatically pressing every where if u don't mind can u suggest me what I have to do

    Hi
    I am facing some problem mouse arrow with out my actions it's automatically running for example If I open a some site the arrow mark is going every where and automatically pressing and the particular sites are opening if u don't mind can u suggest me what I have do

    If you can still access the machine and haven't wiped the drive, open the Mac App Store, log in to your Apple ID, and try to download Mavericks from there. If it works, make a bootable USB from the
    Mavericks installer (google how to do this). Then boot to the USB wipe the drive and install Mavericks clean. And since it shoudl be associated with your Apple ID at that point you shouldn't have any issues.

  • I have a digital voice recorder with a 3.5mm mic and headphone jack and want to transfer some recorded lecture to my mac book pro.  The mac book does not have 3.5mm  jacks.  Does anyone know if a jack to USB converter would work?

    I have a digital voice recorder with a 3.5mm microphone and headphone jack and want to transfer some recorded lectures to my mac book pro.  The mac book does not have 3.5mm  jacks.  Does anyone know if a jack to USB converter would work?

    Is there a pattern to the time of day or other detail that may be
    traced back to a OS X system cause of this odd phenomenon?
    Are there any copies of system files on any of the attached USB
    external drives? Any libraries, such as iTunes, iPhoto, etc?
    Once the drives are indexed by Spotlight, are their permissions
    ignored by the OS X? Content, if neutral, should not affect the
    wake or sleep cycle; especially if they're ignored by the OS X.
    Could there be a bad cable or other component? If so that would
    be a difficult process of elimination to detect it. Usually replacing
    most suspect components in the USB stream (external to Macs)
    is a rote way to mechanically test that idea; & not 100% sure.
    Does the equipment all have a good ground to the utility or house
    electrical field? An intermittent ground may affect more than sleep.
    Hard to say at this point. Maybe a late-night talk radio guru on
    remote viewing could peer into your situation and sleuth it out?
    Sorry to have run out of ideas, but the process must be electrical
    & mechanical to some extent. - Or perhaps odd software inspired.
    Do you have any phone-home spyware items inside, just jumping
    at the chance to spill your information? Little Snitch may help.
    PS: Perhaps the computer needs to go into Apple & have a genius
    or product specialist at AASP test the unit thoroughly... BlueTooth?
    see:
    https://www.google.com/?gws_rd=ssl#q=Wake+reason:+XHC1
    Good luck & happy computing!
    edited 2x

  • My iphone 5 camera suddenly stop working and the shutter dont open after some minutes shutter open with some dolor stripes and it takes 2 or 3 days and again start working normaly it happens every 3 weeks.is this a soft ware problem??

    my iphone 5 camera suddenly stop working and the shutter dont open after some minutes shutter open with some dolor stripes and it takes 2 or 3 days and again start working normaly it happens every 3 weeks.is this a soft ware problem??

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
     Cheers, Tom

  • There are diagonal stripes on some clips on the timeline and wont play video in the program monitor.

    After reconnecting some origianl files after a hard drive crashed, there are diagonal stripes on some clips on the timeline that wont play video in the program monitor. They do however play in the source monitor.

    Those stripes are most likely the missing media indicators, which means you've relinked to the wrong clips.

  • Some digital photos too sharp

    Dear All,
    I have a problem with some digital photos being too sharp and causing problems with pixelation and jittery sections after being burned to dvd thru iDVD and DVD Studio Pro. I must go back and blur them in Photoshop to get rid of the problem, then reburn the DVD. What is the explanation for this? It is very unnerving to proof a dvd and then see these jittery sections come up that are not apparent when viewing through Final Cut Pro's timeline or in iDVD preview. Other photos taken on film don't cause the problem, only SOME digital photos either taken with a digital camera or clip art that is in digital form to start with.
    Barbara Smits

    What is the explanation for this?
    Probably two things:
    Video images are interlaced (two video fields make up one video frame) - with very sharp images, the high frequency detail can be slightly different in the two fields resulting in flicker as the interlaced image switches back and forth between field.
    The sampling theorem says the sampling frequency must be twice that of the highest detail in an image or else the high frequency detail will be aliased as low frequency detail. Did you ever shoot a fine checkered pattern and see color bar 'smears' in the picture. Normally resizing the image in something like Photoshop usually removes the problem causing high frequency detail - but not always.

  • Since changing our computer I have been unable to download ebooks to my Reader Library I get a message Some file types associated with EPUB files are not associated with Reader Library; Waterstones suggest that I may have accidentally created a new Adobe

    When I try to download them from the Waterstones website I get a message saying:
    ‘Some file types associated with EPUB files are not associated with Reader Library.  Do you want to associate them now?  When I reply yes I get another message; ‘Configuration error unable to update EPUB files check network firewall and try again’.
    The ‘books’ are saved in the Download directory and I can’t transfer them from there to my E-Reader. I have not had any problems before, it was very simple; I saved the download and it automatically went into the Reader Library.
    I contacted HP and they said it is a software error and suggested I contact Waterstones.  I contacted Waterstones Customer Support and got the following response:
    As the error message is specifically mentioning the firewall it does sound like something in the firewall settings is stopping the download from taking place correctly. However, the files should not be being saved to the Download folder. It would be worth trying again by going to your Digital Order History on your Waterstones.com account and pressing the download button, and then making sure to press "Open" not "Save". When you press Open rather than Save it should give the option to open the file with Adobe Digital Editions. If the firewall message still comes up then I'm afraid something is blocking it on your end.
    If the above "Open" download method works but you then still get an error message it could possibly be that you have accidentally created a new Adobe ID when setting up on the new computer, rather than signing in with your old Adobe ID. It would be worth trying the aforementioned download technique again first, but if problems did still persist it would be worth calling Adobe themselves on 0207 365 0735, as they should be able to sort out any account issue.
      In response to the first para of Waterstones email I already do what they suggest I do press ‘Open’ not ‘Save’ but I don’t get the open with Adobe Digital Editions (we have installed Adobe Digital Editions on the new computer. Waterstones say we may have ‘accidentally created a new Adobe ID when setting up the new computer’ does that mean that we shouldn’t have installed Adobe Digital Editions on the new computer as it would have already been there? How do I sign in with my old Adobe ID? 

    Hi all after attampting to get some supoport from adobe by phone.... nice people infurating policys as far as support for digital editions or DRM is conserned... However I got no where with support.
    I ended up instaling Digital editions on my desktop PC and going through the motions of registering and borrowing a book then returning it. Then I trying on my iPad, Bluefire worked, Over drive did not so I completely removed Overdrive and reinstalled and re registered. all working now.
    Maybe some one at adobe did something. Maybe the install of the adobe DE client on a PC corrected what ever was out of wack with my account. Mayby the server that my account lives on did a scan disk and corrected a bad clustrer.
    What ever happend My account is actiove and working again. hope this helps others.

  • I have a column of names, some DO NOT start with a capital letter, how do I filter them

    new to Mac environment and i have a column of names, some DO NOT start with a capital letter, how do I filter them

    HI PTU,
    You can mark the rows starting with lower case letters using a formula, then filter on the contents of the column containing the formula. For the example below, the names are in column B and the formula is in column C.
    C2: =IF(AND(CODE(B)>=95,CODE(B)<=122),"!!!","")
    CODE returns the ASCII code for the first character in the target cell. Lower case letters have ASCII codes in the range specified in the formula: a = 95, z = 122
    For names starting with characters in this range, the forula returns a string of three exclamation points. For any other initial character, the formula returns a null string ( "" ).
    An empty cell in column B will cause the formula to return an error in that row of column C. You can avoid this by embedding the formula in an IF statement that suppresses the calculation if the length of the entry in column B is less than one character. Revised formula shown below.
    C2: =IF(LEN(B)<1,"",IF(AND(CODE(B)>=95,CODE(B)<=122),"!!!",""))
    Regards,
    Barry

  • Digital Camcorder compatible with iMovie &/or Final Cut Exp

    Hello Everyone. I am in the market for a camcorder that I can use with my new imac. Have spent too much time researching whats out there as far as digital camcorders and am completely confused!! I would prefer one with a hard drive such as the sony DCRs but have found some places talk about incompatibility and others compatibility. My next choice was the Canon HV10 but it uses the Mini DV tapes. Any help, suggestions is greatly appreciated.

    hey there,
    welcome to the forums. iMovie is built to work w/ DV25. that is DV or HDV signals recorded to tape, usually miniDV tape. there are workarounds for using hard disc cams, but the process takes longer & because hard disc recording uses a more highly compressed signal than DV or HDV your image is likely to suffer in quality.
    i use and own Sony MiniDV & HDV cams & have had no issues w/ capture, editing or converting analog to digital w/ them.
    good luck.

  • Optical digital and analog audio out

    I just purchased a Pavilion 500-214 with IDT High Def Audio CODEC / DTS Sound+
    Is it possible to get both opitcal digital audio out and analog (speakers/headphones) out at same time?  Stereo amp needs access to both for multizone/source function.  I can manually pick one or the other before playback - it is clunky in that when switching audio out devices the active will turn off but one switching to does not always turn on.  But i really need  both simultaneously active for amp to work properly.  I have also found rear speaker jack to be more stubborn during switching than front headphone jack.
    This question was solved.
    View Solution.

    Hi zombi1,
    Welcome to the HP Forums!
    I have done some research on whether or not one can utilize both digital or analogue audio out at the same time, and unfortunately this is not possible.
    Thank you for posting, and Happy Earth Day!
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • I have a an iMac 27" and am trying to import some videos of a friends wedding into iMovie however one of the movies won't import. It doesn't say why or give any error message or codes. All of the other movies on the card download with out a problem.

    I have an iMac 27" and am trying to import some videos of a friends wedding into iMovie however one of the movies won't import. It doesn't say why or give any error message or codes.
    All of the other movies on the card download with out a problem. The movie in question is not 'corrupt' as you can watch it in iMovie direct from the SD card but as soon as you try to import it, it  just says 'error'. iIve tried moving the file to an external drive ( and other variations on this theme) then importing but have had no luck.
    Can anyone please help me.

    The mystery remains....
    Thanks for the pointers. The file type is .mts (a proprietry sony one).
    I have now found some video converter software (Wondershare and iSkysoft) at a cost. Either will convert this file for me into .mp4. This I can then import into iMovie without any problems. I've checked this on the trial versions and it worked well but without paying am left with a giant watermark in the video
    The mystery (which I still havent solved) is why did 20 other .mts files import fine and then this one not?
    If you could point me in the direction of some free .mts converter software that would be the cherry on the cake.
    Thanks

  • Update Credit managment dispay in some of the orders with same Payer

    Hi,
    I have some sales orders created with same PO, same sold to party and same payer. In one of the Sales Order
    credit control area and credit account is updated but the other order's did not update with this information.
    I can see the Credit account dispay in that Sales Order which got updated but the other orders are giving the message "Cannot display credit limit as no credit management account is available"
    Please let me know how to fix the other Sales orders Credit accounts, these all orders have same Payer and we have issue in the Consolidate billing of these orders and all these orders have subsequent documents like Delivery and Invoice.
    VBAK-KKBER and VBAK-KNKLI fields are blank in these Orders except the one which got updated.
    Thanks in advance.
    - Fract

    Hi Charles,
    The Order with values filled in VBAK-KKBER and VBAK-KNKLI is not a latest order, We have orders after and before this order also.
    I already executed F.28 but nothing got changed.
    Regards,
    Fract
    Edited by: fract_get on Nov 15, 2011 10:26 PM

Maybe you are looking for

  • File to RFC Scenario - Not working with AAE

    I have a File to RFC Scenario (calling RFC /POSDW/CREATE_TRANSACTIONS_EXT)  using AAE but it is failing with following error in PI . MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.ada

  • Upgrade from LabView 5.0 to 5.0.1

    I´m currently using LabView 5.0. I have some problems using GPIB and asynchronous access calls. These issues are solved in Version 5.0.1. Now, how can I upgrade to Version 5.0.1? I seems that there is no way to download a corresponding patch from the

  • Use Visual Composer models in GP NetWeaver CE 7.1

    Hi to all, i have a question regarding VC and GP on NetWeaver CE 7.1(trial version) I have a compiled and deployed VC model - it is a normal UI. I have created a CO from it and tried to use it in GP as action. But the process never goes to the next s

  • E-Commerce : Download Music

    Dreamweaver 8 Mac OSX I'm looking to add a paypal account to a client's website. He wants to be able to have customers download music for a fee. Any recommendations on how I should handle the downloading part of this? or is this something I need to t

  • I'm trying to rent a movie on iTunes but when I press rent it shuts off

    I'm trying to rent a movie but when I pres rent it shuts off does this mean I have no room left on my iPad