‎2008 Oct 29 4:56 AM
Hi Abapers,
Am working with module pool .
so as per my requirement i want to update two Ztables Header & item
tables.
so iam trying to place a field which of length 200 chars in the screen layout. when am selecting the field and inserting its showing an warning message and even its sitting in the layout as a Straight vertical line.
but as per my requirement i want to place field as a rectangle box where i can enter some text in that field.
and even i have to display current date in the Date field. Before screen displays.
how can i display the Current date Value as default when my screen gets Executed.
Pls give any suggestions ...!
Thanks & Regards,
Rajeshk
‎2008 Oct 29 5:01 AM
Hi,
1) In order to display current date in date field.
In PBO of ur screen..
date field = sy-datum.
2) I think u have to make use of editor-call in order to give multiple lines in a field.
Rgds.,
subash
‎2008 Oct 29 5:02 AM
use this demo program for the long text(rect)
RSDEMO_DRAG_DROP_EDIT_TREE..
‎2008 Oct 29 5:22 AM
Hi ,
the text field appears as a vertical line, that's correct.
You need to use pBO of the screen to give system date as default.
PBO.
module date.
say ,
v_date = sy-datum.
‎2008 Oct 29 7:20 AM
pls any one give solution for my requremnt.
even
am passing the SY-DATUM to my screen field under PBO
when am executing with break point its shhowing the value
in the PBO of source code, but after the break point when
the screen is displaying it not showing the value.?
‎2008 Oct 29 7:21 AM
Hi,
Are you passing the sy-datum value to the correct screen element. Also check the length of the screen element.
Thanks & Regards,
Navneeth K.
‎2008 Oct 29 7:51 AM
yes am passing the values to the correct screen element.
even i declared the date type as Datum.
but its not displaying the values to my screen
‎2008 Oct 29 8:24 AM
Hi,
Check the length of the field where you are passing the value in your screen painter....also check if there are any clear or refresh code in pbo or pai....
Regards
Debarshi
‎2008 Oct 30 3:32 AM