Default Values in IW73 Selection screen
Hello Experts,
SAP transaction IW73 has a default entry 100004731 for functional location.
Please guide me how to remove this entry and defaulted to blank?
Thanks!!!
Br,
Arun
Hi,
Generally default values can be assigned to transaction by BADI implementation. So, search for the BADI of IW73 transaction and deactivate the implementation.
Hope this will be helpful for you.
Regards,
Supriya.
Similar Messages
-
Setting ranges as default values for a selection screen value
i have a selection screen parameter s_yywrpc. For this s_yywrpc i have to set some range of values as default values.
Can u tell me how can i do that .
select-options:s_yywrpc for vbak-yywrpc.
for this parameter i have to set MSPG, MSP, FMP, FMPG, CFEG, FCFG, CMSG, CMSP as the default values in selection screen
can anybody tell me how can i code this
thanks
pavan>
pavan kumar wrote:
> i have a selection screen parameter s_yywrpc. For this s_yywrpc i have to set some range of values as default values.
> Can u tell me how can i do that .
>
> select-options:s_yywrpc for vbak-yywrpc.
> for this parameter i have to set MSPG, MSP, FMP, FMPG, CFEG, FCFG, CMSG, CMSP as the default values in selection screen
>
> can anybody tell me how can i code this
>
>
> thanks
> pavan
in the intialization event.
INTIALIZATION.
s_yywrpc-low = 'MSPG'.
s_yywrpc-sign = 'I'.
s_yywrpc-option = 'EQ'.
append s_yywrpc.
s_yywrpc-low = 'MSP'.
append s_yywrpc.
do it all for the values. -
Default Value for a selection screen field
Hi Experts,
I am having a selection screen with a date field i am defaulting the date field to sy-datum but i also have a option of changing the date field value.
The issue is i have defaulted the date field value in PBO event,so when i change my field value in selection screen every time the defaulted value is appearing instead of my new changed value.
Plzz suggest a solution.Hi ,
Actualy u should set the default value at the time of selection screen, but now from the same logic try to write like
If Date is initial.
data = sy-datum.
endif.
in ur PBO
Try this.
THank
-Anmol
Hi Experts,
I am having a selection screen with a date field i am defaulting the date field to sy-datum but i also have a option of changing the date field value.
The issue is i have defaulted the date field value in PBO event,so when i change my field value in selection screen every time the defaulted value is appearing instead of my new changed value.
Plzz suggest a solution. -
Changing of default values on the selection screen dynamically
Hi,
I have 2 radiobuttons R_A & R_B and i have one text field like P_TEXT. Based on selection of radio button i have to change the default values in P_TEXT on the selection screen. like if i select R_A i have to display P_TEXT = 'A'. if i select R_B then it has to display P_TEXT = 'B'. I tried like as below
in AT SELECTION-SCREEN OUPUT EVENT.
IF R_A = 'X'
P_TEXT = 'A'.
ELSEIF R_B= 'B'.
P_TEXT = 'B'.
ENDIF.
But it's not working. it is working only for first radio button. when i select second radio button it is not giving the second value. can any one tell the sol.
Tks in advance.Hi Pammi,
Use this code, its working:-
PARAMETERS : r_a RADIOBUTTON GROUP gp1 DEFAULT 'X' USER-COMMAND rb,
r_b RADIOBUTTON GROUP gp1,
p_text(20).
"we use user command with the radiobutton so that some event is occured in order to call AT SELECTION-SCREEN OUTPUT.
AT SELECTION-SCREEN OUTPUT.
IF r_a = 'X'.
p_text = 'Hello'.
ELSEIF r_b = 'X'.
p_text = 'Hi'.
ENDIF.
In the above case 'AT SELECTION-SCREEN OUTPUT' will act as PBO of the selection screen and will change value of selection text as per condition.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir -
Default value on the selection screen.
Hi All,
We have a field on the selection that is Sales Organisation.
Now for this field we want the default value coming from the User Parameters.
i.e On SAP menu under SYSTEM there is User profile, In that user profile if you go to OWN DATA, There is tab called parameters.
Here VKO Parameter ID the sales Organisation is defined. They want this value to come as default on the screen.
Please help out how can this be done.In the INITIALIZATION write the code as below.
get paramater id 'VKO' into field p_sfiled.
here p_field is your selection screen field.
Reward points if useful
Regards,
Nageswar -
Default values in se16 selection screen
Hi,
when we open SE16 along with table name , In the selection screen of that table i want some default values apper for one particular field.
How can i do that???Hi,
it`s not possible to fill the fields only for this selection.
You can work with variants, i think, this is the best way.
On the other hand you can work with parameter-id´s. Most of the fields have this and you can enter it in you user-paramters. This variant has the effekt that the value will shown in each transaction, where this parameter-id is used.
Regards
Nicole -
HR-ABAP: Defaulting Radio Button on Selection Screen of PNP LDB
Hi all,
I am using PNP LDB (Logical Database) for program which is used for Payroll Results.
Now I have a requirement wherein it is necessary to select 'Up to today' as default on the selection screen.
We are having 4.7C version of SAP. I tried following code in INITIALIZATION event:
Initializing Selection Screen Data Selection Option to 'Up To Today'
INITIALIZATION:
MOVE: 'X' TO pnptimr4, " This is the option which I want as Default selection.
space TO pnptimr1,
space TO pnptimr2,
space TO pnptimr3,
space TO pnptimr5,
space TO pnptimr6.
But still I dont see this Radiobutton getting selected as Default selection while running the program.
By Default it selects Option : 'Other Period' (pnptimr6).
Any Idea how to resolve this ??
Regards,
Avinashhi...
When the INITIALIZATION event occurs, you can set default values for the selection screen.
The fields for the data selection are defined in structure QPPNP.
Possible values for field PNPTIMED are:
D = Today (key date)
M = Current month
Y = Current year
P = To current date
F = From today (from current date)
The person selection fields are defined in include program DBPNPSEL. They are internal tables that must be filled using APPEND.
so in intialization you have to write code as
PNPTIMED : P.
so up date will be defaulted in selection screen.
award points if helpful. -
Selection-screen - add default value to multiple selection
Hi,
How I can add a default value for multiple selection, on a Select-options?
Thanks in advance,
Brian GonsalesBy default, selection optoins are RANGES, therefore to fill these before display, in the INITIALIZATION section
CLEAR: so_field, so_field[].
so_field = 'IEQvalue'. append so_field.
so_field = 'IEQvalue2'. append so_field.
so_field = 'IEQvalue3'. append so_field.
If you want ranges
CLEAR: so_field, so_field[].
so_field = 'IBT'. so_field-low = 'lowvalue'. so_field-high = 'highvalue' append so_field.
* ETC
Edited by: Paul Chapman on May 15, 2008 9:30 AM -
Set Default Value of Multi-select list item
I have a multi-select list item I want to default the value of to '%' (which is really '%null%') and have it selected. I tried setting default value of item, but it doesn't take '%null%'. I also tried a computation with a static of
:P507_ITEM := '%null%'; How do you get the default value set and selected?Hi
Shijesh is right, you need to change your null return value and use that return value as your default. Try and use something of the same datatype as your real return values if you plan to use '%' to display all as it will make your queries simpler. eg.
Company A returns 1
Company B return 2
% returns 0
Then your query would be...
SELECT ...
FROM ...
WHERE company_id = DECODE(:P_COMPANY,1,1,2,2,0,company_id)
Hope this makes sense.
Cheers
Ben -
How to display the sort value in the selection screen in the report title
Dear All,
How to display the sort value in the selection screen in the report title? I have selected a value in the selection screen for sorting , but i need that values by which i have sorted with in the report title. Can you please throw some light on this!!
Good day,
Thanks and regards
Arun SHi Arun,
Try this.
1, Set one dynamic parameter,
2, Drag and drop that parameter into your report title.
3, Pass the value(sort value) dynamically from your application,
4, Cheers..
Other wise Try with Dataset, create a dataset and fill thev alue into that.. Then set the data source from CR designer. and darg and drop that data column into the report.
Hope this will work,
Regards,
Salah
Edited by: salahudheen muhammed on Mar 25, 2009 11:13 AM -
Retrieve input values from the selection screen
I have a requirement to retrieve the variable value or values inputed from the selection screen and label the worksheet tab to replace the tab name 'Sheet1' from the Excel. The only way to do this would be to write a macro to label the sheets but how would I retrieve the value(s) from the selection screen criteria? Is the value of the selection screen entered by the user stored in some table? How would I write the macro to retrieve this value?
For example, I want to retrieve the company code entered from the selection screen and lets say the company code entered as 10; I would want to replace the worksheet from 'Sheet1' to '10' . Texts would be more recognizable.Use the option Layout->Display Text Elements->Variables from the BEx toolbar. This will display Variable screen user input on your workbook in a fixed location. Then you can use your macro to name the worksheet with the cell reference.
Thanks
Vineet -
# value in Variable Selection screen
Hello,
Can you please help with the below:
How do we remove # (Not Assigned) value from Variable selection screen. When I select PLANT in one of the report, I see # value. But there are no empty values in the cube. So, I am not sure as why I am getting this # value in Selection Screen. The seeting in Web designer for READ MODE is "Posted Values" and not "Master data or Dimension Table".
Thanks.have you checked what Bex properties are set in the Info Object for "Query Def. Filter Value S"
Select Values from Info provider.
that might solve your problem. But ensure you're not disturbing anything else by changing this property.
Regards, Siva
Message was edited by:
Siva Bonam -
Adding default value for a select-options in a selection-screen
hello gurus,
i have a report program with the following select-options in a selection-screen block:
select-options: so_site for MyTable-werks.
i want the so_site to have a default value once the program displays. can it be possible?
regards,
sidHi sid,
1. Whenever we use select-option,
an internal table of type range is
automatically created.
2. so, in fact, we have to put
record in this internal table.
3. eg. Just copy paste in new program.
4.
report abc.
tables : t001.
select-options : bukrs for t001-bukrs.
initialization.
bukrs-sign = 'I'.
bukrs-option = 'EQ'.
bukrs-low = '1000'.
append bukrs.
regards,
amit m. -
Capturing elements value in the selection screen for LDB during run time
Hi,
I have a program where LDB is used.
Could anyone please suggest how to capture the values of the elements present in the LDB's default selection screen.
Specially, the company code and the period values.
Please reply . Its too urgent.
Regards,
Binay.I got it
-
Default sales org on selection screen using set and get parameter!!
Hi,
I need to default value on selection screen using SET n GET parameter...logic to be used should be:
Sales Organisation:
This field should be filled by default using the user parameter id VKO. (using sentence GET PARAMETER and SET PARAMETER)...
Hope i need to write the code in initialisation and what shud b the content?
Regards
Gunjanhi,
TABLES <table name>.
SET PARAMETER ID VKO FIELD <tablename-fieldname>.
call transaction 'zxx'.
try this sample program,
REPORT BOOKINGS NO STANDARD PAGE HEADING.
TABLES SBOOK.
START-OF-SELECTION.
WRITE: 'Select a booking',
SKIP.
GET SBOOK.
WRITE: SBOOK-CARRID, SBOOK-CONNID,
SBOOK-FLDATE, SBOOK-BOOKID.
HIDE: SBOOK-CARRID, SBOOK-CONNID,
SBOOK-FLDATE, SBOOK-BOOKID.
AT LINE-SELECTION.
SET PARAMETER ID: 'CAR' FIELD SBOOK-CARRID,
'CON' FIELD SBOOK-CONNID,
'DAY' FIELD SBOOK-FLDATE,
'BOK' FIELD SBOOK-BOOKID.
CALL TRANSACTION 'BOOK'.
regards,
siva
Message was edited by:
Shan
Maybe you are looking for
-
I just sync my apps from itunes to my iphone but app don't show up on my phone
Please help me i just sync my apps from itunes to my iphone but app don't show up on my phone
-
Dear Experts, We are having one unique problem , We having one BWP server CI install on AIX + Oracle 9i, and one application server on windows application server(the server resided on diffrnt windows domain) , But now since we have installed these sy
-
New ABAP Program to check Direct UPDATE in Database Table
Hi all, As per customer requirement , I have to develop ONE Program which find out that in which ABAP Program , Programmer has used Open Sql command like UPDATE , DELETE , INSERT , MODIFY to direct update in Database Table. Have a look on all Z-AB
-
I get this run time error when I try to invoke create method in container managed Entity Bean. This error acured only when I unmark the options: create table on deploy and delete table on undeploy at the deploytool. is any one can help me. org.omg.CO
-
CR2_original and JPG_original files
What are CR2_original and JPG_original files? What programs create them and/or read them? Seem to have no use at all. Tie up massive amounts disk space. Any easy way of deleting them?