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

Regarding popup and date.

hey

i coded program to display popup,byinput date and

display list as per the date.

below code gives pupup with date input. but i dont know

how to get the inputted date value inside the code.

ie.i want to get input value and process further.

How to get the input date from continuation of this code.

DATA: FIELDS_LINE TYPE SVAL,

FIELDS_ITAB LIKE TABLE OF FIELDS_LINE with header line.

FIELDS_LINE-TABNAME = 'ZTRANSLISTTEST'.

FIELDS_LINE-FIELDNAME = 'IMPORTDAY'.

FIELDS_LINE-VALUE = SY-DATUM.

  • FIELDS_LINE-FIELD_ATTR =

FIELDS_LINE-FIELD_OBL = 'X'.

  • FIELDS_LINE-COMP_CODE =

FIELDS_LINE-FIELDTEXT = 'Enter date'.

  • FIELDS_LINE-COMP_TAB =

  • FIELDS_LINE-COMP_FIELD =

  • FIELDS_LINE-NOVALUEHLP =

APPEND FIELDS_LINE TO FIELDS_ITAB.

CALL FUNCTION 'POPUP_GET_VALUES'

EXPORTING

  • NO_VALUE_CHECK = ' '

POPUP_TITLE = 'enter date'

  • START_COLUMN = '5'

  • START_ROW = '5'

  • IMPORTING

  • RETURNCODE =

TABLES

FIELDS = FIELDS_ITAB

EXCEPTIONS

ERROR_IN_FIELDS = 1

  • OTHERS = 2

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2005 at 10:35 AM

    Hi Chandra,

    After calling the FM just read your table fields_itab again. The value of the input is stored in FIELDS_LINE-VALUE.

    Regards,

    John.

    Add a comment
    10|10000 characters needed characters exceeded

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.