<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SAP Experts: VMware Virtualization &#124; Consulting &#124; Integration - DataXstream &#187; tp</title>
	<atom:link href="http://www.dataxstream.com/tag/tp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dataxstream.com</link>
	<description>SAP Certified Consultants</description>
	<lastBuildDate>Tue, 07 Feb 2012 23:57:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Command Line Driven Transporting Using the ‘tp’ Command</title>
		<link>http://www.dataxstream.com/2009/12/cli-transports/</link>
		<comments>http://www.dataxstream.com/2009/12/cli-transports/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 05:00:18 +0000</pubDate>
		<dc:creator>Wess Tobler</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[SAP Basis Blog]]></category>
		<category><![CDATA[Basis]]></category>
		<category><![CDATA[Basis/Netweaver]]></category>
		<category><![CDATA[DataXstream]]></category>
		<category><![CDATA[DXS]]></category>
		<category><![CDATA[NetWeaver]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[SAP Basis]]></category>
		<category><![CDATA[STMS]]></category>
		<category><![CDATA[tp]]></category>
		<category><![CDATA[transport]]></category>
		<category><![CDATA[Wess Tobler]]></category>

		<guid isPermaLink="false">http://www.dataxstream.com/?p=3353</guid>
		<description><![CDATA[Sometimes you need to have a little more granual control over your transport management.  I've presented two very useful uses of the 'tp' command to be used via the command line interface.]]></description>
			<content:encoded><![CDATA[<p>STMS is a very powerful transaction in the BASIS world.  The whole transport system in SAP is paramount to it&#8217;s functionality.  99% of the time, you will use STMS for your transport needs.  What of that last 1%?  Sometimes it becomes more efficient, or just safer, to have a little more manual control.</p>
<p><span id="more-3353"></span>It is possible to add transport requests to the buffer, and even import them via the CLI (Command Line Interface).  Keep in mind, whenever working on an instance at the OS level, you should be logged in as [sid]adm.</p>
<p>To add transports to the buffer:<br />
<code>tp addtobuffer [transport number] [SID] Client=[client number] pf=/usr/sap/trans/bin/TP_DOMAIN_[DOMAIN_SID].PFL </code></p>
<p>If I wanted to add transport number DV1K907046 to the buffer for Q01 client 400 and the transport domain controller was DV1 the string would look like this:<br />
<code>tp addtobuffer DV1K907046 Q01 Client=400 pf=/usr/sap/trans/bin/TP_DOMAIN_DV1.PFL</code></p>
<p>To import transports via CLI:<br />
<code>tp pf=/usr/sap/trans/bin/TP_DOMAIN_[DOMAIN_SID].PFL import [transport number] [SID] U128 client=400 </code></p>
<p>Since I&#8217;ve added DV1K907046 to the buffer, I can now import it with this string:<br />
<code>tp pf=/usr/sap/trans/bin/TP_DOMAIN_DV1.PFL import DV1K907046 Q01 U128 client=400 </code></p>
<p>It is also possible to create shell or batch scripts from these commands to do multiple transports at one time. I&#8217;ve found that this is when CLI tp management is most effective.<br />
Using your favorite text editor, simply &#8220;stack&#8221; the commands ontop of each other:<br />
<code><br />
tp addtobuffer DV1K907046 Q01 Client=400 pf=/usr/sap/trans/bin/TP_DOMAIN_DV1.PFL<br />
tp addtobuffer DV1K907047 Q01 Client=400 pf=/usr/sap/trans/bin/TP_DOMAIN_DV1.PFL<br />
tp addtobuffer DV1K907048 Q01 Client=400 pf=/usr/sap/trans/bin/TP_DOMAIN_DV1.PFL<br />
....<br />
</code><br />
Then save as either a .sh for Unix or .bat for Windows.</p>
<p>The batching approach works for both adding to the buffer and for actual import. It&#8217;s best to seperate each task (addtobuffer in one script, import in another).</p>
<p><span><strong>Q2Q3Y6XJM37U</strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dataxstream.com/2009/12/cli-transports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

