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 me
Go to Query and go to selection field and change the selection text.
Hope this help.
Similar Messages
-
SQ01 - Include a check box on ABAP query Selection screen
Hi Experts,
For my Abap Query, on the selection screen i am planning to include a check box such that if i click on the check box then a field will be displayed in the resulting output . On the other hand if i do not check on i should not be able the field in the output.
Please tell me how do i do this.
Thanks
Venkata Pradeep.In infoset, Extras code tab
Code section: At selection-screen output
Do something like below:
IF radiobutton1 = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'XXXX'. "XXX is the filed group name you want to hide., you have to find out what is it.
screen-input = '1'.
screen-invisible = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF screen-group1 = 'XXX'.
screen-input = '0'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF. -
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 screen parameters
I need to add an additional selection screen parameter in existing ABAP Query. How to modify the selection screen fields in existing ABAP query ? Kindly help me.
Hi,
GO to info set transaction SQ02
Give the infoset
Press change
Press the selections button..Shift F7
In the right hand side you will get a table control to enter the selection screen parameters..
Press create button on top of the table control to create new parameters
Thanks,
Naren -
ABAP Query Selection Screen Comment
Hi,
I want to display some text (just text) on Selection Screen of an abap query. If this was a regular abap program I could have simply used "SELECTION-SCREEN COMMENT... " and that would have been enough. But since I dont seem to have access to Initialize event I cant use this option.
1. Is there some way I can write code which will be executed in the initialize event of the abap query
2. Is there some other way for us to just display comment (without any selection field) on the selection screen of abap query.Hi Saquib,
Is the navigation correct ? I dont see any onfoset anywhere on se38 editor. Can you eloborate please.
Thanks and Regards,
Ben.
Message was edited by: Daniel Ben -
Addition of checkbox and 2 fields in ABap query selection screen
Hi
I need to add chack boxes and 2 fields in ABAP query which is using LDB QMI. can u pls let me know how to do that.Hi Tarun,
I am still not clear with the problem..I guess you require plant in your selection screen which you have.
i guess if you go to sq01tcode there is a option infoset query from where you can give your selection options and value.
have you selected all the fields in infoset and made a selection screen?
When you have done with your infoset you just need to diplay the fields and there is a automatic program generated.
Let me know...
Regards,
Nihkil. -
Validate plants selected in Abap Query selection screen
Hi Everyone,
I have a requirement wherein i have to validate 'authority check' for the plants populated in the selection screen in an already created abap query.
I tried adding code in the code section. But i dont know how to use the select-option parameter. It already exists(VBAP-WERKS) in the table which is used for join, so i cannot add it in the additional fields. Am i correct ?
Also, i saw that the report program for this query uses this parameter sa SP$00008. I tried using it but it gives an error The IN operator with "SP$00008" is followed neither by an internal table nor by a value list.
Please help.
Also, please advice whether this requirement can be catered in this query alone? or should i go with writing a new report program for this? ( i personally feel that this would beat the purpose of using Abap Query. )
Regards,
TarunHi Tarun,
I am still not clear with the problem..I guess you require plant in your selection screen which you have.
i guess if you go to sq01tcode there is a option infoset query from where you can give your selection options and value.
have you selected all the fields in infoset and made a selection screen?
When you have done with your infoset you just need to diplay the fields and there is a automatic program generated.
Let me know...
Regards,
Nihkil. -
ABAP Query - Selection Screen Values Usage
Hi,
I have created an ABAP Query. For one of the selection-screen fields (CAUFV-FTRMI)
which is select-options, I want to use the values during coding (in the where clause of a select query)
in Extras section under the event "record processing". Please suggest how to make the the selection-screen values
available during record processing event. Thanks in advance.
Regards,
Tejas SavlaHi Kartik,
I need to fetch data from some table KEKO depending on the values entered on the selection-screen for the field CAUFV-FTRMI. So, I need to find a way by which the selection-screen input values are available in the record processing event. The values are available in some variable SP$00002 of the automatically generated report program. But, this variable cannot be used in the Coding section of the ABAP QUERY. Please advise.
Thanks & Regards,
Tejas Savla -
SAP Query selection texts are missing
Dear All,
I have a problem with selection texts when running a query.
There are two systems: development and test. In the dev system selection texts are displayed correctly but in the test system I got only something like:
SP$00001
SP$00002
SP$00003
SP$00004
%LAYOUT
I also transported the User group, the Infoset and the Query but this did not help.
Please, advice.
Thanks in advance and regardsJust want to add that I searched the web to find solution and the only relevant item I found was:
http://www.jt77.com/development1/programming-19276.html
However no solution found -
Hello all,
I understand that SAP automatically generates an ABAP program for every ABAP Query wherein the selection fields are connected by an "AND" statement within the WHERE clause of the actual SELECT statement.
Is there a way to control this WHERE clause in such a way that we can use "OR" operators as well to connect some selection fields?
Thanks in advance,
JohnHi, Everyone .
We can do that .
At selection-screen output (code section 13), set "1" to the field REQUIED by using MODIFY SCREEN code .
(You can get Dynpro number by F1 key or T-cd SE51 )
Masao .
Edited by: MASAO NONAKA on Oct 20, 2008 9:11 AM -
TextArea selected text color change
Hi
I would like to know, how to change the text color of the selected text from textarea.Formatting Text
with a textfield "tf" on your stage:
import flash.text.TextFormat;
var startIndex:int = 0;
var endIndex:int = 0;
var defaultFormat:TextFormat = new TextFormat();
defaultFormat.color = 0x000000;
var highLightFormat:TextFormat = new TextFormat();
highLightFormat.color = 0xFF0000;
tf.addEventListener(MouseEvent.CLICK, selectText);
function selectText(event:MouseEvent):void
startIndex = tf.selectionBeginIndex;
endIndex = tf.selectionEndIndex;
trace(startIndex+"..."+endIndex);
//highLights the current selection
tf.setTextFormat(highLightFormat, startIndex, endIndex); -
Checkbox in the ABAP query selection screen
Hi experts,
The reqiurement is to add checkbox(parameter name: EX_ZE_ST) to the selection screen of the query and if its checked then the records with the quantity = 0, should not be displayed in the output.
I added a check box and now my issue is, how to suppress displaying the record having quantity = 0.
that quantity field is a custom added field and in sq02 i selected that quantity( Z_HANDQTY) field and gone into the code for the same and wrote below code...
the total generated table view for this query is : marav
if EX_ZE_ST = 'X' and Z_HANDQTY = 0.
break-point.
clear: marav, Z_MATDESC, Z_MATGRPDESC, Z_TAXIND,
Z_TAXTYPE, MARD, MARD-LGPBE, Z_PREVMATNR,
Z_CSTTOTAL, Z_CSTUNIT, Z_VSTOCK.
FREE MEMORY ID 'AQLISTDATA'.
endif.
But still i could see a blank line in the output if that record has quantity( Z_HANDQTY) = 0.
Thanks in advance...
Karthikhi,
Try this wa y...
if EX_ZE_ST = 'X' and Z_HANDQTY = 0.
break-point.
clear: marav, Z_MATDESC, Z_MATGRPDESC, Z_TAXIND,
Z_TAXTYPE, MARD, MARD-LGPBE, Z_PREVMATNR,
Z_CSTTOTAL, Z_CSTUNIT, Z_VSTOCK.
FREE MEMORY ID 'AQLISTDATA'.
Continue.
endif. -
HR ABAP: "Customer Specific Status" Name Changing
Experts,
There is one field called "Customer Specific Status", which needs to be changed to our requirement. For instance, the existing field's text "Customer Specific Status" needs to be changed as "Employee Status" ?
How to do it?
Thanks a lot!
Rgds,
shaoming1) Press F1 in the screen field and through technical attributes find the data element of that screen field.
2) Go to transaction CMOD
3) Choose Menu Goto -> Text Enchancement -> Keywords -> Change
4) Enter the data element
5) Change the description ( Medium Field Label is used on the screen ) and save it.
6) Wait for a moment and then check it in transaction SE11 for changes
7)Then run the transaction and check the field description -
How to set default value in select option for ABAP query
Hi experts,
What is the way to set up default values for select-options in ABAP query.
e.g.
I have one field 'Year' in my ABAP query selection screen.
I want value of current year to be appeared here whenever user execute report
Thanks in Advance
-HarkamalHi Harkamal,
execute your Query via SQ01. On Selection-Screen
goto save Variant. Mark your field
as selection variable an press Button election variable.
Take variable from TVARV and use it.
Than save the Variant.
Look at TVARV if the 'Year' is updated to the actualYear!
regards, Dieter -
Urgent Requirement-- ABAP Query
Hi,
I have a developed ABAP Query by the name "YCOPM_Bill_PUR".
In this query, I have an additional field "indicator". For this field, there is some code written, wherein either of the values "N" or "O" are assigned to this "indiactor" field. Now, the query should generate the output, only when indicator = N i.e. only those records should be displayed in the output for which the indicator field has value 'N'.
Records having indicator field value as "O", should not be displayed.
I want to know the place where I can write this condition and keep a control on the records displayed in the output.
Currently, the query output displays all records (irrespective of whether indicator = 'N' or 'O').
I have added the field indicator on the selection screen.
But, I want to know where can I write the condition :
if indicator = 'N'.
endif.
In "SQ02", there would be some place where i can write the above condition so that the output is trigerred only for those particular records. If possible, please do let me know.
In short, I need to know, where are the output fields getting populated and where can I write this code to control the output.
Please help me out.
Thanks & Regards,
Tejas SavlaHi Pooja,
Thanks a lot for your quick reply.
I have done the same . i.e. i have written the code for that particular field (indicator) in SQ02 and generated the infoset. Now, the correct value ('O' or 'N') gets assigned to the indicator field.
But, my problem is different.
I need to find the location, where the all the output(report output) fields are getting populated, so that I can place a condition on my additional field (indicator) and control the fields to be displayed in the output.
In short, I need to know, if there exists a location where I can place a condition such as "Display the output, only if field indicator = 'O' ".
I hope you got my query.
Thanks in advance.
Regards,
Tejas Savla
Maybe you are looking for
-
Asus vivobook s400ca SSD + HHD UEFI install issues
Hi folks, I'm really new in all this thing of Arch and I'm trying to install Arch (2014.10.01) on my ultrabook asus vivobook s400ca, the thing is that the computer has a hybrid HDD (24Gb SSD and 465 HDD) and also an UEFI boot, I've created this schem
-
Blackberry Bold-9700 Challenging N900 !!
Hi Guys, I for one very strongly believe for a Audio-Visual product maybe also like a Cellphone the display has to be really good especially if you are also gonna use it as an entertainment device. So on the same lines I was having this discussion wh
-
Lightbox 2 -size & position of image
By default, the new image opens in the centre of the page and is cropped to a default size. How can I adjust the code so that it opens at a specific location and expands to specific size, please? I want to use the code for single images of same size
-
Hi all: i want show a maximize window when program started. How can i do it.
-
Hi, When mixing it isn't possible in X to loop a section. Here's a short clip to demonstrate, https://dl.dropboxusercontent.com/u/4534224/loop%20logic%20pro%20x.mov I use the same settings i'm using for the last ten years, never been a problem, same