Steps to create a query
Hi ,
i need to bulid a query for tc : mb51 , tables mch1 and mska , query is to pull a field licha on to mb51 transaction.May i know the steps pls..
Thxs,
vind.
Hi,
MB51 uses the data from MKPF and MSEG tables.
Take the MATNR CHARG and LIFNR fields from MSEG and pass them to MCH1 table to get the LICHA field.
If MSEG data is in Int table ITAB.
if not ITAB[] is initial.
select matnr charg lifnr licha from mch1 into table <itab2>
for all entries in ITAB where
matnr = itab-matnr and
charg = itab-charg and
lifnr = itab-lifnr.
endif.
Then read the licha with key fields and add into final data int table.
Regards,
Anji
Similar Messages
-
hi sap gurus,
can i steps for creating abap query
plz help me on this.
regards,
balaji.t
09990019711Hi
Please check this link for a document on ABAP query. It explains the process step by step with screen shots..
http://www.auditware.co.uk/downloads/SAPQuery_step_thru.pdf
Thanks,
Ravi -
Steps to create a query in development
Could anyone tell me as how to create a query ?
NishiHi,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0901c9bb-0601-0010-49ab-c1770c527673
http://help.sap.com/saphelp_nw04s/helpdata/en/9d/76563cc368b60fe10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/42/d21c1f46076bb2e10000000a1553f6/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a569ae09411d2acb90000e829fbfe/frameset.htm
Rgs,
I.R.K -
Enabling Create New Query and Personalize in Check Status
Hi All,
We followed below steps Enable Create New Query and Personalize in Check Status
Go to the role of the user - PFCG - Authorizations - Change authorization data - Cross-application authorization objects - authorizations for Personal Object Work List (POWL) iViews
Specified the application ID POWL_APPID - SAPSRM_E_CHECKSTATUS
What should be done to enable define query and personalize for all users.
We have changed the following settings -
In activity POWL_CAT - '??' , POWL_LSEL-DISALLOWED - POWL_QUERY - ?? , POWL_RA_AL - ?? , POWL_TABLE - ??.
With our current settings Create New Query and Personalize in Check Status appear but are disabled (greyed out)
New Query Button appears but clicking on it produces no output.
Nikhil
Edited by: Nikhil Malvankar on Sep 12, 2011 5:57 AMYou could the following to check if the Query still exists in the database:
Open SQL Management Studio and connect to the SQL Server hosting the ConfigMgr database
In SQL Managemnt Studio, Expand Database, Expand CM_YourSiteCode
Expand tables and find the dbo.Queries table
Right-click the dbo.Queries table and select Select Top 1000 Rows
See if you can find your "ghost" Query
Please note - it IS NOT supported
to make direct changes to ConfigMgr database so I would properly call PSS on this one before you start getting creative. -
Re: Steps for Creating QPLD
Dear SAP Experts,
I need the steps in creating a Query Print Layout Designer..
With Regards,
RevathyHi,
Create a query in query generator and save that query.
go to toolsqueriesquery manager.select your query and click generate report button on query manager,Select the template.
if you want to modify template go to t tools-- queriesQuery Print layout click on the template to design the QPLD
hope this will help you.
Thanks,
Neetu -
Steps to create workbook and need to insert 10 query's in the workbook
Hi,
Please let me know Steps to create workbook and need to insert 10 query's in the workbook.
Thanks,
rajesh bHi,
Creating Workbook ---> Open your query --> save it as a new workbook -->provide description for workbook -->If you want more queries into the same workbook then insert related queries into different different sheets by insert query from Tools menu .
Regards
Pcrao. -
How to create a Query iView based on user's parameter?
Hello,
I've created a Query iView which depends on a Costumize parameter that the user enters - On stage 5 of the wizard I've entered a customize parameter on a certain field and called it "user_param". The wizard entered the Query: WHERE... = {$user_param}. So far so good...
My question is, after creating this iView, how Do I implement it at the Portal so the user will have a place to enter his parameter and receive the result?
when opening the Query I don't see such place. According to SPA's documentation, the user should enter the parameter at the "personalize" menu. When I put this iView in a page and open the "Personalize" menu there is no such place.
Which further configurations should I do in order it to work?If you open the iview, there should be a personalize property or setting for the URL parameter. Make sure that it is set to read/write. I just got off a portal project where I did a few of these, but I don't have access to one right now, so I can't give you the exact steps, but you should get the idea.
Good luck,
Tom \ -
Unable to create new query using query manager
Hi friends,
I have been trying to create a query using query manager for couple of hours but still not able to.I am following the instructions given in oracle Peopletools 8.52 : Peoplesoft query
Chapter - creating new queries.
Below are the steps I am going through to create new query:
Step - I open the component Reporting Tools-> Query->Query Manager , I don't get the tabbed pages one for search an existing query and another for create new query.
Please follow this link to see how the page is displayed in first step:
http://uploadpic.org/v.php?img=EvMvVAXX1E
Step 2 - When I click on create new query link, I am redirected to a page where it asks for record name to add in the query. But, even this page is not displayed as how it supposed to be
http://uploadpic.org/v.php?img=GzHh3f6krU
Step 3 - Following the above step, when I click on Person record to add into my query I am asked to select the fields that I want to display in the output.
But I somehow do not get the proper tabbed pages where individual pages are there to add the attributes to complete the query like adding multiple records, fields, query, expressions, prompt...etc
http://uploadpic.org/v.php?img=Wbbla3Q3jE
I am neither able to select multiple records in my query nor able to customize my query to get the desired results.
Below is the query that I want to create using query manager:
SELECT P.EMPLID,P.BIRTHDATE, N.NAME, A.ADDRESS1, A.ADDRESS2, A.CITY
FROM PS_PERSON P, PS_NAMES N, PS_ADDRESSES A
WHERE P.EMPLID = N.EMPLID AND
N.EMPLID = A.EMPLID AND
P.BIRTHDATE BETWEEN to_date('1990/1/1','yyyy/mm/dd') and to_date('1991/1/1','yyyy/mm/dd');Hi,
As I cannot access your screenshot by the blocking of company firewall rules.
I'm guessing currently you are using PT 8.52.00 version, correct?
This should be a bug, that you need to apply the 8.52.0X patch, not sure which patch fix this, you can apply the latest one to solve this issue for no tab page of query manager. (PT 8.52.06)
Hope this helps.
Thanks,
Saxon SI -
Steps to create a simple formula for 2 KF
Hi, Can someone please give me steps to create a formula for 2 KF or redirect me. Do I need to create a formula variable? I just need to add KF1 + KF2. I RClicked on KF structure in columns and i can see only structure elements and formula variable. I don't see my KF. I am in netweaver 2004s.
Thanks,
RadhaNo it isn't new in Netweaver 7.0.
Left hand side - > Keyfigures - > Calculated Keyfigures - > Right Click - " CKF "
You shud see keyfigures existing on the Infoprovider & other RKF's , CKF's existing on the query under "Available Operands "
When u create a formula ( which is local ) u may not see the keyfigures which doesnot exist in columns - u shud hav the keyfigures in the Columns to use them in the formula - u can use in the formula & to avoid them on the report jst hide em.
Message was edited by:
Jr Roberto -
Steps to create a Restricted Key Figure
Hi,
I am trying to create a BEx Query and want to create a Restricted Key Figure.
I am using BEx 7.x.
Please help me with steps to create a Restricted Key FIgure.
Thnaks and Regards,
Shreyas ShahHi Shreyas,
Please find the step by step to create a restricted key figures.
Procedure for Defining a new restricted key figure:
1. In the InfoProvider screen area, select the Key Figures entry and choose New Restricted Key Figure from the context menu (secondary mouse button).
If a restricted key figure has already been defined for this InfoProvider, you can also select the Restricted Key Figures entry and then choose New Restricted Key Figure from the context menu.
The entry New Restricted Key Figure is inserted and the properties for the restricted key figure are displayed in the Properties screen area.
2. Select the New Restricted Key Figure entry and choose Edit from the context menu (secondary mouse button).
The Change Restricted Key Figure dialog box appears.
You can also call the Change Restricted Key Figure dialog box from the Properties screen area by choosing the Edit pushbutton.
You make the basic settings on the General tab page.
The text field, in which you can enter a description of the restricted key figure, is found in the upper part of the screen.
You can use text variables in the description (see Using Text Variables).
Next to that, you can enter a technical name in the Technical Name field.
Underneath the text field, to the left of the Detail View area, the directory of all objects available in the InfoProvider is displayed. The empty field for defining the restricted key figure (Details of the Selection) is on the right-hand side of the screen.
3. Using drag and drop, choose a key figure from the InfoProvider and restrict it by selecting one or more characteristic values. See Restricting Characteristics.
You can also use variables instead of characteristic values. However, note that you cannot use the following variable types in restricted key figures for technical reasons:
Variables with the process type Replacement with Query (see also Replacement Path: Replacement with Querys)
Variables that represent a precalculated value set (see also Details)
You can use these variable types to restrict characteristics in the rows, columns, or in the filter.
4. Make any necessary settings for the properties of the restricted key figure on the other tab pages. See Selection/Formula Propertiess.
5. Choose OK. The new restricted key figure is defined for the InfoProvider.
Let me know if this helps.
Thanks
Sachin -
" Steps to create a universe from R/3 "
Dear Friends ,
Can any one let me know the steps to create a universe from R/3 .Hi,
you must install Enchancement Pack 4 on your SAP ERP system in order to be able to build a universe based on an infoset query.
If you do not have EHP 4 (not sure if it is officially released yet) you can only use Crystal Reports to report directly on SAP R/3 tables.
You will need to SAP BusinessObjects Solution kit (a.k.a SAP integration Kit) to be able to access OLAP cubes from the SAP BW via universes.
R3 data cannot be accessed via Webi, only if you go directly againt the database hosting the R3 tables (there will be thousands of tables though I believe).
I would think Crystal Reports is passing a SQL statement to the SAP R3 database and a universe could be built to re-create that SQL statement. Such a universe would be really hard to build (I should know - I build Oracle E-Business Suite universes all day), but not impossible. -
Steps to create Replacement path
Hi Gurus,
Kindly provide me the steps to create Replacement path in Query Designer.
My requirement:
Have to replace the Charac.var ZVAR2 by Charac.var ZVAR2.
Thanks.Hi,
you use replacement path variable method for it ..
for the detail, you check this link.
In over-there is also explained how-to make it & overview.
<link farm removed by moderator>
Hopefully it can helps you a lot,
Regards,
Ravindra.
Edited by: Siegfried Szameitat on Jan 22, 2009 3:25 PM -
Create a query to find the open PO
Hi all,
I want to create a query to find the Open PO which GR is not complete or Open invoice.
But I don't know how can I get the value: still to be invocied ,still to be delivery .
I want to know which table I can find these information.
I know a T-code :ME2L can run this report, but the format is not user friendly,so I want to create a new query .Hi
No need to create any query to find an Open PO.
You can use ME2N or ME2L or ME2N with proper scope of list and selection parameter.
In scope of list you can use the ALV one to get the user friendly report, if you do not have the ALV then you can
create your own scope of list by following the steps.
1) press F1 and click on the customizing icon
2) Click the button W/O specifying the project
3) Click Define scope of list
4) Copy any scope of list for example BEST and rename it as BEST_ALV and Tick the check box AL on the Bottom
5) You can get this new scope of list in the tcods mentioned above and execute thereports.
6) Once you get the output you can modify the layoout to get the user friendly format. Also you can download into excel sheet.
Hope it helps
Thanks/karthik -
Steps for creating a SAP Remote cube.
Hello Experts,
Can you anyone list the steps for creating a SAP Remote cube please?
Any step by step guide will be of really great help.
Thanks in advance.
Regards,
Kumar.Creating VirtualProviders Based on Data Transfer Processes Locate the document in its SAP Library structure
Prerequisites
If you are using a DataSource as the source for a VirtualProvider, you have to allow direct access to this DataSource.
Procedure:
1. In the Data Warehousing Workbench under Modeling, choose the InfoProvider tree.
2. In the context menu, choose Create VirtualProvider.
3. As the type, select VirtualProvider based on data transfer process for direct access.
In terms of compatibility, a VirtualProvider that is based on a data transfer process with direct access can also be connected to an SAP source system using a 3.x InfoSource.
The Unique Source System Assignment indicator controls whether this source system assignment needs to be unique. If the indicator is set, you can select a maximum of one source system in the assignment dialog. If the indicator is not set, you can select multiple source systems. In this case, the VirtualProvider acts like a MultiProvider.
If the indicator is not set, characteristic 0LOGSYS is automatically added to the VirtualProvider when it is created. In the query, this characteristic allows you to select the source system dynamically: In each navigation step, the system only requests data from the assigned source systems whose logical system name fulfills the selection condition for characteristic 0LOGSYS.
4. Define the VirtualProvider by transferring the required InfoObjects. Activate the VirtualProvider.
5. In the context menu of the VirtualProvider, select Create Transformation. Define the transformation rules and activate them.
6. In the context menu of the VirtualProvider, select Create Data Transfer Process. DTP for Direct Access is the default value for the DTP type. Select the source for the VirtualProvider. Activate the data transfer process. See Structure linkCreating Data Transfer Process for Direct Accesss.
7. Activate direct access. In the context menu of the VirtualProvider, select Activate Direct Access. In the dialog box that appears, choose one or more data transfer processes and select This graphic is explained in the accompanying text Save Assignments.
Check this for little extra info:
/thread/142088 [original link is broken] -
QUERY HELP!!! trying to create a query
i'm creating a summary report
i have a table with sale dates
for example i have a table tab_1 and column saleDate as
saleDat
1923
1936
1945
2003
2005
saleDate contains years and there are some missing years where no sale
was made
My report has to display years starting from earliest year
so i have to create a query that starts with 1923
but the problem is that I have to have years that are not in table.
for example i have to display years 1924 which is not in table
so the part of report has to look like
1923 blah blah summary.........
1924 "
1925
1926
2005
2006
upto current year (2006 may not be in the table, but i have to display)
i just need to know the query that can query all the years starting from
the ealiest saleDate to current year
thanks in advancePlease write the query in the following form:
SELECT a.year, --- place other columns from your table.
FROM (SELECT (:start_num + rownum) year
FROM all_tab_columns
WHERE :start_num + rownum <= :end_num) a,
tab_1 b
WHERE a.year = b.saleDat(+);
Note:
1) if your start year and end year are 1923 and 2006. Then input as below:
:start_num = 1922
:end_num = 2006
2) Since for some of the years (1924 etc) may not be there in your so you may need to use NVL to print proper indicators.
3) If you have more than one record in tab_1 for a particular year then group them based year and then use it.
Hope this helps.
- Saumen.
Maybe you are looking for
-
Problem with threads and/or memory
I'm developing an application where there are 3 threads. One of them sends a request to the other, and if the 2nd can't answer it, it sends it to the 3rd (similar to CPU -> CACHE -> MEMORY). When i run the program with 1000-10.000 requests, no proble
-
Mid-2010 Macbook Pro White Screen of Death?
Hi all, I have a Mid- 2010 Macbook Pro, running 10.8.2 that, when booting, sounds the Startup Chime but no Apple logo appears, just a white screen. I'm in IT so I've done several things, but nothing has worked and I couldn't find a previous discussi
-
How to find out the email you used as a backup
I cannot remember the email address that I associated with my account as an alternative address. Is there any way of finding out this address? Please help as I am trying to retrieve a new password!
-
How can I delete Unread Sent emails?I have over 300...and I can't delete them!!!Please advise how to delete!!!
-
Mozilla Firefox 20.0 crashes repeatedly I had tried by disabling cookies, addones uninstall & reinstall firefox completely after that problem still exists. at anytime it crashes. & we have to restart Firefox.