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

DATES HELP

Former Member
0 Likes
886

HI i am creating a screen in which i have a date field type dats vis len 10.now if i press f4 i need to get a calendar and selecting the date i need that date to be in the field.now i am able to get the calender by writing in pov but on selecting the date it is on reflecting in the screen field.below is my code.please help me with some code.

CALL FUNCTION 'DD_SHLP_CALL_FROM_DYNP'

EXPORTING

help_infos = HELP_INFO

IMPORTING

SELECTION = SELECTION

SELECT_VALUE = FIELD_VAL

RSMDY_RET = RSMDY_RET

tables

dynpselect = DYNPSELECT

dynpvaluetab = DYNPVALUETAB

.

IF SY-SUBRC <> 0.

EXIT.

ENDIF.

Regards

8 REPLIES 8
Read only

GauthamV
Active Contributor
0 Likes
857

Hi,

Why cant you use system field ?

select-options : date for sy-datum.

Read only

0 Likes
857

Hi,

PARAMETERS: date LIKE sy-datum.

Is above not working ?

Kind Regards,

Faisal

Read only

Former Member
0 Likes
857

is it a module pool or what screen you are working on ?

in case of a Mp screen you can opt the below .

use dyn_value_update to populate the screen field for that date .

check if this date field is present in DYNPVALUETAB .

Read only

Former Member
0 Likes
857

Hi Kiran,

If you declare your Select Option of Sy-datum type you dont require to add a Search help.

The search help is automatically attached.

Regards,

Amit.

Read only

Former Member
0 Likes
857

solved by self.

i concatenated the result value into dynpro field

Read only

Former Member
0 Likes
857

PARAMETERS date type sy-datum.

Read only

Former Member
0 Likes
857

Hi,

U can use system field and achieve this.

Parameter: date type sy-datum.

this is enough..

Thanks.

Read only

Former Member
0 Likes
857

Hi

copy FIELD_VAL to screen field( parameters or select-options)

Regards,

Janakiram.