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: 

Confirm TP FModule TMS_UIQ_IQD_READ_QUEUE

Former Member
0 Kudos
245

Rather using other FM and E070 I found below FM

I want to check whether Given TP request Number

is Released or not.

FModule :TMS_UIQ_IQD_READ_QUEUE

WITH IMPORT PARAMETER

IV_SYSTEM = <SID>

ET_REQUESTS(EXPORT PARAMETER)

ET_REQUESTS CONTAINS IMPORT QUEUE LIST IN T-CD STMS.

So Can i Decide if my TP REQUEST Number is not in

ET_REQUESTS list, IT IS NOT RELEASED?

Is it correct way of Checking logically?

Regards

1 REPLY 1

Former Member
0 Kudos
61

CS_REQUEST-TRKORR = 'REQUESTNUMBER'.

CALL FUNCTION 'TRINT_READ_REQUEST_HEADER'

EXPORTING

IV_READ_E070 = 'X'

  • IV_READ_E07T = ' '

  • IV_READ_E070C = ' '

  • IV_READ_E070M = ' '

  • IMPORTING

  • EV_E07T_DOESNT_EXIST =

  • EV_E070C_DOESNT_EXIST =

  • EV_E070M_DOESNT_EXIST =

CHANGING

cs_request = CS_REQUEST

EXCEPTIONS

EMPTY_TRKORR = 1

NOT_EXIST_E070 = 2

OTHERS = 3

.

CS_REQUEST-trstatus values

D Modifiable

L Modifiable, protected

A Modifiable, protected

O Release started

R Released

N Released (with import protection for repaired objects)

-


Please give points if it helps.