/usr/sap/trans Destroyed

Hi all
As the topic says my HDD failed and i lost /usr/sap/trans dir on my DEV(Domain controlled) system
What options do i have in terms of rebuilding the transports that were in the respective Queues waiting to be imported.
I have a Hdd expert looking at the drive. What specific files would need to be recovered to get the transport back in the Queue.
If the transport was NBDK901085.
In which directories do the files sit... (Data Dir)?.
Thanks for any help
Regards

Hi,
Ideally your hardware vendor should give you all data recovered and in state where it was earlier more importantly data and cofile folders as said above.
In worst case, if you are not able to recover the data; alternate solution will be with help of your technical team and lots of re-work.  Option is to create a transport of copies, where in object should be as ur older transport's objects whose data and co-files are missing, then release the transport of copies request and import in subsequent systems.
for an ex. if at OS level, cofile and data file of TR  NBDK901085 are missing.
go to se01
- create transport of copies request
-click on object list
- select radio button - object of transport request
- Put TR number NBDK901085
- release this new TR and you can import the same in ur QA and prod with the same changes as of NBDK901085
Do let me know in case of any confusion.
Regards,
Ashish

Similar Messages

  • WARNING: /usr/sap/trans/tmp/ALOG1210.PM1.LOC is already in use (19580 )

    Hi all,
    i am getting the error at while releasing the request from buffer.
    its getting stucked at SID:transfering queue SID
    in system tp log
    WARNING: /usr/sap/trans/tmp/ALOG1210.PM1.LOC is already in use (19580), I'm waiting 2 sec (20120307091833). My name: pid 3353 on CRM
    please help me to solve the issue
    Regards,
    Mahipal
    7200033378

    thnks boss,
    i raised already oss ,waiting for the solution.
    i am using hp ux os ,
    i am getting the error when doing the consistency check.
    System   PM1              Command  TMS_MGR_CHECK_TRANSPORT_
    Client   000              Service  Transport Service
    User     TCSBASIS         Start    Online
    Date     07.03.2012       Function TMS_TP_CHECK_BUFFER
    Time     12:19:05         Message  BUFFER_IS_FAULTY
        Errors detected when checking transport files
    i got solutions like in sapfans.
    1)
    for the buffer issue:
    take a screen snapshot of all entries in the queue list for your SID. or better yet, export to a TXT file.
    then in \usr\sap\trans\buffer, rename the file that has your SID in it. then, go into STMS and refresh the queue list. It should now be empty and uncorrupted.
    to add back entries, go at OS level and build a script that will take your generated TXT file and will execute "tp addtobuffer".
    2) you have to execute tp cleanbuffer <sid>.
    Wil you suggest fololow the workrounds.
    thnks
    Mahipal

  • /usr/sap/trans (data/cofiles) is empty before upgrading 46C- ECC60

    After homogeneous system copy from a 46C production system (PRO) to an upgrade test server (DES), and after the execution of SE06, the DES import queue is empty (/usr/sap/trans/cofiles and /usr/sap/trans/data directories doe not contain files).
    Some objects were changed in PRO along the years using change requests, and these changes are reflected in DES also, but DES does not have those change requests in the queue. However DES is ready to upggrade.
    I would like to know if I can expect problems during the upgrade of DES, from 46C to ECC 6.0 due to the absence of those change requests. I think the upgrade process could ignore all changes and additions made.
    What do think?
    Thanks for your help.

    Hi,
    Since you copy your production system to test system then all changes that you have done over the time will be there in the system. Data file and cofile are not required. You can start with your upgrade preparations.
    Thanks
    Sunny

  • FILE /usr/sap/trans/bin/DOMAIN.CFG could not be created

    Hi
      After a DB copy into the QAS system the TMS will not connect to QAS. I set the CHGR3SHLOC to the domain controller and ran SE06 to delete and reset the TMS as DDIC in client 000.
    When I run TMS on the QAS box and try to include QAS in the DOMAIN_DEV I get the message
    FILE /usr/sap/trans/bin/DOMAIN.CFG could not be created.
    I have all the QAS accounts on the TMS domain controller and they have the same password on both systems.
    Any one else had this one? Its v5r3 and 4.6c releases.
    Thanks
    Matt Milne
    Freelance SAP BASIS Consultant

    Hi Matt,
    I'm pretty sure, you are missing one:
    sidnn ...
    Change this user on QAS so that you can logon and logon and try to edit the following file:
    edtf '/usr/sap/trans/bin/test.txt'
    I guess, you run into the same issue ... that needs to be fixed first ... most likely the wrong password for this user (default: sapNNpwd)
    Regards
    Volker Gueldenpfennig, consolut.gmbh
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • HELP with Error in /usr/sap/trans :transdir not set

    HI 
    when i import request from DEV system dev to PRD system P01,error show :
    XCPRD01:p01adm 1> tp IMPORT DEVK900298 P01 client=01 U0 pf=/usr/sap/trans
    my PRD and DEV system client number is 01
    now the system show:
    Error in /usr/sap/trans :transdir not set .
    WHY??
    ALLEN

    Hi,
    <b>trans</b> directory will not be created by itself by default.it should be created under /usr/sap.
    if u r working on linux machine full permissions should be given to trans folder by command <b>chmod 777 *.</b>
    It should work fine after that.
    reward points if helpful

  • Problem in saint "Temporary log /usr/sap/trans/tmp/SAPRITAC2D.BT7 not found

    Hello
    I have problem in saint "Temporary log /usr/sap/trans/tmp/SAPRITAC2D.BT7 not found". Is there any workaround? I would need to import this add-on up to the end (currently I am in
    (Error in phase: XPRA_EXECUTION
    Reason for error:TP_BUFFER_INCONSISTENCY
    Return code: 0008
    Thank you in advance

    These kind of errors usually happen when the system is shutdown abnormally during a patch installation. You can try reset the transport buffer by doing the following:
    - SE37, using function module OCS_RESET_QUEUE, test/execute. Use the value 'SAINT' for IV_TOOL. Try executing first without specifying IV_FORCE value of X.
    - Remove all files in /usr/sap/trans/tmp or simply move them somewhere else if you're not sure. Make sure no tp processes are running.
    - Try import the package again.
    Nelis

  • /usr/sap/trans configuration in CHARM

    Hi, all.
    We are planning to configure CHARM to support the transports ECC6.0, EP7.0 and BI7.0 systems. For EP7.0, CTS+ is already configured on the solution manager 4.0. Can solman use its own /usr/sap/trans than the ECC6.0 and BI7.0 systems? I have searched through the charm documentation and there is nothing on how to configure solman to use a separate TRANSDIR.
    Since the ECC and BI systems are using their own TRANSDIR, it does not make sense to share solman's TRANSDIR with either of the systems.
    Please advise.
    Thanks,
    Jonathan.

    Hi, Jonathan,
    Your question confuses me a little.
    Are all your systems in the same transport domain with Solman being the domain controller?  Or is each product (ECC, BI, etc.) each it's own transport domain?
    If they are all in the same transport domain, with solman as the domain controller, they should all be using the same trans directory.
    Is this what you are asking?
    Regards,
    Phil

  • /usr/sap/trans/actlog - Increase log detail

    Hi everyone,
    I'm after away of logging when objects are added to deleted from a modifiable change request (eg I want to see the object details, who, and date/time.  I'm aware that when you create a new transport request/task that a log is created in /usr/sap/trans/actlog, however I was wondering if there was away to increase the detail level of what is written to the log file, or if someone knows of another way of tracking this information.
    Cheers
    Shaun

    Operating system level files in the transport process:
    The SAP C program TP, requires a special file structure for the transport process. The file system is operating system dependent. TP uses a transport directory or file system, which is called /usr/sap/trans.
    The /usr/sap/trans file system is generally NFS mounted form the development system to other systems unless a system is defined as a single system in the CTS pipeline. All the sub directories should have <SID>adm as the owner and sapsys as the group; and proper read, write and execute access should be given to owner and the group. The TP imports are always performed by <SID>adm.
    The following are the subdirectories in /usr/sap/trans:
    /data
    /cofiles
    /bin
    /log
    /actlog
    /buffer
    /sapnames
    /tmp
    /usr/sap/trans/data: holds the data of transport objects after they are released . This subdirectory contains files named R9<5 digits >. containing the exported objects. The example of a data file is R904073.DEV. The extension DEV means the data file was released from the DEV or development system.
    /usr/sap/trans/cofiles: The cofiles directory holds the command files for all change requests. This subdirectory contains command files named K9<5 digits>.. They contain, for example, import steps to be performed. files are like a command or control files used to import the data files. The common directory for CTS system is /usr/sap/trans. After a change request is released from the source system , the data is exported immediately to the file system of the operating system. The SAP transport utility TP uses the cofile to transport a data file. The example of a file in cofiles directory is K904073.DEV.
    /usr/sap/trans/bin: holds the most important file TPPARAM in the CTS system. TPPARAM file has all the information about the CTS systems in the CTS pipeline. TPPARAM file is the parameter file for the transport program TP and it is the common file for all the systems in the CTS pipeline. As you know already that /usr/sap/trans should be NFS mounted to all the systems in a CTS pipeline, TP program has access to the TPPARAM file from all the systems. The following is an example of typical TPPARAM file for five SAP systems in the CTS pipeline:
    #@(#) TPPARAM.sap 20.6 SAP 95/03/28
    # Template of TPPARAM for UNIX #
    # First we specify global values for some parameters, #
    # later the system specific incarnation of special parameters #
    # global Parameters #
    transdir = /usr/sap/trans/
    dbname = $(system)
    alllog = ALOG$(syear)$(yweek)
    syslog = SLOG$(syear)$(yweek).$(system)
    # System spezific Parameters #
    # Beispiel T11 #
    DEV/dbname = DEV
    DEV/dbhost = sap9f
    DEV/r3transpath = /usr/sap/DEV/SYS/exe/run/R3trans
    QAS/dbname = QAS
    QAS/dbhost = sap8f
    QAS/r3transpath = /usr/sap/QAS/SYS/exe/run/R3trans
    TRN/dbname = TRN
    TRN/dbhost = sap17
    TRN/r3transpath = /usr/sap/TRN/SYS/exe/run/R3trans
    PRE/dbname = PRE
    PRE/dbhost = sap19f
    PRE/r3transpath = /usr/sap/PRE/SYS/exe/run/R3trans
    PRD/dbname = PRD
    PRD/dbhost = sap18f
    PRD/r3transpath = /usr/sap/PRD/SYS/exe/run/R3trans
    /usr/sap/trans/log: holds the entire log files, trace files and statistics for the CTS system. This subdirectory contains all log files, such as ULOGs, ALOGs, SLOGs, log files named 9<5 digits>. for each executed step, and log files named . for steps that are collectively executed, for example, step N (structure conversion) and step P (move nametabs). When the user goes to SE09 (workbench organizer) or SE10 (customizing organizer) transaction and opens the log for a transport, the log file for that transport will be read from /usr/sap/trans/log directory. Each change request should have a log file. Examples of log files are DEVG904073.QAS, DEVI904073.QAS and DEVV904073.QAS. The name of a log file consists of the names of the change request, the executed step, and the system in which the step was executed:
    <source system><action><6 digits>.<target system>
    Now we can analyze the above example DEVG904073. QAS. The <source system> = DEV, <action> = G or report and screen generation, <6 digits> = 904073 (these six digits numbers are exactly the same number as the six digits of the transport) and the <target system> = QAS
    Possible values for <action> are:
    A: Dictionary activation
    D: Import of application-defined objects
    E: R3trans export
    G: Report and screen generation
    H: R3trans dictionary import
    I: R3trans main import
    L: R3trans import of the command files
    M: Activation of the enqueue modules
    P: Test import
    R: Execution of reports after put (XPRA)
    T: R3trans import of table entries
    V: Set version flag
    X: Export of application-defined objects.
    /usr/sap/trans/actlog: This subdirectory contains files named Z<6 digits> recording each action on a request or task, for example, creation, release, or change of ownership. The example of an action file is DEVZ902690.DEV. The following are the contents of the file:
    1 ETK220 “==================================================” “=================
    =============================
    1 ETK191 “04/30/1998″ Action log for request/task: “DEVK902690″
    1 ETK220 “==================================================” “=================
    =============================
    1 ETK185 “04/30/1998 18:02:32″ “MOHASX01″ has reincluded the request/task
    4 EPU120 Time… “18:02:32″ Run time… “00:00:00″
    1 ETK193 “04/30/1998 18:02:33″ “MOHASX01″ owner, linked by “MOHASX01″ to “DEVK902691″
    4 EPU120 Time… “18:02:33″ Run time… “00:00:00″
    1 ETK190 “05/04/1998 11:02:40″ “MOHASX01″ has locked and released the request/task
    1 ETK194 “05/04/1998 11:02:40″ **************** End of log *******************
    4 EPU120 Time… “11:02:40″ Run time… “00:00:09″
    ~
    ~”DEVZ902690.DEV” 10 lines, 783 characters
    /usr/sap/trans/buffer: This subdirectory contains an import buffer for each SAP System named after the SID. When a change request is released, the import buffer of the target systems is updated. Contains control information on which requests are to be imported into which systems and in what order the imports must occur. The /usr/sap/trans/buffer will have a directory for each system in the CTS pipeline. For example the buffer file for DEV system is /usr/sap/trans/buffer/DEV.
    /usr/sap/trans/sapnames: holds information pertaining to transport requests for each system user. This subdirectory contains files named after the user's logon name. A file is created for each SAP System user, who performs transport actions, and updated when the user releases a request. There are files for each user who released change requests from the system.
    /usr/sap/trans/tmp: holds information about temporary data and log files. While the transport is occurring the Basis administrator can find a file that is related to the transport in the tmp directory; that file shows the exact status if the transport (What objects are being imported at that time).
    Important SAP delivery class and table types and tables in the CTS process:
    Delivery class
    The delivery class defines who (i.e. the SAP system itself or the customer) is responsible for maintaining the table contents. In addition the delivery class controls how the table behaves in a client copy and an upgrade. For example when you select a SAP defined profiles to perform a client copy, certain tables are selected according to their delivery class. DD02L table can show what delevery class a table belongs to.
    The following delivery classes exist:
    A: Application table.
    C: Customizing table, maintenance by customer only.
    L: Table for storing temporary data.
    G: Customizing table, entries protected against overwriting.
    E: Control table.
    S: System table, maintenance only by SAP.
    W: System table, contents can be transported via own TR objects.
    Table type
    The table type defines whether a physical table exists for the logical table description defined in the ABAP/4 Dictionary and how the table is stored on the database.
    The following are different table types in SAP:
    Transparent Tables
    There is a physical table on the database for each transparent table. The names of the physical table and the logical table definition in the ABAP/4 Dictionary are same. For every transparent table in SAP, there is a table in database. The business and application data are stored in transparent tables.
    Structure
    No data records exist on the database for a structure. Structures are used for the interface definition between programs or between screens and programs.
    Append Structure
    An Append structure defines a subset of fields which belong to another table or structure but which are treated as a separate object in the correction management. Append structures are used to support modifications.
    The following table types are used for internal purposes, for example to store control data or for continuous texts:
    Pooled table
    Pooled tables can be used to store control data (e.g. screen sequences, program parameters or temporary data). Several pooled tables can be combined to form a table pool. The table pool corresponds to a physical table on the database in which all the records of the allocated-pooled tables are stored.
    Cluster table
    Cluster tables contain continuous text, for example documentation. Several cluster tables can be combined to form a table cluster. Several logical lines of different tables are combined to form a physical record in this table type. This permits object-by-object storage or object-by-object access. In order to combine tables in clusters, at least part of the keys must agree. Several cluster tables are stored in one corresponding table on the database.
    Tables in CTS process:
    TRBAT and TRJOB:
    TRJOB and TRBAT are the major tables in the CTS process. After TP program has sent the event to the r3 system, RDDIMPDP checks table TRBAT in the target system to find out if there is an action to be performed. Mass activation, distribution, or table conversions are the examples of actions. If there is action to be performed, RDDIMPDP starts the appropriate program in the background task. RDDIMPDP then reschedules itself.
    By checking table TRJOB, RDDIMPDP automatically recognizes if a previous step was aborted, and restarts this step. For each transport request , TP program inserts an entry into table TRBAT. If the return code 9999 in this table then the step is waiting to be performed. Return code 8888 indicates that the step is active and currently being processed. A return code of 12 or less indicates that the step is finished. In addition, TP inserts a header entry to let the RDDIMPDP program know to start processing. The column return code will therefore contain a B for begin. When RDDIMPDP is started, it sets the header entry to R(un), and starts the required program. When all the necessary actions are performed for all the transport requests, the column return code contains all the return codes received, and the column TIMESTAMP contains the finishing time. The header entry is set to F(inished). TP monitors the entries in TRBAT and TRJOB tables. When the header entry in TRBAT is set to finished. The entry in TRJOB is deleted.
    Transport Tables SE06
    TDEVC – Development classes
    TASYS – Details of the delivery. Systems in the group that should automatically receive requests, have to be specified in table TASYS.
    TSYST – The transport layers will be assigned to the integration systems. ( Define all systems)
    TWSYS – Consolidation routes ( define consolidation path)
    DEVL – Transport layers are defined here
    In “Configuring the CTS system” section, We will learn more about the transport tables in SE06 transaction
    Programs in the CTS process:
    In the CTS table section we learned about the RDDIMPDP program. RDDIMPDP program needs to be scheduled in all the clients in an instance. It is recommended to schedule the RDDIMPDP as event driven.
    RDDPUTPP and RDDNEWPP programs can be used to schedule RDDIMPDP program in the background.
    The ABAP/4 programs that RDDIMPDP starts are determined by the transport step to be executed that is entered in the function field of table TRBAT.
    Function Job Name Description of transport Steps
    J RDDMASGL Activation of ABAP/4 dictionary objects
    M RDDMASGL Activation of match codes and lock objects
    S RDDDISOL Analysis of database objects to be converted
    N RDDGENOL Conversion of database objects
    Y RDDGENOL Conversion of matchcode tables
    X RDDDICOL Export of AD0 objects
    D RDDDIC1L Import of AD0 objects
    E RDDVERSE Version management update during export
    V RDDVERSL Version management update during import
    R RDDEXECL Execution of programs for post – import processing
    G RDDDIC3L Generation of ABAP/4 programs and screens
    Version Management:
    One of the important features of Workbench Organizer is Version Management. This feature works for all the development objects. Using the version management feature the users can compare and retrieve previous versions of objects.
    Version management provides for comparisons, restore of previous versions, documentation of changes and assistance in the adjustment of data after upgrading to a new release. With the release of a change request, version maintenance is automatically recorded for each object. If an object in the system has been changed N times, it will have N delta versions and one active version. To display version management, for ABAPs use transaction SE38 and for tables, domains and data elements use SE11. The path to follow is Utilities -> Display version. Using version management the users can view existing version for previously created ABAP code, make changes to the code, compare code versions and restore original version of the code. Now the users will be restore previous versions without cut and paste steps of the past.
    TP and R3trans program:
    The basis administrator uses TP program to transport SAP objects from one system to another. TP is a C program delivered by SAP that runs independently of the R/3 system. TP program uses the appropriate files located in a common transport directory /usr/sap/trans. TP starts C programs, ABAP/4 programs and special operating system commands to its job. R3trans is one of the most important utility program called by TP. Before using the TP program, the basis administrator needs to make sure that the CTS system is setup properly and the right version of TP is running in the system. The TP program is located in the run time directory /usr/sap/<SID>/SYS/exe/run directory. It is automatically copied in the install process. A global parameter file TPPARAM that contains the databases of the different target systems and other information for the transport process controls TP. The global parameter file determines which R3trans is used for each system. If the parameter r3transpath is not defined properly then no export and import can be done. The basis administrator should make sure that the default value “r3transpath” is properly defined. Later in this chapter we will learn more about TP and R3trans; also we are going to see how they are used.
    Configuring the TPPARAM file:
    Each time TP is started, it must know the location of the global parameter file. As we have seen before TPPARAM file should be in directory /usr/sap/trans/bin. The parameters in TPPARAM can either global (valid for each and every system in the cts pipeline) or local to one system. Th parameters are either operating system dependant (these parameters preceded by a keyword corresponding to the specific operating system) or database dependant (contain a keyword corresponding to a specific database system).
    The global parameter file provides variables that can be used for defining parameters. The variables can be defined in format: $(xyz). The brackets can be substituted with the “\”-character if required.
    The following pre-defined variables are available for the global parameter file:
    $(cpu1): The CPU name can be sun or as4 for example. In heterogeneous networks this variable is very important.
    $(cpu2): Acronym for the name of the operating system. The example for this variable can be
    hp-ux, or sunos . This is an operating system specific variable.
    $(dname): Used for the day of the week (SUN,MON,….).
    $(mday): Used for the day of the current month (01-31).
    $(mname): Used for the name of the month (JAN…DEC).
    $(mon): Used for the Month (01-12).
    $(system): R/3 System name.
    $(wday): Day of the week (00-06, Sunday=00, Monday=01, Tuesday=02 and so on).
    $(yday): Day of the current year (001-366). Using the number any day of the year can be chosen.
    $(year): Year (Example:1998 or 1999).
    $(syear): Short form of the year (two positions).
    $(yweek): Calendar week (00-53). The first week begins with the first Sunday of the year.
    For the database connection:
    The transport environment also needs parameters to connect to the R/3 System database. As we know already the every instance in the R/3 CTS pipeline has its own database, therefore specific parameters should be defined for each database system. From dbtype parameter of RSPARAM file, TP program identifies the database system.
    The two parameters “dbname” and “dbhost” are required for ORACLE databases.
    DBHOST: is the name of the computer on which the database processes execute. TCP/IP name of the host if NT is being used.
    DBNAME: is the name of the database instance.
    As of Release 3.0E, two new parameters have been introduced.
    DBLOGICALNAME: The default value is $(system). The logical name that was used to install the database.
    DBCONFPATH: The default value is $(transdir).
    The parameters “dbname” and “dbhost” are also used for INFORMIX databases in an installation:
    DBHOST: Same as Oracle.
    DBNAME: Name of the database instance, uppercase and lowercase are distinguished here.
    INFORMIXDIR : “/informix/<SAPSID>” is the default value. Defines the directory namewhere the database software can be found.
    INFORMIXSQLHOSTS: “$(informixdir)/etc/sqlhosts[.tli|.soc]“is default value under Unix. The name of the SQLhosts file with its complete path is defined with this parameter.
    INFORMIX_SERVER: “$(dbhost)$(dbname)shm” is the default value. The name of the database server may be specified for a local connect.
    INFORMIX_SERVERALIAS: “$(dbhost)$(dbname)tcp”is the default vlue. The name of the database server can be specified for a remote connect.
    For Microsoft SQL Server database the two parameters “dbname” and “dbhost” are also required. DBHOST: The TCP/IP name of the host on which the database is running.
    DBNAME: The database instance name.
    For DB2 in AS/400 only “dbhost” is required.
    DBHOST: System name of the host on which the database is running.
    If the”OptiConnect” is used, the following line should be specified:
    OPTICONNECT 1
    For DB2/ AIX
    The two parameters “dbname” and “dbhost” are required
    DBHOST: The host on which the database processes are running. It is the TCP/IP name of the host for Windows NT (As we have seen in the earlier examples).
    DBNAME: Database instance name.
    The DB2 for AIX Client Application Enabler Software must also be installed on the host on which tp is running.
    ALLLOG: “ALOG” $(syear) $(yweek)”is the default value. This variable can be used in TPPARAM file to specify the name of a file in which tp stores information about every transport step carried out for a change request anywhere in the transport process. The file always resides in the log directory.
    SYSLOG: “SLOG $(syear) $(yweek).$(system)” is the default value. This variable can be used to name a file in which tp stores information about the progress of import actions in a certain R/3 System. The file does not store information for any particular change request. The file always resides in the log directory.
    tp_VERSION: Zero is the default value. If this parameter is set to not equal to zero, a lower version of tp may not work with this TPPARAM file. If the default value (zero) is set, the parameter has no affect.
    STOPONERROR: (Numeric value) The default value is 9. When STOPONERROR is set to zero, tp is never stopped in the middle of an “import” or “put” call. When STOPONERROR is set to a value greater than zero, tp stops as soon as a change request generates a return code that is equal to or greater than this value (The numeric value of the STOPONERROR parameter is stored in the variable BADRC). Change requests, which still have to be processed for the current step, are first completed. A “SYNCMARK” in the buffer of the R/3 System involved, sets a limit here. tp divides the value of this parameter between two internal variables. STOPONERROR itself is treated as a boolean variable that determines whether tp should be stopped, if the return code is too high.
    REPEATONERROR (Numeric value too): The default value is 9. The REPEATONERROR parameter is similar to STOPONERROR. The difference is, REPEATONERROR specifies the return code up to which a change request is considered to be successfully processed. Return codes less than REPEATONERROR are accepted as “in Order”. Change requests that were not processed successfully stay in the buffer.
    NEW_SAPNAMES: Default value is “FALSE”. A file is created for each user of the R/3 System group in the “sapnames” subdirectory of the transport directory. Except some of the operating system,the name of the user is the name of the file. It is very important to remember hat the special characters or length of the file name could cause problems. If all the R/3 Systems in the transport group have at least Release level 3.0.; TP program is efficient to handle this problem. The user names are modified to create file names that are valid in all operating systems and the real user names are stored in a corresponding file.
    Though we have seen so many parameters, for the minimum configuration the following two parameters are very important.
    TRANSDIR: specifies the name of the common transport directory. The following is a typical example from TPPARAM of Unix as we have seen before.
    transdir = /usr/sap/trans/
    DBHOST: contains the name of the database host. In Windows NT environment, this is the TCP/IP host name. The following is an example in Unix:
    DEV/dbname = DEV
    DEV/dbhost = sap9f
    DEV/r3transpath = /usr/sap/DEV/SYS/exe/run/R3trans
    For TP, to control ‘Start and Stop’ command files and database in R/3 the following important parameters are specified in TPPARAM:
    Parameters for the tp Function “PUT”: LOCK_EU (boolean) default value is “TRUE”. Though from version 3.1 onward the tp put command is used seldom in cts process still it is important to know how this parameter works. When “tp put” is used, it changes the system change option . If the parameter is set to “FALSE” nothing gets changed. If the parameter is set to “TRUE”, the system change option is set to “Objects cannot be changed” at the beginning of the call, and gets changed back to its previous value at the end of the call. The “tp put” command will give the exact status of the locking mechanism.
    LOCKUSER (used as boolean value): Default value is “TRUE”. This parameter is about the user login while tp put call is executed. If this parameter is set to “FALSE”, no locking mechanism for the users takes affect. If this parameter is defined as “TRUE” then a character is set in the database level; so only DDIC and SAP* can log on to the system. Users that have already logged on are not affected (this is a reason for activating the parameters STARTSAP and STOPSAP). The charactertor is removed at the end of the call, and all the users can log on to the SAP R/3 System again.
    STARTSAP: Default value is ” “.or “PROMPT” for Windows NT . This parameter is used by TP to start an R/3 System. It is not necessary for the clients to make tp start and stop R/3 system..
    STOPSAP: Default value is ” “or “PROMPT” for Windows NT. TP uses this parameter to stop an R/3 System.
    STARTDB: Default value is ” “. TP uses the value of this parameter to start the database of an R/3 System.
    The parameter is not active under Windows NT.
    STOPDB: Default value is ” “. TP uses the value of this parameter to stop the database of an R/3 System.
    This parameter is not active under Windows NT.
    The above parameters in UNIX can be used as following:
    STARTSAP = startsap R3
    STOPSAP = stopsap R3
    STARTDB = startsap db
    STOPDB = stopsap db
    In Windows NT:
    STARTSAP = \\$(SAPGLOBALHOST)\sapmnt\$(system)\sys\exe\run\startsap.exe
    R3 <SID> <HOST NAME> <START PROFILE>
    STOPSAP = \\$(SAPGLOBALHOST)\sapmnt\$(system)\sys\exe\run\stopsap.exe
    R3 <SID> <HOST NAME> <INSTANCE> <PROFILE PATH + Instance profile>
    The parameters STARTDB and STOPDB are not active under Windows NT.
    Parameters for the tp function “CLEAROLD”
    DATALIFETIME (Numeric): Default value is “200″. When the data file has reached a minimum age, it is moved to the subdirectory old data with tp check. tp clearold all. The life span of the data files in the data sub directory can be set in days with this all, parameter.
    OLDDATALIFETIME (Numeric): Default value is “365″. When a file located in the olddata subdirectory is no longer needed for further actions of the transport system and has reached a minimum age, it is removed with tp check.all, tp clearold all. The minimum age in days can be set with this parameter.
    COFILELIFETIME (Numeric): Default value is “365″. This parameter is used just like DATALIFETIME parameter.
    LOGLIFETIME (Numeric): Default value is “200″. This parameter applies to the life span of the log files. When the log files in log subdirectory is no longer needed for the transport system and has reached a minimum age, it is deleted with the calls tp check.all, tp clearold all. The minimum age in days can be defined with this parameter.
    The Three Key Utilities of the CTS system (TP, R3trans and R3chop):
    TP: Earlier in this chapter we have seen the objectives of TP. The TP transport control program is a utility program that helps the user to transport objects from one system to another. TP program is the front-end for the utility R3trans. TP stands for “Transports and Puts”. To make the TP work successfully the CTS system needs to be correctly configured. The following steps are very important for TP to run properly.
    The transport directory /usr/sap/trans must be installed and NFS mounted to all the systems in the CTS pipe line.
    RDDIMPDP program must be running (event driven is recommended) in each client. RDDIMPDP can be scheduled in the background by executing RDDNEWPP or RDDPUTPP. Use the tp checkimpdp <sap sid> command in /usr/sap/trans/bin directory as <sid>adm user to check RDDIMPDP program.
    Use the tp connect <sap sid> command in /usr/sap/trans/bin directory to see whether the tp program is connecting to the database successfully or not. To run TP command the user has to logon as <sid>adm in source or target system.
    The R/3 Systems in the CTS pipeline must have different names.
    The Global CTS Parameter File TPPARAM must be correctly configured.
    The source system (for the export) and target system ( for the import) must have at least two background work processes. TP always schedules the C class job, so if all the background jobs are defined as A class job then there will be problems in transport steps.
    Important Tips :.It is always better to have the up to date TP version installed in your system. A user can ftp a current version of TP from SAPSERV4 of SAP. Though R3trans and other utility programs can be used to do the transport, it is recommended to use TP whenever possible for the following reasons..
    The exports and imports are done separately using TP program. For example: when a transport is released from the system, the objects are exported from the source database to the operating system and then the import phase starts to transport those objects to the target system.
    TP takes care of the order of the objects. The order, that was followed to export the objects; the same order will be followed to import them to the target database.
    The TP command processes all change requests or transports in the SAP system buffer that have not yet been imported successfully. All the import steps are executed automatically after TP calls R3trans program to execute the following necessary steps:
    Dictionary Import: ABAP/4 dictionary objects will be imported in this step.
    Dictionary Activation: Name tabs or runtime descriptions will be written inactively. The R/3 system keeps running until the activation phase is complete. The enqueue modules are the exceptions in the running phase. After the activation of new dictionary structure the new actions are decided to get the runtime objects to the target system.
    Structure conversion: If necessary the table structure is changed in this phase.
    Move Nametabs: The new ABAP/4 Dictionary runtime objects which were inactive up to now are moved into the active runtime environment in this process. The database structures are adjusted accordingly. From the first step to the Main import step inconsistencies can occur to the R/3 system. After the main import phase all the inconsistency ca be solved.
    Main import with R3trans: All the data are imported completely and the system comes to a consistent state.
    Activation of enqueue-objects: The enqueue-objects cannot be activated in the same way as the objects of the ABAP/4 Dictionary, so they have to be activated after the main import in this step. They are then used directly in the running system.
    Structure Conversion of match codes, Import application defined objects, versioning and execution of user defined activities are some of the steps after activation of enqueue-objects. The next step is generation of ABAP/4 programs and screens, where all the programs and screens associated with the change request are generated. When all the import steps are completed successfully, the transport request is removed from the import buffer.
    It is recommended by SAP to schedule regular periods for imports into the target system (e.g. daily, weekly or monthly). Shorter periods between imports are not advisable. The transport to production should not be done in the off hours when the users are not working
    TP can be started with different parameters. The “tp help” command can help user to generate a short description about the use of the command.
    The following are the some important commands of TP:
    For export:
    tp export <change request>: The complete objects in the request from the source system will be transported. This command also used by SAP System when it releases a request.
    tp r3e <change request>: R3trans export of one transport request.
    tp sde <change request>: Application defined objects in one transport request can be exported.
    tp tst <change request> <SAP system >: The test import for transport request can be done using this command.
    tp createinfo <change request>: This command creates a information file that is automatically done during the export.
    tp verse <request>: This command creates version creates versions of the objects in the specified request.
    To Check the transport buffer, global parameter file and change requests:
    tp showbuffer <sid>: Shows all the change requests ready to be imported to the target system.
    tp count <sid>: Using this command users can find out the number of requests in the buffer waiting for import.
    tp go <sid>: This command shows the environment variables needed for the connection to the database of the <sid> or target system.
    tp showparams <sid>: All the values of modifiable tp parameters in the global parameter file. The default value is shown for parameters that have not been set explicitly.
    To import the change requests or transports:
    tp addtobuffer <request>.<sid>: If a change request is not in the buffer then this command is used to add it to the buffer, before the import step starts.
    tp import all <sid>: This command imports all the change requests from the buffer to the target system.
    tp put <sid>: The objective of this command is same as “tp import all <sid>”, but this command locks the system. This command also starts and stops the SAP system, if the parameters startsap and stopsap parameters are not set to ” “.
    tp import <change request> <sid>: To import a single request from the source system to target system.
    tp r3h <change request>| all <sid>: Using this command user can import the dictionary structures of one transport or all the transport from the buffer.
    tp act <change request>|all <sid>: This command activates all the dictionary objects in the change request.
    tp r3i <change request> | all <sid>: This command imports everything but dictionary structures of one.
    tp sdi <change request>|all <sid>: Import application-defined objects.
    tp gen <change request>|all <sid>: Screen and reports are generated using this command.
    tp mvntabs <sid>: All inactive nametabs will be activated with this command.
    tp mea <change request>|all <sid>: This command will activate the enqueue modules in the change request.
    When you call this command, note the resulting changes to the import sequence.
    Additional tp utility options:
    tp check <sid>|all (data|cofiles|log|sapnames|verbose): User uses this command to find all the files in the transport directory that are not waiting for imports and they have exceeded the minimum time specified using the COFILELIFETIME, LOGFILELIFETIME, OLDDATALIFETIME and DATALIFETIME parameters of TPPARAM file.
    tp delfrombuffer <request>.<sid>: This command removes a single change request from the buffer. In case of TMS, the request will be deleted from the import queue.
    tp setstopmark <sid>: A flag is set to the list of requests ready for import into the target system. When the user uses the command tp import all <sapsid> and tp put <sapsid>, the requests in front of this mark are only processed. After all the requests in front of the mark have been imported successfully, the mark is deleted.
    tp delstopmark <sid>: This command deletes the stop mark from the buffer if it exists.
    tp cleanbuffer <sapsid>: Removes all the change requests from the buffer that are ready for the import into the target system.
    tp locksys <sid>: This command locks the system for all the users except SAP* and DDIC. The users that have already logged on are not affected by the call.
    tp unlocksys <sid>: This command unlocks the system for all the users.
    tp lock_eu <sid>: This command sets the system change option to “system can not be changed” tmporarily.
    tp unlock_eu <sid>: This command unlocks the system for all the changes.
    tp backupall <sid>: This command starts a complete backup using R3trans command. It uses /usr/sap/trans/backup directory for the backup.
    tp backup delta <sid>: Uses R3trans for a delta backup into /usr/sap/trans/backup directory.
    tp sapstart <sid>: To start the R/3 system.
    tp stopsap <sid>: To stop the R/3 system.
    tp dbstart <sid>: To start the database.
    tp dbstop <sid>: To stop the database.
    Unconditional modes for TP: Unconditional modes are used with the TP program and these modes are intended for the special actions needed in the transport steps. Using unconditional mode user can manipulate the rules defined by the workbench organizer. The unconditional mode should be used when needed, otherwise it might create problems for the R/3 system database. Unconditional mode is used after the letter “U” in the TP command. Unconditional mode can be a digit between 0 to 9 and each has a meaning to it. The following is a example of a import having unconditional mode.
    tp import devk903456 qas client100 U12468
    0: Called a overtaker; change request can be imported from buffer without deleting it and then uncoditional mode 1 is used to allow another import in the correct location.
    1: If U1 is used with the export then it ignores the correct status of the command file; and if it is used with import then it lets the user import the same change request again.
    2: When used with tp export, it dictates the program to not to expand the selection with TRDIR brackets. If used in tp import phase, it overwrites the originals.
    3: When used with tp import, it overwrites the system-dependant objects.
    5: During the import to the consolidation system it permits the source systems other than the integration system.
    6: When used in import phase, it helps to overwrite objects in unconfirmed repairs.
    8: During import phase it ignores the limitations caused by the table classification.
    9: During import it ignores that the system is locked for this kind of transport.
    R3trans: TP uses R3trans program to transport data from one system to another in the CTS pipeline. efficient basis administrator can use R3trans directly to export and import data from and into any SAP systems. Using this utility transport between different database and operating system can e done without any problems. Different versions of R3trans are fully compatible with each other and can be used for export and import. The basis administrator has to be careful using R3trans for different release levels of R/3 software; logical inconsistency might occur if the up to date R3trans is not used for the current version of R/3 system.
    The syntax for using the control file is following:
    R3trans [<options>] <control file> (several options used at the same time; at least one option must be there)
    For example: R3trans –u 1 –w test.log test
    In the above example a unconditional mode is used, a log file “test.log” file is used to get the log result and a control file “test”, where the instructions are given for the R3trans to follow. The user needs to logon as <sid>adm to execute R3trans.
    The following options are available for the R3trans program:
    R3trans -d : This command is used to check the database connection .
    R3trans -u <int>: Unconditional mode can be used as we have seen in the above example.
    R3trans -v : This is used for verbose mode. It writes additional details to the log file
    R3trans -i <file>: This command directly imports data from data file without a control file.
    R3trans -l <file>: This provides output of a table of contents to the log file.
    R3trans -n : This option provides a brief information about new features of R3trans.
    R3trans –t: This option is used for the test mode. All modifications in the database are rolled back.
    R3trans -c <f1> [<f2>]: This command is used for conversion. The <f1> file will be copied to <f2> file after executing a character set conversion to the local character set.
    Important tips: Do not confuse the backup taken using R3trans with database backup. The backups taken using R3trans are logical backups of objects. In case something happens to the SAP system these backups can not be used for recovery. R3trans backups can be only used to restore a copy of a particular object that has been damaged or lost by the user.
    R3trans -w <file>: As we have seen in the above example this option can be used to write to a log file. If no file is mentioned then trans.log is default directory for the log.
    R3trans also can be used for the database backup.
    R3trans –ba: This command is used for a complete backup. we will see in the next paragraph how to use
    the control file for the backup.
    R3trans –bd: This command is used for a delta backup if the user does not want a complete backup.
    R3trans –bi: This option

  • Usr/sap/trans/eps/log & usr/sap/trans/eps/out

    Hi Experts,
    I am new to the basis, please help me out with the use of log & out folders in usr/sap/trans//EPS
    Thanks,
    Suren

    Surenbasis wrote:
    Hi Experts,
    >
    > I am new to the basis, please help me out with the use of log & out folders in usr/sap/trans//EPS
    >
    > Thanks,
    > Suren
    Please use google search and you will get to know about the use.
    Thanks
    Sunny

  • /usr/sap/trans/log cleanup

    I was looking at usr/sap/trans/log and see a lot of old logs.
    I ran tp check all and it created a report
    The report showed more than 8,000 log files that can be deleted in the usr/sap/trans/log
    Can I delete these old log files or is this going to create more problems for me.
    THanks
    Joe

    Hi,
    it might be "the official note" for cleaning this up of interest:
    Note 41732 describes how to proceed in detail ...
    Maintain the TP Parameters e.g. as  follows:
    (for the area "ALL"!)
    datalifetime=30
    loglifetime=60
    olddatalifetime=60
    cofilelifetime=30
    - ensure, that /usr/sap/trans/olddata exists
    - cd /usr/sap/trans/bin
    - tp check all pf=< transport_profile >
    - tp clearold all pf=< transport_profile >
    ... but I typically use the "manual aproach" with just deleting old stuff as well )
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • /usr/sap/trans is 95% full

    Dear Friends
    My /usr/sap/trans is going to be 95% full, our environment is ECC6.0 with Oracle 10g on AIX5.3,
    While creating the file system i had allocated 5GB, but now almost 4.57gb is used.
    i would like to ask you which files from the folders  cofiles & data should i remove, so that i can free some space. there are two types of files inside these folders one with the extention ".SAP" and another with ".<SID>"
    Regards
    Ayush

    Hi Nitin,
    You are absolutely correct with .<SID> are all Transport Requests generated from my Development system, and i cant delete them in anycase.
    But there are files with extension .SAP as shown below, and these gets accumulated as in when we uncar the support packages, so i would like to know can i delete these below mentioned files ?, and if i delete would it have any effect on the ruuning sap system ?
    -rw-rw-r--    1 irqadm   sapsys          794 Aug 25 2008  KE60028.SAP
    -rw-rw-r--    1 irqadm   sapsys          793 Aug 25 2008  KE60029.SAP
    -rw-rw-r--    1 irqadm   sapsys          793 Aug 25 2008  KE60030.SAP
    -rw-rw-r--    1 irqadm   sapsys          793 Aug 25 2008  KE60031.SAP
    -rw-rw-r--    1 irqadm   sapsys          792 Sep 10 2008  KGPRD07.SAP
    -rw-rw-r--    1 irqadm   sapsys          790 Sep 10 2008  KGPRD08.SAP
    -rw-rw-r--    1 irqadm   sapsys          790 Sep 10 2008  KGPRD09.SAP
    -rw-rw-r--    1 irqadm   sapsys          790 Sep 10 2008  KGPRD10.SAP
    -rw-rw-r--    1 irqadm   sapsys          791 Sep 10 2008  KGPRD11.SAP
    -rw-rw-r--    1 irqadm   sapsys          790 Sep 15 2008  KGPRD12.SAP
    -rw-rw-r--    1 irdadm   sapsys          792 Oct 14 03:23 KH60013.SAP
    -rw-rw-r--    1 irdadm   sapsys          550 Nov 04 18:40 KITAR7C.SAP
    As you said in your last message -> that while chaning SAP Development objects, this will create a request with .SAP extention, is it true. Because as far as i know Transport Requests are only created with the extention .<SID> not with .SAP. Please throw the light on the subject & correct me if i am wrong...
    Your suggestions are highly appreciated
    Please Advice

  • Usr/sap/trans on rootvg (QA server)

    Dear all,
    we are using AIX os
    Client export has been done on PROD .
    now we have issue with increasing file on QA server usr/sap/trans for import process , this file system is configured on rootvg and vendor also not advisable to increase usr/sap/trans file system bcoz of rootvg. Kindly advise how can i resolve the file system issues..
    let me know any alternate option instead of increasing  rootvg file system (usr/sap/trans)
    Kindly advise
    Edited by: satheesh0812 on Feb 4, 2011 8:35 AM

    Hi,
    There are 2 was of doing it :
    1. unmount existing usr/sap/trans and mount a new one with increased space and all files copied from earlier 1.
    Then take a restart of SAP system
    2. Point DIR_TRANS to another directory which as more space and copy all files from existing /usr/sap/trans and then take a restart.
    Regards,
    Nirmal.K

  • By misstake the trans on /usr/sap was deleted. How to regenerate that?

    By misstake the trans on /usr/sap was deleted.
    Does anyone knows how to regenerate the content of that directory(and subdirectories)
    We do not have a backup as this is an old test system

    Hi,
    deleted trans folder will not create a problem and i feel it will work, if folder structures are recreated,because i coulnot see any content inside these folders.
    1.create <b>trans</b> folder inside /usr/sap/
    2.Inside trans folder create folder <b>bin,buffer,cofiles,data,EPS,etc,log,sapnames,tmp.</b>.
    3.Inside EPS folder create <b>in,log,out</b>.
    It should work normal.
    reward points if helpful............

  • By misstake the trans on /usr/sap was deleted. How to regenrate that?

    By misstake the trans on /usr/sap was deleted.
    Does anyone knows how to regenerate the content of that directory(and subdirectories)
    We do not hawe a backup as this is an old test system

    Hi Tina,
    In unix system we can recover files using grep command.
    If it is a unix system then follow the link,
    http://recover.sourceforge.net/unix/
    Regards,
    SDS

  • Backup of SAP binaries \usr\sap

    Hello!
    I have two SAP ECC 6.0 systems landscape and would like to set up the backup activities for the SAP-Binaries-partition \usr\sap\...
    I have the following questions regarding this issue:
    1) How often should I backup the SAP-Binaries-partition \usr\sap\...?
    (daily, weekly, 1 times month)
    2) What should be backuped from \usr\sap\...  ?
    (trans, profiles)
    2) Should the DB, SAP R/3 or some Services be stopped for this issue?
    Do exist some file-locks avoiding offline backup of  \usr\sap\... ?
    Thank you very much indeed!
    regards
    Thom

    Refer the link may be useful -
    SAP Backup
    How to take backup of  SAP R3 system
    Regards,
    Amit
    Reward all helpful replies.

Maybe you are looking for