Transporting through tp command

Sometimes we come across a situation where we cannot use the normal way of transporting requests, i.e., through STMS_IMPORT. Probably there is some error in the landscape or RFC between systems. In that case we have to use the tp command, which is actually called during the whole GUI process of STMS_IMPORT.

Just for the bi-curious minds tp = transports and puts. Not toilet paper or time pass!!
So we have to login in the required server. Now we have to realize that tp is a command line program. So, in order to use it we have to telnet to the required servers IP (mostly if they are HP-UX or SUN SOLARIS)
After logging in successfully to the server,change the user id
to adm if sid = prd, then

# su - prdadm
Once in, we have to go to this directory :

cd /usr/sap/trans/bin

In this directory we find the parameter file, namely .PFL, do check if its the right one or not, it should have the domain controllers sid, in the name of the file.

You can also open the file and view its contents
Use this command : cat .PFL

From this directory we initiate all the comand.
First connect to the database instance.

tp connect PRD

We will get the output as Everything OK.

Then,
tp addtobuffer PRDK901234 PRD

We usually dont have to do this(I din't), as the request is already added to the buffer of the QAS or PRD system once it has been released from the previous system. But if you want you can go ahead anyway.

Then you can use the final command,
tp import PRDK901234 PRD client=123 u2
here the u2 is optional, this is the overwrite check we use in the STMS_IMPORT.
usually we choose two of the checks in the stms_import which are u2 and u6 according to the tp command, but I still dont know how to incorporate both of these. If anyone does, do let me know, I tried a couple of times but it gave me some syntax error.

Then we should get the output as Everything OK.

Its done.

Now in my case i was not able to do this even when i was in the /bin directory.
So after searching the net for a while, i stumbled upon this.
After logging into adm, no need to go to the directoy,
just use the commands as mentioned above and in the end add this
pf=/usr/sap/trans/bin/TP_DOMAIN_.PFL

For exmaple,
tp import PRDK901234 PRD client=123 u2 pf=/usr/sap/trans/bin/TP_DOMAIN_.PFL

All in one line.

like this , for all the commands.

I know this is very long and rough, but i tried to include most things.
Any doubt just mail me or leave a comment.

Cheers.






Read More-->

Being A Basis Administrator First.

Sure, when we go into some new field or a career, we want to do the most important things, or "the top level" things. The same is true in the case of SAP Basis.
All I wanted to do was ECC installations, configurations, patches, solution manager 4.0, maybe all of that all together.
But the truth is...

The truth is we should first learn how to troubleshoot a "troubled" R/3 system. Try to find out why is a certain problem occuring, what is it thats causing it, and what kind of thought process should I have/apply to resolve that problem. The last one being the most important.
THOUGHT PROCESS. Hard wire this word in your brain, for almost any analytical thinking you do.

One should learn how to analyze the system, which include the Database (Oracle, MySQL, DB/400).
For that we have to go into all the administration TX(T-codes) , and explore all the functions available to us.

The problem I faced was that, hey I don't clicking on any of the buttons, and wait and see what kind of data it displays. But, then what to do with the data, what are the recommended values in those tables, and what are not.

This comes only by reading a lot, a lot of mind-bottling notes and guides on the sap website. It does not come easy.

T Codes to be familiar with:

DB02 SM04
DB12 SM50
DB13 STMS
ST22 ST03
SM12 ST04
SM13 ST06
SM21 SM37

Do me a favour and go through these T-codes right now, and see what are they meant for, and how you judge the goodness of your system.

I shall soon cover the topics on fine tuing the system, and also the new DBACOCKPIT after applying the Basis Support Pack 12.

Its loaded with features. I will also trying and post some screen shots on how to go about configuring the DBACOCKPIT.

CHeers.


Read More-->

Blogger

Since I am setting up this new blog, I am trying to get all the tuning and fine tuning out of the way from the first post, aah well second post itself. For the past two days I've been toiling around other blogs on hints, tips and tricks on setting up this blog so it looks .........good.
Jump to see the links that helped me out.



Here are few links that helped me do things better:
@ 8 Steps to make blogger better.
@ Wordpress VS Blogger
@ http://www.jackbook.com
@ Read More

Hope these help you out to make the right choice, and set it up much better than the automated version.

-Blah Blah Basis


Read More-->

The First Blah

Hello World!!!

After quite a lot of successful procastination, I've finally attempted to open this blog on my SAP BASIS journey, so that other people don't have to go through the same tough times as I did in my early days.

To cut to the chase, here I will be posting all SCENARIO based problems and then the measure taken to resolve those issues. I will try and put in the thought process that goes through to solve thise issues, which I think is more important than giving the solution right away.

Also, I will keep having write-ups on the whole R/3, so the picture is always clear.

Cheers
Read More-->