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

displaying the function location no. in task bar

Former Member
0 Likes
400

Hi All,

Please help me in displaying the function location no. in task bar as message.

Following is the code I am using :-

CALL FUNCTION 'ENQUEUE_EZIFLO'

EXPORTING

  • MODE_IFLOT = 'E'

  • MANDT = SY-MANDT

TPLNR = IFLOT-TPLNR

  • X_TPLNR = ' '

  • _SCOPE = '2'

  • _WAIT = ' '

  • _COLLECT = ' '

  • EXCEPTIONS

FOREIGN_LOCK = 1

SYSTEM_FAILURE = 2

OTHERS = 3

.

IF sy-subrc <> 0.

write : IFLOT-TPLNR.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH IFLOT-TPLNR.

ENDIF.

Thanks

Gautam

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
376

Hi Gautum,

keep the message type as 'S' it will show the message in the task bar,,

MESSAGE ID SY-MSGID TYPE SY-MSGTY "Pass it as 'S"

NUMBER SY-MSGNO

WITH IFLOT-TPLNR.

Regards,

Prabhudas

2 REPLIES 2
Read only

Former Member
0 Likes
377

Hi Gautum,

keep the message type as 'S' it will show the message in the task bar,,

MESSAGE ID SY-MSGID TYPE SY-MSGTY "Pass it as 'S"

NUMBER SY-MSGNO

WITH IFLOT-TPLNR.

Regards,

Prabhudas

Read only

0 Likes
376

Sorry Prabudas,

I am not getting the correct message, i.e function location in the task bar.

Thanks