How to create sap query
how to create sap query if any one has the documentation pls foward to this mail id [email protected]
thanks
avinash
check these links...
http://www.sap-basis-abap.com/sapquery.htm
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
http://help.sap.com/saphelp_nw04/helpdata/en/25/8f4dd72b0f9f4fa6712fcf2f65f505/frameset.htm
Similar Messages
-
How to create sap query with "or" relationship
dear experts,
I need a report to display the employee whoese WSR is
changed in the month for infotype 0007.
that is ,we want to search with selection
begda OR endda between 2008-01-01 and 2008-01-31.
how to create sap query with "or" relationship?hi use like this,
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = p_pernr
infty = '0007'
BEGDA = p_date1
ENDDA = p_date2
TABLES
infty_tab = itab .
hi use this by passing the pernr to fm and giving the dates low and high in the p_date1 and p_date2.
loop at itab where condition.
endloop.
may it helps u,
regards,
venkat. -
How to create a query view in sap bw?
can any one please tell me how to create a query view in sap bw 3.5?
Hi,
you can do this by using Bex analyzer and WAD ..
gop through this link ..
http://help.sap.com/saphelp_nw70/helpdata/en/0e/1339427f82b26be10000000a155106/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
hope this helps you ..
Reagrds,
shikha -
How to find the program name of the created sap query ?
how to find the program name of the created sap query ?
Hi avinash,
Try in this way..
Go to SE16 and then go to table TSTC.
in that give program name as <b>*followed by your query name</b>
(for example *TESTQUERY)
and run , that will give progname======queryname.
this way you can find program name.
vijay -
How to create a query to see Opening stock and closing stock as on particul
Hi All,
How to create a query to see Opening stock and closing stock as on particul.
Regards
AlbaikHi,
In BI 0IC_C03 will provide u the required information and also having standard queries provided by the SAP.
Plz find the list of Queries provided by the SAP.
=======================================================================================================
Inventory turnover 0IC_C01_Q0001
Range of coverage - quantity 0IC_C01_Q0002
Range of Coverage - Value 0IC_C01_Q0003
Range of coverage of finished goods - quantity 0IC_C01_Q0004
Range of Coverage of Finished Goods - Value 0IC_C01_Q0005
Range of coverage of raw materials - quantity 0IC_C01_Q0006
Range of Coverage of Raw Materials - Value 0IC_C01_Q0007
Obsolete Stock on Hand 0IC_C01_Q0008
Period-dependent requirement coverage 0IC_C01_Q0009
Value of stock on hand 0IC_C01_Q0010
Quantity of stock on hand 0IC_C01_Q0011
Material consumption 0IC_C01_Q0012
Material Movements 0IC_C01_Q0013
Consignment stock: receipts and issues 0IC_C01_Q0014
Valuated stock: receipts and issues 0IC_C01_Q0015
Material stock and movements 0IC_C01_Q0016
Material Movements (Healthcare) 0IC_C01_Q0020
Material Consumption (Healthcare) 0IC_C01_Q0021
Material Availability 0IC_C01_Q0022
Inventory Turnover Frequency (Value) 0IC_C01_Q0023
Consignment Stock Received and Issued per Unit 0IC_C01_Q0024
Material Consumption (Quantity) 0IC_C02_Q0001
Valuated Stock Receipts and Issues (Quantity) 0IC_C02_Q0002
Range of Valuated Stock (Quantity) 0IC_C02_Q0003
Inventory Turnover 0IC_C02_Q0004
Receipt and Issue Consignment Stock at Customer 0IC_C03_Q0001
Receipt and Issue Quality Inspection Stock 0IC_C03_Q0002
Vendor Consignment Stock Receipt and Issue 0IC_C03_Q0003
Receipt and Issue Stock in Transit 0IC_C03_Q0004
Receipt and Issue of Blocked Stock 0IC_C03_Q0005
Valuated Stock 0IC_C03_Q0006
Stock in Quality Inspection 0IC_C03_Q0007
Stock in Transit 0IC_C03_Q0008
Blocked Stock 0IC_C03_Q0009
Vendor Consignment Stock 0IC_C03_Q0010
Consignment Stock at Customer 0IC_C03_Q0011
Stock Overview 0IC_C03_Q0012
Stock Overview (as of 3.1 Content) 0IC_C03_Q0013
Quantities of Valuated Project Stock (as of 3.1 Content) 0IC_C03_Q0014
Valuated Stock (as of 3.1 Content) 0IC_C03_Q0015
Quantities of Valuated Sales Order Stock (as of 2.1 Cont.) 0IC_C03_Q0016
Inventory Turnover 0IC_C03_Q0017
Days' Supply 0IC_C03_Q0018
SUS: Vendor Consignment Stock 0IC_C03_Q0019
Scrap 0IC_C03_Q0020
Inventory Aging 0IC_C03_Q0021
Stock Overview - extended 0IC_C03_Q0022
Demand Supply Match 0IC_C03_Q0023
Warehouse Stock Analytics Inventory Turnover 0IC_C03_Q0024
Warehouse Analytics - Obsolescence and Variance 0IC_C03_Q0025
Stock Overview: Materials 0IC_C03_Q0030
Average Stock Value Over Time 0IC_C03_Q0031
Stock Overview Over Time 0IC_C03_Q0032
Range of Coverage Over Time 0IC_C03_Q0033
==================================================================================================
Regards
Ram.
Edited by: Ramakanth Deepak Gandepalli on Jan 18, 2010 8:06 AM -
how we create abap query can any1 tell me?
Reporting tool :Standard reports
Purpose :Provide solutions for your most frequent reporting requirements
Advantages :Can be used immediately
No developments required
Limitations :Limited flexibility
Output fields cannot be selected as required
HIS
Purpose :Hierarchies are displayed as graphics
Reports are executed using selected structures or substructures, that is, using preselected sets of objects
Advantages :User-friendly method of displaying hierarchical structures
Integration with InfoSet Query and standard reports
No need to switch from one HR application to another if you want to execute reports from different applications
Little training required
Limitations : Limited flexibility
Tool is used to execute standard reports and customer reports
It cannot be used to create reports
InfoSet Query
Purpose :Intuitive, general SAP reporting tool used to create customer reports
Enables you to create reports for all areas of HR
When InfoSet Query is accessed from Human Resources (HR), the Query area and User group parameters already contain values and you can only perform ad hoc reporting. If InfoSet Query is accessed this way, it is called Ad Hoc Query in HR (see HR in InfoSet Query).
Advantages :User-friendly interface
Very easy to use
No programming required
If integrated with SAP Query, you can continue processing queries using SAP Query
Set operations enable you to create sets of objects as required for which data must be output
Can be included in roles using a suitable InfoSet
Limitations :InfoSets and user groups must be defined in SAP Query before you can use InfoSet Query
Multiline lists cannot be displayed
SAP Query
Purpose :General SAP reporting tool used to create customer reports
Individual definition of user groups, InfoSets, and queries
Advantages :Extremely flexible
No programming required
Queries can be provided in the SAP Easy Access menu
Includes numerous options for aggregating data, performing calculations, and displaying graphics
Enables you to display multiline lists
Enables you to define one basic list and several statistics and ranked lists for each query
Limitations :Restricted to data from the R/3 System
Each HR query can process data from just one HR logical database:
PNP: Administration, Time Management, and Payroll
PCH: Generally for all areas, but particularly suitable for reporting on data from Personnel Planning
PAP: Recruitment
Requires much more training than other options
Limitations:Data is extracted from OLTP systems, that is, real-time data is not accessed
Business Information Warehouse
Purpose :Analytical reporting tool used for information and decision-making purposes
Advantages : Extremely flexible
Facilitates complex calculations (calculation of averages, time series comparisons)
Enables you to access non-SAP data
Easy to use
Uses OLAP technology
Includes detailed Business Content (HR extractors, InfoCubes, key figures, and standard queries
i think it is adhoc query not abap query -
How to create sql query for item master with operator LIKE with variables?
hi all,
How to create sql query for item master with
operator LIKE(Contains,Start With,End With) with variables using query generator in SAP B1 ?
JeyakanthanHi Jeyakanthan,
here is an example (put the like statement into the where field)
SELECT T0.CardCode, T0.CardName FROM OITM T0 WHERE T0.CardName Like '%%test%%'
The %% sign is a wildcard. If you need start with write 'test%%' and otherwise ends with '%%test'. For contains you need '%%test%%'. You also could combinate this statements like 'test%%abc%%'. This means starts with test and contains abc.
Regards Steffen -
How to create SAP iviews in Netweaver 7.0
Hi,
Please assist in how to create SAP URL & SAP transaction iViews in Netweaver EP 7.0
Thanks
Suri.Hi,
Please find the link as requested.
[https://www.sdn.sap.com/irj/scn/wiki?path=/display/ep/creationofDifferentTypesofiViewsinEP7.0]
[https://www.sdn.sap.com/irj/scn/wiki?path=/display/ep/creating+iviews]
Manoj Chintawar
Edited by: Manoj Chintawar on Mar 10, 2009 9:50 PM -
Hi all,
Is this possible to assign the role, based on the organization structure?
In which SAP system stores organization structure in it.
How to create the SAP system to store my organization structure through EP.
Helpful answers will appreciate.
Thanks.
Regards,
Kathiresan RHii
How to create sap system:
Steps:
Go to System Administration
2) Go to System Configuration
3) Go to Portal Content (Right Side Panel), open that folder.
4) Right Click on Portal Content, a Panel is displayed select "System (from Template)".
5) That will display a new view on right side, now select "SAP system using dedicated application server" from
the existing templates. (Other templates are possible - for example, load balanced or through a SAProuter connection string).
For this exercise, we'll use the simplest type.
6) Choose next
7) Give the System Name and System Id (which are mandatory fields) incase you want to give any brief notes
about the system then give them in the "Description" field.
8) Open the Newly Created System.
9) Now when you want to create a New System, you have to fill four Properties they are:
"Connector" - contains basic connectivty details
"Internet transaction Server (ITS) - if you wish to use SAPGUI for HTML and/or IACs",
"Web Application Server" - if you wish to access BSPs and/or Web Dynpro for ABAP and
"User Management".
You also need at least one "System Alias" has to be defined from the Display drop down menu.
Make sure you have set end user access in the Permissions drop down menu to all users who need to access the system
10) Select "Connector" property, now fill the required fields such as:
a) Application Host (should be fully qualified hostname) - Give the R/3 "Application Name",
which can be obtained from the SAP Logon Pad (check what R/3 system you are using, right click on it , go to the properties,
it will open a window which has the Application Server Name.
b) Logical System Name - Give the logical name as defined in the backend system
c) SAP Client - Check the Client in the backend system and give the appropriate number (3 digits)
d) SAP System ID(SID)* - Check the R/3 properties and give the check for System ID
e) System Type* - Since we are connecting to R/3, select SAP_R3 system.
f) System Number - This is a two digit number that you can find in the SAP Logon Pad
11) Select "Internet transaction Server (ITS)" property, now fill the required fields like
a) ITS Description à Give some Description
b) ITS Host Name - Same as "Application Host" of R/3 (when integrated ITS) and should be attached with the
port number of ITS Server (to get port number detailed description is given below). ex: hostname : port number
c) ITS Path - To get the path along with the port number you have to Log on to R/3 system. Use the
Transaction Code "SICF", it opens a new window go to:
default_host -> sap -> bc -> gui -> sap -> its -> webgui -> SAP GUI for HTML -> right click on
that and click "Test Service'. This will open a new window, on the address bar you will find the "port number", and
the path something like (/sap/bc/gui/sap/its/webgui). Use the path after the port number.
d) ITS Protocol - There are two protocols "http" & "https", select the appropriate protocol which is
visible when you opened "Test Service" window.
12) Select "Web Application Server" property , now fill the required fields like
a) Web AS Description -> Give some Description
b) Web AS Host Name - same as ITS Host Name
c) Web AS Path - usually /sap/bc/bsp/sapd)*
Web AS Protocol - should be same as the ITS Protocol.
13) Select "User Management" property, now fill the required fields like
a) Authentication Ticket Type - Since we are not using SSO leave the field
empty i.e. put in select mode. (Please note that longer term you will probably want to use SSO)
b) Logon Method - Select UIDPW.
c) User Mapping Type - In case you have administration rights then you choose "admin" or in case you
just have user rights then choose "user", better go for "admin/user".
14) Since all the required fields are filled appropriately now create a System Alias name, this can be done by following steps:
a) go to Display -> Select "System Aliases" give some Alias Name, let's call it "SAP_R/3"
15) Now that System is created we have to create a iView which will display the given Transaction Code.
16) Go To "Content Administration".
17) Go To "Portal Content".
18) Go to Portal Content (Right Side Panel), open that folder
19) Right Click on Portal Content, a Panel is displayed select "New" -> iView
20) Select iView template, click next
21) Select "SAP Transaction iView" from the list of templates available. Click next.
22) Give the iView name and iView ID. Incase you want to give any brief notes about the iView then give it in "Description" field. Click next
23) Select "SAP GUI for HTML" radio button. Click next
24) Now select the system which you have create "SAP_R/3", give some Transaction Code, say SE12 (Dictionary Display). Click next and Finish.
25) Now Preview the iView
26) You will see a new Window where in SE12 Dictionary Display window is displayed.
Thanks :
Dont forget to give rewards if usefull. -
How to create sap study platform(include BW,EP,ABAP develop IDE).
How to create sap study platform(include BW,EP,ABAP develop IDE).Thanks!
How can I get the bw IDES for free?
Edited by: Andy Y.L. Zheng on Apr 28, 2009 4:46 AM -
How to create sap scripts? script is a language how to create script ?
how to create sap scripts?
script is a language how to create script ?hi ,
step by step procedure.
SAP Scripts
http://www.sap-img.com/sapscripts.htm
http://sappoint.com/abap/
http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm
http://www.sap-basis-abap.com/sapabap01.htm
http://www.sap-img.com/sapscripts.htm
http://searchsap.techtarget.com/tip/1,289483,sid21_gci943419,00.html
http://sap.ittoolbox.com/topics/t.asp?t=303&p=452&h2=452&h1=303
http://www.sapgenie.com/phpBB2/viewtopic.php?t=14007&sid=09eec5147a0dbeee1b5edd21af8ebc6a
Other Links
http://www.virtuosollc.com/PDF/Get_Reporter.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
http://www.virtuosollc.com/PDF/Get_Reporter.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
http://www.thespot4sap.com/Articles/Code_CostCentreReport.asp
http://www.allsaplinks.com/dialog_programming.html
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm
http://www.allsaplinks.com/files/using_table_in_screen.pdf
http://www.geocities.com/ZSAPcHAT
http://www.sappoint.com/abap/ssintro.pdf
http://www.sappoint.com/abap/sscript.pdf
http://www.sappoint.com/abap/sscript.pdf
http://www.sappoint.com/abap/lsetssap.pdf
http://www.sappoint.com/abap/sscrtpex1.pdf
http://www.sap-img.com/sapscripts.htm
http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp
http://www.sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRRDI/BCSRVSCRRDI.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCREDIT/BCSRVSCREDIT.pdf
http://www.sappoint.com/abap/sscrtpex1.pdf
http://www.sap-img.com/sapscripts.htm
http://www.esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
sri -
How to create quick query region?
Hi,
How to create quick query region?
I have got some tip from OAF developer guild:
OAPageLayoutBean pageLayout = pageContext.getPageLayout();
pageLayout.setQuickSearch(quickSearchRN);
But I don't know how to create 'quickSearchRN'.
So, I try to create a stacklayout region as quickSearchRN, and add it into pageLayout.
But there are two stacklayout region displayed. One in qucik query region, other in main region.
please give me some sample code.OAFlowLayoutBean quickQueryRN = (OAFlowLayoutBean)createWebBean
(pageContext,OAWebBeanConstants.FLOW_LAYOUT_BEAN, null, "QuickQueryRN");
OAMessageTextInputBean condition = (OAMessageTextInputBean)createWebBean
(pageContext,OAWebBeanConstants.MESSAGE_TEXT_INPUT_BEAN, null, "condition");
condition.setPrompt("Name");
quickQueryRN.addIndexedChild(condition);
pageLayout.setQuickSearch(quickQueryRN); -
How to call SAP query in a program
Hi experts
I have created a query in SQVI its gives a result. Now i want this query to be used in my program. Is there any FM which gets the quary name and populates the result in iternal table. So that i can use that result.
I know without query you can write using the tables you can fetch the records but i just want to explore a new way to do things. If any body done such type let me know and also give some sample code or process how to achieve it.
Regards
VijayHi Siva
My final option is that only. That you can do any how. But my intension is to learn something new way. How to do copy the query and where to inject the code is there any example in wiki or artical for that. I want to something new. Old way of creating a report program is possible i want to do this way. If some body could help me out.
@ karthik
I have generated the SAP query and i got the program but when i view the code i dont find any select statment or where storing my input data. How to identity that i did in debug mode but am not sure where it pulls the data and where it put in internal table. Can you throw some light with example code or an article.
Regards
Vijay -
Creating SAP QUERY - question about tables in buisness transactions.
Hello.
I am pretty new to SAP.
I want to create a query, as i so far have successfully done by creating a join in transaction SQVI.
I am useing several tables;
CRMD_ORDERADM_H
CRMD_ORDERADM_I
CRMD_ORDER_INDEX
I have two questions.
1: I try to join CRMD_ORDER_INDEX-PARTNER_NO with BUT000-PARTNER, but it won't do the trick. After a join like this i would like to join BUT000 with ADRC . Can someone explain how i could do this?
2: I want join CRMD_ORDERADM_I with all the partners for the specific Item. (sold-to-party, shipping-party and so on). Can anyone tell me which table(s) i can find this in, and what fields to join.
I will appreciate any answer to thisHi,
For the second question, enter your transaction number ( Object ID ) into <b>CRMD_ORDERADM_H</b> table. Pass the guid to table <b>CRMD_LINK.</b>
Take set guid from CRMD_LINK and pass it to <b>CRMD_PARTNER</b>.
You will get all the partners in that transaction
regards,
Prashant
<b>Kindly Reward the points if helpful !</b> -
How to create ageing query?
Hi Folks,
Could you give me an idea how to create an AGEING query by below requirement ?
Purpose is to calculate the Ageing, which can be defined as the difference between the Document Date and the current date.
As the current date is not practical (the AR gets updated once a month, and financial ageing reports usually report compared with end-of-the-month), I propose the
u2018Last working day of previous month.
When this interval is created per document the total revenue should be divided into columns based on the ageing:
1-30 days
31-60 days
61-90 days
91-120 days
121-360 days
>360 days.
Reporting Fields are :
Rows & Columns
Company code
SAP ID
Customer name
Country
City
Address
Postal code
Total AR
Current
1-30
31-60
61-90
91-120
>120
>360
Appreciate your response on this. Thanks : SurendraHi,
In this you follow th ebelow steps easy
Go To Create CK F menu-----
Craete one Formual Variable on Document Date with replacement path as 0document posted date
one more variable Formula Variable with customer exit on cal cal day
for that getting the current date write below code
WHEN 'ZCDATE'.
CLEAR: L_S_RANGE.
L_S_RANGE-LOW = SY-DATUM.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPENDL_S_RANGETO E_T_RANGE.
ENDCASE.
when you are creating varaible there is tab in that ( last tab) currency/unit here you should mention date.
now use these two formula varaibles Current date formula variable- document date formula varaible
now uare getting the days
based on your requirement
use that
same Ckf
one ckf cuurent datevariable -posting datevariable >30( it gives 0-30)
in next Ckf current adte - posting date >30<60
like that you can create as you like.
Thansk & Regarsd,
sathish
Maybe you are looking for
-
Handled http connection exceptions works fine on emualtor but bot on phone?
I have written some code to do a currency conversion. The code works fine when a proper url is entered: http://finance.yahoo.com/currency/convert?amt=1150& from=GBP& to=JPY& submit=Convert I wanted to see how the error handling worket so i entered a
-
Final Cut, Fields, Interlacing
Imac 20p, Final Cut PRO HD 5.1, canon MVX460 PAL Ok this is the problem: The footage is interlaced, I capture it with interlaced option in DV codec and in FC options field dominance lower. I edit the sequence with same setting, FC displays the previe
-
I updated over 100 book titles and authors and when synced, everything is the same as it was before on my iPad. When it's connected to the computer the changed names are there.
-
Assistance in selecting products: InDesign, CS5 or others?
Firstly, I have to ask how does anybody contact Adobe?! I have spent the last half hour trying to find even the webform that I completed a week before, but now can no longer find, let alone an address to send an email to. What a waste of my time...al
-
Where is the Server Behaviors, Bindings, Databases in dream weaver cc
Hi can anyone tell me how to get the Server Behaviors, Bindings, Databases in dream weaver cc thanks