Unit Conversion in Info Set Query

Hello Experts
I have create a query on infoset in which I want to show the qty field with the unit conversion factor . but I am not able to do so.
It is giving an error message while saving the query
0Material is not a valid characteristics for Info provider ZINFOSET
Diagnosis
Customer enhancement RSR00002 or the implementation of BAdI RSR_OLAB_BADI delivers 0MATERIAL as the characteristic to be calculated. 1. is, however, not a valid key figure for InfoProvider ZIS_BILL.
System Response
The information from 0MATERIAL is ignored.
Procedure
Check the exit.
Procedure for System Administration
Please help me out
Thanks
Neha

Hi,
You can try unit conversion planning function,create planning function and add it at the back of button.
Can refer to link below:-
Not sure if it can solve your problem.As it also depends upon source and target keyfigure used.
http://help.sap.com/saphelp_nw70/helpdata/en/44/21643cedf8648ee10000000a1553f7/content.htm

Similar Messages

  • Info set query condition

    we have a infoset query to generate a list of parked logistic invoices, we use the same vendor and the same T-code : MIR7 to generate park document, but I can see only the park documents generated by my collegue throgh this info set query.
    I can't see the park documents generated by me throgh this info set query, we are using the same T-code MIR7 and same query.
    why this happen? Is someone set the condition of this query, so i can't see the parked document generate by my self. I can see these parked document(both my collegue and mine) through MIR6

    any idea from query design point of view? thanks

  • Info-set query datasource

    Hi Geeks,
    I have created an infoset query. Based on tables
    VBAK - Sales order header data
    VBAP - Sales order item data
    VBUP - Sales document item status
    VBPA - Parnter function table.
    I created a custom data-source in RSO2 based on this infoset query.
    Now I want to delete tables (VBPA) or entries (VBPA-KUNNR) in field groups from infoset query.
    & system is not allowing me to do this saying
    System says "VBPA-KUNNR" is used in queries.
    Can anybody please suggest me any way to change the infoset & inturn datasource created over it.
    Thanx in advance.
    Monica

    If I correctly understand , you want to remove the filed or table from info set query .
    As data source is based on Infoset query , it  will not allow to change the  same
    You can delete the data source  or if you do not want to delete  just  detach the info set from Data source  by removing the info set name  ( may be you can replace it with another duplicate query name for time being ) and save activate datasource  and later change the info set .
    You can revert back to original info set  query name in data sources after changes are done.

  • Unit Conversion in Input Ready Query

    Hi Experts,
    I need to do unit conversion in Input ready query. here is the requirement.
    I have 3 columns in report, 'Year to Last Month', 'This Month' and 'YTD'. In this, 'This Month' is input ready. and YTD is sum of the first two collumns. I have a variables 'This Month' and 'Unit'. User may enter units either in Litres and HectoLitres. depends on the user input, i should get the values converted to corresponding units.
    currently, if i use Litres, i am able to get the result in Litres, when i select in HectoLitres, i should be able to convert the values in HL. please let me know if this possible and how.
    Thanks in advance!
    Best Regards,
    Ali.

    Hi,
    You can try unit conversion planning function,create planning function and add it at the back of button.
    Can refer to link below:-
    Not sure if it can solve your problem.As it also depends upon source and target keyfigure used.
    http://help.sap.com/saphelp_nw70/helpdata/en/44/21643cedf8648ee10000000a1553f7/content.htm

  • Info set query

    Hello everybody,
    I have a problem with the creation of info set (tcode : sq00 and sq02)
    I need your help, i have to develop a query with a number Purchase Order and number of invoice.
    For example : for a number of invoice : 5105617263
    i have with TOAD (soft) this :
    select distinct ekko.ebeln, rseg.belnr
    from sapsr3.ekko, sapsr3.rseg
    where ekko.ebeln = rseg.ebeln
    and rseg.belnr = '5105617263'
    and ekko.mandt = '350'
    EBELN        BELNR
    4500013374   5105617263
    4500014267   5105617263
    I've tried to have the same result with an info set (sq02) and i have this :
    Purchase Order           Invoice
    4500013374               5105617263
    4500013374               5105617263
    4500013374               5105617263
    4500014267               5105617263
    4500014267               5105617263
    4500014267               5105617263
    4500014267               5105617263
    I dont know to develop in ABAP and i want to know if it's possible to have DISTINCT in an info set ?
    Or which table can i use to have this ?
    Thank you very much

    thanks for your answers.
    <br>
    I tried to create a z programm with tcode SE38 but i dont have the key.
    <br>
    I would like to know if i can write this code on the tcode sq02 ?
    <br>
    this is my code :
    <br><br><br>
    FUNCTION /1BCDWB/IQG000000000487EXTR.<br>
    <br>
    ""Interface locale :<br>
    *"  TABLES<br>
    *"      %SELOPT STRUCTURE  RSPARAMS<br>
    *"      %DTAB STRUCTURE  /1BCDWB/IQG000000000487<br>
    *"  CHANGING<br>
    *"     VALUE(%RTMODE) TYPE  AQLIMODE<br>
    *"  EXCEPTIONS<br>
    *"      NO_DATA<br>
    *"      NO_AUTHORIZATION<br>
    *"      ILLEGAL_PACKAGE<br>
    *"      CURSOR_NOT_OPEN<br>
    <br>
    <br><br><br>
    call function 'RSAQRT_SET_IDENTIFICATION'<br>
    exporting iqid        = %iqid<br>
              sscr_report = sy-repid<br>
    changing  rtmode      = %rtmode.<br>
    <br><br><br>
    if %rtmode-pack_on = space or %rtmode-first_call = 'X'.<br>
       call function 'RSAQRT_FILL_SELECTIONS'<br>
         tables   selopt = %selopt<br>
         changing rtmode = %rtmode.<br>
    endif.<br>
    <br><br><br>
    call function 'RSAQRT_INIT_TEXTHANDLING'    <br>
         exporting class   = 'CL_TEXT_IDENTIFIER'<br>
         wsid    = 'G'<br>
         infoset = 'REQUETE_EBELN'.<br>
    <br><br>
    if %rtmode-no_authchk = space<br>
    and ( %rtmode-pack_on = space or %rtmode-first_call = 'X' ).<br>
    refresh %auth_tabs.<br>
    append 'RBKP' to %auth_tabs.<br>
    append 'EKBE' to %auth_tabs.<br>
    append 'EKKO' to %auth_tabs.<br>
    call function 'RSAQRT_AUTHORITY_CHECK'<br>
          exporting<br>
              auth_tabs         = %auth_tabs<br>
              auth_clas         = 'CL_QUERY_TAB_ACCESS_AUTHORITY'<br>
          changing<br>
              rtmode            = %rtmode<br>
          exceptions<br>
              NO_AUTHORIZATION  = 1.<br>
    if sy-subrc = 1.<br>
       raise no_authorization.<br>
    endif.<br>
    endif.<br>
    break-point.<br>
    <br><br><br>
    data: %l_no_further_fetch type flag, " stop fetching<br>
           %l_hits_cnt         type i.    " cnt for %dbtab entries<br>
    <br><br><br>
       if %rtmode-pack_abort = 'X'.<br>
         if not %dbcursor is initial.<br>
         close cursor %dbcursor.<br>
         endif.<br>
         exit.<br>
    endif.<br>
    <br><br><br>
    if %rtmode-pack_on = space or %rtmode-first_call = 'X'.<br>
          if not %dbcursor is initial.<br>
              close cursor %dbcursor.<br>
          endif.<br>
          open cursor with hold %dbcursor for<br>
          select RBKPBELNR RBKPRMWWR RBKPWAERS RBKPWMWST1 EKBEBELNR EKKOEBELN<br>
          from ( RBKP<br>
               inner join EKBE<br>
                  on  EKBEBELNR = RBKPBELNR<br>
               inner join EKKO<br>
                on  EKKOEBELN = EKBEEBELN )<br>
               where RBKP~BELNR in SP$00001<br>
               and EKKO~EBELN in SP$00002 .<br>
    endif.<br>
    <br><br><br>
    if %dbcursor is initial.<br>
      raise cursor_not_open.<br>
    endif.<br>
    <br><br><br>
    while %l_no_further_fetch = space.<br>
          fetch next cursor %dbcursor<br>
          into (RBKP-BELNR , RBKP-RMWWR , RBKP-WAERS , RBKP-WMWST1 , EKBE-BELNR , EKKO-EBELN ).<br>
          if ( ( %rtmode-acc_check = 'X' and<br>
               sy-dbcnt > %rtmode-acc_number )<br>
              or sy-subrc <> 0 ).<br>
              %l_no_further_fetch = 'X'.<br>
          else.<br>
               check SP$00001.<br>
               check SP$00002.<br>
              call function 'RSAQRT_TEXTFIELD_REFRESH'.<br>
               %dtab-BELNR = RBKP-BELNR .<br>
               %dtab-RMWWR = RBKP-RMWWR .<br>
               %dtab-WAERS = RBKP-WAERS .<br>
               %dtab-WMWST1 = RBKP-WMWST1 .<br>
               %dtab-WAERS001 = RBKP-WAERS .<br>
               %dtab-EBELN = EKKO-EBELN .<br>
               append %dtab.<br>
               %l_hits_cnt = %l_hits_cnt + 1.<br>
               if %rtmode-pack_on = 'X'<br>
                   and %l_hits_cnt >= %rtmode-pack_size.<br>
                    %l_no_further_fetch = 'X'.<br>
                   endif.<br>
              endif.<br>
         endwhile.<br>
    <br><br><br>
    if %l_hits_cnt = 0.<br>
         if not %dbcursor is initial.<br>
          close cursor %dbcursor.<br>
         endif.<br>
         raise no_data.<br>
       endif.<br>
    <br><br><br>
    if %rtmode-pack_on <> 'X'.<br>
          close cursor %dbcursor.<br>
    endif.<br>
    read table %dtab index 1 transporting no fields.<br>
    if sy-subrc ne 0.<br>
         raise no_data.<br>
    endif.<br>
    <br><br>
    endfunction.
    <br><br>
    if i can write this code on the sq02, where i must write this ?  DATA ? INITIALISATION ? START-OF-SELECTION ?
    Thank u very much for your help !
    Edited by: missmiss25 on Oct 23, 2009 10:09 AM

  • Custom fields of standard info types to be included in Info set query

    Hi All,
    I want to understand if the following scenario is entirely a fucntional config or ABAP efforts are also required.
    A standard info type is already included in the Info set. But the (Z fields) in the Additional fields column of the IT are not visible in Info set for the respective  info type.
    I understand, with T-code SQ02 infotypes can be included in the existing info set, but not aware about the Z fields of a Standard Infotype.
    Hence, please let me know, if there is any config which is required, so that they are reflected in Info set.
    Thank you in Advance.
    Regards
    Simran

    Make sure you have the infoset in edit mode.
    if it is correct you see the addtional fields in the left half of the screen at the infotype.
    Select the field group on the right half of the screen, go to the left half of the screen, select the field you want to add to the fieldgroup with right mouse click and select 'add field to fieldgroup'
    good luck
    Theo

  • SAP Query Alias Table in Info-set not working

    Hi Guys,
    I'm having a bit of trouble with a query I'm writing in SQ01.
    I am trying to create a standard margin report between two different costing variants that we use.
    n order to do so I have had to employ the use of alias tables.
    I have named the alias tables KEKO_2 and KEPH_2 accordingly and joined them in the info set with the same joins as the original tables (Left Outer to MARC on MATNR and WERKS)
    However, when I have come to test the query in SQ01 I get a runtime error which states the following:
    The following syntax error was found in the program
      AQA0MASTER_DATA=STANDARDMARGIN :
    "Field "KEPH_2-KST001" is unknown. It is neither in one of the specified
    tables nor defined by a "DATA" statement . . . . . . . . . ."
    But it is in a specified table! My alias table.
    How can I make this query work?
    Any help would be appreciated.
    Thanks in advance.

    Hi,
    This is SAP business one reporting and printing forum. Please find correct forum and repost your question to get quick assistance.
    Please close this thread by marking helpful answer.
    Thanks & Regards,
    Nagarajan

  • Unit Conversion in Query Designer

    Hi All,
    In one of my report, i have to show the gross weight in column against material which i am reading from material master.
    Now the weight is stored in two different unit's KG & G.
    But i have to show the weight finally in KG.
    Does any body has any idea of performing unit conversion at Query level i.e. in Query Designer.
    Thanks.

    Rakesh the same i am doing, that is reading the weight value from material master through formula variable using replacement path.
    Now when i create a key figure like this, there is a tab of 'Conversion' in that there is mentioned the 'Unit conversion'
    In there, there are 2 options
    1. Conversion type - this is a drop down but with no vlaue
    2. Target Unit - Where i selected KG.
    But output remains the same, i.e. in KG.
    M I missing something ?

  • Re:User group,info set and Query combination table

    Hi,
      I would like to know the combination table of User group,info set and Query.
    Can any body please respond to my question?
    Regards,
    Suresh Kumar.

    Hi,
    Check the tables starting with AQG*.
    Reward points if useful.
    Regards,
    Atish

  • Unit Conversion in the Query

    Hello Experts.
    I have a situation where I need the units of quantity to be converted at the query level. For e.g. if the value of the keyfigure is stored in litres in the Cube, then at the time of the query execution this value should be converted in gallons.
    I cannot use the following options in this case:
    1) The Solution for alternate UOM using the How-to guide for the same as the conversion from liters to gallons is not maintained at the material master level in my case
    2) I cannot use the Unit Conversion in the Conversion tab because gallons won't be the only target unit in my report, it will depend on the type of material select by the user.
    Please let me know about the options in this case. Any sort of help is appreciated and points will be duly rewarded.
    Thanks,
    Rishi

    Hi Prasad,
    In both of the ways, there should be only one target unit for them to work which is not the case in my situation. I want only specific material types to be displayed in gallons. If the User selects a different Material type then the target unit will be different.
    Any other possible solution on this one.
    Thanks,
    Rishi

  • Re: Info set and query transport under same request number

    Hi,
      I would like to know the details about info set and query transport from development to quality using SAP Query:  Trnasport tool.my quesion is,
    Can i create all info sets and related queries under same request number or will it be created in diffrent request numbers?Please respond any body to my question.
    Regards,
    Suresh Kumar.

    No it is possible as per SAP.
    Please read follwoing help-
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    It is talking abou the Special Features of InfoCubes in InfoSets.
    For queries based on an InfoSet with an InfoCube, the system decides at runtime whether aggregates can be used for the InfoCube. This is the case if all the required InfoObjects of the InfoCube exist in an aggregate. The following InfoObjects are required:
    The key figures of the InfoCube selected in the query
    The characteristics of the InfoCube selected in the query
    The characteristics required for a join with other InfoProviders in the InfoSet.
    Furthermore, as a prerequisite for using aggregates, all the data required by an InfoCube must be readable using logical access. For an InfoCube within an InfoSet with InfoCubes, it is no longer possible to read part of the data from one aggregate and part of the data from another aggregate or the InfoCube itself.

  • Query performanz due to Unit Conversion

    Hello,
    I have the requirement to improved the performance of some queries with unit conversion. Could someone help me with How Tos or Tipps to solved this issue?
    Thanks in advance
    KmerSoft

    Hi
    Thanks for the reply. After a lot more googling- it turns out this is a general Oracle problem and is not solely related to use of the GEOMETRY column. It seems that sometimes, the Oracle optimiser makes an arbitrary decision to do bitmap conversion. No amount of hints will get it to change its mind !
    One person reported a similarly negative change after table statistic collection had run.
    Why changing the columns being retrieved should change the execution path, I do not know.
    We have a numeric primary key which is always set to a positive value. When I added "AND primary_key_column > 0" (a pretty pointless clause) the optimiser changed the way it works and we got it working fast again.
    Chris

  • RE: Authority checks included in the info set of the query

    Hi all,
    I am checking the program code for one of our custom tcodes and i asked ABAP team to add authority check to the program code because there is no auth check in the code and abapers told me that the authority check is included inside the info set of the query and not in the program . the program is used to execute the query in the Tcode.
    how to find the Authority checks included in the info set of the query.
    Thanks in advance,
    Sun.

    If you have the BI support roles assigned to you  and the security admin  roles please login to the BI system
    execute transaction RSECADMIN, click on the analysis tab and execute as the user who is assigned the role with restrictions.
    For variables in authorizations like ( type customer exit )
    use RSECADMIN - maintain authorization tab - Click on value authorization tab.
    Keytransaction is RSECADMIN  & infoobject maintenance details you can get from RSD1.
    Regards

  • Error message when checking Aggregates on Info-set based Query

    Hi All,
    I have an Info-set (Inner-join between Info-cube and DSO) based Query. When I checking whethere it is picking up the aggregates (which is created on Info-cube) or not in RSRT, it is giving me following message -
    I>> Row: 23 Inc: SHOW_AGGR_COMPARISON Prog: CL_RSDDK_AGGREGATE_COLLECTION
    RS_EXCEPTION 
    301CL_RSDDK_AGGREGATE_COLLECTION
    SHOW_AGGR_COMPARISON
    I have checked fully that whatever fields I am using in my Query are available in Info-cube's Aggregate.
    Even when I am running same query (which I have created on same Info-cube direclty) in RSRT, it is picking up the aggregates.
    I have put the Request status 'Rolled up data (Rollup)' in Info-cube in Info-set as well.
    Please guide me what I need to do for picking up the aggregates.
    Regards,
    Dheeraj Kumar Garg

    No it is possible as per SAP.
    Please read follwoing help-
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    It is talking abou the Special Features of InfoCubes in InfoSets.
    For queries based on an InfoSet with an InfoCube, the system decides at runtime whether aggregates can be used for the InfoCube. This is the case if all the required InfoObjects of the InfoCube exist in an aggregate. The following InfoObjects are required:
    The key figures of the InfoCube selected in the query
    The characteristics of the InfoCube selected in the query
    The characteristics required for a join with other InfoProviders in the InfoSet.
    Furthermore, as a prerequisite for using aggregates, all the data required by an InfoCube must be readable using logical access. For an InfoCube within an InfoSet with InfoCubes, it is no longer possible to read part of the data from one aggregate and part of the data from another aggregate or the InfoCube itself.

  • Query Performance with Unit Conversion

    Hi Experts,
    Right now my Customer ask to me to do a improve in the runtime of some queries.
    I detect a problem in one related to unit conversion. I execute a workbook statistics and found that the time is focusing in step conversion data.
    I'm consulting all the year and is taking around 20 minuts to give us a result. I too much time. The only thing in the query is the conversion data.
    How can I to improve the performance? what is the check list in this case?
    thanks for you help.
    Jose

    Hi Jose,
    You might not be able to reduce the unit conversion time here and try to apply the general query performance improvement techniques, e.g. caching the query results etc.
    But there is one thing which can help you, if end user is using only one of the unit for e.g. User always execute the report in USD but the source currency is different from USD. In such cases you can create another data source and do the data conversion at the time of data loading so that in the new data source all data will be available in required currency and no conversion will happen at runtime and will improve the query performance drastically.
    But above solution is not feasible if there are many currencies and report needs to be run in multiple currency frequently.
    Regards,
    Durgesh.

Maybe you are looking for

  • How do i connect to SQL server using the JDBC ODBC

    I am attempting to connect to a database on a server over a network. It is running SQL Server 2005. Am i supposed to set the ODBC on my computer or on the server computer and this is the code i am using but i keep getting a class not found exception.

  • Upload vendor master in LSMW

    Hi, all, i want to upload vendor master in mass. And for the upload data, there is same vendoer with different company code or purcharsing organization, how should I complete it?

  • How to use SharePoint Environment to save the text of an image in the DB?

    Hi All, I Don't know a lot about the SharePoint Environment, But I wanna that part who is talking about getting an image from a scanner, reading the text in it and save it as a text in the DB. Any one can help me about that? or give me a link to lear

  • Microsoft SAM: Used software to get compliant or other option for Office 2010

    I wouldn't buy used Office. Chances are someone's still using the software and figured they could make a quick few bucks. Also, while once you hold the product key and media you technically own that license, who's to say they didn't max the activatio

  • BB Z10 Blank Screen...

     Few days ago,i did realise that i be able to upgrade my OS to 10.2.0.415 ...as usual as i did for previous update,after all process have been finished,it will require me to re-start the phone so that the updates will be apply...but,once i click rest