Skip to Content
author's profile photo
Former Member

Restriction of Selection list in HR

Hi ,

My Cutomer has given a set(25 out of 200) of Nationaity codes , and they want that only to be displayed in Module pool Screen .

In standard program they refered T005T, and it's displaying all the records(200) of that table .

My Question is ,in what way i hav to prevent ?

1. By query itself ..( if T005T-land1 = any of the given list )

2. Maintaining a Ztable for the values they provided and do table cross check.

i hope there may be someother way .

Any help Will be much appreciated .

Regards ,

J

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    author's profile photo
    Former Member
    Sep 30, 2005 at 06:32 AM

    hi,

    the module pool program is the zprogram or standard program?

    if it is a zprogram proceed like this in the flow logic

    process on value-request.

    field <land1> module onvalue_land1.

    and in the program fillthe gt_land as your specifiatcion and assign to the below FM

    call function 'F4IF_INT_TABLE_VALUE_REQUEST'

    exporting

    retfield = 'LAND1'

    dynpprog = sy-repid

    dynpnr = sy-dynnr

    dynprofield = 'GT_LAND-LAND1'

    value_org = gc_s

    tables

    value_tab = gt_LAND

    return_tab = gt_return

    exceptions

    parameter_error = 1

    no_values_found = 2

    others = 3.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi,

      Gt_Return is type of DDSHRETVAL

      DATA GT_RETURN like DDSHRETVAL occurs 0 with header line.

      this one is optional, and used to find out whether it executed successfully or not like that.

      i don't understand what you are asking for

      >>tell me how perform and form attributed work . ?

      cheers,

      sasi

  • author's profile photo
    Former Member
    Sep 30, 2005 at 06:43 AM

    Hi,

    In the Ranges append all the values( nationality codes)

    that the customer has given you.

    Create an internal table selecting all the values from

    the T005T table that has only the codes that are in

    ranges.Check this in select condition itself.

    The internal table that you have now contains only the

    25 Nationality codes that you have been given.Right?

    Now use the function module

    <b>'F4IF_INT_TABLE_VALUE_REQUEST'</b> to show those

    values in particular screen field.

    Please reward points if this explanation useful.

    Regards,

    Siva

    Add comment
    10|10000 characters needed characters exceeded