Enable transport auto import

This time we will write about enabling transport auto import for an SAP system.

Steps that we are going to perform:

  1. Delete all transports in the buffer where the auto import is going to be enabled
  2. Schedule the job for auto importing transport
  3. Validate it was scheduled correctly

Delete transports from the buffer

First we are going to delete all transports in the buffer of the system where auto import is going to be enable. If we don’t clear the buffer, once we schedule the job, all transports that are still in the buffer are going to be automatically imported by the job.

Go to transaction stms_import, as you can see below, there are many transports in the buffer (1110 in total).

We are going to delete all these transports by selecting the first transport in the list and press ctrl+f6 and then select the last transport in the list and press ctrl+f6. This will select all the transports between the first and last transport you selected.

Note: If f6 is not working for some reason, you can select: Edit -> Select -> Select Block (f6).

Once everything you want to delete is selected, go to Request -> Delete (Shift+f2) and click Yes.

Here we can see we have 0 transports in the buffer.

Schedule the job

Now let’s continue scheduling the job. Click on Import All Requests (Ctrl+f9), select the planned start date and add the period in which the transports are going to be executed (in this case I want all the transports to be imported every 15 minutes).

Note: Remember to check tabs “Execution” and “Options” and check if there is anything you would like to change.

In this case I just checked “Ignore Invalid Component Version”.

Once you click Ok, you will get the below screen to review the options you set, select “Yes”.

Validate it was scheduled correctly

To validate it was scheduled correctly, we can go to the Import Monitor (ctrl+f8).

In the below screen, we can see that there is a job schedule with the name “TMS_0000000001TMS_TP_IMPORT 15301000” and it runs every 15 minutes. Below the execution folder, we can see the times the job have been executed and if it imported any transport. In this case we can see the message “Nothing done.”, because when the job ran, no transports were in the buffer.

Another way to validate is going to transaction SM37 and searching for Job Name: “TMS_000*”. We should be able to see the job as Released and if it already ran, you will see some of those jobs with status “Finished”.

Another way to validate the job was scheduled successfully, is by going to Goto -> Job Monitor.

Here you should be able to see the job and the Status should be “Released”.

From this screen and with the job selected you can click Edit -> Job -> Check status and you should see something like “Status of job <job name> is correct”.

References

  • 2648071 – Transport Auto Import Configuration
  • 2479197 – Periodic Import Job does not run (STMS)

Regards.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: