Hide columns for ALV list output in SAP Query SQ01/SQ02
Hi All,
I have a requirement to hide the columns which are empty in sap query SQ01 alv list output.
Please let me know this functionality available in Query (SQ01) like normal reports
Regards,
Venkat
Hi,
We just can't make changes in this case as this are all system generated programs.
WE have to write our own reports to make things flexible to match our requirements.
Things you are asking is not possible.
Regards,
Suvendu
Similar Messages
-
SAP Query (SQ01/SQ02/SQ3)
Hi Experts,
I have created query (SQ01/SQ02/SQ03) to display below fields: Hazard Code, Device Location Number, Hazard Code Description, Loc. Created by, Loc. Created on Date.
Now in the output list I want to display a summary of all the count of records by the key characteristic for the query. For example, the Device Location by Hazard Codes query should give us a summary of the count of all device locations per each hazard code.
Practical Scenario:
Device Location Hazard Code
40002748 01
40002751 05
40002481 07
40002746 04
40002749 04
40002994 01
Then in this case it should either display additional third column or additional row saying:
Device Location Hazard Code
40002748 01
40002994 01
Total Hazard Count: 2
40002746 04
40002749 04
Total Hazard Count: 4
40002751 05
40002481 07
or
Device Location Hazard Code Total Count
40002748 01
40002994 01 2
40002746 04
40002749 04 2
40002751 05 1
40002481 07 1
I checked statistic tab present in SQ01 also URL [http://help.sap.com/erp2005_ehp_02/helpdata/en/d2/cb4256455611d189710000e8322d00/frameset.htm] but still I am not able to figure out how to display this data.
Please let me know.
ThanksHi,
If you're getting the output in ALV Display, you can simply click on the location column & then click on the Sub-Total button on the ALV toolbar, it will sort all the records according to the location (1 or 2 or...) & give you the total/count of the particular location.
For any further clarification, let me know.
Prateek -
Question regarding SAP query (SQ01& SQ02)
Hello everyone,
I have been assigned a task of creating a SAP query in SQ01. The report requires me to incorporate a drill down functionality.
i.e. when I double click on a material I should be able to see the components of that material.
My question is "Is it possible to incorporate a drill down functionality in a Query through SQ01".
If yes then how.
Please provide me with some documentations or example codes for this.
Regards,
Deepti Jain.Deepti,
There are 2 ways to get the output From SAP query.
1.Under record processing :
if you don't write any code in Start of selection event for output
(WRITE statements) we can not have any control on that.
2. Under start of selection event :
If you write any code in START OF SELECTION event like
get the data in internal table and loop the internal table
In loop WRITE statement to display with format and try to use
Interactive report commands Here. I think it will work fine. -
Transport request for SAP Query - SQ01, SQ02, SQ03
Hi Experts,
I have a doubt, Whether we can have request for SAP Query which have created from Transaction SQ01.If Yes then How to do that....?
Thanks in Advance,
Chetan JoshiHi,
Use the program RSAQR3TR
Thanks
Naren -
Question in SAP QUERY- SQ01,SQ02,SQ03
Hi SAP QUERY Experts,
I have a question for the query. Is it possible using a interface parameter for report-to-report interface? I mean when I double click on one the data record of query, I want to transfer the key information of this record to the query or report or transaction as parameters. Is it possible? If yes, could you tell me how?
This is on SQ01, SQ02,SQ03
Thanks and Regards
Saravanahi all,
i am having one abap standard query, i have to modify that one and i have to include another colum which needs the requirment.
07 Depreciation /SAPQUERY/AM07 ADA FIAA - DEPRECIATION
the above i mentioned is the query, how ever i tryed this standared to copy but i am not able to connect infoset and all stuff.
pls guide me how to insert additional colum in that standard report or query.
pls guide me
thanks and regards,
sai -
LIST_TOO_MANY_LPROS error for alv list output
Hi All,
we are displaying two lists in one output by using resue_alv_list_output by passing list_append = 'X' to l IS_LAYOUT parameter.
when we are using like this we are getting the LIST_TOO_MANY_LPROS error.please suggest.
please find the below error.
Runtime Errors LIST_TOO_MANY_LPROS
Date and Time 08.09.2009 21:06:33
Short text
No further list processing possible.
What happened?
You requested too many consecutive nested call screens.
What can you do?
If possible, leave the current screen level before making a further
selection (function Back=F3 or Cancel=F12).
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
At present, the maximum permitted number of nested screen levels is
restricted to 50.
How to correct the error
If possible, unnecessary screens should be suppressed beforehand.
Remember that you can also output a list at the same screen level as
the details list.
In some cases, it is better to create a new screen level stack by
switching to another program or transaction.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"LIST_TOO_MANY_LPROS" " "
"SAPLKKBL" or "LKKBLU01"
"K_KKB_LIST_DISPLAY"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.Just want to give a hit in relevance to what Sandra suggested. You can set a breakpoint in one of callback subroutine but skip first 49 its calls. This means that only when it is called 50th time, processing will stop at this breakpoint. To do that, in debugger set a breakpoint -> go to Breakpoints tab -> enter 49 in Skip field. You will avoid counting number of calls yourself, system will do that for you.
Regards
Marcin -
SAP Query-SQ01,SQ02,SQ03
Hi,
One query was created in Development client and a transaction code was created for the same and transported to QA & production. But I am unable to see the same in QA cliet or production client. this was done by SAP implementation team and i do not know what mode of transportation they had used.
When i run the transaction code for this query in QA client it says the user Group has not been created. After analyzing the same in two clients we found that in Global area everything is same in these two clents but in Standard area the User Group is not showing.
Can anyone give some clue as to how to rectify this issue..is it an issue related to transport or do we have to manually create in each client.
Also let me know what is the difference between Standard area and Global area??
Regards,
SAPFICOHi,
sorry for using google to find the answer to your question. I must be afraid you do it next time yourself
[Transporting Query Objects|http://help.sap.com/SAPHELP_NW70EHP1/helpdata/EN/d2/cb467f455611d189710000e8322d00/content.htm]
[Query Areas|http://help.sap.com/saphelp_nw04/helpdata/en/7f/af0c36932211d194f60000e82de14a/content.htm]
Kind regards,
Clemens -
Hide a Column in ALV Grid Output
Hi,
I want to hide a column in ALV Grid Output through program.
I am using lwa_fieldcat-NO_OUT = 'X'. to hide the column in output but it is not working, column in not hided in the output.
Kindly suggest.It should work..
see the code :
d_fieldcat_wa-fieldname = 'MATNR'.
d_fieldcat_wa-seltext_l = 'material number'.
d_fieldcat_wa-no_out = 'X'. * hide particular field
append d_fieldcat_wa to d_fieldcat.
clear d_fieldcat_wa.
if not please paste your code here.
Thanks
Seshu -
How to hide ,unhide columns in ALV List
Hi all,
How to hide ,unhide columns in ALV List..
Plz guide me.
Thanks in advance..
AlbertHi Joseph,
Check the following thread:
Hide Unhide columns of ALV grid Report.
Regards,
Archana -
End of page in alv list output.
Hi All,
Can any body help me out for how to show end of page in alv list output.
Thanks,
Rakesh SinghRefer this link:
http://www.sap-img.com/abap/sample-programs-on-alv-grid.htm
Regards,
Ravi -
How to Hide Empty Column In SAP Query (SQ01)
I was crated a report in sq01 based on business requirements , but there are some fields without any content , in sq01 if you select one of output fields in the right side of the screen in the left side you can see "List Fields" T in the list fields there is a check box , the name is "Only display field if <> 0 " , but when i check it, it doesn't work , guys is there any one to help me to eliminate column without content , in the result of sap query (sq01) ??
Please give reference (or hyperlink) to 10 Useful Tips on Infoset Queries (original document)
Regards,
Raymond -
Add New Column in ALV Report of Standard SAP ME28.
Hi anybody,
I want add new column in alv report of standard SAP Program ME28 Screen.
Add Last PO Price column inside ALV Report ME28 Screen.
Can u please anybody tell me how to add new column in ME28 Screen.
Thanks
S.Muthu.Try to find any BADI for the same
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
OR
Also one more option is to copy ME28 and, make modifications to the copied program. -
how i can make column hide in alv report
Set the NO_OUT parameter in the field catalog as X.
no_out(1) type c, " (O)blig.(X)no out
In the case it would not show the column in ALV list
Message was edited by: Anurag Bankley -
Dynamically assign value to a column in ALV LIST Display
Hi all,
How can I dynamically assign value to a column in ALV LIST Display without using classes and methods?
Thanks,
RidhimaHi Vikranth,
I am displaying one ALV list say with columns A and B.
I have value in A but not in B. Now at runtime user selects one row, clicks on push button in application toolbar, then i have to display value in column B in the already displayed list.
I searched and came to know it can be done with oops concept. but i am not using classes and methods.
so how can i do this?
Thanks,
Ridhima. -
Icon and text together in one column in alv list
Hello Everyone,
I want to display icon and text together in one column in ALV list.
I am using reuse_alv_grid_display function module.
Currently, i am able to see icon only in the column but i want to see both icon and text in one column in ALV.
Please let me know if this scenario is possible in ALV and how.
Thanks in advance.
Regards, TarunHi,
Check this code....
REPORT ZTEST_ALV_CHECK MESSAGE-ID ZZ .
TYPE-POOLS: SLIS,icon.
DATA: X_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
L_LAYOUT TYPE SLIS_LAYOUT_ALV/
DATA: BEGIN OF ITAB OCCURS 0,
VBELN LIKE VBAK-VBELN,
POSNR LIKE VBAP-POSNR,
ICON(1),
END OF ITAB.
SELECT VBELN
POSNR
FROM VBAP
UP TO 20 ROWS
INTO TABLE ITAB.
loop at itab.
if sy-tabix = 1 or sy-tabix = 2.
itab-icon = '1'.
elseif sy-tabix = 10 or sy-tabix = 20.
itab-icon = '2'.
else.
itab-icon = '3'.
endif.
modify itab index sy-tabix.
endloop.
X_FIELDCAT-FIELDNAME = 'VBELN'.
X_FIELDCAT-SELTEXT_L = 'VBELN'.
X_FIELDCAT-HOTSPOT = 'X'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = 1.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
X_FIELDCAT-FIELDNAME = 'POSNR'.
X_FIELDCAT-SELTEXT_L = 'POSNR'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = 2.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
L_LAYOUT-lights_fieldname = 'ICON'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IS_LAYOUT = L_LAYOUT
IT_FIELDCAT = IT_FIELDCAT
TABLES
T_OUTTAB = ITAB
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
vijay
Maybe you are looking for
-
Error when ejb deployment in WLS 9.1 clustered environment
Hello, We have a WLS 9.1 cluster consisting of one admin server and two managed servers. we are deploying ejb jar,It is succeed on the first managed server but fail on the second managed server. The admin console and for the second managed server con
-
OCR won't work because too low dpi, but clearly is very high DPI
Hello, I am using Adobe Acrobat Pro version 8 on Windows 7 64 bit. I have a document which won't OCR--it comes up with error messages saying the pages are less than 72 dpi. I can't find a way to verify the actual dpi of this file. However, if I zoom
-
IPhoto problem with ! Appearing
I recently uploaded a series of pictures to my IPhoto 08 but whenever I double click to view a vertical picture I get the ! instead. The horizontal and prior uploaded vertical picture have no problem. This has never happened before & I haven't altere
-
Solution for Error Message 2122!?
Hi everyone, I've been reading all your posts about error message 2122 and so far nothing has worked. Someone mentioned looking at the compatability tab and after playing around with it, it worked! Here's what I did... Right click on the iTunes logo
-
Reference to Uninitialized collection error
Hi , I am invoking one wrapper API from Database Adapter in Oracle soa suite 11g . The structure of the wrapper is 1. employee -->(1..n)employee sites --->(1..n)employee contacts I am just trying to invoking API for creation of employee record withou