LOOKUP not retreiving data

Hi,
I have a lookup function not retreiving any information. If a create a report in my application called "Rates" and use the same selection as in my LOOKUP function I can see a number, but for some reason it retreives a zero.
In my REC statement i divide by LOOKUP(PRC). If I exclude the division the number from "A11100" is moved. Is there somehow I can see/check (or...) what the LOOKUP is querying out?
*XDIM_MEMBERSET CATEGORY=BUDGET
*XDIM_MEMBERSET CUSTOMER=P01
*XDIM_MEMBERSET DATASOURCE=UPLOAD
*XDIM_MEMBERSET PRODUCT=P101
*XDIM_MEMBERSET PROFITCENTER=H111
*XDIM_MEMBERSET RPTCURRENCY=LC
*XDIM_MEMBERSET TIME = 2009.JAN
*XDIM_MEMBERSET MEASURES=PERIODIC
*LOOKUP Rates
*DIM PRC:PRate_Acct = "PR10000"
*DIM PRC:PRate_Entity = "GLOBAL"
*DIM PRC:Product = "P101"
*DIM PRC:Time = "2009.JAN"
*DIM PRC:Category = "BUDGET"
*DIM PRC:MEASURES = "PERIODIC"
*ENDLOOKUP
*WHEN ACCOUNT
*IS "A11100"
*REC(EXPRESSION=%VALUE%/LOOKUP(PRC),ACCOUNT="A90100")
*ENDWHEN

Hi,
Problem solved. Writing all dimension ID in capital letters solved the problem:-)
/Lars

Similar Messages

  • Views Not Retreiving Data Immediately

    I am inserting 2,000 rows in a table and doing a commit! When retreiving the information through a view, it takes approx. 15 seconds before the committed rows are displayed.
    Any ideas why this is happenning. I did not know that Views could cache information.

    Hi Mario,
    check the execution plan of the query that compese the view.
    May be that the plan choosen to retrieve the records is not the best.
    Bye Max
    null

  • LOV not retreiving data

    Hi,
    i have a LOV which needs to show the data based on data in another field. When i open the page all the fields are defaulted, but my lov doesnt work, it works when i change the data in the other field, But after that whenever i come back to the screen it works fine. Somewhere the session variable is not setting properly. this error happens only when i login first time.
    please help

    Hi,
    That happens because the fields don't have a session value.
    When you change a value you're probably sending a submit request and all the fields are set with the default values.
    Maybe you can add a default value to you lov. A workaround would be creating a plsql page process to initialize session values.
    Hope that helps. Regards,
    Paulo Vale
    http://apex-notes.blogspot.com

  • Select not retreiving data

    Hello All,
    I have a question regarding select statement.
    Here is the select code
    SELECT belnr
           perio
           wkgbtr
           wogbtr
           objnr
           gjahr
           wrttp
           vrgng
           parob
           parob1
           uspob
           bukrs
           owaer
    FROM  coep
    INTO CORRESPONDING FIELDS OF TABLE gt_coep_recv
    WHERE  perio IN s_perio
    AND    gjahr IN s_gjahr
    AND    bukrs IN s_bukrs
    AND    kstar LIKE '001124%'
    AND    objnr LIKE 'LKIRST%'
    AND    parob LIKE 'LKIRSTP%STCC%'
    AND    wrttp = '11'
    AND    vrgng = 'RKL'.
    This select return a sy-subrc value of 4 when executed. But when I go the COEP table and try to select data basing on the same conditions, I am able to retrieve data.
    Any idea why?
    Thanks,
    Amy

    HI,
    its difficult to suggest some thing in this scenerio but.. one advice try commenting the like part and see if it is working if it works try adding like for one field at a time and check ..
    SELECT belnr
    perio
    wkgbtr
    wogbtr
    objnr
    gjahr
    wrttp
    vrgng
    parob
    parob1
    uspob
    bukrs
    owaer
    FROM coep
    INTO CORRESPONDING FIELDS OF TABLE gt_coep_recv
    WHERE perio IN s_perio
    AND gjahr IN s_gjahr
    AND bukrs IN s_bukrs
    AND kstar LIKE '001124%'
    AND objnr LIKE 'LKIRST%'
    <b>AND parob LIKE 'LKIRSTP%STCC%' " I doubt this is the problem</b>
    AND wrttp = '11'
    AND vrgng = 'RKL'.
    Thanks
    mahesh

  • Unable to retreive data from Lotus Notes Database

    Hi there,
    I have problems to connect to a view in Lotus notes via Lotus Notes SQL Driver.  The following message appear when trying to retreive data via WebI
    Database error: [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC failed. Contact your Business Objects administrator or database supplier for more information. (Error: WIS 10901)
    I also tried via Desktop Intelligence and I got this error:
    Exception: DBD, [Lotus][ODBC Lotus Notes]Column not found - ActualApproverState: S0022
    Environment:
    - Lotus Notes Client 8.5
    - Lotus Notes SQL Driver 8.50.2009.317
    - BOE Professional XI R2 SP2
    I test connection in the Universe and it's working fine.
    thanks,
    Ricardo

    Hi,
    If you are trying to access the tables from a different user other than the user who created the table, then you have to enable the "Require fully qualified table names " check box. This check box will be available when you right click the "Datasource name".
    Here is an example:
    Lets assume Table1 is created by user1. If u try to access the Table1 using user2, you cannot access directly. Instead you need to access like "user1.table1".
    Hope this resolves ur issue.
    Regards,
    Arul

  • How to retreive data from a maintainence view?

    Hi all,
    I have used select query to retreive data from a maintainence view. But it gave me a syntactical error that XYZ is not in abap dictionary , it's a database / projection view?
    So can't we get data from a view using select query?
    Please share if u have answers.
    Thanks & regards,
    Chandru

    Hi,
    Maintenance view will be created for database tables only.
    Just display the maintainence from SE11 and click Tables tab in the screen
    Here you can find the list of tables used to created for Maintainence view.
    YOu can use these tables to write SELECT.
    If you give us the maintainence table, we will help you.
    Thanks,
    Ramakrishna

  • Retreive data from wa structure into fields.

    Hi friends,
                I am having a query regarding classical report.I want to retreive data for vendor billwise realisation report.I am getting few fields into my list screen(fields from bsis table).Remaining fields i want to retreive from table bseg(augdt,augbl....)with the condition that the belnr of both the tables should be same and Account type = 'k'(vendors).
    I tried it using select queries for the bsis and bseg..but data is retreived only from one table bsis and not from bseg.so for data from bseg i used workarea(wa).data is retreived for only single doc no. and not for other documents.
       If any problem in understanding this pls give me the mail id i will send in detail.
    Thanks and regards,     
    Anand.

    Hi Anand,
    You should not use Workarea, if you are exepecting N number of records. Please use internal table.
    SELECT * FROM BSIS
        into table i_bsis
         where ....
    if not i_bsis[] is initial.
    sort i_bsis by belnr.
    SELECT * FROM BSEG
    into table i_bseg
    for all entries in i_bsis
    where belnr = i_bsis-belnr.
    endif.
    Best regards,
    Prashant

  • My Icloud is tuck on my old email adress. i can not retreive the password becaue when i request the email it doent get sent to thi adress. how can i change it sothat my icloud is on my new email. i cant login or out of icloud now.

    My Icloud is tuck on my old email adress. i can not retreive the password becaue when i request the email it doent get sent to thi adress. how can i change it sothat my icloud is on my new email. i cant login or out of icloud now.

    To change the iCloud ID on your phone you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone, then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • Error while retreiving data from oracle using EJB.

    HII All,
    I m getting this error while trying to retreive data from oracle DB using EJB.
    An error has occurred. Maybe the request is not accepted by the server:
    Exception in method empName.
    HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/6.40
    Content-Type: text/xml; charset=UTF-8
    Set-Cookie: <value is hidden>
    Date: Mon, 24 Jul 2006 10:50:11 GMT
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>Exception in method empName.</faultstring><detail><ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException xmlns:ns1='http://sap-j2ee-engine/client-runtime-error'>Exception in method empName.</ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
    Thanks in advance
    Devendra Phate.

    Hi Devendra,
    this error message does not tell me much. Pleas either start debugging or watch your logs for more detailed messages.
    Regards,
    Benny

  • Using DBLINK in ABAP to retreive data from externam system

    Hi All,
    Please help me, if anyone knows the answer.
    The basis team has created a dblink 'DBL_TEST.YY.XXX.COM'.
    Now I have to fetch data from another non-sap external system using this dblink only. Cannot have any entry in DBCON.
    I know the procedure of retreiving data using DBCON entry. But since DBCON will not be used here, so I have to use the DBLINK to get data from an external oracle table (say, ZTEST).
    I need the procedure to implement the logic in abap program.
    Thanks in advance,
    Ipsita

    My problem is now solved. We created views @the database level, and fetched data using the database view in Native SQL.
    In case anybody needs to do, I am giving a short code dump;
        TRY.
            EXEC SQL PERFORMING f_loop_output.
              select alias_type_id,
                     name,
                     molecule_id
              into   :w_tab
              from   ext.V_XXXX
              where molecule_id in
               (Select mh.MOLECULE_ID
                from  ext.V_YYYY mh, ext.V_XXXX al
                where  mh.molecule_id   = al.molecule_id
                and    mh.IS_CURRENT    = 'Y'
                and    al.ALIAS_TYPE_ID = :c_type_id
                and    al.NAME                  = :l_number
              and ALIAS_TYPE_ID in ('AAA','B','CCCC')
            ENDEXEC.
          CATCH cx_sy_native_sql_error INTO l_check_rs.
            l_text  = l_check_rs->get_text( ).
            MESSAGE i005 WITH l_text.
            LEAVE LIST-PROCESSING.
        ENDTRY.

  • Could not retreive download information in App Store via Wi-Fi!

    I have a very very critical problem about downloading stuffs in App Store! The detail is when I open App Store, after loading stuffs, it said: "Could not retreive download informations, please connect to iTune." I don't care about the message, so I continue anyway. After entering my account informations, the second problem
    appeared, there's another message said: "To ensure the secure connection, please check your setting in Date & Time." some like that. It's okay, I configured the setting, but after that, it showed me the same message. So I have no idea about what happening. Because this is not work, so I follow the first recommandation: connect to iTune. But it also not work. Is there have any relations in these 3 problem? Now I feel lose and I need some help!!!

    Are you accessing the App Store on iPod Touch or iTunes?? maybe you should try the other.

  • LOOKUP and retreiving values

    I need to retreive some data from an other application with a logic.
    Pour une logique je vais avoir besoin de rechercher des données dans
    une autre application. J'air echerché des trucs sur SDN et sur la Doc
    mais les exemples ne sont pas tres clairs. Voila mon problème :
    Here is the example :
    The logic is called in the application COGS
    The data to retreive are in application SALES
    SALES has one dimension more than COGS : it's CHANNEL. I need to retreive data only from CHANNEL="D12V_COMMON".
    I need to retrive data only from the dimension Time = 2020.JAN
    Here is my Code
    *LOOKUP SALES
    *DIM CHANNEL="D12V_COMMON"
    *ENDLOOKUP
    *WHEN LOOKUP(SALES)
    *IS <> 0
    *WHEN TIME
    *IS 2020.JAN
    *REC()
    *ENDWHEN
    *ENDWHEN
    *COMMIT
    The logic doesn't trough any error but it doesn't retrieve any data either.
    Can you the errors ?
    Do you have some full example of logic that retreive data from one application ?
    Do you have some link for documentation? I found only example of Rate but i can fit them to my issue.
    Best regards
    Damien

    The log file; does it indicate that you have values from your LOOKUP process?  You might try to add more parameters to the the LOOKUP, that you have in the scope of the send process. The trick is to make sure that the matches occur at the Account as well.  So if there is a specific account to lookup, you need that as well in the logic, or lookup or both. 
    Once you can see that it has data in a set, then the Script must be able to match a scope from the send to the lookup set.  If the lookup app has 1 more dimension than the script app, then you may need another lookup variable to create a match.

  • Workflow for BO BUS1001006 not retreiving plantu2666

    Hi Experts,
    I have activated a workflow for material creation using BO BUS1001006 .
    It works fine , but the problem is it does not give me the plant details.
    My requirement is that i have to send the plant of the material created /changed.
    hope you offer quick solutions.
    <THREAD LOCKED. Duplicate of [Workflow for BO BUS1001006 not retreiving plant]. Please do not duplicate posts, read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] for further info>
    Edited by: Mike Pokraka on Jan 28, 2009 7:33 AM

    Hi Martina,
    If you have done that then you are almost on the verge of completion!
    Follow this binding procedure between the task container and the method container and get the results.
    In the BO method, add an output parameter that would store the plant detail.
    Now create a data element in the method code of the same type as plant detail type.
    Then use swc_set_element to store the value of the plant detail in the output parameter.
    In the workflow task, create an output parameter of the same type as the BO method output parameter.
    In the binding between the task container and the method container fetch the value of plant details from method container to task container element.
    Now pass this parameter to the workflow container and use in the send mail step in the mail text.
    Make sure to save and generate the BO after doing all the changes.
    Regards,
    Saumya

  • I upgraded my macbookpro hard drive to 1 TB then migrated my files from time machine. I'm now locked out of the computer because the password is not the same as my usual one and one that was years old and not retreivable. How do I work around this?

    I upgraded my macbookpro hard drive to 1 TB then migrated my files from time machine. I'm now locked out of the computer because the password is not the same as my usual one and one that was years old and not retreivable. How do I work around this?

    Whether or not you are able to recover the data off the drive yourself will depend on if the drive suffered any impact damage in the crash. You can buy USB SATA or IDE adapters (Intel and almost all G5 use SATA) that will let you connect your hard drive to a computer (like a flash drive) to see if you can recover the data. If the drive has suffered physical damage if may not mount.
    If you know someone who has one of these adapters you could try using theirs, otherwise you could buy one but you take the risk of the data on the drive being non recoverable. Regardless, both are much cheaper than $1699!
    (Alternatively, if you know of someone with a Mac Pro or PowerMac G5 they may be able to install the drive in their machine and try to boot from or mount it and copy the data off.)

  • SSRS 2008 Column Chart with Calculated Series (moving average) "formula error - there are not enough data points for the period" error

    I have a simple column chart grouping on 1 value on the category axis.  For simplicity's sake, we are plotting $ amounts grouping by Month on the category axis.  I right click on the data series and choose "Add calculated series...".  I choose moving average.  I want to move the average over at least 2 periods.
    When I run the report, I get the error "Formula error - there are not enough data points for the period".  The way the report is, I never have a guaranteed number of categories (there could be one or there could be 5).  When there is 2 or more, the chart renders fine, however, when there is only 1 value, instead of suppressing the moving average line, I get that error and the chart shows nothing.
    I don't think this is entirely acceptable for our end users.  At a minimum, I would think the moving average line would be suppressed instead of hiding the entire chart.  Does anyone know of any workarounds or do I have to enter another ms. connect bug/design consideration.
    Thank you,
    Dan

    I was having the same error while trying to plot a moving average across 7 days. The work around I found was rather simple.
    If you right click your report in the solution explorer and select "View Code" it will give you the underlying XML of the report. Find the entry for the value of your calculated series and enter a formula to dynamically create your periods.
    <ChartFormulaParameter Name="Period">
                      <Value>=IIf(Count(Fields!Calls.Value) >= 7 ,7, (Count(Fields!Calls.Value)))</Value>
    </ChartFormulaParameter>
    What I'm doing here is getting the row count of records returned in the chart. If the returned rows are greater than or equal to 7 (The amount of days I want the average) it will set the points to 7. If not, it will set the number to the amount of returned rows. So far this has worked great. I'm probably going to add more code to handle no records returned although in my case that shouldn't happen but, you never know.
    A side note:
    If you open the calculated series properties in the designer, you will notice the number of periods is set to "0". If you change this it will overwrite your custom formula in the XML.

Maybe you are looking for

  • X2-01 problem

    I downloaded opera mini for my phone and started downloading games from the opera store I played one of them When i exited it my phone shut down Now when i turn it on the tmobile or nokia image doesn't show up just a lil blue question mark I cant acc

  • ICM_HTTP_CONNECTION_FAILED during step 6.1 Select SLD in Solman_setup

    Hallo, Our landscape is not complicated, it consists of 3 product systems (2 abap and 1 only java system) and 3 test systems (2 abap and 1 only java system) and Solution Manager in one destination. we upgrade Solution Manager 7.0 EHP1 to 7.1 SPS3. Af

  • ISE portal guest on second interface

    Good morning, I have configured my switch and ISE with this template https://supportforums.cisco.com/docs/DOC-18325 But i want the portal to second interface, if i change the advance attributes with the address https://ip(second interface):8443/guest

  • Since I installed IOS 5 and the iCloud, where do my videos go...

    Since I recently installed IOS 5.0.1, I have set up the iCloud...  I cannot locate my photos or videos on my iPhone any longer, though I can see my photos on my wireless desktop in the download folder...  Why can't I see them on my iPhone and where a

  • Clearing ejb cache

    I'm using weblogic application server 7.0 sp5 with some ejb entity bean in exclusive mode. I'm looking for a way to refresh my ejb entity cache without redelploy my ejb.jar or restart my server. Is there a way to do that dynamically ? I'm suprised th