Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

module pool Doubt

Former Member
0 Likes
816

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

8 REPLIES 8
Read only

Former Member
0 Likes
795

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

Read only

Former Member
0 Likes
795

use this demo program for the long text(rect)

RSDEMO_DRAG_DROP_EDIT_TREE..

Read only

Former Member
0 Likes
795

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.

Read only

Former Member
0 Likes
795

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.?

Read only

0 Likes
795

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.

Read only

Former Member
0 Likes
795

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

Read only

0 Likes
795

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

Read only

Former Member
0 Likes
795

Thanks