ABAP QUERY REPORTS
Hello Gurus'
If any ABAP Query reports other then standard reports in MM pls give like that reports.
if any body come a cross developed reports thru abap query some thing is not possible thru standard reports in mm.
Ian doing the project so i need like that reports pls help me boss.
Regards
Laxman
Hi,
If it is Indian Scenarios try to develop the reports like
The Output of the Report should be like this.
1) PRPOVendorMatrl Doc-Mvt typeSubcontracting challen Qty sendQty recievedQty pending
2) PRPOQty- Price-GR-QtyIRQtyInvoice Amt
3) Pending PRs,Pending POs, Pending GRs, Pending IRs
4) J1ID table details in ALV GRID format
Material excise details, output & input material number, Assessable value,
rgds
Chidanand
Similar Messages
-
Including MANDT field in ABAP Query Report as output field
Hi All,
I need to display the client(MANDT) field in the ABAP Query Report as an output field.
But in SQ01 where we select the fields to be displayed as output in query , this field is not visible.
I later checked in the Infoset. Even in the infoset the field MANDT is greyed out and all other fields are active.
Can someone tell me how to include the field MANDT in the output of the ABAP Query Report.self resolved
-
ABAP QUERY Report : column number change
Hi friends,
I need to modify the existing ABAP QUERY REPORT.
I have added a new field in the selection screen.
When I execute the query, it(our new filed) is displaying at the end of the columns.
But I want it to be at 8th columns. please help me.
When I try to change the out position to "8"at "Basic list" -> select check box of our field and double clict it, I am getting the following error.
Warning: Overlapping fields
Those fields overlapped by other fields will not be displayed in their entirety.
So I could not display the new field at 8 th column.
Guys. Please help me.Hi
You have to change the position of each field after 8th column
suppose you added your new field at the 8th column position
then all the subsequent fields positions you have to adjust as per their length
You have to do like this to adjust the columns
see the doc on query
http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
Step-by-step guide for creating ABAP query
http://www.sappoint.com/abap/ab4query.pdf
ABAP query is mostly used by functional consultants.
SAP Query
Purpose
The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
Features
SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
All the data required by users for their lists can be selected from any SAP table created by the customer.
To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly
use either SQ02 ans SQ01
or SQVI tr code
for more information please go thru this url:
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
http://goldenink.com/abap/sap_query.html
Please check this PDF document (starting page 352) perhaps it will help u.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
check the below link will be helpful for u
Tutorial on SQVI
once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same
Regards
Anji -
Add field dynamically in ABAP Query Report.
Hi All,
Can we add fields dynamically in the ABAP Query Report?
There is a field in my report which should occupy the line only if it has value. But if we drag-drop the filed in the report it automatically occupy the line though it doesn't have value.
Thanks in Advance!!!hi rohini,
we can add fields dynamically in the ABAP Query Report,in this way we can to,
first of all u create ur selection-screen with all the fields and make the field invisible i.e the one which u want to add dynamically. and based on ur requirement change that invisible to visible and use modify screen.
in this way we can solve.
search for invisible and modify screen in sdn u can get better information and u can understand what i am saying. -
ABAP Query- Report Assignment functionality
Dear Collages,
I am using SQ01 for reporting materials data information.
Also I am using the Report Assignment functionality to call transaction MM02
In the drill down mode expecting to change materials according to the ALV list after selecting double click on one material out from list.
The problem is that the material I am getting after moving to transaction MM02 is the last in Memory Id not the one I want to get fro ALV list.
Is this functionality I am expecting is available in ABAP Query??
If so how!
Many Thanks in advance
OrenYou need to clear the parameter id MAT , Try to use some events or using free coding clear the MAT
SET PARAMETER ID: 'MAT' FIELD space.
a® -
ABAP QUERY REPORT : please help me ASAP.
hi friends,
I need to change the existing custom abap query.
1) I need to add two more fields on selection screen. I have added using INFOSET and checked the input and output check boxes.
But the text of the one field should be different from standard tetx.
"Reference date" to be changed to "Dairy date".
I have changed in Infosets. updated text is displaying as "Dairy date" in the out put LIST, but standard text (Reference date) is appearing on the selection screen.
I need it to be displaed as "Dairy date"
2)The column "Dairy" date is adding as the last column in the list after executing the query. But I need it to be displayed at 8th column.
Please help me ASAP.hi Eric,
Could you please explain in detail.
1)I HAVE CHANGED THE NAME IN iNFOSET, FIELD GROUP.
IT IS NOT REFLECTING IN SELECTION SCREEN. ONLY REFLECTING IN THE OUT PUT.
2) I have tried by changing the sort sequence number. but still it is displaying at the end of the columns.
please explain in detail. -
Hi all,
Am running a querry report (SQ01) for generating a stock list for all materials in a Plant. I have combined the MARD, MSEG & MKPF tables. My input would be the Plant and Storage loc name. And the Output would contain the material no and the stock details (unrestricted, blocked and quality inspection stocks)..
The issue is my Material No (even though i have selected the MATNR field) is not getting diplayed when i get the output instead it shows the material description. similar is the case for Storage location.
Expecting yours help at the earliest !
Thanks in advance !!Hi,
In Query when you select a field MATNR of MARA table or LGORT
You can display both the Number and TEXT of that field
You might have selected only the TEXT for display
double click on that field and
select both the number and Text
Reward points if useful
Regards
Anji -
ABAP QUERY REPORT on Sales Revenue.
Dear SAP Experts!
Can anyone tell me the step by step procedure to create the new additional feilds in Sq02 extras , The Feilds and the Code for the following report.
I am working on the Total Sales Revenue.
Tables Used :BSID BSAD
I want to Show a the difference of the Credit-debit amount (BSID-WRBTR) in a user defined feild.
Please tell me the step by step proceudre for entering the new feilds from extras in SQ02 and what code to be written.
regards,
A SDear GSL,
I have Done as Stated.
In the extras I have taken BSID-WBRTR as the name of the New Feild as BAL.
Now I have Defined in the code as follows:
bal= bsid-wrbtr - bsad-wrbtr.
The error is as follows.
Field "BAL" is unknown. It is neither in one of the specified tables
nor defined by a "DATA" statement . . . . . . . . . .
Please suggest what is to be done.
How to get the following
BSID-wbrtr (Credit entries) - BSID-wbrtr (Debit entries).
regards,
A S -
Table deletion in ABAP Query Report
Hi ,
Is it possible to delete a Table from a infoset after generating it ?? i.e
i have used five vendor tables and generated a infoset. now i feel that i can get the expected report with 4 tables itself , so fi i wanna delete the 5th table what should i do ??
I tired by just deleting the Link between the 5th table with the other tables and generate it again.. but it throws an error
Thanks in advance !!Hi
select lipsvbeln lipslfimg likp~wadat
into corresponding fields of table ltab_orders
from lips join likp on ( lipsvbeln = likpvbeln )
join vbfa on ( lipsvbeln = vbfavbelv )
where lips~matnr = matnr
and lips~vbeln in vbeln
and likp~vbeln in vbeln
and vbfa~vbelv in vbeln
and lips~werks in werks
and likp~wadat in datum
and vbfa~vbtyp_n = 'Q'
and vbfa~vbtyp_v = 'J'.
Thanks,
Neelima. -
Performance tuning for ABAP Query (created from t-cd SQ01)
Hello all,
We created ABAP Query report from transaction SQ01.
But the generated report has an appropriate SQL statement which causes performance problem.
To solve this issue, I guess the easiest way is;
0. Give up to use it.
1. Copy it to another object in the customer namespace.
2. Ajust SQL statement.
But I'm wondering if there're appropriate ways to adjust SQL statement of Query.
Could anybody give me any better idea?
Thank you
YukoYou can try this: Create 2 ranges, for objnr and cdtcode and fill like:
ra_objnr-sign = 'I'.
ra_objnr-option = 'CP'.
ra_objnr-low = 'OR*'.
append ra_objnr.
ra_code-sign = 'I'.
ra_code-option = 'CP'.
ra_code-low = 'CO*'.
append ra_code.
SELECT objnr udate utime
FROM jcds
INTO TABLE it_jcds
WHERE objnr IN ra_objnr
AND stat = l_tj02t
AND cdtcode IN ra_code
AND inact = space
Regards,
John. -
Hi,
I have an existing ABAP Query, my req is to add new Radio buttions block after the current seelction paramertes.
i created radiobuttons in SQ02 infoset query with radiobuttons but when i run the report, selections screen has radio buttons first and then previous selection criteria fields displaying...
my req is first previous selection fields then radio buttons.
how to change the sequence of the fields in selection screen?
and based on the radio buttons, i need to filter the output data...
in which event i have to write the code?
Thanks
GiriSudheer,
it is ABAP Query report... from SQ02... i cant modify those in SE38...
current selection parameters are from table fields selected in SQ01 Query.... and radio buttons are in SQ02 Infoset.
Giri -
ABAP QUERY: Selection text name change : seq. of column sequence in output
hi friends,
1)I need to change the text of the selection field in ABAP QUERY REPORT
please help me. t code: SQ03 : User Group(zabc) and report name (zabc).
Environment -> infosets.
in the field group, double click field name to be changed. I tried to change it. The changed name is only reflecting in the list output, but not in the selection screen.
I want the text to be changed even in selection screen.
2)I want to change the position of the column ie end(last colum) to 8th column in the report output. Please help me.
Environment -> Queries -. I tried with 'Output sequence' and given no as '8'. But is not reflected and the column is still displayed at last column.
Please help meGo to Query and go to selection field and change the selection text.
Hope this help. -
How do we track back the ABAP queries/report painter used to custom report?
Hi Experts,
I only have some ideas about report painter and ABAP query. If a company has a number of different Z reports in production.
1. How do we identify if it's report painter/writer or ABAP query??
2. For ABAP query report, suppose that i can identify one. If i am given a Z tcode of that report and identify the program of that report behind it, How do i know what query that program belongs to?? What are the steps i go back in SQ03 to view that query??
3. For report painter, starting from ztcode of the report, where do i check and track the original painter of that report??
Please help clarify my doubts..
MonicaHi Monica,
For report painter/writer, you can identified it by go to
Environment --> Technical information when you execute your Z-tcode.
To refer back to the report painter/writer t-code you just need to double click oh the report group that you see by clicking the link above.
Thanks,
Victor. -
How to put ABAP Query Report to SAP Area Menu or Create transaction code for ABAP Query Report? Kindly help me.
ThanksPlease see the following thread. It should do what you need.
Re: How to create TCode for Sapquery
Once you get the tcode created, use SE43N to add the custom tcode to your area menu.
<i><b>
Kindly reward points if helpful.</b></i>
Regards,
Minami -
Hi All,
We created an ABAP Query report for Transfer order address and it is system generated report. When I am trying to find the version management but is it showing no version found. Even I have created TR manunally and imported to quality system, But this program is not moved.
I have a doubt here this is system generated program that we cant import to other system or can we import?
Can you please let us know how can we transport ABAP query report?
Regards,
Jyothi CH.Hi Jyothi,
Copy this report in another prog, save with package. that time it will be asking request. make request for this copy prog
so this way you can able to find transport request.
Regards,
Kunjan
Maybe you are looking for
-
Where can I learn about the 'Base Warranty of Depot Service"
There is a default warranty of one year with new T61 called 'Depot Service' Where can I learn more about it, what it covers and how does it work ?
-
What to do with recovery partition?
hi...i have a hp pavilion g6 notebook and i want to know how many disks are needed for the recovery and how to create the a new partition.Also what is the need of the HP_tools partition. thanks<script type="text/javascript" src="https://in.admedia.co
-
Need help scripting a DW form to dump into a MDB
I have been tasked with building a form which will dump into an Access MDB table. That done, I do not see in DW how to cause the action. Although I have created the Submit button and there is an action associated with that button type, nothing happen
-
Some downloaded podcast files restart in the middle
Hi, Every so often, an audio podcast file (from any of a bunch of series I subscribe to) that iTunes downloads has the correct duration, but the contents are oddly corrupted: In mid-playback the audio starts over again. Say it's a 15 min. episode - a
-
Time Machine archived version is updated, not original
Using Time Machine on MacBook Pro and OSX 10.8.5. I'm working on a Keynote presentation. I make some changes but would rather revert to a previous version. So I close it, assuming it is going to ask me to save, (in which case, I would say no). But in