Skip to Content
author's profile photo Former Member
Former Member

How can I populate main screen fields accdng to value frm subscreen field?

Hi All,

I need to populate some main screen fields according to values obtained from a subscreen drop-down field.<b>I require to do this without any 'ENTER' or 'SAVE' triggers of main screen</b>.That is,once a value is selected from the subscreen drop-down field ,some of the main screen fields should get populated.the The subscreen is called from the main screen PBO using 'CALL SCREEN'.Can anyone help me in this.

Thanks in advance,

Anjaly

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 24, 2006 at 02:47 PM

    YOu have to make use of the function modules:

    DYNP_VALUES_READ Read screen field values before PAI field transport

    DYNP_VALUES_UPDATE Change screen field contents w/o PBO

    Each of which is very well documented.

    Regards,

    ravi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2006 at 02:48 PM

    Hi

    U should call the search help (drop-down list) in POV event and here use the fm DYN_VALUE_UPDATE to update others fields.

    Max

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      U can triggered the drop-down in POV.

      PROCESS PAI.

      FIELD <FIELD>.

      PROCESS ON VALUE-REQUEST.

      FIELD FIELD MODULE F4HELP_FOR_FIELD.

      MODULE F4HELP_FOR_FIELD.

      -


      > Call search help: see the fm VRM_* to manage dropdown list

      DATA: DYNAME LIKE D020S-PROG,

      DYNUMB LIKE D020S-DNUM.

      DATA DYNPFIELDS LIKE STANDARD TABLE OF DYNPREAD WITH HEADER LINE.

      DYNPFIELDS-FIELDNAME = <other field name>.

      DYNPFIELDS-FIELDVALUE = <value>.

      APPEND DYNPFIELDS.

      CALL FUNCTION 'DYNP_VALUES_UPDATE'

      EXPORTING

      DYNAME = DYNAME

      DYNUMB = DYNUMB

      TABLES

      DYNPFIELDS = DYNPFIELDS.

      ENDMODULE.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.