Skip to Content
avatar image
Former Member

Find Import user for transports

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 10, 2007 at 11:23 PM

    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:

    Table Name for Transport Requests & Program name

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

    Regards

    Uwe

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 10, 2007 at 05:37 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 10, 2007 at 10:51 PM

    This might help you out -:)

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

    Greetings,

    Blag.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 11, 2007 at 07:47 AM

    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

    Add comment
    10|10000 characters needed characters exceeded