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

Pop up Message

Former Member
0 Likes
575

Hi Experts,

I have doubt with pop up message.

I have one variable like,

PO = '3000000014'.

So I want to display the popup msg like,

"For all details see the Purchase document number : 3000000014"

So how can I pass the Parameter PO to Pop up Message.

Thanks in Advance,

Points Assured.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
502

Hi

check this FM..


DATA : ans.
CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'
    EXPORTING
      defaultoption = 'Y'
      diagnosetext1 = 'Caution!!'
      diagnosetext2 = 'For all details see the Purchase document number '
      diagnosetext3 = itab-ponum  "PO number
      textline1     = ' '
      titel         = 'Confirmation'
    IMPORTING
      answer        = ans   "Returns user action
    EXCEPTIONS
      OTHERS        = 1.

Message was edited by:

Perez C

3 REPLIES 3
Read only

Former Member
0 Likes
503

Hi

check this FM..


DATA : ans.
CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'
    EXPORTING
      defaultoption = 'Y'
      diagnosetext1 = 'Caution!!'
      diagnosetext2 = 'For all details see the Purchase document number '
      diagnosetext3 = itab-ponum  "PO number
      textline1     = ' '
      titel         = 'Confirmation'
    IMPORTING
      answer        = ans   "Returns user action
    EXCEPTIONS
      OTHERS        = 1.

Message was edited by:

Perez C

Read only

Former Member
0 Likes
502

Hi,

Please try this and create text element 001 with values 'For all details see the Purchase document number :'.


DATA: WA_TEXT(50) TYPE C.

CONCATENATE TEXT-001 WA_PO INTO WA_TEXT SEPARATED BY SPACE.
MESSAGE WA_TEXT TYPE 'I'.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
502

Hi,

sure!

message i000(000) with 'For all details see the Purchase document number :'  po.

rgs