on 08-24-2011 7:30 AM
I need to find the path to the directory where the transport info is saved. In our setup, it is there at /usr/sap/trans.
My first question is that, is the transport info always at this path or can this path be changed?
If it can be changed, how can i find what is the path from a c/c++ program? Is there a config file which has all this information or are there any APIs that we can use?
Hi,
You should call "TMS_TP_CHECK_TRANS_DIR" function module by C++ RFC library. Then you'll be able to get all the physical folder.
Best regards,
Orkun Gedik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the easiest way would be to call sappfpar:
sappfpar pf=SID_DVEBMGSxx_hostname DIR_TRANS
This will evaluate DIR_TRANS if set in either DEFUALT.PFL or the instance profile.
If it returns no value you can safely assume /usr/sap/trans.
Volker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
the root directory for transports is defined by the SAP profile parameter DIR_TRANS which is normally set in the instance profile under /sapmnt/<SID>/profile/<instance profile file>, it can be changed and you just could read the profile file with an external program and get the value of this parameter.
regards
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.