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

Transport Request

Former Member
0 Likes
2,404

I have requirement that  on the basis of TR Number An ALV Report will Call  before import that TR Number . My requirment that user will enter  TR Number in Seelction Screen an alv report will cal in which all deatails will show  regarding that TR number but my problem is that this is require before  TR  import in STMS ,Because without import TR in STMS  no values enter in table E070 and E070T.  an i am fetching data  from these tables . but it not possilble without import that TR  , if any solution of this please suggest .

17 REPLIES 17
Read only

pranay570708
Active Contributor
0 Likes
2,272

Hi Deepak,

You can make use of E071 table. Pass request number in TRKORR field, it will give you TR details. But, you have to pass the TR number of DEV/correction object

For example:

     DEVK925206       USER    05.05.2016 TR details

         - DEVK925207   USER    05.05.2016 Development/Correction

Pass DEVK925207 in table as input.

Read only

0 Likes
2,272

Data is not entering in any standard table without importing  TR.But is shows in STMS_import Queue.

Read only

0 Likes
2,272

Did you check E071 table? Because i can see entries in that for Development/Correction TR number before import.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,272

Did you try to read data from original system of the transport route thru some RFC call.

Start with FM TMS_MGR_READ_TRANSPORT_QUEUE to get the import queue entries and then look for some RFC enabled FM starting with TMS or TR or even generic FM like RFC_READ_TABLE.

Regards,

Raymond

Read only

0 Likes
2,272

how can we use TMS_MGR_READ_TRANSPORT_QUEUE to get data from STMS import  in  internal table to show get data.

Read only

0 Likes
2,272

GV_SYS ='SED'.

    CALL FUNCTION 'RFC_READ_TABLE' DESTINATION GV_SYS

      EXPORTING

        query_table                = 'E070'

*      DELIMITER                  = ' '

*      NO_DATA                    = ' '

*      ROWSKIPS                   = 0

*      ROWCOUNT                   = 0

      tables

        OPTIONS                    = OPTIONS

        fields                     = FIELDS

        data                       = GT_E070

     EXCEPTIONS

       TABLE_NOT_AVAILABLE        = 1

       TABLE_WITHOUT_DATA         = 2

       OPTION_NOT_VALID           = 3

       FIELD_NOT_VALID            = 4

       NOT_AUTHORIZED             = 5

       DATA_BUFFER_EXCEEDED       = 6

       OTHERS                     = 7

              .

    IF sy-subrc <> 0.

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

          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    ENDIF.


GIVING ERROR WITH SY-SUBRC = 7.


Read only

0 Likes
2,272

RFC_READ_TABLE fetching all entries of table  where clause is not working. please help


Read only

0 Likes
2,272

Did you search TMS_MGR_READ_TRANSPORT_QUEUE in the forum?

Read only

sanjaybit
Explorer
0 Likes
2,272

Hello Deepak,

Pls check the database view TMSBUFFER.

Thanks,

Sanjay

Read only

Former Member
0 Likes
2,272

RFC_READ_TABLE not fetching all entries of table   of destination define as per below mention when testing in quality server(SQP).



GV_SYS ='SED'.

    CALL FUNCTION 'RFC_READ_TABLE' DESTINATION GV_SYS

This is fetching all entries  from SQP not from SED.Please help.

Read only

0 Likes
2,272

Did you search TMS_MGR_READ_TRANSPORT_QUEUE in the forum? Did you try anything?

Read only

Former Member
0 Likes
2,272

HOW TO IMPLEMENT  TMS_MGR_READ_TRANSPORT_QUEUE 

SYNTAX TO USE PLEASE HELP.

Read only

Former Member
0 Likes
2,272

TMS_MGR_READ_TRANSPORT_QUEUE  is working properly  but how can i get AS4DATE which is the date of  transaction request creation that not shows in STMS_import.


Read only

0 Likes
2,272

Okay, seemed not to be an issue to make TMS_MGR_READ_TRANSPORT_QUEUE work, at last!

So now, you're looking for the creation date of transport requests, and maybe you want other data. Either you import them, or you read them in the original system (for instance, you may use hese RFC-enabled function modules: TR_READ_COMM, TR_EXT_GET_REQUESTS)

Read only

Former Member
0 Likes
2,272

i had already used  RFC_Read_table  but not working .

Read only

0 Likes
2,272

I never told you of using RFC_READ_TABLE. Anyway, I see your previous attempt of using RFC_READ_TABLE, of course it won't work as you do, if I'm not wrong (is "SED" really an existing RFC destination in your system?). So I think you should either ask a confirmed ABAPer in your team, or take the time to read the ABAP documentation, or blogs about RFC. If then you have other questions, I advise you to first search the forum, then create a new thread, by using a meaningful title (for instance, "transport request" is not sufficient here, you should have better said "how to get transport requests from the import queue").

Read only

Former Member
0 Likes
2,272

Thanks sir , my Requirements now complete  thanks to all.