on 10-25-2011 8:21 PM
Hello All,
I accidently deleted cofile and datafile of already release transport.Let me know if its possible to regenerate cofile and datafile for this transport request.I dont want to create new transport and add object to it.
Thanks
Nilesh
Hello Nilesh ,
You can recreate deleted COFILES and DATA files via TP EXPORT method.
Just use the following command for this ;
tp export <REQUEST NUMBER> pf=TP_DOMAIN_<SID> .PFL
This command will recreate the related files under /DATA and /COFILES directories.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys,
please take into account, that reexporting the same tr.request does not meen, that the same data will be exported.
Each tr.request has the snapshot of the export time!
If any of the objects were changed in the meantime, the content will not be the same.
The real solution to get the old data is to restore the transport directory content.
Best regards,
Laszlo
Hi Nilesh,
You can create a transport of copies in this case and release it to get data and cofiles.
I would not recommend to change request status in E070. Its against SAP standards and will take more efforts than creating transport of copies.
Regards,
Sarim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
first, workaround to unrelease transport and create it should be used very carefully
however for those who still would like to do it this is the way:
example:
SQL> select * from SAPR3.E070 where TRKORR='GT1K900882';
TRKORR T T TARSYSTEM KORR AS4USER AS4DATE AS4TIM STRKORR
GT1K900882 K R SYST SAPBASIS 20090519 112237
SQL> update SAPR3.E070 set TRSTATUS='D' where TRKORR='GT1K900882';
1 row updated.
SQL> commit;
Commit complete.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Stanislav,
Thanks for your sharing of the codes,
We also faced the same issue of /usr/sap/trans/data missing, But the /cofiles is there,
We don't know how to re-create them,
After i saw your posting,
I think this is really a way to fetch it from the database table,
But we are using the HANA database,
I don't know how and where to input the code as your posting.
Could you please help to guide?
Best Regards!
Lawrance
Hello Nilesh,
you can recreate the cofile lost by issuing the following command on the OS level:
tp CREATECOFILE <request_number> pf=<profile_name>
Cofiles are header files that can be recreatew/o problems. However, Datafiles can NOT be created from scratch. Datafiles - as the name suggests - hold the data to be transported. If they don't exist anymore, you can't recreate (and import) them.
At this points I believe your salvation is to restore the directory /usr/sap/trans/data from backup.
Best regards,
Tomas Black
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.