Comparing Bit Sequences - O - Bits are One

Hi Gurus,
I need an info on Comparing Bit Sequences, for example O operator - Bits are One.
An ABAP code piece from Include LBZFCF01; Form BMASKE_TO_FTAB looks like this:
  IF <b> O hex01. ftab-inp = on. ENDIF.
  IF <b> O hex02. ftab-req = on. ENDIF.
  IF <b> O hex04. ftab-out = on. ENDIF.
  IF <b> O hex08. ftab-act = on. ENDIF.
  IF <b> O hex16. ftab-int = on. ENDIF.
  IF <b> O hex32. ftab-inv = on. ENDIF.
Now I would like to know; whether this is bit wise equivalent XOR operation.
II need to do the similar comparison in SAP BO Data services.
Please help.
Best Regards, Murugesh

*

Similar Messages

  • SAP BO Data Services - Bits Are One - O - f O hex operator

    Hi Gurus,
    I need to implement the Bits Are One - 'O' Bit Sequence Comparison opertor in SAP BO Data Services. The equivalent in SAP ABAP would look like:
      IF <b> O hex01. ftab-inp = on. ENDIF.
      IF <b> O hex02. ftab-req = on. ENDIF.
      IF <b> O hex04. ftab-out = on. ENDIF.
      IF <b> O hex08. ftab-act = on. ENDIF.
      IF <b> O hex16. ftab-int = on. ENDIF.
      IF <b> O hex32. ftab-inv = on. ENDIF.
    I need to know how I implement this in SAP BO data services. Please help.
    The ABAP help for the same is as follows:
    Comparing Bit Sequences 
    Use the following three operators to compare the bit sequence of the first operand with that of the second:
    <operator>     Meaning
    O     bits are one
    Z     bits are zero
    M     bits are mixed
    The second operand must have type X. The comparison takes place over the length of the second operand. The first operand is not converted to type X.
    The function of the operators is as follows:
    O (bits are one)
    The logical expression
    <f> O <hex>
    is true if the bit positions that are 1 in <hex>, are also 1 in <f>. In terms of set operations with bit sequences, this comparison is the same as finding out whether the set represented by <hex> is a subset of that represented by <f>.
    Z (bits are zero)
    The logical expression
    <f> Z <hex>
    is true if the bit positions that are 1 in <hex>, are 0 in <f>.
    M (bits are mixed)
    The logical expression
    <f> M <hex>
    is true if from the bit positions that are 1 in <hex>, at least one is 1 and one is 0 in <f>.
    Caution: The following programs are no longer supported in Unicode systems:
    REPORT demo_log_expr_bits .
    DATA: text(1) TYPE c VALUE 'C',
          hex(1) TYPE x,
          i TYPE i.
    hex = 0.
    DO 256 TIMES.
      i = hex.
      IF text O hex.
        WRITE: / hex, i.
      ENDIF.
      hex = hex + 1.
    ENDDO.
    The output is as follows:
    00          0
    01          1
    02          2
    03          3
    40         64
    41         65
    42         66
    43         67
    Here, the bit structure of the character 'C' is compared to all hexadecimal numbers HEX between '00' and 'FF' (255 in the decimal system), using the operator O. The decimal value of HEX is determined by using the automatic type conversion during the assignment of HEX to I. If the comparison is true, the hexadecimal number and its decimal value are displayed on the screen. The following table shows the bit sequences of the numbers:
    hexadecimal     decimal     Bit sequences
    00     0     00000000
    01     1     00000001
    02     2     00000010
    03     3     00000011
    40     64     01000000
    41     65     01000001
    42     66     01000010
    43     67     01000011
    The bit sequence of the character 'C' is defined for the current hardware platform by its ASCII code number 67. The numbers that occur in the list display are those in which the same bit position is filled with 1 as in the bit sequence of u2018Cu2019. The sequence 01000011 is the universal set of the bit sequences.
    Best Regards, Murugesh

    *

  • What is this and how do you fix it. ATS: Invalid FontObjectID (4) - only low 16 bits are being passed in.

    Trying to Launch my new typestyler 11 or my old 10 version. Used to work great. then it would just shoe the splash screen and menu bar for a second and dissapear. the concolse message is the ATS: Invalid FontObjectID (4).
    What does this mean and how do I fix it?

    It's an old post, I know, but I've got this one now:
    ATS: Invalid FontObjectID (3) - only low 16 bits are being passed in.
    It's in my most important app and causing problems.  I worked a lot on this trying to solve it but so far I can't.  I'll take any advice you or anyone might have.
    Thanks.

  • ATS: Invalid FontObjectID (3) - only low 16 bits are being passed in.

    I've got an application that keeps quitting randomly (25 times today) which yields this message in Console:
    ATS: Invalid FontObjectID (3) - only low 16 bits are being passed in.
    I really don't understand the message because I don't know what "FontObjectID (3)"  and "low 16 bits are being passed in" mean. However I cleaned up the Font Book and deleted the Font cache to now avail.
    Any ideas or help?

    Try setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.
    Isolating an issue by using another user account
    If the problem is still there, try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don't do them all at once.
    Safe Mode
    Safe Mode - About

  • How many bits are raw images?

    1. How many bits are images taken from a camera with a proprietary format? Are they 12 bit or 16?
    2. After making adjustments in ACR, do you bring the image into Photoshop at 12 or 16 bits?
    Thanks.

    web.boards wrote:
    1.How many bits does the average point-and-shoot camera capture when shooting jpgs?
    2. How much of a visible difference is there between 12, 14, and 16 bit raw files?
    3. What do you mean by the are "opened into 8 or 16 bit precision based on the Camera Raw preferences"? Does this mean that some of the bits could be thrown away if they are opened with 8 and it was taken with 16 bits?
    Thank you.
    Jeff Schewe has answered the question about bit depth of the raw capture, but one must realize that noise in the image limits the effective bit depth of the capture, since it does not make sense to quantify the signal from the sensor in steps finer than the level of noise in the image. These considerations are discussed in an excellent article by Emil Martinec:
    http://theory.uchicago.edu/~ejm/pix/20d/tests/noise/noise-p3.html#bitdepth
    Some of the newer high end dSLRs offer 14 bit quantization, but the gain in levels is often negligible because of noise. P & S cameras are much noisier than high end dSLRs and their effective bit depth in terms of the number of actual levels that can be perceived in the rendered image is open to question. There is a loss of levels when one goes from a linear raw space to a gamma encoded space such as Adobe RGB. Bruce Lindbloom's levels calculator can calculate this loss. The reader should try a few values with the calculator using the bit depth of the camera and a gamma of one and a gamma of 2.2 for the aRGB. With Photoshop, use a bit depth of 8 or 15, since Adobe uses a bit depth of 8 or 15 in Photoshop, effectively halving the number of levels over what could be obtained with full 16 bit output. However, for current cameras, this is of no significance.
    http://www.brucelindbloom.com/

  • Separating 16 bits of data into one 12 bit and one 4 bit channel

    I have 16 bits of binary data and i'm trying to split these into one 12 bit and one 4 bit channel. I know that I could use something like:
    Dim Channel1 : Set Channel1 = Block.Channels.Add("Channel1", eI16)
    Channel1.Formatter.Bitmask = 4,095 'xxxx 1111 1111 1111
    but, i'm not sure how to grab those 4 bits out of the 16 bit channel1 and make channel2. It's like i almost need to say something like:
    Dim Channel2 : Set Channel2 = Block.Channels.Add("Channel2", eI16)
    Channel2 = Channel1.Formatter.Bitmask = 61,440 '1111 xxxx xxxx xxxx
    Can anyone help out???? thanks.

    OK...This is still straightforward. Her is what you want to do :
    CurrPos = File.Position ' remember where the block starts
    Set Block = File.GetBinaryBlock()
    ' set up all channels which can be read directly
    Dim Channel1 : Set Channel1 = Block.Channels.Add("Channel1", eU16)
    Dim Channel2 : Set Channel2 = Block.Channels.Add("Channel2", eByte)
    Dim ChannelPH : Set ChannelPH = Block.Channels.Add("Dummy", eU16) ' just a placeholder
    Dim Channel5 : Set Channel5 = Block.Channels.Add("Channel5", eU16)
    Dim Channel6 : Set Channel6 = Block.Channels.Add("Channel6", eByte)
    ' Now we need a block which has one channel only. This channel will be used to extract the bits.
    ' The block needs to start where the third schannel of the above block starts :
    File.Position = CurrPos + 2+1 ' 2 for the U16 channel, 1 for the byte channel
    Set Block = File.GetBinaryBlock()
    ' Set the scan width. This defines the gaps between the values of a channel
    Block.BlockWidth = 2+1+2+2+1 ' U16 + Byte + U16 + U16 + Byte
    Dim Channel3 : Set Channel3 = Block.Channels.Add("Channel3", eU16)
    ' .. apply bitmask and scaling (see my last example)
    ' Do the same for the second channel
    Set Block = File.GetBinaryBlock()
    ' Set the scan width. This defines the gaps between the values of a channel
    Block.BlockWidth = 2+1+2+2+1 ' U16 + Byte + U16 + U16 + Byte
    Dim Channel4 : Set Channel4 = Block.Channels.Add("Channel4", eU16)
    .. apply bitmask and scaling (see my last example)
    Do the same for the second channel
    I hope this works as expected. Let me know if you need more help...
    Andreas

  • HT1846 which edition of windows 32 or 64 bit are supported by macbook pro late 2011

    which edition of windows (32 or 64 bit) are supported by macbook pro late 2011

    I would go so far as to say there is no reason or need for there to even be 32-bit version.
    64-bit has better memory and graphic handling with whatever you have.
    http://www.amazon.com/s/ref=nb_sb_ss_c_1_16?url=search-alias%3Dsoftware&field-ke ywords=windows+7+system+builder&sprefix=windows+7+system%2Caps%2C201

  • Portege M300 - How many bit are supported by LBA

    Hello,
    Does someone know how many bit are supported by LBA? Has it 48 bit?
    I need to know if I can mount a 120GB Hdd against a 160GB for an important upgrade.
    I can't find this information on toshiba site: are there changelog BIOS somewhere?
    Thank you

    Did you mean the general LBA specification or the ATA interface equipped in M300?
    There are two different spec; 28bit and 48bit.
    I think your M300 supports the original design specifications and it provides only 28bit logical block addressing.
    Therefore in my opinion you will be not able to use bigger then 137GB HDDs

  • HT201368 what if I have two different librarys located in different areas , one on OS another on External. How Do I Join Them Two One Massive libary, As Well As Add More Collections To It, Where Can I Also Setup For Industry M-Audio Axiom 61 3rd Gen Contr

    what if I have two different librarys located in different areas , one on OS another on External. How Do I Join Them Two One Massive libary, As Well As Add More Collections To It, Where Can I retain These Extra Librarys?  Also Setup For Industry M-Audio Axiom 61 3rd Gen Controler...?

    >
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7003,127.0.0.1:7103,127.0.0.1:7104
    MatchExpression /app1
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    MatchExpression /app2
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    >
    This configuration is weird little bit. There is MatchExpression /app1 and MatchExpression /app2 and at the same time two <Location /weblogic> sections. Are you sure you understand what that configuration stands for?
    Try something like this ...
    <Location /app1>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    </Location>
    <Location /app2>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    </Location>
    where /app1 and /app2 are contexts of your weblogic applications.
    http://download.oracle.com/docs/cd/E11035_01/wls100/plugins/apache.html
    http://httpd.apache.org/docs/2.0/mod/core.html#location

  • Are One-Off patches client specific?

    Hi
    Are One-Off patches client specific? I have a document which lists the patches applied to Oracle Home on existing server and I have to apply the same patches to a new server that I am building. I searched for all the patches listed but the "one-Off" patch listed cannot be found by the search.
    Please let me know.
    Best regadds

    user130038 wrote:
    Hmm... maybe I should have provided a bit more info.
    The server i am configuring is 10gR2 (client is still using this release and have extended support - so downloading patches should not be a problem). I have to move DBs from existing server to a new one. Before i do that, I have to install exact same binaries (rel and patches) that have been applied to existing server. The document I have been provided contains list of patches applied to oracle home (10.2.0.5). Among the list of patch numbers, this is the only one I could not find.
    The do you have referred to is for 11g not 10g.
    Regards
    then you need to follow Srini's suggestion regarding cloning the oracle home.

  • Finder is not showing correct file in cover flow mode. The files shown in the top panel are one file off.

    finder is not showing correct file in cover flow mode. The files shown in the top panel are one file off.

    This problem occurs after I move a file or files to trash. If I remove one file, then the sequence is one file off, if I move two files to trash then the sequence istwo file off. For example, if I delete file 1 and highlight (click on) file 3, then the cover flow panel shows file 2, when it should show file 3.

  • Sequence contains more than one matching element

    Hi
    I have checked all threads and none answers my issue.
    I am trying to drop a user and am following this blog:
    http://sanderstechnology.com/2013/login-and-user-management-in-sql-azure/12826/#.U46Hh_mSweo
    Below is a series of screen-shots of the issue. Please assist. Thanks, Mark.
    Mark

    Hello,
    Based on your descritpion, you create a SQL database with WEB edition and try to connect to the MASTER database from Windows Azure Management portal. But it is failed with "Sequence contains more than one matching element" occasionally.
    Due to the uncertainty and randomness factors, it requires higher level troubleshooting methods.I suggest you contact Windows Azure support team by creating a support ticket at 
    http://www.windowsazure.com/en-us/support/contact if you recevied this error again.
    As for drop login, it may caused by the premssion. In SQL databae, only server-level principal login (created by the provisioning process) or the credentials of an existing member of the "loginmanager" database role can manage logins. If you are not use
    a server-level principal login, please ask the adminstrator add the login to loginmanager databaserole:
    EXEC sp_addrolemember 'loginmanager', 'login-you-used';
    Reference:http://msdn.microsoft.com/en-us/library/azure/ee336235.aspx
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • Need to compare values in two columns of one table against values in two columns in another table

    Hi, as the title reads, I'm looking for an approach that will allow me to compare values in two columns of one table against values in two columns in another table.
    Say, for instance, here are my tables:
    Table1:
    Server,Login
    ABCDEF,JOHN
    ABCDEF,JANE
    FEDCBA,SEAN
    FEDCBA,SHAWN
    Table2:
    Server,Login
    ABCDEF,JOHN
    ABCDEF,JANE
    FEDCBA,SHAWN
    In comparing the two tables, I'd like my query to report the rows in table1 NOT found in table2. In this case, it'll be the 3rd row of table one:
    Server,Login
    FEDCBA,SEAN
    Thanks.

    create table Table1([Server] varchar(50), Login varchar(50))
    Insert into Table1 values ('ABCDEF','JOHN'),('ABCDEF','JANE'),('FEDCBA','SEAN'),('FEDCBA','SHAWN')
    create table Table2([Server] varchar(50), Login varchar(50))
    Insert into Table2 values ('ABCDEF','JOHN'),('ABCDEF','JANE'), ('FEDCBA','SHAWN')
    select [Server] ,Login from Table1
    Except
    select [Server] ,Login from Table2
    select [Server] ,Login from Table1 t1
    where not exists(Select 1 from Table2 where t1.[Server] = t1.[Server] AND Login=t1.Login)
    drop table Table1,Table2

  • How to compare two strings whether both are equal while ignoring the difference in special characters (example: & vs & and many others)?

    I attempted to compare two strings whether they are equal or not. They should return true if both are equal.
    One string is based on Taxonomy's Term (i.e. Term.Name) whereas other string is based on String object.
    The problem is that both strings which seem equal return false instead of true. Both string values have different special characters though their special characters are & and &
    Snapshot of different design & same symbols:
    Is it due to different culture or language?
    How to compare two strings whether both are equal while ignoring the difference in special characters (& vs &)?

    Hi Jerioon,
    If you have a list of possible ambiguous characters the job is going to be easy and if (& vs &) are the only charracters in concern awesome.
    You can use the below solution.
    Before comparing pass the variables through a replace function to standarize the char set.
    $Var = Replace($Var,"&","&")
    This is going to make sure you don't end up with ambiguous characters failing the comparison and all the char are "&" in this case.
    Similar technique is used to ignore Character Cases 'a' vs. 'A'
    Regards,
    Satyajit
    Please “Vote As Helpful”
    if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

  • How to compare two dates to know which one is greater than oher?

    how to compare two dates to know which one is greater than oher?
    Please search before asking basic questions.
    Edited by: Rob Burbank on Mar 27, 2009 9:26 AM

    Hi,
    If thse to date fields are of same type u can directly compare like this.
    regards,
    Bharat.

Maybe you are looking for

  • Network Drives not waking with computer from sleep after ML install(Wired connection)

    Since installing mountain lion my network drives do not wake with the computer. The drive folders for them are not on the desktop. I have to go through my shared directory and click on the drives again for them to appear back on the main screen. Any

  • Camera Raw 8.5 not updated !

    Since last CC 2014 update Camera Raw is not updated to 8.5 following Adobe Staff demands and explanation i unsintall Adobe Bridge CC , Photoshop CC, Photoshop CC 2014 i uninstalled Creative Cloud Desktop, Adobe Manager ( trashed) deleted AAM pref and

  • Generic Extractor on DB Table without Date, Time stamp

    Hi all, We have requirement of creating a generic extractor on the table which doesnt have date or time stamp in the data field. The only option availabel is to extract from Document numbers. And we cant put the extractor mode to "Read from view" bec

  • Dataguard Active/Active Vs Golden gate in 11i environment

    is there any difference between setting up 11gR2 RAC + Dataguard in Active/Active mode Vs 11gR2 + DG + Golden Gate in 11i environment? Besides, are there any pros and cons in setting up one over another? environment: RH5.x, 11gR2, 2-node RAC, 11.5.10

  • SubscribeNet vs. SAP Support Portal

    Okay, I purchased a new license from TechXtend. They were good about calling me until they got my credit card. Now they are radio silent. Where would I see that new license? I logged into the SAP support portal but I can't figure out where to go or w