Application Development 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: 

POPUP get date - wich name ?

Former Member
0 Kudos
1,899

Hello,

I need a popup to choose a data (with matchcode).

I found it

'CNEV_01_POPUP_GET_DATE'

.

It's run ok, but I would to change the title text ... I tried to copy and modify from standard,

but the text title is not modified...

Any other idea ?

tks,

rob

3 REPLIES 3

Former Member
0 Kudos
261

Hi ROb,

try to use the below function module..


  CALL FUNCTION 'POPUP_TO_GET_VALUE'
    EXPORTING
      fieldname = 'RECORD_ID'              "Field name in the table
      tabname   = 'ZCIN_7B1_MAIN'       "table name
      titel     = 'Enter Record id'              "Pop-Up title   
      valuein   = p_recordid                    "any default value
    IMPORTING
      answer    = w_answer
      valueout  = p_recordid.                 "In the Popup the value entered is stored here 
  IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

Regards,

Prabhudas

0 Kudos
261

tks,

but I want chose a data with a label, without any reference at database table .....

Former Member
0 Kudos
261

solved by copy of CNEV_01_POPUP_GET_DATE.