Translate

Transports hang during background steps

When you export a transport request in the Workbench or the Customizing organizer (Transaction SE01, SE09, SE10):

A dialog box displays a message that the objects are exported. However, the export does not close even after a longer waiting period. The request has the status "open" when you go to the transport log display, and you receive the message that no logs were found or that the ADO (application-defined object) export has not yet been executed.

When you import one or more transport requests on the operating system level with tp:

tp does not close even after a long waiting period.

In the section Solution, you find a description on how the symptoms vary in detail for the different error scenarios, and the suitable solution for each case.
Examine the SLOG file in the transport directory first and compare your error scenario with the situations described here before you consider one of the solutions.

1. Symptom:

a) The last line in the SLOG file that starts with "START" or "STOP" has the form
START tp_getprots ......

b) Transports which were started with the transport control program tp do not exit. In the tp log file SLOG, the following messages are periodically written:
Background job not running properly. Function: ... Jobcount: ... Status: S
Please check the system. Use Transactions SM21, SM37, SM50.


Solution

The solution to this depends on whether the background processes are just temporarily over-used, or whether a long-term bottleneck exists.
If the capacity overload is only caused by one or two very lengthy background jobs that are not regularly scheduled, a little patience is the best remedy. After these jobs terminate, the transport programs will also exit correctly.
The number of background processes or application servers which are used to process background jobs should be increased if the capacity overload for background processing is long-term. Details for this can be found in the "BC System Administration" manual, in chapter 4 (Configure Background Processing).
The Transactions SM50 (process overview of an application server), SM51 (overview of the application servers) and SM37 (overview of background jobs) can be used for analysis. Details for this can also be found in the "BC System Administration" manual in chapter 4.

    If the batch jobs do not start despite of free BTC processes, you can work around the problem by scheduling those "hanging" jobs again using Transaction SM37 (Job -> Repeat scheduling -> Immediate). It is important that you repeat the job scheduling as user DDIC (the user under which the original job had been scheduled).
    According to our experience, the batch system will work without problems afterwards.
2. Symptom:

a) The last line in the SLOG file that starts with "START" or "STOP" has the form
START tp_getprot.......

b) If you log on as the DDIC user in the client 000 of the SAP System and start the RDDIMPDP report, the system generates error message PU029:

Header ...: job ... is running

Solution:

 Using transaction SM37 (job overview), check whether all jobs displayed as "Active" are actually active.

        a) Log on as the DDIC user to client 000.

        b) Call transaction SM37.

        c) Choose the selections:

                    Job name: RDD*

                    User: DDIC

                    Selection date: leave these fields empty

                    Only jobs with the status 'Active'.

        d) For the resulting list, check the job status for each entry. You will find this function under the option "Job".

        e) If you find a job that does not run even though it is displayed as "Active" in the status, reset this job to "Terminated" as suggested.

        f) If the transport control program (tp) continued to run during these examinations, the transport control program will continue its work after this correction. Otherwise, start the transport control program with the same parameters as during the last call for which you noticed hanging transports. If you do not know the parameters or are not sure, start the following call:

        tp getprots <SID>

3. Symptom:

a) The last line in the SLOG file that starts with "START" or "STOP" has the form
START tp_getprot.......

b) After the above line, you find in the SLOG file, and in addition to further messages, a line of the form:
        Background job not running properly. Function: ... Jobcount: ... Status: Y
        This line can occur repeatedly.


Solution:


Log on to the SAP system as the DDIC user. Call transaction SM37. Enter the following search criteria:

                    Job name: RDD*

                    User: DDIC

                    Selection date: leave these fields empty

                    Only jobs with status "Ready".

              If an entry is found, position the cursor on the job name and use the menu item "Job -> Display" and on the following screen the menu item "Process -> Job details". On the following screen, you find the ID number of the job. Compare this number to the number which is referred to as "Jobcount" in the above SLOG message. (If several jobs were selected, examine all jobs this way). If the ID number should match the Jobcount entered, an unexpected status is contained in the batch system.

              This status could indicate a permanent error in the batch system. Refer to Note: 37104.

              If the unexpected status of the entire batch system was only temporary, then you can solve the problem for the transport as follows:

        a) To maintain the TRJOB table, use Transaction SM31.

        b) Select the entry which matches the above SLOG message concerning the value "Function" and "Jobcount". Delete this entry.

        c) If the transport control program continued running during these examinations and did not make any progress due to the temporary problem in the batch system, the transport control program (tp) will continue its work as soon as you have corrected the above error. Otherwise, start the transport control program with the same parameters as during the last call for which you noticed hanging transports. If you do not know the parameters or are not sure, start the following call:

        tp getprots <SID>

4. Symptom:

a) The last line in the SLOG file that starts with "START" or "STOP" has the form
START tp_getprot.......

b) After the above line, you find in the SLOG file, and in addition to further messages, a line of the form:
        Background job not running properly. Function: ... Jobcount: ... Status: P
        This line can occur repeatedly.

             
Solution:


a) Check the authorizations of the DDIC user in client 000 and in the client to which you want to import the transport. Logon to both clients as a DDIC user and execute the RDDNEWPP report (transaction SA38 or SE38). If the report does not end with the success message:

        PU006 Background job ... was successfully ... scheduled in the client.

        the authorizations of the DDIC user must then be enhanced in the respective client.

b) To do this, logon to the respective client under a user that is authorized for user maintenance. Change the authorizations of the DDIC user in user maintenance (Transaction SU01). Give the DDIC user the authorization for scheduling and starting background jobs. We deliver the authorization S_BTCH_ALL and S_BTCH_ADM (depending on the release) for this.

              Afterwards, apply the following correction steps in Release 3.0E or earlier:

 c) Log on to the SAP system as the DDIC user. Call transaction SM37. Enter the following search criteria:

                    Job name: RDD*

                    User: DDIC

                    Selection date: leave these fields empty

                    Only jobs with statuses "Scheduled".

d) If an entry is found, position the cursor on the job name, and use the menu item "Job -> Display" and on the following screen the menu item "Process -> Job details". On the following screen, you find the ID number of the job. Compare this number to the number which is referred to as "Jobcount" in the above SLOG message. (If several jobs were selected, examine all jobs this way). If the ID number matches the specified job count, delete this job.

e) Position the cursor in the list of the selected jobs on the job to be deleted, and choose "Job ->Delete".

 f) If the transport control program (tp) continued to run during these examinations, the transport control program will continue its work after this correction. Otherwise, start the transport control program with the same parameters as during the last call for which you noticed hanging transports. If you do not know the parameters or are not sure, start the following call:

        tp getprots <SID>

5. Symptom:

a) The last line in the SLOG file that starts with "START" or "STOP" has the form
START tp_getprot.......

b) If you log on as the DDIC user in client 000 of the SAP System and start the RDDIMPDP report, the system generates the following message (PU014):

                       Header ...: No actions currently required

Solution:

a) Log on as the DDIC user to client 000.

b) To maintain the TRBAT table, use Transaction SM31.

c) Check whether you can find the following entries in the table:

                    An entry, in the "Request" field that has the value "HEADER", and that the "Return code" field has the value "F".

                    At least one additional entry that has the same value as the first entry in the field "Fct." and that has the value "8888" or "9999" in the "Return code" field.

d) For the first entry ("HEADER"), change the value in the "Return code" field from "F" to "B", and save this change.

e) If the transport control program (tp) continued to run during these examinations, the transport control program will continue its work after this correction. Otherwise, start the transport control program with the same parameters as during the last call for which you noticed hanging transports. If you do not know the parameters or are not sure, start the following call:

        tp getprots <SID>

              Note: This error scenario can no longer occur as of Release 3.0F.

No comments:

Labels

sap hana hana database aws s4 hana hana db s4hana conversion steps sap hana azure bw4hana hana migration s4hana migration sap cloud migration steps sap hana migration steps sap hana migration to azure s4hana sap fiori fiori performance fiori erp s4 hana fiori sap fiori app sap fiori client sap fiori launchpad sap s4 hana fiori cisco ecc AI SAP AI abap dumps hana sap S/4HANA S/4HANA Conversion best sap ui5 & fiori training configuration database fiori tutorial on webide free sap ui5 & fiori training s/4 hana sap dumps sap fiori tutorial sap ui5 sap ui5 & fiori sap ui5 & fiori tutorial sara ui5cn 2367245 - Troubleshooting performance issues with SAP BPA Amazon free tier for SAP AWS setup Experience CALL_FUNCTION_NOT_FOUND CCMS Configuration and Use Create New Data Class in SAP (Oracle) Critical top SAP Abap dumps DHCP Clients Not Receiving IP Addresses Download Stack.xml HAN-DB HAN-DB-ENG High CPU Usage Due to Excessive Process Switching How To How to Start and Stop SAP Hana Tenant Database How to change SAP Hana Sql Output results are limited to 5000 Records How to perform SAP Dual Stack Split - Netweaver Inactive Objects in SAP Intercompany transactions in SAP AP / AR : Cross Company Code Transaction Interface Flapping Due to Duplex Mismatch KBA LOAD_PROGRAM_LOST MSSQL shrinking transaction log file Migrating to SAP hana database NAT Overload Causing Internet Access Failure Note 500235 - Network Diagnosis with NIPING OSPF Adjacency Not Forming PRINCE2 Foundation Sample Questions Preparing for S/4HANA Conversion and the MUST know items Push to Download Basket S/4HANA Migration Cockpit S/4JANA SAP BI Support Data Load Errors and Solutions SAP BI/BW Landscape SAP BPA SAP Basis SAP Basis Automation SAP Business Objects SAP CPS SAP Certification SAP FI Certification SAP FI Certification Sample Questions SAP HANA Admin - Cockpit SAP HANA DB Engines SAP HANA Database SAP HANA terminate session connection disconnect cancel kill hang stuck SAP Hana DB restore SAP Hana Numeric Error Codes SAP Landscape SAP Language installation SAP MM and Purchase Order Tables SAP Maintenance Planner SAP Note 500235 SAP R/3 Glossary SAP Readiness Check SAP S/4HANA 1709 Installation Files SAP S/4HANA 2023 SAP S/4HANA 2023 Installation SAP S/4HANA 2023 running SAP S/4HANA Installation SAP Scheduling SAP Solman 7.2 CHARM: SAP Support Package Stack Strategy SAP Support package SAP Upgrade SAP support stack upgrade SP stacks STORAGE_PARAMETERS_WRONG_SET SUSE/SLES/Kernel versions Setup of S/4hana 2023 TSV_TNEW_PAGE_ALLOC_FAILED TSV_TNEW_PAGE_ALLOC_FAILED error Transaction ID Unable to download an SAP Note Unix/Linux Command That Are Helpful For SAP Basis Upgrading SAP Kernel Without Downtime Upgrading windows server 2008 to windows server 2019 What is OSS Notes? SAP SNOTE Tutorial accounting agile ale idoc ale/edi archive FI documents audit auditing auditor aws aws cloud basic type bluefield approach ccms ccmsidb charm copilot datavard dbacockpit download sap note download snote edi idoc electronic data interchange enable sap archiving objects erpprep ffid firefighter fraud functional hana admin how to apply sap security note https://www.erpprep.com/ idoc install install sap fiori installation interfaces intermediate document internal control license key linux version materials management messsage niping test order type port prince2 agile prince2 agile practitioner purchasing quick info s4 hana sap abap dumps sap abbreviations sap activate certification sap activate project manager sap authorization sap aws sap brownfield sap ccms sap ccms configuration sap erp sap error sap grc sap greenfield sap internet demo system sap license sap maintenance certificate sap material management sap meaning sap mm sap mm consultant sap monthly security note sap netweaver sap network diagnostic sap niping sap note sap oss sap patch day sap performance sap performance issue sap purchase order sap s/4hana sap sales and distribution sap sap otc sap sd sap sd certification training sap sd course sap sd jobs sap sd module sap sd online training sap sd training sap sd tutorial sap sd tutorial for beginners sap security sap security note sap snote sap snote tutorial sap solution manager sap sql segregation of duties separation of duties sles slicense smc snote snote in sap system sod conflict solution manager solution maneger stop start hana database suse linux techie trex two step upgrade required waterfall