Archived discussions are read-only. Learn more about SAP Q&A

Transport Request Import

Hi Gurus,

Please let  me know the table which stores the details about "Upto which server the transport req is imported" i.e. Whether TR is in Quality or in Production.

I tried to debug the SE09 TCODE by clicking on TR  folowed by the Log but couldn't succeed.

My requirement is once you enter TR no on selection screen, after executing the report should give details:

Transport Req No  importd on Quality serverimportd on Production server
******12345                    yes/no                    yes/no

Please let me know.

Thanks in Advance.

Tags:
  • SAP Mentor
replied

Try to use the FM TR_READ_GLOBAL_INFO_OF_REQUEST which will return a deep structure parameter with the log from release of the request to import in every target system.

* Data definition

  type-pools: ctslg.

  data: ls_cofile type ctslg_cofile,

        ls_system type ctslg_system,

        ls_step type ctslg_step,

        ls_action type ctslg_action.

* Get information

   call function 'TR_READ_GLOBAL_INFO_OF_REQUEST'

      exporting

        iv_trkorr = p_record-trkorr

      importing

        es_cofile = ls_cofile.

* Analyze

    " List of systems (source and targets) and global RC

    loop at ls_cofile-systems into ls_system.

      " List of steps (like ddic import) and global RC

      loop at ls_system-steps into ls_step.

        loop at ls_step-actions into ls_action.

          " Log timestamp and RC

        endloop.

      endloop.

    endloop.

From your question, you only require to loop at systems list checking existence of information for quality and production system and if found checking return code.

Regards,

Raymond

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question