04-29-2009 3:10 PM
Hi All,
I am tiring to debugged the falling code to know the value in the IFLOT-TPLNR field
-
form check_lock_fl.
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.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 IFLOT-TPLNR.
ENDIF.
endform. " CHECK_LOCK_FL
-
but I am not getting the value of IFOT-TPLNR,
Actually in the selection screen I am passing NOTIFICATION NUMBER (qmel-qmnum).
The function location TPLNR is coming automatically (or take the e.g when we pass notification no in IW52 it will generate function location automatically from the system).
I am using the above enqueue FM for function location, but i am not getting value how its possible.
My main requirement is to display the function location and user id in the task bar.(other then this locking functionality is working very good) only help me in displaying message
Right now it is showing only userid in the task bar, but function location no. is no coming in the task bar.
Iu2019ll be highly obliged if any one help me resolving this issue
Thanks
04-29-2009 4:47 PM
Hello,
if you know the notification number , you could simply read the TPLNR using the database view VIQMEL (VIQMEL-TPLNR).
But it's only filled when the notificaton has an technical object ( normally an equipment ) that's build into a technical location.
Regards Wolfgang
04-29-2009 4:47 PM
Hello,
if you know the notification number , you could simply read the TPLNR using the database view VIQMEL (VIQMEL-TPLNR).
But it's only filled when the notificaton has an technical object ( normally an equipment ) that's build into a technical location.
Regards Wolfgang