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 Transport FM

Former Member
0 Kudos
112

Hai,

I want to confirm whether below FM will check Given TP requestnumber 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.

if my TP REQUEST Number is not in

ET_REQUESTS list,can I assume that it is unreleased?

Logically above checcking is correct?

Regards

3 REPLIES 3

Former Member
0 Kudos
62

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.

Former Member
0 Kudos
62

hai,

we have two status same RELEASED as below.

Could you please tell which one we considered as RELEASED?.

In our Customer environment, we dont have 'N' status records in E070 table..

R Released

N Released (with import protection for repaired objects)

Could you pls confirm.

Chandra kumar.

0 Kudos
62

You can use 'R' if you have no record in table E070 with status 'N'.

but if you want to be sure use both of them in if statement.

-


Please, give points if it helps.