Searching a Datasource

Hello,
Does anyone know the most efficent way to search a datasource for a specific value? Is there a way to do this w/o iterating through the entire datasource? I am using BC4J/JSP.
Thanks,
Dusty

The view object contains two calculated fields, a "owner" and a "name". I want to search the view object for a specific name.
Thank,
Dusty Gronso Dusty:
If your 'name' attr is calculatable at the SQL level, you can set the where-clause of the ViewObject to filter rows with the specific name.
Take a look at oracle.jbo.ViewObject's setWhereClause() method.
If 'name' does not come from database and purely transient thing, you would have to enumerate through the collection and find a match in memory.
Thanks.
Sung

Similar Messages

  • Datasource or Cube for GL wise customer wise sales report

    Hi BI Masters,
    I am using Bi. 7.0, there is requirement for Sales report i.e.  'GL wise customer wise Sales Report '. For this i am searching standard  datasource or cube which can help to develop the desire report. i shall appreciate all of you if you can share your experience in this type of requirement.
    With Best Regards & Thanks
    Kamal Purohit
    INDIA

    Hi,
    Check the following datasource in ECC in RSA5.
    0FI_GL_10                         General Ledger: Leading Ledger Balances
    0FI_GL_11                         General Ledger: Balances of Leading Ledger via Line Items
    0FI_GL_12                         General Ledger: Balances of Leading Ledger via Delta Queue
    0FI_GL_2                          General ledger: Transaction figures - Cost of sales ledger
    0FI_GL_4                          General Ledger: Line Items with Delta Extraction
    0FI_GL_6                          General Ledger Sales Figures via Delta Extraction
    0FI_GL_7                          General Ledger Cost of Sales Ledger via Delta Extraction
    0FI_GL_8                          General Ledger: Statistical Key Figures
    0FI_TX_4                          Taxes: Line Items by Means of Delta Extraction
    Thanks
    Reddy

  • Question regarding as Datasource

    Dear experts,
    I have another question. If I create a datasource in COPA in R/3, shall I create lots of other Master data datasource in R/3?
    For exemple, if i already have Article in the datasource from COPA. Should I still create another datasource for Article from LO-IS?
    Thanks!

    You must known at least the fields you are intersted in load to BW in order to search a datasource that contain them.....if you dont know the module you ned to extract you must search for help from a analyst that works on that module...when you find a datasource that contain ALL the fields you need you can use that...if doesn´t have ALL but only a few are missing.....you could try to enhace the datasource....if you can´t find a datasource with most of the fields you are interested in.... you can create a Z datasource and create an extractor for this.....
    I hope this helps you
    Regards

  • Unable to find 0CB_WT_TEXT Datasource in R/3 source system.

    Hi Experts,
    I am unable to find 0CB_WT_TEXT(Workbook / Template Text) Data source in RSA5 and RSA6.
    i need to pull the data into 0CB_WT infoobject.
    Its very urgent, please help me to find the datasource in R/3.
    Regards,
    Raj

    Hi,
    Just place the cursor on SAP folder and press the + button.
    Then once done try to search the datasource as mentioned above.If it is still not available check in BW system as well and not in R/3..It is shown as BI content as
    DataSource Type
    Texts (Master Data)
    Application Components
    0BCT_CB_IO
    Available as from OLTP Release
    BI Content 3.5.2 Add-On
    Delivery with
    BI Content 3.5.2 Add-On
    Thanks and regards
    Kiran

  • Datasource connection in Weblogic server using JDeveloper

    Hi,
    I am using JDeveloper 11g Release 2 (11.1.2.1.0) and WebLogic Server Version: 10.3.5.0.
    We have a project (ant build.xml) with some Application Modules.
    In JDeveloper we did the following to create a connection to datasource in the WebLogic:
    1- Created an Application Server Connection (called ActivityModuleConnection) testing this gives success so we have connection to WebLogic.
    2- Created a database connection (called ActivityModuleCore) and test goes well here as well.
    3- In WebLogic Server created a datasource (called jdbc/ActivityModuleCordeDS).
    And here are the bc4j.xcfg file that we have:
    <AppModuleConfig DeployPlatform="EjbWls" oracle.jbo.usemds="false" jbo.pers.max.active.nodes="-1" oracle.adfm.usemds="false" name="J2EEDS" ApplicationName="dv.framework.activity.model.ActivityModule">
    <Security AppModuleJndiName="dv.framework.activity.model.ActivityModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/VeraActivityModuleCoreDS" AppServerConnectionName="ActivityModuleConnection"/>
    </AppModuleConfig>
    <ConnectionDefinition name="ActivityModuleConnection">
    <Entry value="7002" name="JMX_CONNECTOR_SSL_PORT"/>
    <Entry value="WebLogic_10.x" name="ConnectionType"/>
    <Entry value="weblogic" name="user"/>
    <Entry value="base_domain" name="weblogic.domain"/>
    <Entry value="localhost" name="JMX_CONNECTOR_HOST"/>
    <Entry value="false" name="USE_SSL"/>
    <Entry value="7001" name="JMX_CONNECTOR_PORT"/>
    <SecureEntry name="password">
    <XXXXXXXX>
    </SecureEntry>
    <Entry name="DeployPassword" value="true"/>
    </ConnectionDefinition>
    </BC4JConfig>
    But when running the application it seems that it can not find the datasource:
    oracle.jbo.ConfigException: JBO-33003: The connection file ActivityModuleConnection has not been defined.
    at oracle.jbo.client.Configuration.initializeFromConnectionName(Configuration.java:1255)
    at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:648)
    at oracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:605)
    at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:332)
    Could you help please? what am I doing wrong here?
    I also tried with
    JDBCDataSource="jdbc/VeraActivityModuleCoreDS" but no luck.
    Best Regards
    Keyvan

    Hi Johan and thanks for comments,
    Now I made some changes and it looks like :
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig xmlns="http://xmlns.oracle.com/bc4j/configuration" version="11.1">
    <AppModuleConfigBag ApplicationName="dv.framework.activity.model.ActivityModule">
    <AppModuleConfig name="J2EEDS" DeployPlatform="LOCAL" jbo.pers.max.active.nodes="-1" java.naming.factory.initial="oracle.jbo.common.JboInitialContextFactory" ApplicationName="dv.framework.activity.model.ActivityModule" oracle.jbo.usemds="false" oracle.adfm.usemds="false">
    <Security AppModuleJndiName="dv.framework.activity.model.ActivityModule"/>
    <Custom JDBCDataSource="jdbc/VeraActivityModuleCoreDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    </BC4JConfig>
    But the error message is:
    oracle.jbo.DMLException: JBO-27200: JNDI-fel. couldn't search for datasource in the context jdbc/VeraActivityModuleCoreDS
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1476)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:332)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:592)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:422)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8995)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4603)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2533)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2343)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3242)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
    Best Regards
    Keyvan
    Edited by: 916815 on 2012-mar-24 08:55

  • Use naming datasource in WebStart application

    Hello!
    I created a simple WebStart application with ADF Swing components.(JDeveloper version is 11.1.1.3)
    I deployed this application on Weblogic server (version is 10.3.3).
    But my application works fine, when I use JDBC connection in configuration of my application module.
    When I change type to JDBC DataSource, I get an error: (oracle.jbo.DMLException) JBO-27200: Failure JNDI. Can't execute search of datasource in context hrGlobal
    Where, "hrGlobal" is name of DataSource which is situated on WLS. (This DataSource I created using WLS Console).
    Maybe, there is any help or source code or documentation about this problem, but i could not find such information.
    So, if anyone had met with this problem and can share solution with me, it would be great.
    Thank you for time and answers.
    Regards, Stanislav.

    Hi. Thank you for link. But my problem that this naming DataSource works in ADF Faces application and gives an error in ADF Swing WebStart application. Names in this 2 applications(ADF Faces and ADF Swing) match and i don't use property jbo.server.internal_connection.

  • Short Dump error while loading data from R/3 to ODS

    Hello,
    while trying to load data into the ODS from R/3 I get the following short dump error message. How do I carry out step 1 in the below procedure. Where do i find the Activate Function. And idea?
    Thanks,
    SD
                                                                                    Diagnosis                                                                               
    Form routine CONVERT_ITAB_RFC is incorrect in transfer program         
         GP4C0LOLZ6OQ70V8JR365GWNW3K .                                                                               
    System Response                                                                               
    The IDoc processing was terminated and indicated as incorrect. The IDoc
         can be reimported at any time.                                                                               
    Procedure                                                                               
    1.  Go to the transfer rule maintenance for your InfoSource               
             ZFIN_TR_FLQITEM_FI and the source system DA_M_10 and regenerate the   
             transfer program using the function Activate. Remove possible syntax  
             errors on the basis of your conversion routines.                                                                               
    2.  Restart the processing of this IDoc.                                                                               
    3. If the error occurs again search for SAPNet R/3 notes, and create a 
            problem message if necessary.
    Edited by: Sebastian D'Souza on Jan 13, 2009 3:22 PM

    Hi.......
    Goto RSA1>> then to source system tab (on left side) >>  double click on the desired source system...........Then on the right side you have the Datasource tree..........there search the datasource and activate.......Also u can Replicate the datasource again.......and activate the Transfer rules using the program : RS_TRANSTRU_ACTIVATE_ALL
    After this operation when come back to source system (R/3).........I think  the error log line will be disappeared from SM58......... Then repeat the load.........
    Also u can try to Activate the infosource once...........in RSA1.........before repeating the load....
    Hope this helps......
    Regards,
    Debjani....

  • What are the CRM Trasaction data Data Sources and Data load Procedure

    Hi BI Gurus,
    Does anybody provide the CRM Transaction data DataSources names and Load procedure into BI7.0
    I know the master Data load procedure from CRM to BI7.0.
    if you provide Step-by-Step documents it is more help.
    Thanks in Advance,
    Venkat

    Hi Venkat
    In order to find the transactions want you can login the CRM system and then use the transaction RSA6. There you can expand all the subtrees by left clicking on the first line and then clicking expand the further left button. After that you can easily search any datasource you may want
    Hope that helps
    Rgds
    John

  • CUP 5.3 SP8 - Authentication Source/User Details Source question

    Hello,
    Here is another issue I'm noticing with CUP.
    Currently we have it configured as such:
    Authentication Source: LDAP
    Search Data Sourec: SAPHR
    User Details Data Source: SAPHR
    When a Requestor logs in to create a request for themself, Requestor Username and Email are correctly populated under the Requestor section of the request screen. This Username and Email match identically from SAPHR; and it should, as that is what we have defined as our User Data Source
    When a Requestor logs in to create a request for another user, Requestor Username and Email are populated differently under the Requestor section of the request screen; this information in this case appears to be coming from LDAP. This does not seem correct to me. LDAP is only defined as the Authentication Source, not the User Data Source.
    1) Why would the Requestor section populate differently when creating a request for yourself vs. another user?
    2) Is this a bug in CUP?
    3) Has anyone else noticed this or found a fix?
    Thanks!!
    Jes

    We are on the same SP level and are configured similarly but don't see this issue. 
    Data Source - LDAP
    Search - SAP
    Datasource - Multiple (SAPHR, SAP(BI), LDAP, SAP(SRM))
    Also, our LDAP does not carry the email address (yet).
    When I create a new request for someone else, all the information is filled in correctly from our SAPHR system, if they are in HR, or from our BI system if they are not in HR but are in BI.  However, since we don't carry e-mail address in our LDAP system yet, the requestor e-mail field is left blank and I have to manually fill it in.  (We do plan on changing this).
    Hope this helps,
    Peggy

  • SD Field

    Hi All,
    in SD reporting we got one issue, which is below mentaioned objects
    0NOQUOT_REJ-Number of rejected quotation items
    0NETVALQUOT-Order value from quotation
    we need what is the R/3 fields names and tables for above objects
    Regards,
    Malli

    Hi,
    In BI system, through RSOSFIELDMAP get the R/3 fieldname which is mapped with these infoobjects for your datasource.
    If the datasource is LO datasource, go to LBWE. Search your datasource and click on maintenance. here you will find the field names like MCVBAK VBELN for your datasource. Here, ignore the first 2 characters and VBAK is table name VBELN is field name.
    If its a generic datasource, go to RSO2 and get the details regarding the table from there.

  • Char NUMC(5) - need to store value at database level without leading Zeros.

    Hi All
    We have 0Mat_Item like infoobjects in SAP BI, which have data type Char NUMC(5). Here if u load value '1', it would show us '1' at front end (BI or reporting level) but at database level stores as u201800001u2019.
    My requirement is to store this value without leading zeros at database level. I wrote code in transformation u201Cshift u2026 left deleting leading u20180u2019 u201C & could load the data into New data table and at database level as I was getting result without leading zero. But once I activate the request, it gives SID generation error u201CValue '1' of characteristic 0ME_XCHRATE is not a number with 000009 spaces.u201D
    How to solve this issue so that I could store u20181u2019 value instead of u201800001u2019 value in the database & could able to activate in DSO.
    Thanks....

    Hi.....
    System may be storing the data in that way to maintain consistency.
    Alpha conversion is used to store data consistently. It does this by storing numeric values prefixed with 0s Eg. If you have defined a material as length 6 (of type Numc) then material number 1 is stored as 000001 but displayed as 1; this removes inconsistencies between 01 vs. 001.
    U can add the conversion routine for this Infoobject in either below way...
    In the BW side...in the Datasource Level
    In the datasource >> Go to fields tab >> there search the R/3 field which is mapped to that Infoobject in the Transformation >> Then in the Conv.Routine column select the Alpha Conversion Routine and In the Format column select External....
    In the Transformation
    Write a field level routine for that particular field abd call the Alpha conversion routine there...
    In the R/3 side
    In the Customer exit ....Go to SE37 >> EXIT_SAPLRSAP_001 >> Double click on ZXRSAU01 >> search the datasource......write the code there....
    Hope below link helps you.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7108a690-0201-0010-4cbc-9bca94f9ad9c?quicklink=index&overridelayout=true
    Regards,
    Vinay.
    Edited by: Vinay Joshi on Mar 10, 2011 4:54 AM

  • Types of Update method clarifications!

    Hi  All
      I understood and read all the threads regard to update types.
    But Stll not cleared.Pls clarify me as they are simple one.
    1. When datasource is DELTA Capable, can it be changed or also used as FULL UPDATE? how?
    2. When we re-initialize, I see there is an option of "Transfer with data" and Transfer without Data". May I know in what scenario we apply the above two options.. and Why?
    3. How to know whether  delta is working or not in R/3. ? Also how to check the DELTA created fro STD Datasource?
    When a datasource is delta enable, so all changes and new records are fetched onlly through RSA7, right? Can we see that in RSA3 extractor with update mode FULL, is it possible? when do we check with update mode DELTA and other options in RSA3?? becoz I see the use of RSA3 is only at start point or the last end point which is your last delta..nothing else//
    MAy be useful for FULL UPDATE not really useful for DELTA?? is my understanding right???
    4.When your PSA is Delta, your DTP nowadays used as DELTA, how DTP fetches only DELTA??? As it has no table like new, change table. How it understands to fetch DELTA alone..? Does it really working ?
    5.When PSA is FULL update, naturally what is point in using DELTA n DTP? how it works?
    6.When do we go for FULL REPAIR request and steps for it and WHY?
    Thanks for your efforts and time.

    HI
    1. When datasource is DELTA Capable, can it be changed or also used as FULL UPDATE? how?
    Even thought the data source is delta capable you can always do the full upload. Ex - 0MATERIAL_ATTR, 0CUSTOMER_ATTR
    2. When we re-initialize, I see there is an option of "Transfer with data" and Transfer without Data". May I know in what scenario we apply the above two options.. and Why?
    By default its always "Transfer with data". Most of the cases transfer without data is used for error fixing. Ex: By mistake you have deleted few sales order from your target using selective deletion. Now you want to reload that data. So for this you need to fill up the setup table for those orders and do the repair full load. After this you need to restore the delta. So to restore, you need to run init infopakcage without data transfer. This is put the timestamp on RSA7
    3. How to know whether delta is working or not in R/3. ? Also how to check the DELTA created fro STD Datasource?
    Extract the init infopackage, then in the source system add a record. Then in bi run the delta infopack.
    Goto RSA6, search the datasource and double click, there is a check box called Delta update. If this is ticked it means its delta enabled.
    When a datasource is delta enable, so all changes and new records are fetched onlly through RSA7, right? Can we see that in RSA3 extractor with update mode FULL, is it possible? when do we check with update mode DELTA and other options in RSA3?? becoz I see the use of RSA3 is only at start point or the last end point which is your last delta..nothing else//
    MAy be useful for FULL UPDATE not really useful for DELTA?? is my understanding right???
    You can check delta mode is rsa3 by selecting update type u201CDu201D only if there is active delta init. Only where there is data in the setup tables you can check with full update. Otherwise it will say 0 Records extracted.
    Most of the cases it is used to see if the extractor is working fine or enhancement are working fine.
    4.When your PSA is Delta, your DTP nowadays used as DELTA, how DTP fetches only DELTA??? As it has no table like new, change table. How it understands to fetch DELTA alone..? Does it really working ?
    PSA is never a delta. It is the datasource which is delta. DTP will pickup all the requests that have not been loaded into the target using the delta. DTP is from PSA to target not from source (ECC) to target providers.
    Ex: data loaded from ECC to bi psa ---REQ 1
    Run the DTP, DTP will pick REQ1
    Nextday
    ECC to BI ---REQ2..
    Run the DTP, DTP will pick ONLY REQ2
    Delete entire data from Cube and Run the delta DTP, DTP will pick up REQ 1 and REQ 2
    Thanks
    Srikanth

  • Business Content and Data Sources automatic binding

    Hi,
    I am not clear about the Data Sources and Business Content sync.
    If I transfer the datasources in SBIW(RSA5)  and replicate in BW, how it will automatically bind to the infosources and data targets when we activate the relevant infoobjects in BW Business content. As part of Business content activation, will it search for datasources and bind to it automatically? What steps are needed in order to make the everything hooked up correctly?
    Can anyone clarify to me how it works? Please explain step-by-step.
    Thanks.

    Is there any addiotional things we need to do at info source level after activating the content? Selecting the correct data source etc.
    If there is a enhancement to the extraction structure then what all steps manually  we need to do at info source level? When we replicate the data source which has been enhanced, will it create the infoobjects automatically so that they can be used in infosource communication structure?
    As I am new to the system, I am running in to all these questions.
    Appreciate any help in step by step how things will work.
    Thanks.

  • RSA1 issue after system refresh

    Hello all,
    I am not sure if this is the right forum for my issue but i will give it a  try. Here is my situtation:
    we recently refreshed our SDX sandbox apo system from DEV. No other systems in the group were refreshed , target systems or others were not refreshed in parallel. As a post refresh step, just like in BW, I had to go to RSA1> right click on the source sytem (pointing to old logical name DEVBI)> and then restore. So now, the new Sources sytem for SCM is supposed to be  Sandbox BI (SBI) which is fine ,and the source system connection is also working good. But when we perform search for SBI datasources in RSA1 .it display 2 entries for the same datasource..one with SBI source system (which is correct) and another one with old source sytem (DBI, which is incorrect).. So we see the duplicate entries for the same datasource with 2 logical system names (old+new). Also, we are unable to replicate datasources for the SBI source system, it says DBI source sytem does not exist. I am not sure why this DBI source system's logical still there. Can anyone please share if they have ran into similiar issues? if so How can i get rid of this old logcial names from RSA1 from datasources ,that is DBI.
    BTW, RABASIDOC and RSLOGSYSDEST table entries are showing correctly. Again, BW is the source system here.
    Thanks,

    Durgesh,
    Thanks for your suggestion. Actually I did run BDLS and didnt manually create the source system in RSA1. I just had to restore the existing one and everything went fine, the source sytem checks good. But the issue still exist. The old Source system Logical name (DEV BI) still shows when searching for datasources in RSA1, so the search result displays the same datasource entry twice one associated with old Source system LSN (DEV BW in this case) and another one asscociated with the correct Source system logical name. And when we try to replicate datasources it gives error "DEV BI source system does not exist". I checked all related tables  such as RSBASIDOC..and its showing correctly.
    Can anyone please suggest why there the old source system logical name is still coming up? and how can this be resolved? Thanks.

  • Loading bulk data into an ODS

    Hi,
    I've to extract big volume of data (millions of records) into an ODS. But the problem is, I cannot give selections in the infopackage as there are no fields in data selection tab.
    If I extract all the data, then ods activation would definately fail. Is there any of doing this?
    Many Thx.

    I think that with Siggi's post you can have another version of the same suggestion and maybe you are better understanding..
    anyway, if you want to split your load in several steps (in order to avoid a unique request with a lot of records) go to RSA6, search your datasource, check 'selection' column for a certail field, activate, replicate source system and then you will find your field available for selection in IP !
    But I suggested also to check why you have an activation error, since it's not a normal situation: you can easily load one million record in the active table of your ODS...investigate about the reason and try to remove the cause !
    Hope now is clearer...
    Bye,
    Roberto

Maybe you are looking for

  • List View in library mode

    Please add a list view option, to display thumbnail and text information(metadata) on the right... this is a more readable way when we are looking for metadata on all the images at the same time (like aperture Does)

  • My iPod Touch 5th generation battery drains extremely fast.

    I have a iPod Touch 5th generation, with iOS 8.0.2 and the battery life goes down in less than 15 minutes. I have experienced this since I first bought it, which was 10 months ago. My brother and sister just bought the same iPod as me but in differen

  • Spry validation textfield widget

    I've followed the lynda.com tutorial online here & added the widget to my page in DWCS4. I can preview the various states in the properties bar but it is not working when I save the page & preview in my browser (or live view). My page is a php file -

  • Server0 stooped when I try to start the system...

    Hi gurus, I don´t know what´s happen when I try to start the system and the Java side don´t start, it stay in MMC console with yellow semaphore at disp+work.EXE and when I look inside of J2EE Process Table in the same console the server0 is stopped a

  • Error in EJB on Visual Age 3.5

    Hi, Why Visual Age for Java 3.5 throws this exception in my EJB Entity: "EJBException not handle" I don't understand because on Forte is correct. Piece of Code: catch (SQLException sqle) { throw new EJBException (sqle); Please help me. Thanks in adva