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: 

Find Import user for transports

Former Member
0 Kudos

Hi,

We need to write a report which will run on production and find the import user certain transports.

I know how to obtain the user who released the transport (in E070), and

I am aware that the transport history in transaction STMS shows the actual import user, but I have not been able to find the table/function module that will return this information to be used in my program.

Does anyone know how to obtain the import user for a transport?

Regards,

Eugene

1 ACCEPTED SOLUTION

uwe_schieferstein
Active Contributor
0 Kudos

Hello Eugene

The function module which is behind the <i>Transport History</i> button is:

- TMS_TM_GET_HISTORY

Call this function module using the following parameters:

IV_SYSTEM = <sysid>                    " e.g. E01
IV_DOMAIN = DOMAIN_<sysid>      " e.g. DOMAIN_E01

and set values for CV_START_DATE and CV_END_DATE. I believe the functions of the other IMPORTING parameters are quite obvious.

In addition to this function module have a look at threads:

There you will find another interesting function module (<b>TR_READ_GLOBAL_INFO_OF_REQUEST</b>) described.

Regards

Uwe

4 REPLIES 4

Former Member
0 Kudos

I would suggest using remote call function RFC_GET_TABLE_ENTRIES for E070 table with conditions for your transports and fetch the user list.

- Cheers

former_member583013
Active Contributor
0 Kudos

This might help you out -:)

<a href="/people/alvaro.tejadagalindo/blog/2007/06/25/transport-orders-report Orders Report</a>

Greetings,

Blag.

uwe_schieferstein
Active Contributor
0 Kudos

Hello Eugene

The function module which is behind the <i>Transport History</i> button is:

- TMS_TM_GET_HISTORY

Call this function module using the following parameters:

IV_SYSTEM = <sysid>                    " e.g. E01
IV_DOMAIN = DOMAIN_<sysid>      " e.g. DOMAIN_E01

and set values for CV_START_DATE and CV_END_DATE. I believe the functions of the other IMPORTING parameters are quite obvious.

In addition to this function module have a look at threads:

There you will find another interesting function module (<b>TR_READ_GLOBAL_INFO_OF_REQUEST</b>) described.

Regards

Uwe

Former Member
0 Kudos

Great, thanks for that Uwe!

It turns out that the function module (on the system that I am currently working on) performs correctly even without the domain information filled.

Regards,

Eugene