Advanced Scrambling

Hello, I have been implementing several scrambling rules, some of them of some complexity. There is one that I can't seem to acomplish:
In PA0185 we have a field ICNUM that when it's ICTYP = '11' it tells us the original (first) PERNR of the employee.
In our system an employee can have several PERNR wich correspond to a job inside the Public sector.
So in PA0185 we can have something like this:                       
So after scrambling it should look something like this:
So far I can't seem to establish this relation, even with abap, because I only have access to a row at a time, for example:
In this case (in the 4th row), I have no way of knowing that the original PERNR of this employee will be 9, because it will only be scrambled in the 5th row, and by that time, I will no longer be able to update the 4th row, at least not that I know, so far.
Can anyone help me please?
Thank you.

The official documentation only mentions structure GD_ORIGINAL with the currently processed row that can be used in customer includes.
If I understand correctly, you need to look ahead in the original data, or rather look back in the already scrambled data, which might be stored in tables like GT_ORIGINAL or GT_CONVERTED (just guesses after a quick code scan).
Sounds like a complex case that you could open an SMP message in CA-TDM-SCR for.
If you happen to know the LSMW, there it is possible to tamper with data other than the currently processed row once you understand how the frame program works.
Thomas

Similar Messages

  • Serial No. comes scrambled

    I have got the following query :
    select
    htmldb_item.display_and_save(1, rownum) "Sr. No.",
    htmldb_item.display_and_save(2, emp_name) "Emp Name",
    htmldb_item.display_and_save(3, dept_id) "Dept No.",
    from emp_master
    where (emp_name like :P158_EMP_NAME or :P158_EMP_NAME is null)
    and (dept_id like :P158_DEPT_ID or :P158_DEPT_ID is null)
    and ((emp_f_er = 'Y' or emp_f_ig = 'Y') or :P158_ERROR = 2)
    and (to_date(emp_fl_ts) between :p158_from and :p158_to or :p158_from is null)
    and (bpclpb_f_a like :p158_active or :p158_active like '3' or :p158_active is null)
    order by emp_name, dept_id
    The problem with the above query is that the Serail Number (ROWNUM) values come scrambled.
    It works fine in oracle sqlplus.. but am not able to understand the problem over here.
    Thnx in advance
    Ameya

    Because as far as I know, first the records are
    fetched in a sorted order and then the
    rownum values are assigned.Thats why the inline view is used for Top-N queries. Order by gets applied last. So it can only be safely used after the entire set it ordered.
    You can also use analytics which I like a lot better - it would save you from having to do the inline view on normal occassions (i dont think it would work with htmldb_item directly)
    Untested btw
    SELECT htmldb_item.display_and_save(1, rnum) "Sr. No.",
           htmldb_item.display_and_save(2, emp_name) "Emp Name",
           htmldb_item.display_and_save(3, dept_id) "Dept No.",
      FROM (SELECT emp_name,
                   dept_id,
                   emp_f_er,
                   emp_f_ig,
                   bpclpb_f_a,
                   row_number() over(ORDER BY emp_name, dept_id) rnum
              FROM emp_master) emp
    WHERE (emp_name LIKE :P158_EMP_NAME OR :P158_EMP_NAME IS NULL) AND
           (dept_id LIKE :P158_DEPT_ID OR :P158_DEPT_ID IS NULL) AND
           ((emp_f_er = 'Y' OR emp_f_ig = 'Y') OR :P158_ERROR = 2) AND
           (to_date(emp_fl_ts) BETWEEN :p158_from AND :p158_to OR
           :p158_from IS NULL) AND
           (bpclpb_f_a LIKE :p158_active OR :p158_active LIKE '3' OR
           :p158_active IS NULL)
    ORDER BY emp_name,
              dept_id

  • Bridge CS4 - pdf scrambled previews on pages after page 1

    I have a set of pdf files from InDesign that have multiple pages. On these files, the first page displays fine, but on subsequent pages the preview is scrambled and I detect some overall display glitchiness while Bridge is showing me a scrambled preview.
    I understand Adobe's hooking into OpenGL hardware acceleration, so I checked preferences in Bridge CS4 for acceleration settings. I checked the "use software rendering" option in the Advanced settings, restarted Bridge and the problem disappears.
    I'm running an ATI FireGL 3400 card with the latest driver on an XP Pro machine. Not all multiple page pdfs show the problem. The files with the scrambled previews are banner layouts and several letter size page layouts display multiple page previews normally. I'd be happy to provide Adobe support with a file (under 2MB) for testing. So far Photoshop appears to be happy with OpenGL acceleration enabled - except that I get messages that I don't have enough ram to run more than two image windows accelerated with my hardware.

    I don't have CS4 but in CS3 I could get the same results as "use software rendering" as when I clicked on "restore down" (middle symbol in upper rt corner of windows screen) even though I enlarged the window to full screen.
    In maximize window mode I had several problems with the preview without software rendering, and knew my video card was weak point. I know this is not the same issue but does not cost anything to try it. Don't know why it worked either.

  • Scrambled font output in Final Cut Pro 5.0.4

    Hi all,
    I'm using Final Cut Pro 5.0.4 in Mac OS 10.4.3 on a 2005 Dual 2.7 Ghz G5 with 1.5 Ghz of RAM.
    When I use certain fonts (for example, Apple's Hoefler Text) in any of FCP 5's text filters, the text appears scrambled. Either the material appears in the wrong font (I think it's Apple's "LastResort" font) or it's the symbol/dingbat version of the font. The scrambled output obeys my commands about italic, bold etc. but it's still the wrong font. With other fonts, the correct font is not selected from within the font "family"; I'll choose "Roman" and get italic and then chose "italic" and get an artificially bent-over "false" italic that's obviously the italic font canted to one side.
    I've tried fixing permissions, switching to different versions of the Apple fonts (from previous system install discs), deleting FCP's preferences, deleting FCP's multiple font caches. Nothing works. The same fonts look fine in TextEdit and other applications.
    Thanks in advance for any help!

    Reconnect the offline media and life should be good.
    Still, the best solution is for everyone involved with the project to be using the same version of FCP/Color.
    x

  • Can TDMS Call a Custom Algorithm (via RFC) to Scramble a Value?

    Hi,
    Background: Our SAP is one of many systems in an integrated environment. We are looking at scrambling data across all systems for testing purposes. The implication is that if we scramble a field in a non-SAP system using a specific scrambling algorithm (provided by a non-SAP test data management tool) and that field also exists in the SAP system, then the same scrambling algorithm must be used in SAP as well.
    Question: Does anyone know or have tried calling a low level scrambling algorithm (via RFC call) to scramble the value of a field? This scrambling algorithm is a C library routine. The vendor said they can wrap it into an RFC call.
    Thank you in advance for any insights you can provide.
    Luke Lau
    IS Solutions Leader
    Insurance Corporation of British Columbia

    As far as I know calling an RFC from TDMS workbench is the same as calling an RFC from any abap program so as long as the destination is configured you shouldn't have any problems.
    Check here:
    http://help.sap.com/saphelp_nw04/helpdata/en/22/042537488911d189490000e829fbbd/content.htm
    Bruno

  • Excel charset issue. Scrambled output.

    I faced this issue many times, but whenever the issue recurs, I end up with no clue of what's going wrong.
    Trying to dump data to an excel file:
                        iResponse.setHeader("application/vnd.ms-excel; charset=UTF-8", "content-type");
                        iResponse.setHeader("attachment; filename = \"" + reportFileName() + "\" ", "content-disposition");
                        iResponse.setContentEncoding("UTF-8");
                        iResponse.setContent(fileData());
    The excel file contains international languages scrambled (e.g. Chinese). I tried bigendian as charset, but still the output is scrambled.
    I checked the response using firebug, my output data is fine.
    Can anybody throw some pointers on this issue.
    Thanks in advance,
    Senthil

    reviving.

  • Problem with scrambling rules

    Good afternoon, I have a problem with the conversion rules, when I transfer the employee does not take into account any of the scrambling rules, those made by me and with the rules that I copied by CNV_TDMS_HCM_SCRAM transaction. I understand that this conversion is performed in the task to prepare data transfer. Someone can give me an idea that I may fail to do. Somebody has documentation of Scrambling rules? Thanks in advance.
    Manuel Campos

    Thank you, when I execute the program wherever Phase or activity ID that I select, for example PC001_RULES_MAINTAIN
    It shows me this:
    Rules for packege 90042
    Rule Name                     Status         Active
    CNV_MBT_BOP             red              check
    INITIAL                           red             check
    MOVE                            red             check
    01_RVNUM_CK_DGT      red             check
    99_HR_PEVAL2              red             check
    99_PD_SEQ_NR             red             check
    ADDR_SCRAM1             green          check
    SAMP_SCR_DOM          red             check
    SAMP_SCR_FIELD        green          check
    In your package appear something like this?
    I used transaction CNV_TDMS_HCM_SCRAM to prepare and maintain customizing for
    scrambling at project or subproject level. And I made this:
    To use the SAP template, choose Copy from other Project. You can now copy a scramble
    definition. To copy the SAP template, input the following:
    Pack ID: TDHSC
    Project: *
    Subproject: *
    Process Type: R
    Select the "Get from client 000" checkbox .
    You can use a description prefix, for example SAP_, to easily identify elements. For
    example, if you use this prefix and the name of a scramble group in the template is
    HCM_DE_01, then after the copy the name is SAP_HCM_DE_01. This is useful for copying
    in add-on mode into an existing project, because it helps you to determine what was new
    from this copy.
    Then I tried to use this scrambling rules copied, but They doesn´t work.
    Thanks a lot for your help

  • Text gets scrambled for a few seconds

    The text on a webpage appears a bit scrambled and compressed for a few seconds every now and then. It's really disturbing when you try to read. It only started happening very recently.

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/

  • TIF images scrambled and error when opening NEF file

    Hello,
    Not sure what happened, but when I open .tif images in CS5 the display screambled.
    When I open the NEF image adn hen press the Open Imge button in Camera Raw 6.6 dialog, sometimes I get the following error message and other times the image opens but it also scrambled like the image above.
    Is this Camera Raw issue? I have 6.6 which is the latest.
    The NEF and TIF images display correctly in Lightroom 3.5.
    Thanks

    The issue was definatly with OpenGL. However, when I upgraded the driver the problem did not go away. Plus the there was no option to turn off OpenGL in the graphic card it self. What I did is, I opened Preferences -> Performance in Photoshop and unchecked Enable OpenGL Drawings box which located above the "Advance Settings" button. After that the images displayed correctly.

  • Quicktime Scrambled

    Hi
    Recently all the quicktime file I've open are not playing correctly.
    They all seem to be 'Scrambled'. I've tried reinstalling to the lastest version but still no success.
    Anybody have any ideas what the problem could be?
    Thanks

    Open the QuickTime Control Panel and click the Advanced tab.
    Under "Video" switch from DirectX to Safe mode.
    Quit and relaunch QuickTime Player and try the file again.
    You may also need to update your video card drivers.

  • System audio gets scrambled please help.

    Hi,
    I was rendering one sequence and exported using quicktime (no quicktime conversion settings), as I needed to add the chapter marker on it.
    I exported it as reference file (Full file gave me problem with the fade out at the end of the video).
    When playing it back on quicktime, I heard the audio produced delay and then started to get scrambled, like the end of Mr. Self Destruct from Nine Inch Nails. check on youtube to hear what i mean.
    but my sequence exported from final cut was only composed by a stereo soft music and spoken stereo track.
    I did lots of cuts on this footage works fairly well on the video side (ACVHD 1080p) but both spoken audio (still in mov) and aiff file need rendering. I did only one fade in fade out effects, music audio has -8 decibel.
    Those are all the changes i did.
    Scratches files are on usb external hard drive. big one. User Settings is AVCHD 30fps (29,97).
    Audio is 48khz 24bit.
    But among all the sequences (15) I exported just this one gave me problem. It is even one of the shortest ones.
    Another problem is that when I play the sequence on Final Cut the audio stops at the same point all the time
    (1 minute and 10), and also this time the whole system audio (itunes quicktime volume up and down) starts popping and mute completely until I reboot ! And then again when I play it from the timeline same problem,
    although I do some modifications to re render the audio.
    I uninstalled fcp and reinstalled it.
    I trashed the preferences.
    I removed audio hijack and the hijack.ape from input managers folder.
    I reset the Pram.
    I set all the settings for low/faster performance.
    I closed all the application to free Ram.
    I trashed all the render files on all locations (internal HD and external).
    I moved out Audio and video Plugins, to make fcp light.
    But no luck.
    Please note that at the time of this problem happened, I wasn't installing nor changing anything,
    As I was busy in exporting the whole 15 sequences from the same project. I joined some sequences but not this problematic one.
    I am on a macbook aluminum 2.0 4 gb ram.
    My External HD has 3 partions, 2 Mac and 1 Win Formatted.
    Privileges are ok.
    I looked throughout the forum but I couldn't see anything.
    thanks in advance.

    Thanks for the reply and tip. Can't remember what happened with fade out, I think simply didn't apply and it re looped the last frames.
    I "solved" the problem by making a new sequence and partially remaking it from scratch.
    Then i vaguely copied and pasted from old sequence as copying and paste the whole sequence content onto the new sequence didn't work either !
    However this popping noise already happened to me before.
    Then, when I was able to join all sequences on a sane quicktime mov, iDVD cut off the audio at one point, I re-exported the video_ts and again iDVD at the same point cut off the audio. I checked the quicktime mov tracks and everything was fine, I also started the iDVD project from scratch as when iDVD tells you that he can update the file for you, he then messes up all the time the Chapters as he simply can't handle this function (aka bug !). I mean it's been a nightmare, still is.
    However this iDVD bug is another topic, I would like to keep this post open as it the initial problem has no official solution yet. Could be also useful to somebody else, and also, I am very curious what's the cause, and if it can be fixed properly and faster. If it could happen to me again I don't want to play with timeline.
    Thanks again for your reply.

  • Iphone scrambling iphoto folders

    Hi;
    I have and iPhone 3G 4.2.1. When syncing iphoto albums from my mac to the phone the pictures end up in random albums on the phone. I have run Library repair on the mac and every thing is fine at that end. It's just when the pics get transferred to the phone some end up in the wrong album. I 've tried deleting all the albums on the phone re-syncing with no pictures then reselecting the albums desired and resyncing again but everything is still scrambled. Does anyone have any ideas. I've been reading about deleting the ipod? photocache and will try this; Where is it located?
    Thanks in advance for any help.
    Dave

    I deleted the ipod photo cache and photos on iphone and resynced. That fixed problem
    Dave

  • Images are scrambled, glitching showing up in bits in the scrollbar

    Having a lot of problems with images, when I go from one window to the other pictures will have scrambled with each other. Sometimes an image will scramble itself just by dragging the cursor over it
    Other things that happen are on youtube when I open the page a lot of the thumbnails will be the same and on the wrong video and when I go over it with my cursor they'll change to the right one.
    Another thing is sometimes the images will be in my scroll bar and toolbars all scrambled up.
    I've already reset firefox, deleted cookies, cleared cache, updated flash and java.
    This all seems to have started when firefox updated for me which was about two days go.

    You can try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    You need to close and restart Firefox after toggling this setting.
    *https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • HP Laserjet 4250 - While Printing PDFs with Watermark, Prints images as scrambled

    Hi,
    I am using HP Laserjet 4250 printer. While Printing PDFs with Watermark, the printer prints images as scrambled. It prints the part of the image as scrambled which is overlapped by the Watermark. The other part of the image is printed fine. When seen on the screen, it shows up the image with the watermark properly. Could you please suggest how to arrive at a solution for this problem. Thanks in advance.

    Hi @Sebastian43 
    I suspect your question would be better answered in the HP Enterprise Business Community,  as the HP LaserJet 6L is a commercial model.
    My technical expertise is with consumer products and software, I am sure the commercial folks would be happy to help if you re-post your question for them to answer. The HP Enterprise Business Community is an HP Forum designed for the Commercial and Enterprise customers to help one another. I am sure you will find some HP folks there to help too.
    Click here to view the Printing and Digital Imaging.  When the page opens you will see the option to 'Log in' or 'Register Now' on the right. The commercial forums are separate from the consumer boards, thus you will need to register if you don't already have a commercial account.
    You may find the HP LaserJet 6Lse Printer support page helpful while you wait for somebody in the commercial Forum to respond to your inquiry.
    Best of luck.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Scrambled QT video on my PC... immediate help requested....

    Ive never had a problem with QT movies on my PC before, but for some reason every single .mov file I open is now scrambled or encoded and all I get is square chunks... with good audio. BUT... when I transfer them to my Mac G5, they play back just fine... and that is with the standard Quicktime version.
    I have Windows XP and I've had Quicktime Pro for a few years now with no difficulties... I have old and new .mov files on my hard drive that I have been playing on my PC with absolutely no problems, but all of a sudden... SCRAMBLE CITY BABY! Ive gone through some troubleshooting basics... like updating QT and directx...but to no avail.
    I consider myself somewhat technically savvy, as I am a graphics and program editor on both Macs and PCs. But this problem has got me scratching my head... I can usually solve these issues through these forums, but I cant seem to find the answer for my particular problem.
    Any immediate help would be very much appreciated... thanks!!

    Sounds like a graphics card driver or similar issues.
    Try this:
    Open the QuickTime Control Panel and click the advanced tab. Place a check mark (under the Video settings) for "Safe Mode" and try the file again. A quit and restart of QuickTime Player may be required.
    If "safe mode" works you may need to update your "driver" software before trying the "DirectX" features.

Maybe you are looking for