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

*

Similar Messages

  • 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

    *

  • SAP BO Data Services XI 3.2 - Cannot Handle Multithreaded RFC Connection?

    Hi Guys,
    Just want to ask for your inputs if Data Services cannot handle multiple RFC connection request to BW system?
    The scenario is:
    There is one BODI job using RFC connection and trigger the 2nd job at the same time and it happen that the 2nd job failed.
    Current version of SAP BO Data Services XI 3.2 that we are using is 12.2.2.1
    Thanks in advance,
    Randell

    Arpan,
    One way to get to the multiprovider data is to use Open Hub with a DTP that gets the data from the multiprovider and exposes it as an open hub destination to Data Services. With Data Services XI 3.2 we now fully support Open Hub where Data Services will (1) start the process chain to load the data (2) read the data when process chain ended and (3) notify Open Hub when done so that the data can be purged again.
    More info on Open Hub here : http://help.sap.com/saphelp_nw04/helpdata/en/1e/c4463c6796e61ce10000000a114084/content.htm
    But I will also look into the why we show the multiproviders when browsing the metadata, but get an error when trying to extract using the ABAP method (not via Open Hub). You could be right in your assumptions below and we might just need to hide the multiproviders when browsing metadata.
    Thanks,
    Ben.
    Edited by: Ben Hofmans on Jan 5, 2010 6:06 PM - added link to Open Hub documentation which references multiproviders as possible source.

  • Advice on Promoting Master Data Services Changes from one environment to another, e.g. DEV to UAT

    Hi,
    Has anyone got experience of creating a script to promote Master Data Services changes from one environment to another, e.g. Development to Production please?
    The changes basically consist of adding several new MDS members which can be accessed via Excel.
    Thanks in advance,
    Kind Regards,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

    In MDS terminology an Entity is metadata, and Entity Members are the data. 
    Typically changes to an Entity (ie model design changes) are promoted to different environments.  Model design changes can be replicated manually in each environment or you can Export the model and Import it into the target environment.
    Adding, editing and deleting entity members is performed directly in each environment.
    If you want to selectively import data from a Dev environment, you can use staging.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • How to Load External Data to SAP BPC using SAP BO Data Services

    Hi,
    We want to load data from an external MS SQL Server DB to SAP Business Planning and Consolidation (BPC 7.5 Netweaver version) using SAP BO Data Services 4.0 as ETL. What is the best way to load data to SAP BPC using Data Services?
    Thanks

    Hello Devi,
    There are three ways you can load Master Data in BPC
    1) Copy and paste.
    Download master data in flat file .Copy the  master data and paste in members of dimension after that process the dimension.
    2) Using SISS Pakage - load Flat File into BPC-Cube
    3) Using SQL Command.
    Thanks.
    With regards,
    Anand Kumar

  • DR on SAP BusinessObjects Data Services

    Hi Experts,
    Greetings.
    We are planning to implement the DR setup for Business Objects Data services. It would be helpful if you could share us step perform the DR on SAP business objects Data services.
    Regards
    Sebastian A

    Hi,
    Data Services Repositories are usually hosted in databases. This means the DR recovery options setup for the database server that hosts the Data Services will protect the code held in the repositories for DR purposes.
    As far as setup is concerned, you can take a point-in-time image of the data services app server, jobserver and configurations so that it can be used for DR purposes.
    This is only high level. But you can use this as the base to discuss disaster recovery options with your infrastructure counterpart defining the DR recovery options.
    kind regards
    Raghu

  • SAP BI - Data Services connection

    Hello
    I am trying to set up SAP BI - Data Services connection.
    Couple of questions :
    1. Where from within the SAP can I get SAP gateway hostname and SAP gateway service name
    2. I have a developer right on BW. Is it enough to make connection with my user id?
    3. connection to BW is via client security portal. Does it change the approach?
    Thanks

    Hi,
    1. Where from within the SAP can I get SAP gateway hostname and SAP gateway service name
    From the sapgui.
    2. I have a developer right on BW. Is it enough to make connection with my user id?
    Yes
    3. connection to BW is via client security portal. Does it change the approach?
    What does that means? you need a user and password in BW (ABAP).
    As suggested by Andrei, read the wiki. It has all you need to make it work.
    Hope this helps.
    Cheers,
    Diego

  • Connect SAP BO Data Services to Azure Blob Storage

    Hi,
    I want to connect SAP BO Data service to Azure Blob Storage. Is there a way to achieve this?
    Thanks,

    Hi Anton,
    As of now, it is not possible for SAP BO Data Services to connect with Azure Blob Storage. However, you may put down your requirement in Azure Feedback, so that concerned development team can get it done in near future.
    http://feedback.azure.com/forums/34192--general-feedback
    Regards,
    Manu Rekhar

  • SAP to Data Services System (Business Objects)

    Hi,
    Currently there is an RFC connection between Data Services and R/3 which exchange three idocs. Each idoc has an volume of 30k per day.
    As we are trying to introduce PI as central broker, will it be recommended to bring PI into the scope thinking on the performance head.
    As this would be simple idoc to idoc conversion, let me know the things that will help to reduce the performance overhead.
    Also should i be using RFC adapter between PI and Data Services.
    Also since the licensing model is based on CPU, what effect will it bring with these three interfaces?
    Is there any other connectivity that we can try apart from simple RFC

    Hi,
    >>>Do you mean to say with dual stack, Idoc adapter is available both in ABAP as well JAVA.
    yes you can use any of the two
    but if you want to use ICO you can only use IDOC_AAE (java stack idoc adapter)
    >>>I thought idoc adapter would present in Java stack when you go for java stand alone installation only.
    no, with dual you also get it
    >>>>That would solve my volume issues. What is the best way to find the size of an idoc?
    send it via PI or easier and without PI - send it to an XML port (but this will give you the XML idoc size)
    Regards,
    Michal Krawczyk

  • SAP BO Data Services Repository Login error

    Hi All,
    I am a new SAP data services 4.0 user. I am getting following error while connecting to the repository while starting the designer.
    ERROR: ODBC call <SQLDriverConnect> for data source <SERVERNAME> failed. <[Microsoft][ODBC SQL Server Driver][DBNETLIB] SSL security error>. Notify customer support. (BODI - 1112172)
    However, it worked just fine initially and suddenly started throwing the above error.
    Kindly help.
    Regards,
    Developer

    I did manual registration of BODATAVIEW.ocx . Its working fine now.

  • If i buy a Unlocked iphone 4s and use it in another country will it work with the countrys data Services that are local

    If i buy a Unlocked iphone 4s and use it in another country, will it work with the countrys Local data Services

    hi guys,
    i recently bought a new iphone 4s factory unlocked. in order to avoid sim failures and invalid sim errors or No service errors, Each phone has to be unlocked by connecting it to the Itunes.
    Kindly follow the below steps to avoid any SIM card conflicts
    iPhone FULL Unlock - How it Works:
    -Connect your iphone to itunes without any network sim inside and when connected click on the iphones name.
    - Click Restore install latest version of iTunes on your Pc or Mac or click check for updates
    - Let itunes Backup your phone and then Flash to the Latest Version.
    - Now disconnect phone and reconnect after 10 seconds.
    - Now Enter another network simcard that's not the same network its locked on to
    - Connect phone to iTunes with not accepted (not valid) simcard
    - Wait until iTunes detects the phone
    - iTunes will display (Congratulations, Your iPhone is now unlocked)
    - Phone Unlocked
    - just follow the instructions about activating the Iphone.
    and iphone is unlocked
    NOTE : This is the only FULL LIFE TIME UNLOCK solution for Apple iPhone as the IMEI is registered as UNLOCKED in Apple database.
    This solution should be used ONLY THOSE WHO BOUGHT FACTORY UNLOCKED iPHONE 4S.
    Your phone will always be unlocked even after each new update of your phone firmware !
    All reasons given like bad IMEI series, manufacturing defects etc blah blah are not logical as everything was tested before every sale.

  • Data service in area is extremely slow and often unusable.

    My phone lately has been showing 1x rather than 3G in this area most times (area code 76380).  I have an iPhone 5 and have reset network connections multiple times.  I had this problem when I first got my phone last year and was told by Verizon that there was a problem with a tower and that LTE service would be in this area before the end of 2013.  This never happened.  Can someone please check the service in this area?  I have other friends and coworkers that are complaining about their service as well.  Thanks.

    I have been having the exact same problems as AndriesClaes. Basically, Safari in Yosemite is unusable, spending minutes trying to open simple web pages. It is unbelievable this bug wasn't picked up before release. Having migrated to Mac from Windows NT nearly 10 years ago, each release of the Mac OS is reminding more and more of the joys of Windows in the good old days!! Even the interface is becoming as garish and distasteful as Windows! Perhaps I'll end up back there again. Anyway, I have been through all suggested solutions on the forum here and the ONLY trick that worked was switching to version 7.1 (User Agent) from the Developer options on the menu bar. There is clearly something very wrong with version 8.0. I prefer Safari over all other browsers, for the Reading List amongst other things. Please fix ASAP!

  • Extracting Data from SAP ERP using BODI/Data Services 4.0

    HI,
    I am trying to extract data from SAP ERP via SAP extractors using BODI/Data Services 4.0.
    I do not have my own ERP system so I am renting remote access from one of the many available on the internet.
    I am able to connect BODI to the ERP system and import the extractors metadata.
    The problem I am experiencing is that when I run job to extract the data I get the following error:
    Vendor-supplied function module <Z_AW_RFC_READ_EXTRACTOR> not found. Ensure that you can execute the function module in SAP via transaction /nSE37.
    How do I create the function? Or is the function a SAP standard function?
    SAP ERP system being used is: ECC6 EHP4
    User has SAP FULL and DEVELOPER authorizations.
    Any assistance would be appreciated.

    You might have better luck in the (somewhat misnamed) [Data Integration and Data Quality Management|Data Services and Data Quality; forum:
    This forum is dedicated to topics related to SAP BusinessObjects Data Services (Data Integrator, Data Quality Management, Text Data Processing), SAP BusinessObjects Information Steward (Metadata Management, Data Insight), SAP BusinessObjects Rapid Marts and SAP BusinessObjects Data Federator.
    (emphasis added)
    Regards,
    Sean

  • How to do integration between Oracle 11g and SAP Data services

    HI All,
              i want to load data from Oracle 11g data base to some other data bases. we have installed oracle 11g server in one machine and Data services server in one machine.we installed oracle 11g client in data services server machine . i created data store for oracle and when i was executing job i got the following error.
    how to resolve this issue. do i need to do any configuration between two servers (Oracle 11g and data services), and do i need create ODBC for oracle in data services machine.
    if any one know the solution please help me out ASAP.
    Thanks,
    Ramana

    Hi,
    we installed oracle client "win64_11gR2_client" version on DS Server.
    but i need the steps after installing oracle client tool. meaning integration between those two servers(Oracle and DS Server).and what are the variable create on DS Server and paths for variable and how to create ODBC for Oracle on DS Server.
    Thanks,
    Ramana

  • SAP Data Services available as part of learning hub

    Notice that SAP Data Services classes are available on SAP Learning Hub Free Courses Overview. Did you see the word FREE?

    Hi Terry,
    Not exactly but you can use BODS script to call all function and procedure from SQL.
    Regards
    M Ramesh

Maybe you are looking for