How to design a screen field
Hi
I have to design a screen field which has 99rows and 60 digit each.
Please help me out from this
Thanks
Neelima
Try (documentation) [Defining a Table Control|http://help.sap.com/saphelp_bw/helpdata/en/d1/801bdf454211d189710000e8322d00/frameset.htm] and (sample) [Learn Making First Table Control |http://wiki.sdn.sap.com/wiki/display/ABAP/LearnMakingFirstTableControl].
Regards,
Raymond
Similar Messages
-
In layout how we can define screen field ie customer no -------- to ------
hi,
in layout how we can define screen field ie
customer no -
to -
my screen should be like this?
reply me soon.we cannt able declare select-options in module pool program .But we have ranges
so delclare two varibles
DATA: v_kun_low LIKE zcust-kunnr ,
v_kun_high LIKE zcust-kunnr.
RANGES r_kunnr FOR zcust-kunnr .
in PAI
CASE SY-UCOMM.
WHEN 'FCTCODE'.
r_KUNNR-low = v_KUN_low.
r_KUNNR-high = v_KUN_high.
r_KUNNR-option = 'BT'.
r_KUNNR-sign = 'I'.
APPEND r_budat.
in screen designing
ie layout>f6>get from program fields -
How can we make screen fields obligatory?
hi, guru's
how can we make screen fields obligatory while desiging a screen in screen painter (se51)?
regards,
satheesh.Hi,
Go to attributes of the field in layout..
go to program tab and check input field..
and in drop downlist put required..
Thats it..
Reward points if it helps..
Regards,
Omkar. -
How to create a screen field of 1000 characters
hi
i am writing a module pool program i have a requirement like i need to get a field in the screen which is capable of storing 1000 characters . as far as i know the maximum permissible screen field length is 255 chars. how can i get this 1000 chars pls help me its urgent.........
Thanks,
Shiva.you might have to store text longer than 255 characters in sapscript texts....
use FMs SAVE_TEXT and READ_TEXT for this.
on the screen, probably have multiple inputs of 255 characters each....just ideas -
How to populate 2 screen-fields with one [ON VALUE-REQUEST FOR input] evnt?
I have a selection screen with 2 text inputs - input1, input2.
For the first one I have an "AT SELECTION-SCREEN ON VALUE-REQUEST FOR input1" event.
I successfully get a value there and that is set to the screen field. But I also want input2 to be automatically populated with a value corresponding to the selected input1 (eg. input1=ID, input2=Name).
I'm able to set input2 ABAP variable but not the screen-element.
(I guess that ON VALUE-REQUEST doesn't fire any events for screen fields update, because if I press ENTER after using my search-help, then input2 is set with the right value)
How to solve the problem?Hi Ramchander,
Actually I used FM F4IF_FIELD_VALUE_REQUEST which doesn't have mapping parameters.
But after your advice I looked through F4IF_INT_TABLE_VALUES_REQUEST and found that it's
DYNP_VALUES_UPDATE FM that solves my task.
Thanks! -
How to validate selection-screen field
Hi all,
How to validate a selection-screen field defined as a select-options.for Ex i declared a selection-screen field select-options:s_matnr for mara-matnr.
Then how to validate this field.Hi,
write the below code in AT SELECTION-SCREN.
EX :
AT SELECTION-SCREEN.
*-- Validate the Selection screen data
PERFORM VALIDATE_SELSCR_DATA.
WRITE THE below code in Form "VALIDATE_SELSCR_DATA".
IF S_MATNR[] IS INITIAL.
*--MATNR is initial.
message e000(MsgCLass) with 'matnr is empty'.
ELSE.
SELECT MATNR
INTO MARA-MATNR
FROM MCHA
UP TO 1 ROWS
WHERE MATNR IN S_MATNR.
ENDSELECT.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'Invalid MATNR entered'.
ENDIF.
ENDIF. -
How to deactivate the screen fields dynamically in Module Pool Program?
Hi guys,
How to <b>activate & deactivate the screen fields</b> of a <b>module pool program</b>
<b>dynamically</b> through program. Like Change mode and display mode in a single
screen.Hi,
Make use of a Variable,say gv_flag, for both Activate and Deactivate functionalities. As many times you hit the same button, change this variable value. For example, let us say first time you hit this button, assign value 'X' to this variable. Second time you hit this button, assign value ' ' to this variable. In PBO based the variable value you have to Activate and Deactivate.
PBO.
if gv_flag = 'X'. " Activate
loop at screen.
if screen-fname = 'ITAB1-MATNR'.
screen-input = '1'.
modify screen.
endif.
endloop.
elseif gv_flag = ' '. " Deactivate
if screen-fname = 'ITAB1-MATNR'.
screen-input = '0'.
modify screen.
endif.
endloop.
endif.
PAI.
case sy-ucomm.
when 'ACDC'. " Activate/Deactivate
if gv_flag = 'X'.
gv_flag = ' '.
else.
gv_flag = 'X'.
endif.
endcase.
thanks,
sksingh -
How to Read the Screen Fields after a Transaction ?
Hi all,
I am working on the Transaction 'O4K_LICENSE'. After the transaction is run, it generates an Internal License number which is displayed on the screen. I tried using 'GET PARAMETER', but as the CALL TRANSACTION is called within a loop, the SAP Global memory is not getting refreshed and iam getting the same value for every loop for the Internal License Number.
Is there any function Module other than DYNP_VALUES_READ to get the screen field values? I tried using the above function module, but in vain and it is not getting any values.
Warm Regards,
Vijay.Well .... let me explain this very clearly.
The table OIHL has a composite primary key which is the combination of "External License Number" and "Internal License Number". The latter is generated after running the O4K_LICENSE transaction.
Moreover, iam attaching every record with a record generated in the program. Now, the same User(ERNAM) can create records having the same External License Number.
For example:
If i created a record yesterday with an external License Number 123, then say an internal lic no of 3 is assigned to it.
If i Create another record today with the same external lic no of 123, and an internal no of say 20 is attached to it, then i donot have any criterion to select the one which i have created today, as it fetches both the records.
To add to the worst, there is no timestamp field also.
Message was edited by: Vijay Sai -
How to make a screen field as selected when we place the cursor in the fiel
Hi,
I have a requirement like, needs to be automatically select a screen field value when i place the cursor in that field.
The screen field value should be displayed in blue color as like we select the value using shift-end. when a new value is entered in that field, it should over-write the existing value.
Any pointers would be appreciated.
Thanks,
Gopi.RHi Gopi,
you can look into some examples in transaction
DWDM or BIBS
Thanks,
Krishan -
How to set selection screen field obligatory dymically
hi expert,
i have to make selection screen field obligatory while selecting a check box,i am using the following code can any one help me regards, thanks in advance.....
PARAMETER:p_user TYPE adr6-smtp_addr ,
p_check AS CHECKBOX user-command ucomm.
at SELECTION-SCREEN.
case sy-ucomm.
when 'UCOMM'.
PERFORM set_obligatory.
ENDCASE.
FORM set_obligatory .
LOOP AT SCREEN.
IF SCREEN-name = 'P_USER'.
SCREEN-REQUIRED = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDFORM. " set_obligatoryHi,
The following is the sample code.
PARAMETERS : p_barea TYPE ps0171-barea DEFAULT 'Z1' MODIF ID pb,
" Benefit Area
p_imfil TYPE rlgrap-filename, " Import file name
p_lock TYPE ztx_int-int_name
DEFAULT 'ZHBNT06A_METLIFE_INBOUND' MODIF ID pb, " Lock
p_test TYPE c AS CHECKBOX, " Test run
p_update type c as checkbox. " default 'X'
SELECTION-SCREEN END OF BLOCK selb01.
AT SELECTION-SCREEN OUTPUT *
AT SELECTION-SCREEN OUTPUT.
Benefit Area field made display only field
LOOP AT SCREEN.
IF screen-group1 EQ 'PB'.
CLEAR screen-input.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Regards
Vick -
How to make a screen field invisible?
Hi
My problem is the following one : I use th screen painter to create a screen.
I would like one of the screen fields to be invisible for the user but I would like to be able to write and read values in this field using 'C14Z_DYNP_READ_FIELD' and 'DYNP_VALUES_UPDATE'
I tried to set the value of screen-active to 0 in the PBO module but it doesn't solve the problem cause if I do it, I can't specify a value for the field.
Please help,
Kind Regards
Morganhi
good
ACTIVE, INPUT, OUTPUT, and INVISIBLE
There are certain hierarchy rules between the components ACTIVE, INPUT, OUTPUT, and INVISIBLE. They also have different effects depending on their respective static settings.
The ACTIVE component has no equivalent in the element attributes. Instead, it changes the components INPUT, OUTPUT, and INVISIBLE.
At the beginning of the PBO, ACTIVE is always set to 1, regardless of the static attribute settings. Setting ACTIVE to 0 automatically sets INPUT = 0, OUTPUT = 0, and INVISIBLE = 1. Any other changes to the settings of INPUT; OUTPUT, and INVISIBLE to the current screen element are ignored. Conversely, setting INPUT = 0, OUTPUT = 0, and INVISIBLE = 1 automatically sets ACTIVE to 0, and any further assignment to ACTIVE for the current screen element will be ignored. The setting ACTIVE = 1 has no other effect on the attributes. The only purpose of the ACTIVE component is to allow you to make a screen field inactive through a single assignment. You should particularly note that a module call linked to a FIELD statement in the screen flow logic is always executed, even when SCREEN-ACTIVE = 0 for the field in question. If you want to prevent a module from being processed for an inactive field, you must specify the FIELD- and MODULE statements separately.
go through this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/loop_a03.htm
thanks
mrutyun^ -
How to design selection screen with WAD 3.x Web Items
Hi Guruu2019s,
I have a requirement where I need to design a selection screen by using WAD 3.x web items. In the selection screen we have to include the Query Description - in the left corner of the selection screen, Name of Sales Person u2013 left side of the screen, Date from and Date to u2013 right side of the selection screen, User ID and User Name u2013 on the top right of the selection screen etc., after this on the bottom of the selection screen I have to include the pushbutton RUN REPORT.
After filling all the above parameters and click on Run Report it has to trigger another URL link which contains consolidated Sales CRM Report.
Could any one suggest me and provide me the idea on developing the selection screen with WAD 3.x Web items and is there any other interface to trigger the other URL link when I click on Run Report.
Regards
Venkatno replies. Closing the incident
-
How to design multi screen application?
Hello Everybody,
I am building a BI application(AIR) that will run on desktop(resolution is not fixed) as well as on device like ipad and variety of mobile phones.
But I am having trouble in making its design cross resolution. Please suggest me a proper way to build the app flexible to fit to any screen.
Thanks in advanceWhen a user clicks in a row in the JTable, I want that the JTable
disappears and shows all the info of the row selected. Once my user
finish the edition of this row the will return to the jtable and will show
the information updated.A more common design would be to display a modal dialog with the row information and then update the table when the dialog is closed. -
How to use a screen-field when applying BADI or User Exit to a T Code
Hi Experts,
I need your help on this problem.
I have created a BADI for the transaction code miro. I have got the Exit name on which the enhancement has to be done. I want to perform a check on a text field (Scrren field name INVFO-SGTXT).
When my break point occurs i enter INVFO-SGTXT in the field to check the value present in it. But it shows that no such field exists.
My Basic doubt is how to use a value entered in a text field in a tcode while performing a User Exit or BADI on it.
Do I have to declare it. If yes please mention how?
Thanks in advance guys.Hi,
The first question here would be... do you plan on having multiple implementations down the road because if not there really isn't any reason to create a BADI inside the exit. If that is the case then add the field as an importing parameter in your BADI interface and then you should be able to see it inside the BADI at your break-point.
Regards,
Ryan Crosby -
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>
Maybe you are looking for
-
Sharing my experience, water spill accident on my Retina Macbook Pro
I would like to share my experience to the community and to fellow mac users regarding my water spill accident on my 1-week fresh Retina Macbook Pro. Before begining, i appologize for gramar or spelling mistakes since I am French and English is not m
-
Can someone assist, with iCloud I have ny Apple id and password, however in the advance section somehow I have my husband's iCloud email address whcih I can not delete off. I have logged onto Apple to amange my account and checked on the iCloud. I ha
-
Hi, I tried to download the 10g zip file for windows but when I try to unzip it I get the message that the zipfile is not a valid archive. I then tried to download the separate components, but with the same result. I'm using winzip 8.1 Cheers, Magnus
-
Open message to Apple - why the **** do you force us to deal with this Genius Playlist crap if using iTunes Match?? GET AN OFF OPTION INSTALLED. I AM PAYING FOR MATCH - SO QUIT FORCING YOUR INANE ATTEMPTS AT WHAT YOU THINK I LIKE ON ME !!!!!! YOU
-
Home Sharing troubles on a new windows computer
So we just got a new computer and I am trying to sync my iTunes library to this computr via Home Sharing. Everything works fine until the end of the import when it says that there were 216 errors in downloading the songs (216 is most of my library).