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

f4 help

Former Member
0 Likes
446

Hi,

I have three fields in module pool 1. Start Date 2. End Date 3. Months

For example:

**************

Start Date : 01.02.2007

End Date: 27.06.2007

If i click month field only i should display/ enable following months only

FEBRAUARY,MARCH,APRIL, MAY JUNE.

How is it possible if any one know please help me

3 REPLIES 3
Read only

Former Member
0 Likes
425

Hi,

U can use DYNP_VALUES_READ Function module to read the data of the screen elements bbefore the screen is processed. So u use this FM and get the values of start date and end date , so that u can write ur further logic.

Regards,

Shafivullah Mohammad

Read only

Former Member
0 Likes
425

Hi,

since ur doing Module pool , if ur using those fields referencing to ur customized table, then mention FEBRAUARY,MARCH,APRIL, MAY JUNE at domain level in value range tab.

tc

saji

Read only

Former Member
0 Likes
425

Hi,

You can create an internal table like this with following fields

month text

01 January

02 February

.

.

.

12 December

Now when user presses F4 on month.

Write this code in POV.(Process on Value Request)

Loop at tb_month where month >= start_date4(2) and <= end_date4(2).

  • Move this data in an internal table.

Endloop.

Then use FM F4INTVALUE*REQUEST ( Sorry I don't rem exact name)

This will solve your issue

Regards

Nishant