Regarding dynamic fields change on screen.
Hi all,
The requirement is to to change the fields on selection screen based on login.
For a particular login specific fields should be visible .Please guide me for the same.
Thanks.
Moderator message - Please look at the help for LOOP AT SCREEN; then if you have a specific question, ask that - post locked
Edited by: Rob Burbank on Jul 9, 2009 10:18 AM
Hi all,
The requirement is to to change the fields on selection screen based on login.
For a particular login specific fields should be visible .Please guide me for the same.
Thanks.
Moderator message - Please look at the help for LOOP AT SCREEN; then if you have a specific question, ask that - post locked
Edited by: Rob Burbank on Jul 9, 2009 10:18 AM
Similar Messages
-
Project Systems Selection Field change in Screen of S_ALR_87013557
Hi ABAP'ers
I need to add a new field namely 'PLFAZ' of table 'PROJ' to my dynamic selection screen, hence i tried to achieve it through selection field modification of the logical database PSJ in SE36, but my problem is ,the field is not displayed in the dynamic selection screen even after assigning function group and checking the preselect option against the field, plz suggest what is to be done to display the field in the dynamic selection screen.Hi
Please check the Corresponding Screen Number of The Screen which you want to Enhance.
After the Getting Screen number Check the Enhancement Possibilities. -
Problem regarding dynamically field move up if null
My 1st req was:
i want the field which is condionally come in my form , when the value is null it wil not be displayed and when the value is not null
the field shud be displayed this is my 1st requirement
now this i hve achieved now
2nd is ( The space occupied by the field if it is not displayed wil also be nullify ).
Suppose there are 5 field in which 3 field have value , now i want only to display those 3 fields and also the space which wil occupied is of 3 only.
dynamically the below field wil come up if the value of above field is null." 2) flowed with western text ,
field come side by side but still manupulation of field is nt achieved.
can you please explain me clearly about this ?
are you getting the values properly?
the value field is coming on left side and text field on right side ... "
If i define it with western text the fields are coming side by side ..means eg
these are two fields in positioned form. one is text and another is value
Total PF 9025.
if i change it to flowed top to bottom output will be
Total PF
9025
the value field is coming on left side and text field on right side .
and if i change it to flowed western text output will be
9025 Total PF
Edited by: Ankesh Jindal on Aug 26, 2008 2:09 PM
Edited by: Ankesh Jindal on Aug 26, 2008 2:09 PM
Edited by: Ankesh Jindal on Aug 26, 2008 2:11 PM -
Invoice date field change- MIRO screen
HI all,
i want to check the field selection settings for invoice date (INVFO-bldat) on MIRO.
the user is getting default value as today's date. He wants a blank date
Please helpDo you mean " posting date " get default by today date? because in my system the posting date that getting default today date, not invoice date.
And event if the users get today date, he/she can still change it.so its not a big problem.
Blank or today's date--> user still need to fill in /write the posting date. -
Production order - change standard screen
Hi Gurus
Please advise.
User wants to use
Start Time (CAUFVD-GSUZP) and Finish Time (CAUFVD-GLUZP) on Production Order Creation screen (transaction CO01). In standard these fields are closed (only displayed as 24:00 for Finish time and 00:00 for Start Time).
If we open these fields (change standard screen) and enter the values - what are the impacts?
Thank you.Hi Oleg,
I wanted to know what the requirement of User so that you want to change the time mentioned in the order. Because this the time earlier and latest time suggested by the system.
Regards,
shailendra -
CO02 goods reciept tab fields change history
Hi SAP Gurus,
Is it possible to get history in CO02 transaction regarding changes in goods receipt tab fields or is there any separate transaction where we can see the changes regarding CO02 field changes or else we should go for any enhancement ? Pls suggest asap.
Thanks & Regards
DevenHello Deven,
Check in AUT10 transaction for changes in this transaction code CO02
You can get the change documents by using a user exit PPCO0007, refer SAP consulting note
390635 - Change documents for production and process order
Best Regards,
R.Brahmankar -
Get input for 100 dynamic fields in a single screen
Hi all
I got one requirement wherein i need to accept input for around 100 dynamic fields in a single screen. screen can scroll down if possible.
Can anyone tell me whether it is possible. if yes please let me have the sample code.
Thanks
Ravindra SuvarnaRavi,
Probably a TAB STRIP might help you.
Seggregate your 100 fields logically, say 5 groups.
Have a TAB STRIP CONTROL, with 5 tab strips and place 20 fields in each of the tabs. Each tab strip will have a sub screen.
Regards,
Ravi
Note : Please mark the helpful answers. -
How to change the screen element of a single field in a table control
Hi Gurus,
I want to change the screen element of a single field (or the whole row) in a table control according to a condition.
I have 2 columns in the table control. One is an input column and one output only. When user enters values into the input column, they need to be compared against the values in the other column, and if there is a discrepancy, the row where the discrepancy is needs to be highlighted.
I have tried the following code which highlights the whole column ...
CONTROLS: TC_ZVOYG_BINS TYPE TABLEVIEW USING SCREEN 0500.
DATA: wa_tc_zvoyg_col LIKE LINE OF TC_ZVOYG_BINS-cols.
LOOP AT G_TC_ZVOYG_BINS_ITAB
INTO G_TC_ZVOYG_BINS_WA.
if G_TC_ZVOYG_BINS_WA-zdelivery_bin ne G_TC_ZVOYG_BINS_WA-zactual_bin.
loop at screen.
IF screen-name = 'ZVOYG_BINS-ZACTUAL_BIN'.
wa_tc_zvoyg_col-screen-intensified = 1.
MODIFY tc_zvoyg_bins-cols FROM wa_tc_zvoyg_col TRANSPORTING
screen-intensified WHERE screen-name = screen-name.
endif.
endloop.
endif.
endloop.
And also the following code which makes no change ...
LOOP AT G_TC_ZVOYG_BINS_ITAB
INTO G_TC_ZVOYG_BINS_WA.
if G_TC_ZVOYG_BINS_WA-zdelivery_bin ne G_TC_ZVOYG_BINS_WA-zactual_bin.
loop at screen.
IF screen-name = 'ZVOYG_BINS-ZACTUAL_BIN'.
screen-intensified = '1'.
modify screen.
endif.
endloop.
endif.
endloop.
Thanks in advance.Hi,
The modification of a screen element attribute (LOOP AT SCREEN...MODIFY SCREEN) must always be done in the PBO (for a dynpro, it will be in a PBO module, i.e. declared by MODULE ... OUTPUT)
About the loop at the internal table, it is done automatically by the system, also during the PBO, you'll find something like LOOP [AT itab] ... WITH CONTROL ... in the PBO part of the screen flow logic (note: you may have to complete with a supplementary READ TABLE if you don't use AT itab). So you don't need an additional loop.
Best regards
Sandra -
How to change the screen field text in runtime
Hi ,
I want to change the screen button text in runtime IN ABAP dynpro screens. if anybody know this please post some helpful answer
Regards,
Anil kumar GHi Anil..
We can change the Text of a Pushbutton dynamically.
For this:
1. Declare a Global variable with the Same name as the Button in TOP include
Eg: Data: Button1(30).
2. In the PBO module of the Screen assign the Text to this variable:
Eg:
Module set_text OUTPUT.
Button1 = 'This is the text'.
ENDMODULE.
<b>REWARD IF HELPFUL.</b> -
Add new field in selection-screen and output dynamically
hi gurus,
i need to add field in selectio-screen.
i need to validate the field with existing fields.
i need to add this in alv grid output list dynamically.
thanks & regards,
kgn9.Hi
Try to use EXIT_SAPMM07M_001, it's to update the item (not header) text, but you can try to use it:
FIELD-SYMBOLS: <BKTXT> TYPE MKPF-BKTXT.
ASSIGN ('(SAPMM07M)MKPF-BKTXT') TO <BKTXT>.
IF SY-SUBRC = 0.
<BKTXT> = <.....>.
ENDIF.
Max -
How to pass selection screen value to LDB dynamic field.
Hello everybody,
In my program, I am using standard LDB(PSJ) for getting data. And there is a requirement that I have to display some dynamic fields on my selection screen like plant , person responsible ( which are mandatory also ) etc. and inside the program I have to fill those dynamic fields for which the user has entered the value in selection screen.
Could you please tell me how to pass some of selection screen values to ldb dynamic fields before GET statement.
Thanks !!!
Regards,
Mitra>
Pavan Bhamidipati wrote:
> Hi,
>
>
I have to fill those dynamic fields for which the user has entered the value in selection screen.
>
>
> This means that the user is going to enter the values in the selection screen for the dynamic field values so
>
> SET PARAMETERID 'XYZ' FIELD p_field.
>
> where p_field is a parameter on the selection screen
>
> Regards
> Pavan
You can capture the values selected through the dynamic selections using some of the functions modules below, just search the forum for the below FM's, perhaps you can find some sample code
FREE_SELECTIONS_EX_2_RANGE
FREE_SELECTIONS_EX_2_WHERE
FREE_SELECTIONS_RANGE_2_EX
FREE_SELECTIONS_RANGE_2_WHERE
FREE_SELECTIONS_WHERE_2_EX
FREE_SELECTIONS_WHERE_2_RANGE -
P.O change if i change only screen exit field the data is not saving
Hi ,
In the purchase order header custom tab i am added a screen exit field .In the purchase order creation mode the screen exit field is saving.But in the change mode if i am changing only the screen exit field then it is showing as 'no data to save' and not saving .But at the same time if i am changing some standard field with the screen exit field then both the field is saving.
I have to activate any field to save the screen exit field.Please let me know any exit to be activated for saving the data.
With Regards,
AmbroseHi
Pls keep a break-point in the PAI of Screen exit and check, whether it stops in change mode
Regards
Madhan D -
Add fields in the SRM Change PO Screen
Hi SRM Gurus,
I have a requirement to add a buyer id and country id in the Change Purchase Order (Extended Search of the Find Screen).
Can anyone suggest which structure needs to be extended for adding the 2 fields so that it appears in the Change Purchase Screen as a searcheable criteria...
Thanks in advance.
Thanks and Regards,
AnuHi Anu,
Try the OSS Note 672960.
Here you will find all the structures that needs to be extended as well as the procedure to do it.
Hope this helps.
Thanks,
Pradeep -
Adding fields on selection screen dynamically
Hi all,
Can we add some fields to selection screen dynamically on pushbutton click?
Regards,
Dnyaneshjust have look below code
REPORT zrsdvsr1
LINE-SIZE 220
LINE-COUNT 65(5).
TYPE-POOLS : slis.
TABLES
TABLES: vbak.
DATA DECLARATIONS
Ranges
RANGES: r_posnr FOR vbap-posnr.
DATA: BEGIN OF t_veramt OCCURS 0,
vbeln TYPE vbap-vbeln,
posnr TYPE vbap-posnr,
matnr TYPE vbap-matnr,
netwr TYPE vbap-netwr,
mwsbp TYPE vbap-mwsbp,
END OF t_veramt.
DATA: BEGIN OF t_disamt OCCURS 0,
vbeln TYPE vbap-vbeln,
posnr TYPE vbap-posnr,
matnr TYPE vbap-matnr,
netwr TYPE vbap-netwr,
mwsbp TYPE vbap-mwsbp,
netwr_v TYPE vbap-netwr,
mwsbp_v TYPE vbap-mwsbp,
disc_val TYPE vbap-mwsbp,
END OF t_disamt.
*& ALV FIELDS
DATA : alv_fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
alv_layout TYPE slis_layout_alv.
SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_ver RADIOBUTTON GROUP g1 USER-COMMAND rad DEFAULT 'X',
p_sab RADIOBUTTON GROUP g1 .
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
SELECT-OPTIONS: s_vbeln FOR vbak-vbeln NO INTERVALS MODIF ID gr1.
PARAMETERS: p_dwfile TYPE rlgrap-filename
DEFAULT 'C:\test1.txt' MODIF ID gr2, "#EC NOTEXT
p_upfile TYPE rlgrap-filename
DEFAULT 'C:\test.txt' MODIF ID gr3. "#EC NOTEXT
SELECTION-SCREEN END OF BLOCK b2.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_upfile.
**************F4 Help For Input File Name****************************
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = 'C:\'
IMPORTING
file_name = p_upfile.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_dwfile.
**************F4 Help For Input File Name****************************
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = 'C:\'
IMPORTING
file_name = p_dwfile.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_sab = 'X'.
IF screen-group1 = 'GR1' OR screen-group1 = 'GR2'.
screen-active = '0'.
screen-invisible = '1'.
ELSE.
screen-active = '1'.
screen-invisible = '0'.
ENDIF.
MODIFY SCREEN.
ELSE.
IF screen-group1 = 'GR3'.
screen-active = '0'.
screen-invisible = '1'.
ELSE.
screen-active = '1'.
screen-invisible = '0'.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
START-OF-SELECTION
START-OF-SELECTION.
Check Radio Button
IF p_ver = 'X'.
PERFORM get_details_open_so_vertex.
ELSE.
PERFORM get_details_open_so.
ENDIF.
Display the output.
PERFORM diplay_report .
regards
vinod -
Change the value of the field on the screen
Hello All,
I want to change the value of another field on the screen when the user selects the value for a particular field.
For eg: If i select ship-to-party value on the screen by F4 based on that the sales office and sales group values should change on the screen.
I am modifying the internal table that has these values, but its not showing the new values on the screen.
Please let me know how to resolve this issue.
Points gauranteed.....
Thank You,
Sureshhi
use at selection-screen on help request for field1
OR on value request for field1.
Use selection screen events.
AT SELECTION-SCREEN OUTPUT
AT SELECTION-SCREEN ON sel_opt1.
AT SELECTION-SCREEN ON test1.
AT SELECTION-SCREEN ON END OF sel_opt1.
AT SELECTION-SCREEN ON HELP-REQUEST FOR sel_opt1-low.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR test2.
AT SELECTION-SCREEN ON BLOCK block1
AT SELECTION-SCREEN ON RADIOBUTTON GROUP rad1.
Regards,
Prasanth
*Reward points if helpful
Maybe you are looking for
-
Error message appears when trying to open recently updated itunes
Updated to newest Itunes...when i try to open i get this error message and it won't open: An unhandled win32 exception occurred in iTunes.exe [1564]. Just-In Time debugging this exception failed with the following error: No installed debugger has Jus
-
When i try to open a .swf file, it goes to adobe device central as default
when i try to open a .swf file, it goes to adobe device central as default. i can't seem to open it in adobe flash????
-
How to create a cross ref. between html page to external PDF file
Hi all, I don't know if it can be done but i'd like to create cross ref. or link from an html page (using robo#7) to a pdf file - in a spesific location i.e heading/bookmark inside the pdf. Is it possible? & if so, how do I do it? Thanks a lot, Tali
-
ok so the mac pro has two different monitor ports after about an HOUR of searching i finally figured out the second port is an ADC port. now i want to hook up a vga monitor to it. is there and ADC to vga adapters out there. I have only found ADC to D
-
Illustrator crashes when I select a font
I just reinstalled CS4 on a new mac and illustrator is crashing every time I select an new font. Any suggestions? Perhaps deleting preferences? It gives this error.. Crashed Thread: 11 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KER