<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>ABAP / SAP - Tips &#38; Tricks</title>
	<atom:link href="http://danielpanaro.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://danielpanaro.wordpress.com</link>
	<description>Todo sobre ABAP y SAP: Códigos, funciones, transacciones, herramientas, trucos y demás...</description>
	<lastBuildDate>Thu, 19 Jan 2012 14:07:07 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='danielpanaro.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>ABAP / SAP - Tips &#38; Tricks</title>
		<link>http://danielpanaro.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://danielpanaro.wordpress.com/osd.xml" title="ABAP / SAP - Tips &#38; Tricks" />
	<atom:link rel='hub' href='http://danielpanaro.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Documento FI en distintos LEDGERS</title>
		<link>http://danielpanaro.wordpress.com/2011/10/19/documento-fi-en-distintos-ledgers/</link>
		<comments>http://danielpanaro.wordpress.com/2011/10/19/documento-fi-en-distintos-ledgers/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 18:31:00 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Funciones]]></category>
		<category><![CDATA[Módulo FI]]></category>
		<category><![CDATA[ABAP]]></category>
		<category><![CDATA[conocer]]></category>
		<category><![CDATA[document]]></category>
		<category><![CDATA[documento]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[ES_DETAILS]]></category>
		<category><![CDATA[FAGL_GET_DOC_DETAILS_OF_LEDGER]]></category>
		<category><![CDATA[FI]]></category>
		<category><![CDATA[FUNCTION]]></category>
		<category><![CDATA[in]]></category>
		<category><![CDATA[know]]></category>
		<category><![CDATA[LEDGER]]></category>
		<category><![CDATA[obtener]]></category>
		<category><![CDATA[other]]></category>
		<category><![CDATA[otro]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[trick]]></category>

		<guid isPermaLink="false">https://danielpanaro.wordpress.com/2011/10/19/documento-fi-en-distintos-ledgers/</guid>
		<description><![CDATA[En esta ocasión comparto la función FAGL_GET_DOC_DETAILS_OF_LEDGER que nos servirá para conocer un documento FI en otro LEDGER. Porque dependiendo de la configuración del sistema es posible que el número de un documento FI sea distinto según el LEDGER. E incluso puede hasta variar el ejercicio.&#160; A la función FAGL_GET_DOC_DETAILS_OF_LEDGER hay que pasarle el LEDGER [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=457&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p align="left">En esta ocasión comparto la función <strong>FAGL_GET_DOC_DETAILS_OF_LEDGER</strong> que nos servirá para <strong><em>conocer un documento FI en otro</em> LEDGER</strong>.     <br />Porque dependiendo de la configuración del sistema es posible que el número de un documento FI sea distinto según el LEDGER. E incluso puede hasta variar el ejercicio.&#160; </p>
<p align="left">A la función <strong>FAGL_GET_DOC_DETAILS_OF_LEDGER</strong> hay que pasarle el LEDGER de destino; y la sociedad, documento y ejercicio.</p>
<p align="left"><a href="http://danielpanaro.files.wordpress.com/2011/10/image.png" target="_blank"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://danielpanaro.files.wordpress.com/2011/10/image_thumb.png?w=445&#038;h=193" width="445" height="193" /></a> </p>
<p align="left">&#160;</p>
<p align="left">Como resultado, en la estructura <strong>ES_DETAILS</strong>, obtendremos: el ejercicio, período y número de documento del LEDGER de destino.</p>
<p><a href="http://danielpanaro.files.wordpress.com/2011/10/image1.png" target="_blank"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://danielpanaro.files.wordpress.com/2011/10/image_thumb1.png?w=419&#038;h=144" width="419" height="144" /></a></p>
<hr /><span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="#ff0000"> sdn blogger</font></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/457/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/457/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/457/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/457/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/457/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/457/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/457/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/457/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/457/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/457/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/457/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/457/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/457/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/457/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=457&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2011/10/19/documento-fi-en-distintos-ledgers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2011/10/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2011/10/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Funci&#243;n para obtener las cc-n&#243;minas (sueldo) de un empleado</title>
		<link>http://danielpanaro.wordpress.com/2011/09/22/funcin-para-obtener-las-cc-nminas-sueldo-de-un-empleado/</link>
		<comments>http://danielpanaro.wordpress.com/2011/09/22/funcin-para-obtener-las-cc-nminas-sueldo-de-un-empleado/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 14:19:00 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Funciones]]></category>
		<category><![CDATA[Módulo HR]]></category>
		<category><![CDATA[ABAP]]></category>
		<category><![CDATA[cc-nómina]]></category>
		<category><![CDATA[empleado]]></category>
		<category><![CDATA[employee]]></category>
		<category><![CDATA[función]]></category>
		<category><![CDATA[FUNCTION]]></category>
		<category><![CDATA[get]]></category>
		<category><![CDATA[HR]]></category>
		<category><![CDATA[HRCM_PAYROLL_RESULTS_GET]]></category>
		<category><![CDATA[obtener]]></category>
		<category><![CDATA[payroll]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[sueldo]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[trabajador]]></category>
		<category><![CDATA[trick]]></category>

		<guid isPermaLink="false">https://danielpanaro.wordpress.com/2011/09/22/funcin-para-obtener-las-cc-nminas-sueldo-de-un-empleado/</guid>
		<description><![CDATA[En el mundo de SAP HR, la cc-nómina (&#34;Clave Concepto Nómina&#34;) es cada uno de los conceptos que componen el sueldo de un trabajador. Estos conceptos se ven muy claros en un recibo de sueldo. Cada renglón con código, descripción y monto es un concepto; y por ende una cc-nómina. Es decir: el sueldo es [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=423&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>En el mundo de SAP HR, la <b>cc-nómina</b> (&quot;Clave Concepto Nómina&quot;) es <strong><em>cada uno de los conceptos que componen el sueldo de un trabajador</em></strong>. </p>
<p>Estos conceptos se ven muy claros en un recibo de sueldo. Cada renglón con código, descripción y monto es un concepto; y por ende una cc-nómina. </p>
<p>Es decir: el sueldo es un concepto, las horas extras es otro concepto, etc, etc.</p>
<hr />
<p>Si alguna vez nos toca hacer un programa donde necesitemos conocer el sueldo y/o composición de un empleado. Entonces la <strong>función</strong> <strong>HRCM_PAYROLL_RESULTS_GET</strong> nos será de muchísima utilidad para evitar el uso de base de datos lógicas de HR y su “engorrosa” codificación.     <br />Ya que con sólo pasarle el número de legajo del trabajador y una fecha de inicio y fin, obtendremos una estructura completa de tablas con información del sueldo y sus cc-nóminas.</p>
<p><a href="http://danielpanaro.files.wordpress.com/2011/09/image4.png" target="_blank"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://danielpanaro.files.wordpress.com/2011/09/image_thumb3.png?w=379&#038;h=159" width="379" height="159" /></a> </p>
<p>Por ejemplo en la <strong><em>estructura</em></strong> <strong>payroll_result_tab</strong> tendremos la <strong><em>tabla</em></strong> <strong>RT</strong> con el listado de cc-nóminas con sus respectivos montos:</p>
<p><a href="http://danielpanaro.files.wordpress.com/2011/09/image5.png" target="_blank"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://danielpanaro.files.wordpress.com/2011/09/image_thumb4.png?w=449&#038;h=317" width="449" height="317" /></a></p>
</p>
<hr /><span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="#ff0000"> sdn blogger</font></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/423/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=423&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2011/09/22/funcin-para-obtener-las-cc-nminas-sueldo-de-un-empleado/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2011/09/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2011/09/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Pasar SmartForm a PDF</title>
		<link>http://danielpanaro.wordpress.com/2011/05/11/pasar-smartform-a-pdf/</link>
		<comments>http://danielpanaro.wordpress.com/2011/05/11/pasar-smartform-a-pdf/#comments</comments>
		<pubDate>Wed, 11 May 2011 14:09:08 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Smartforms]]></category>
		<category><![CDATA[ABAP]]></category>
		<category><![CDATA[bajar]]></category>
		<category><![CDATA[códigos]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[formulario]]></category>
		<category><![CDATA[pasar]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[SmartForms]]></category>
		<category><![CDATA[SSF_FUNCTION_MODULE_NAME]]></category>
		<category><![CDATA[SX_OBJECT_CONVERT_OTF_PDF]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[trick]]></category>

		<guid isPermaLink="false">https://danielpanaro.wordpress.com/2011/05/11/pasar-smartform-a-pdf/</guid>
		<description><![CDATA[Es común que nos pidan hacer un resguardo de un formulario. Y probablemente tengamos que hacer el backup a PDF. Con las siguientes pocas líneas vamos a poder hacerlo. *Declaraciones DATA: w_ctrlop&#160;&#160;&#160; TYPE ssfctrlop, &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; w_compop TYPE ssfcompop, &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; w_return&#160;&#160;&#160; TYPE ssfcrescl, &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; otfdata&#160;&#160;&#160;&#160;&#160;&#160; LIKE itcoo OCCURS 0 WITH HEADER LINE, &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; lc_name&#160;&#160;&#160;&#160; TYPE rs38l_fnam, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=419&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Es común que nos pidan hacer un resguardo de un formulario. Y probablemente tengamos que hacer el backup a PDF.      <br />Con las siguientes pocas líneas vamos a poder hacerlo.</strong></p>
<hr />
<p><strong><font color="#0000ff">*Declaraciones</font></strong>     <br />DATA: w_ctrlop&#160;&#160;&#160; TYPE ssfctrlop,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; w_compop TYPE ssfcompop,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; w_return&#160;&#160;&#160; TYPE ssfcrescl,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; otfdata&#160;&#160;&#160;&#160;&#160;&#160; LIKE itcoo OCCURS 0 WITH HEADER LINE,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; lc_name&#160;&#160;&#160;&#160; TYPE rs38l_fnam,    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; intab&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; TYPE&#160; soli_tab,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; objbin&#160;&#160;&#160;&#160;&#160;&#160; TYPE&#160; solix_tab,&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; wa_intab&#160;&#160; TYPE LINE OF soli_tab,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; wa_objbin TYPE LINE OF solix_tab,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; objpack&#160;&#160;&#160; LIKE sopcklsti1 WITH HEADER LINE. </p>
<p><font color="#0000ff"><strong>*Función que devuelve el modulo de función del SmartForm        <br /></strong></font>CALL FUNCTION &#8216;SSF_FUNCTION_MODULE_NAME&#8217;     <br />&#160;&#160; EXPORTING     <br />&#160;&#160;&#160;&#160;&#160; formname&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = ‘ZSMARTFORM’&#160; <font color="#0000ff">“Nombre del formulario SmartForm      <br /></font>&#160;&#160; IMPORTING     <br />&#160;&#160;&#160;&#160;&#160; fm_name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = lc_name     <br />&#160;&#160; EXCEPTIONS     <br />&#160;&#160;&#160;&#160;&#160; no_form&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 1     <br />&#160;&#160;&#160;&#160;&#160; no_function_module = 2&#160; <br />&#160;&#160; OTHERS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 3.</p>
<p><font color="#0000ff"><strong>*Llama al modulo de función del SF</strong></font>     <br />&#160;&#160;&#160; w_ctrlop-getotf&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = &#8216;X&#8217;.     <br />&#160;&#160;&#160; w_ctrlop-no_dialog&#160;&#160;&#160; = &#8216;X&#8217;.     <br />&#160;&#160;&#160; w_compop-tdnoprev&#160; = &#8216;X&#8217;.     </p>
<p>CALL FUNCTION lc_name     <br />&#160;&#160; EXPORTING     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; output_options&#160;&#160;&#160;&#160;&#160;&#160;&#160; = <strong>w_compop&#160; <br /></strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160; control_parameters = <strong>w_ctrlop</strong>     <br />&#160;&#160; IMPORTING     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; job_output_info&#160;&#160;&#160;&#160;&#160;&#160; = <strong>w_return</strong>     <br />&#160;&#160; EXCEPTIONS     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; formatting_error&#160;&#160; = 1     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; internal_error&#160;&#160;&#160;&#160;&#160;&#160; = 2     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; send_error&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 3     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; user_canceled&#160;&#160;&#160;&#160;&#160; = 4     <br />&#160;&#160; OTHERS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 5.     <br />&#160;&#160; IF sy-subrc &lt;&gt; 0.     <br />&#160;&#160;&#160;&#160; MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno     <br />&#160;&#160;&#160;&#160; WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.     <br />&#160;&#160; ELSE.     <br />&#160;&#160;&#160;&#160;&#160; otfdata[] = w_return-otfdata[].     <br />&#160;&#160; ENDIF.</p>
<p><font color="#0000ff"><strong>*En la tabla otfdata nos queda guardado el formulario en formtao OTF</strong>       <br /><strong>*Ahora sólo resta convertir el OTF en PDF</strong>       <br /></font>LOOP AT otfdata.     <br />&#160;&#160;&#160; wa_intab = otfdata.     <br />&#160;&#160;&#160; APPEND wa_intab TO intab.     <br />&#160;&#160;&#160; CLEAR wa_intab.     <br />ENDLOOP.</p>
<p><font color="#0000ff"><strong>*</strong><strong>Convertir el OTF en PDF</strong>       <br /></font>CALL FUNCTION ‘SX_OBJECT_CONVERT_OTF_PDF’     <br />&#160;&#160;&#160; EXPORTING     <br />&#160;&#160;&#160;&#160;&#160; format_src&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = ‘OTF’     <br />&#160;&#160;&#160;&#160;&#160; format_dst&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = ‘PDF’     <br />*&#160;&#160;&#160;&#160; ADDR_TYPE&#160;&#160;&#160;&#160;&#160;&#160;&#160; =     <br />&#160;&#160;&#160;&#160;&#160; devtype&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = ‘LP01′     <br />*&#160;&#160;&#160;&#160; FUNCPARA&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; =     <br />&#160;&#160;&#160; CHANGING     <br />&#160;&#160;&#160;&#160;&#160; transfer_bin&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = objpack-transf_bin     <br />&#160;&#160;&#160;&#160;&#160; content_txt&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = intab     <br />&#160;&#160;&#160;&#160;&#160; content_bin&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = objbin     <br />&#160;&#160;&#160;&#160;&#160; objhead&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = intab     <br />&#160;&#160;&#160;&#160;&#160; len&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = objpack-doc_size     <br />&#160;&#160; EXCEPTIONS     <br />&#160;&#160;&#160;&#160;&#160; err_conv_failed&#160;&#160; = 1&#160; <br />&#160;&#160; OTHERS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 2. </p>
<p><font color="#0000ff"><strong>*</strong><strong>LISTO!!! En la tabla objbin nos queda guardado el PDF para salvarlo *en la PC con la función ‘GUI_DOWNLOAD’ o bien enviarlo por mail con *la función ‘SO_NEW_DOCUMENT_ATT_SEND_API1’</strong></font></p>
<hr /><span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="#ff0000"> sdn blogger</font></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/419/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=419&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2011/05/11/pasar-smartform-a-pdf/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>
	</item>
		<item>
		<title>Pasar Sapscript a PDF</title>
		<link>http://danielpanaro.wordpress.com/2011/05/04/pasar-sapscript-a-pdf/</link>
		<comments>http://danielpanaro.wordpress.com/2011/05/04/pasar-sapscript-a-pdf/#comments</comments>
		<pubDate>Wed, 04 May 2011 13:07:00 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Códigos ABAP]]></category>
		<category><![CDATA[SapScripts]]></category>
		<category><![CDATA[ABAP]]></category>
		<category><![CDATA[bajar]]></category>
		<category><![CDATA[códigos]]></category>
		<category><![CDATA[CLOSE_FORM]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[formulario]]></category>
		<category><![CDATA[OPEN_FORM]]></category>
		<category><![CDATA[pasar]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[SX_OBJECT_CONVERT_OTF_PDF]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[trick]]></category>

		<guid isPermaLink="false">https://danielpanaro.wordpress.com/2011/05/04/pasar-un-formulario-a-pdf-2-manera/</guid>
		<description><![CDATA[Es común que nos pidan hacer un resguardo de un formulario. Y probablemente tengamos que hacer el backup a PDF. Con las siguientes pocas líneas vamos a poder hacerlo. *Declaraciones TABLES: itcpo. DATA: otfdata LIKE itcoo OCCURS 0 WITH HEADER LINE, &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; intab&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; TYPE&#160; soli_tab, &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; objbin&#160;&#160;&#160;&#160;&#160;&#160; TYPE&#160; solix_tab,&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; wa_intab&#160;&#160; TYPE LINE OF soli_tab, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=410&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Es común que nos pidan hacer un resguardo de un formulario. Y probablemente tengamos que hacer el backup a PDF.      <br />Con las siguientes pocas líneas vamos a poder hacerlo.</strong></p>
<hr />
<p><strong><font color="#0000ff">*Declaraciones</font></strong>     <br />TABLES: itcpo.</p>
<p>DATA: otfdata LIKE itcoo OCCURS 0 WITH HEADER LINE,    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; intab&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; TYPE&#160; soli_tab,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; objbin&#160;&#160;&#160;&#160;&#160;&#160; TYPE&#160; solix_tab,&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; wa_intab&#160;&#160; TYPE LINE OF soli_tab,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; wa_objbin TYPE LINE OF solix_tab,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; objpack&#160;&#160;&#160; LIKE sopcklsti1 WITH HEADER LINE.</p>
<p><font color="#0000ff"><strong></strong></font></p>
<p><font color="#0000ff"><strong>*Antes de la llamada a la función &#8216;OPEN_FORM&#8217;</strong>       <br /></font>itcpo-tdgetotf = &#8216;X&#8217;.     <br />itcpo-tddest&#160;&#160; = &#8216;LP01&#8242;.     </p>
<p>CALL FUNCTION &#8216;OPEN_FORM&#8217;    <br />&#160;&#160; EXPORTING     <br />&#160;&#160;&#160;&#160;&#160; form&#160;&#160;&#160;&#160;&#160;&#160; = ‘ZSAPSCRIPT’&#160; <font color="#0000ff">“Nombre del formulario Sapscript</font>&#160; <br />&#160;&#160;&#160;&#160;&#160; language = &#8216;S&#8217;     <br />&#160;&#160;&#160;&#160;&#160; options&#160;&#160; = <strong>itcpo</strong>     <br />&#160;&#160;&#160;&#160;&#160; device&#160;&#160;&#160; = &#8216;PRINTER&#8217;     <br />&#160;&#160;&#160;&#160;&#160; dialog&#160;&#160;&#160;&#160; = &#8216; &#8216;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <font color="#0000ff">“Vacío para que no muestre el pop-up de impresión      <br /></font>&#160;&#160; EXCEPTIONS     <br />&#160;&#160; OTHERS&#160;&#160; = 1.</p>
<p>&#160;</p>
<p><strong><font color="#0000ff">*En el &#8216;CLOSE_FORM&#8217;</font></strong>     <br />CALL FUNCTION &#8216;CLOSE_FORM&#8217;     <br />&#160;&#160; TABLES     <br />&#160;&#160;&#160;&#160;&#160; otfdata = <strong>otfdata      <br /></strong>&#160;&#160; EXCEPTIONS     <br />&#160;&#160; OTHERS&#160; = 1.</p>
<p><font color="#0000ff"><strong>*En la tabla otfdata nos queda guardado el formulario en formtao OTF</strong>       <br /><strong>*Ahora sólo resta convertir el OTF en PDF</strong></font>     <br />LOOP AT otfdata.     <br />&#160;&#160;&#160; wa_intab = otfdata.     <br />&#160;&#160;&#160; APPEND wa_intab TO intab.     <br />&#160;&#160;&#160; CLEAR wa_intab.     <br />ENDLOOP.</p>
<p><font color="#0000ff"><strong>*</strong><strong>Convertir el OTF en PDF</strong></font>     <br />CALL FUNCTION &#8216;SX_OBJECT_CONVERT_OTF_PDF&#8217;     <br />&#160;&#160;&#160; EXPORTING     <br />&#160;&#160;&#160;&#160;&#160; format_src&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = &#8216;OTF&#8217;     <br />&#160;&#160;&#160;&#160;&#160; format_dst&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = &#8216;PDF&#8217;     <br />*&#160;&#160;&#160;&#160; ADDR_TYPE&#160;&#160;&#160;&#160;&#160;&#160;&#160; =     <br />&#160;&#160;&#160;&#160;&#160; devtype&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = &#8216;LP01&#8242;     <br />*&#160;&#160;&#160;&#160; FUNCPARA&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; =     <br />&#160;&#160;&#160; CHANGING     <br />&#160;&#160;&#160;&#160;&#160; transfer_bin&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = objpack-transf_bin     <br />&#160;&#160;&#160;&#160;&#160; content_txt&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = intab     <br />&#160;&#160;&#160;&#160;&#160; content_bin&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = objbin     <br />&#160;&#160;&#160;&#160;&#160; objhead&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = intab     <br />&#160;&#160;&#160;&#160;&#160; len&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = objpack-doc_size     <br />&#160;&#160; EXCEPTIONS     <br />&#160;&#160;&#160;&#160;&#160; err_conv_failed&#160;&#160; = 1&#160; <br />&#160;&#160; OTHERS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 2.     </p>
<p><font color="#0000ff"><strong>*</strong><strong>LISTO!!! En la tabla objbin nos queda guardado el PDF para salvarlo *en la PC con la función ‘GUI_DOWNLOAD’ o bien enviarlo por mail con *la función ‘SO_NEW_DOCUMENT_ATT_SEND_API1’</strong></font></p>
<hr /><span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="#ff0000"> sdn blogger</font></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/410/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=410&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2011/05/04/pasar-sapscript-a-pdf/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>
	</item>
		<item>
		<title>Transacci&#243;n NACU &#8211; Clases de Mensaje</title>
		<link>http://danielpanaro.wordpress.com/2010/05/07/transaccin-nacu-clases-de-mensaje/</link>
		<comments>http://danielpanaro.wordpress.com/2010/05/07/transaccin-nacu-clases-de-mensaje/#comments</comments>
		<pubDate>Fri, 07 May 2010 18:36:00 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Transacciones]]></category>
		<category><![CDATA[SAP; ABAP; transaction; transacción; NACU; clases; mensaje; formulario; sapscript; smartforms; output; types]]></category>

		<guid isPermaLink="false">https://danielpanaro.wordpress.com/2010/05/07/transaccin-nacu-clases-de-mensaje/</guid>
		<description><![CDATA[La transacción NACU es de mucha utilidad para conocer la configuración de cualquier clase de mensaje. Al ingresar nos pedirá elegir el tipo de aplicación (facturación, ventas, expedición, etc.). Tras ejecutar abre una nueva pantalla con todo el listado de Clases de Mensaje para el tipo de aplicación elegida. Y a la izquierda podremos seleccionar [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=406&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>La transacción <strong>NACU</strong> es de mucha utilidad para conocer la configuración de cualquier clase de mensaje.</p>
<p>Al ingresar nos pedirá elegir el tipo de aplicación (facturación, ventas, expedición, etc.). Tras ejecutar abre una nueva pantalla con todo el listado de Clases de Mensaje para el tipo de aplicación elegida. Y a la izquierda podremos seleccionar para ver: títulos y textos, rutinas de proceso y funciones de interlocutor.</p>
<p><strong>Es ideal para cuando un programador quiera conocer el formulario de impresión.</strong></p>
<p>PD: Los créditos son para mi amigo Claudio Suriano.</p>
<hr /><span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="#ff0000"> sdn blogger</font></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/406/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=406&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2010/05/07/transaccin-nacu-clases-de-mensaje/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>
	</item>
		<item>
		<title>C14Z_DYNP_READ_FIELD &#8211; Funci&#243;n para leer campos de una DYNPRO</title>
		<link>http://danielpanaro.wordpress.com/2010/04/29/c14z_dynp_read_field-funcin-para-leer-campos-de-una-dynpro/</link>
		<comments>http://danielpanaro.wordpress.com/2010/04/29/c14z_dynp_read_field-funcin-para-leer-campos-de-una-dynpro/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 13:44:00 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Field Exit]]></category>
		<category><![CDATA[Funciones]]></category>
		<category><![CDATA[C14Z_DYNP_READ_FIELD; función; function; read; leer; campos; fields; pantalla; screen; dynpro; field; exit; SAP; ABAP]]></category>

		<guid isPermaLink="false">https://danielpanaro.wordpress.com/2010/04/29/c14z_dynp_read_field-funcin-para-leer-campos-de-una-dynpro/</guid>
		<description><![CDATA[La función C14Z_DYNP_READ_FIELD sirve para leer campos de una Dynpro o Pantalla. No necesariamente de la dynpro en que nos encontramos. Puede ser de una pantalla anterior. Esto nos puede ser muy útil, como fue en mi caso, para el desarrollo de Field Exits. A continuación el código: * A I_PROGRAM hay que pasarle el [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=404&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>La función <strong>C14Z_DYNP_READ_FIELD</strong> sirve para leer campos de una Dynpro o Pantalla.     <br />No necesariamente de la dynpro en que nos encontramos. Puede ser de una pantalla anterior.</p>
<p>Esto nos puede ser muy útil, como fue en mi caso, para el desarrollo de Field Exits.</p>
<hr />
<p><u>A continuación el código:</u></p>
<p><font color="#0080ff"><strong>* A I_PROGRAM hay que pasarle el nombre del programa.        <br />* A I_DYNPRO se le pasa el número de pantalla o dynpro.         <br />* Y I_FIELDNAME el campo del cual queremos conocer su contenido.         <br />* La función nos devuelve en la variable W_EVAL el valor encontrado.</strong></font></p>
<p>DATA: W_EVAL LIKE DYNPREAD-FIELDVALUE. </p>
<p>CALL FUNCTION &#8216;C14Z_DYNP_READ_FIELD&#8217;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />EXPORTING&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160; I_PROGRAM&#160;&#160;&#160;&#160;&#160;&#160; = &#8216;SAPF110O&#8217;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160; I_DYNPRO&#160;&#160;&#160;&#160;&#160;&#160;&#160; = &#8217;0102&#8242;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160; I_FIELDNAME&#160;&#160;&#160;&#160; = &#8216;REGUH-LAUFD&#8217;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160; I_FLG_STEPLOOP&#160; = &#8216;X&#8217;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />CHANGING&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160; E_VALUE&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = W_EVAL.&#160;&#160;&#160; </p>
<hr /><span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="#ff0000"> sdn blogger</font></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/404/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=404&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2010/04/29/c14z_dynp_read_field-funcin-para-leer-campos-de-una-dynpro/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>
	</item>
		<item>
		<title>Guardar archivo en formato PDF</title>
		<link>http://danielpanaro.wordpress.com/2010/01/11/guardar-archivo-en-formato-pdf/</link>
		<comments>http://danielpanaro.wordpress.com/2010/01/11/guardar-archivo-en-formato-pdf/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 14:31:00 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[ABAP]]></category>
		<category><![CDATA[Códigos ABAP]]></category>
		<category><![CDATA[abap;sap;file;archivo;format;formato;extension;PDF;download;bajada;fichero;GUI_DOWNLOAD;PRINT_TEXT;CONVERT_OTF]]></category>

		<guid isPermaLink="false">http://danielpanaro.wordpress.com/2010/01/11/guardar-archivo-en-formato-pdf/</guid>
		<description><![CDATA[Con el siguiente código podremos generar archivos PDF. Ya que con la función GUI_DOWNLOAD únicamente no se puede hacer. Previamente hay que realizar una conversión para luego sí guardar el fichero .PDF. &#160; *&#38;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;* *&#38; Report&#160; Y_TEST *&#38; *&#38;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;* *&#38; *&#38; *&#38;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;* REPORT y_test NO STANDARD PAGE HEADING. ********************************************************************** *&#160; Definición de variables&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; * ********************************************************************** [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=400&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><font size="2">Con el siguiente código podremos generar archivos PDF.</font></strong></p>
<p>Ya que con la función <strong>GUI_DOWNLOAD</strong> únicamente no se puede hacer. Previamente hay que realizar una conversión para luego sí guardar el fichero <strong>.PDF</strong>.</p>
<hr />
<p>&#160;</p>
<p><font color="#0080ff">*&amp;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*      <br />*&amp; Report&#160; Y_TEST       <br />*&amp;       <br />*&amp;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*       <br />*&amp;       <br />*&amp;       <br />*&amp;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*</font>     <br />REPORT y_test NO STANDARD PAGE HEADING.</p>
<p><font color="#0080ff">**********************************************************************      <br />*&#160; Definición de variables&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *       <br />**********************************************************************</font>     <br />DATA: filesize&#160; TYPE i,&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; header&#160; LIKE thead,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; options&#160; LIKE itcpo,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; result&#160;&#160;&#160; LIKE itcpp,&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; otf&#160;&#160;&#160;&#160;&#160;&#160;&#160; LIKE itcoo OCCURS 0 WITH HEADER LINE,&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; lines&#160;&#160;&#160;&#160; LIKE tline OCCURS 0 WITH HEADER LINE,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; lv_file&#160;&#160; TYPE string. </p>
<p><font color="#0080ff">**********************************************************************      <br />*&#160; Definición de la pantalla de selección&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *       <br />**********************************************************************</font>     <br />SELECTION-SCREEN BEGIN OF BLOCK blq1 WITH FRAME TITLE text-t01.     <br />PARAMETERS:     <br />&#160; p_impre TYPE pri_params-pdest OBLIGATORY,     <br />&#160; p_file&#160; TYPE rlgrap-filename OBLIGATORY DEFAULT &#8216;C:\PRUEBA.PDF&#8217;.     <br />SELECTION-SCREEN END OF BLOCK blq1. </p>
<p>&#160;</p>
<p><font color="#0080ff">**********************************************************************      <br />*&#160; Proceso principal&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *       <br />**********************************************************************</font></p>
<p><font color="#0080ff">*Se completa tabla lines con el contenido que queramos que tenga el archivo PDF</font>     <br />lines-tdline = &#8216;Este es el texto que aparecerá en el archivo PDF&#8217;.     <br />lines-tdformat = &#8216;K&#8217;.     <br />APPEND lines. </p>
<p><font color="#0080ff">*Se obtienen y definen las opciones de formato del archivo</font>     <br />options-tddest = p_impre. &quot;Nombre de impresora local     <br />options-tdnewid = &#8216;X&#8217;.     <br />options-tdgetotf = &#8216;X&#8217;. </p>
<p>CALL FUNCTION &#8216;PRINT_TEXT&#8217;     <br />EXPORTING     <br />&#160;&#160;&#160; device&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = &#8216;PRINTER&#8217;     <br />&#160;&#160;&#160; dialog&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = &#8216; &#8216;     <br />&#160;&#160;&#160; application&#160;&#160;&#160; = &#8216;TX&#8217;     <br />&#160;&#160;&#160; header&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = header     <br />&#160;&#160;&#160; options&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = options     <br />IMPORTING&#160; <br />&#160;&#160;&#160; result&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = result&#160; <br />TABLES&#160; <br />&#160;&#160;&#160; lines&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = lines     <br />&#160;&#160;&#160; otfdata&#160;&#160;&#160;&#160;&#160; = otf     <br />EXCEPTIONS     <br />&#160;&#160;&#160; canceled&#160;&#160;&#160;&#160; = 01     <br />&#160;&#160;&#160; device&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 02     <br />&#160;&#160;&#160; form&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 03&#160; <br />&#160;&#160;&#160; options&#160;&#160;&#160;&#160;&#160; = 04     <br />&#160;&#160;&#160; unclosed&#160;&#160;&#160; = 05     <br />&#160;&#160;&#160; unknown&#160;&#160;&#160; = 06     <br />&#160;&#160;&#160; format&#160;&#160;&#160;&#160;&#160;&#160; = 07     <br />&#160;&#160;&#160; textformat&#160; = 08     <br />&#160;&#160;&#160; communication = 09. </p>
<p><font color="#0080ff">* Se convierte a PDF</font>     <br />CALL FUNCTION &#8216;CONVERT_OTF&#8217;     <br />EXPORTING     <br />&#160;&#160;&#160; format&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = &#8216;PDF&#8217;     <br />&#160;&#160;&#160; max_linewidth&#160;&#160;&#160;&#160; = 132     <br />IMPORTING     <br />&#160;&#160;&#160; bin_filesize&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = filesize     <br />TABLES     <br />&#160;&#160;&#160; otf&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = otf     <br />&#160;&#160;&#160; lines&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = lines     <br />EXCEPTIONS     <br />&#160;&#160;&#160; err_conv_not_possible = 1. </p>
<p><font color="#0080ff">* Bajamos el archivo</font>     <br />lv_file = p_file. </p>
<p>CALL FUNCTION &#8216;GUI_DOWNLOAD&#8217;     <br />EXPORTING     <br />&#160;&#160;&#160;&#160; bin_filesize = filesize     <br />&#160;&#160;&#160;&#160; filename = lv_file     <br />&#160;&#160;&#160;&#160; filetype = &#8216;BIN&#8217;     <br />* APPEND = &#8216; &#8216;     <br />* CODEPAGE = &#8216; &#8216;     <br />* NO_BYTEORDER_MARK = &#8216; &#8216;     <br />* IMPORTING     <br />* FILELENGTH = c     <br />TABLES     <br />&#160;&#160;&#160;&#160; data_tab = lines     <br />* FORMAT_TAB =     <br />EXCEPTIONS&#160; <br />&#160;&#160;&#160;&#160; file_write_error = 1     <br />&#160;&#160;&#160;&#160; no_batch = 2     <br />&#160;&#160;&#160;&#160; gui_refuse_filetransfer = 3     <br />&#160;&#160;&#160;&#160; invalid_type = 4     <br />&#160;&#160;&#160;&#160; no_authority = 5     <br />&#160;&#160;&#160;&#160; unknown_error = 6.</p>
<hr /><span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="#ff0000"> sdn blogger</font></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/400/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/400/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/400/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/400/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/400/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/400/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/400/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=400&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2010/01/11/guardar-archivo-en-formato-pdf/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>
	</item>
		<item>
		<title>Reducir el tama&#241;o de los Transaction Logs</title>
		<link>http://danielpanaro.wordpress.com/2009/07/10/reducir-el-tamao-de-los-transaction-logs/</link>
		<comments>http://danielpanaro.wordpress.com/2009/07/10/reducir-el-tamao-de-los-transaction-logs/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 17:17:00 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Basis]]></category>
		<category><![CDATA[archivos;DBCC;SHRINKFILE;SQL;abap;sap;DB02;transaction;logs;basis;reducir;reduce;truncate;truncar;tricks;SQL Managment Studio;LDF;files]]></category>

		<guid isPermaLink="false">http://danielpanaro.wordpress.com/2009/07/10/reducir-el-tamao-de-los-transaction-logs/</guid>
		<description><![CDATA[Cuando los transactions logs de la base de datos de SQL Server crecen demasiado pueden generarnos errores en SAP y varios dolores de cabeza. En esos casos la solución es truncar dichos archivos, reducir su tamaño. Nunca eliminarlos!. Atención: Lo que sigue es sólo para SQL Server, para otro tipo de base de datos, como [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=394&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Cuando los <strong>transactions logs</strong> de la base de datos de <strong>SQL Server</strong> crecen demasiado pueden generarnos errores en SAP y varios dolores de cabeza.</p>
<p>En esos casos <strong>la solución es truncar dichos archivos, reducir su tamaño</strong>. <strong>Nunca eliminarlos!</strong>.</p>
<hr /><strong><em><font color="#ff0000" size="2"><u>Atención:</u></font> Lo que sigue es sólo para SQL Server, para otro tipo de base de datos, como ser Oracle, los comandos cambian.</em></strong>
</p>
<p><strong><u>¿Cómo truncamos o reducimos los archivos?</u></strong></p>
<p>Primero tenemos que <strong>saber los nombres de los transactions logs y su ubicación</strong>. Para eso ingresamos en la <strong>transacción DB02.</strong> </p>
<p>Esta transacción tiene toda la información referida a la base de datos<strong>,</strong> y en el medio nos da un detalle completo de todos los archivos y de los transactions logs.&#160; </p>
<p>Una vez que sabemos los nombres de los transactions logs (<strong>extensión .LDF</strong>); bajamos SAP y acto seguido ingresamos al servidor donde esta instalado SQL.</p>
<p>Ya estamos preparados para reducir los logs, pero antes se recomienda hacer un <strong>back up de los archivos que vamos a truncar</strong>.</p>
<p>Abrimos el <strong>SQL Management Studio</strong> y nos conectamos a nuestra base de datos. A continuación clickeamos en el botón “<strong>Nueva consulta</strong>” y escribimos el siguiente comando:     <br /><strong>BACKUP LOG <font color="#000080">&lt;sid&gt;</font> WITH NO_LOG</strong>     </p>
<ul>
<ul>
<li><font color="#000080"><strong>&lt;sid&gt;</strong></font> = nombre de la base de datos.         <br />Luego apretar el botón “<strong>Ejecutar</strong>”. </li>
</ul>
</ul>
</p>
<p>&#160;</p>
<p>Cuando termina hacemos una nueva consulta pero con el comando:    <br /><strong>DBCC SHRINKFILE (<font color="#000080">&lt;name_logfile&gt;</font>, <font color="#000080">&lt;size&gt;</font>)</strong>     </p>
<ul>
<ul>
<li><font color="#000080"><strong>&lt;name_logfile&gt;</strong></font> = nombre del transaction log </li>
<li><font color="#000080"><strong>&lt;size&gt;</strong></font> = tamaño al que queremos truncar/reducir el archivo., Ej: 10 MB. </li>
</ul>
</ul>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Apretar el botón “<strong>Ejecutar</strong>”.   <br />(<strong>Repetir este comando por cada transaction log</strong>).
</p>
<p>&#160;</p>
<p>Con esto ya tendremos reducidos nuestros archivos en cuestión. Espero que les sea útil. <strong>Para más información pueden ver la nota de SAP nro 625546.</strong></p>
<hr /><span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="#ff0000"> sdn blogger</font></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/394/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=394&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2009/07/10/reducir-el-tamao-de-los-transaction-logs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>
	</item>
		<item>
		<title>Transacci&#243;n SGEN &#8211; Compilaci&#243;n de Programas</title>
		<link>http://danielpanaro.wordpress.com/2009/07/01/transaccin-sgen-compilacin-de-programas/</link>
		<comments>http://danielpanaro.wordpress.com/2009/07/01/transaccin-sgen-compilacin-de-programas/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 18:35:00 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[ABAP]]></category>
		<category><![CDATA[Basis]]></category>
		<category><![CDATA[Transacciones]]></category>
		<category><![CDATA[abap;sap;SGEN;transaction;transacción;basis;regeneración;generación;compilar;programas;tricks]]></category>

		<guid isPermaLink="false">http://danielpanaro.wordpress.com/2009/07/01/transaccin-sgen-compilacin-de-programas/</guid>
		<description><![CDATA[La transacción SGEN es una gran utilidad que nos permitirá compilar o recompilar todos los programas. Pueden generarse programas, grupos de funciones, clases y aplicaciones Business Server Page (aplicaciones BSP). Hay que tener en cuenta que la misma tarda bastante tiempo en ejecutarse. Para saber con qué opción ejecutarla, acceder al botón “Info sobre el [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=390&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://danielpanaro.files.wordpress.com/2009/07/image.png" target="_blank"><img title="image" style="display:inline;border-width:0;" height="219" alt="image" src="http://danielpanaro.files.wordpress.com/2009/07/image_thumb.png?w=244&#038;h=219" width="244" border="0" /></a> </p>
<p>La transacción <strong>SGEN</strong> es una gran utilidad que nos permitirá compilar o recompilar todos los programas.</p>
<p>Pueden generarse programas, grupos de funciones, clases y aplicaciones Business Server Page (aplicaciones BSP).</p>
<p>Hay que tener en cuenta que la misma tarda bastante tiempo en ejecutarse.</p>
<p>Para saber con qué opción ejecutarla, acceder al <strong>botón</strong> “<strong>Info sobre el generador de carga SAP</strong>”. La información es muy completa y detallada. </p>
<p>O bien ver la <strong>nota de sap nro</strong>&#160; <strong>379918.</strong></p>
<hr /><span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="#ff0000"> sdn blogger</font></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/390/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=390&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2009/07/01/transaccin-sgen-compilacin-de-programas/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2009/07/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>SELECT OPTIONS DIN&#193;MICOS</title>
		<link>http://danielpanaro.wordpress.com/2009/04/19/select-options-dinmicos/</link>
		<comments>http://danielpanaro.wordpress.com/2009/04/19/select-options-dinmicos/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 13:03:00 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Códigos ABAP]]></category>
		<category><![CDATA[Trucos]]></category>
		<category><![CDATA[abap;sap;select-options;parameter;dinamicos;dinamics;filtros;opciones;seleccion;tips;tricks]]></category>

		<guid isPermaLink="false">http://danielpanaro.wordpress.com/?p=379</guid>
		<description><![CDATA[Con el siguiente código podremos crear pantallas de entrada de datos dinámicas. Donde según el radio button que se elija, aparecerán distintos filtros de selección. &#160; &#160; TABLES: KNA1, MARA. ************************************************************************ *** SELECTION-SCREEN / PARAMETERS / SELECT-OPTIONS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *** ************************************************************************ SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-A01. PARAMETERS: &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; R_CLIE&#160; RADIOBUTTON GROUP GRUP USER-COMMAND [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=379&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Con el siguiente código podremos crear pantallas de entrada de datos dinámicas. Donde según el radio button que se elija, aparecerán distintos filtros de selección.</p>
<p><a href="http://danielpanaro.files.wordpress.com/2009/04/image.png" target="_blank"><img title="image" style="display:inline;border-width:0;" height="155" alt="image" src="http://danielpanaro.files.wordpress.com/2009/04/image-thumb.png?w=349&#038;h=155" width="349" border="0" /></a>&#160;</p>
<p><a href="http://danielpanaro.files.wordpress.com/2009/04/image1.png" target="_blank"><img title="image" style="display:inline;border-width:0;" height="134" alt="image" src="http://danielpanaro.files.wordpress.com/2009/04/image-thumb1.png?w=250&#038;h=134" width="250" border="0" /></a> </p>
<p>&#160;</p>
<p>TABLES: KNA1, MARA. </p>
<p><font color="#0000ff">************************************************************************      <br />*** SELECTION-SCREEN / PARAMETERS / SELECT-OPTIONS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ***       <br />************************************************************************       <br /></font>SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-A01.     <br />PARAMETERS:     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; R_CLIE&#160; RADIOBUTTON GROUP GRUP USER-COMMAND R DEFAULT &#8216;X&#8217;,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; R_MATE&#160; RADIOBUTTON GROUP GRUP.     <br />SELECTION-SCREEN END OF BLOCK B1. </p>
<p><font color="#0000ff">*Datos Clientes      <br /></font>SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-B02.     <br />SELECT-OPTIONS: SO_CLIE&#160; FOR KNA1-KUNNR MODIF ID CLI,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SO_NAME&#160; FOR KNA1-NAME1 MODIF ID CLI,     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SO_LAND&#160; FOR KNA1-LAND1 MODIF ID CLI.     <br />SELECTION-SCREEN END OF BLOCK B2. </p>
<p><font color="#0000ff">*Datos Materiales</font>     <br />SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-B03.     <br />SELECT-OPTIONS: SO_MATE FOR MARA-MATNR NO INTERVALS NO-EXTENSION MODIF ID MAT.     <br />SELECTION-SCREEN END OF BLOCK B3. </p>
<p><font color="#0000ff">*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*      <br />*AT SELECTION-SCREEN.       <br />*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*</font>     <br />AT SELECTION-SCREEN OUTPUT. </p>
<p>&#160; LOOP AT SCREEN. </p>
<p>&#160;&#160;&#160; IF SCREEN-GROUP1 = &#8216;MAT&#8217;.    <br />&#160;&#160;&#160;&#160;&#160; CASE R_MATE.     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; WHEN &#8216;X&#8217;.     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SCREEN-ACTIVE = 1.     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; WHEN OTHERS.     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SCREEN-ACTIVE = 0.     <br />&#160;&#160;&#160;&#160;&#160; ENDCASE.     <br />&#160;&#160;&#160; ELSEIF SCREEN-GROUP1 = &#8216;CLI&#8217;.     <br />&#160;&#160;&#160;&#160;&#160; CASE R_MATE.     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; WHEN &#8216;X&#8217;.     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SCREEN-ACTIVE = 0.     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; WHEN OTHERS.     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SCREEN-ACTIVE = 1.     <br />&#160;&#160;&#160;&#160;&#160; ENDCASE.     <br />&#160;&#160;&#160; ENDIF. </p>
<p>&#160;&#160;&#160; MODIFY SCREEN. </p>
<p>&#160; ENDLOOP.</p>
<hr /><span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="#ff0000"> sdn blogger</font></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/379/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=379&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2009/04/19/select-options-dinmicos/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2009/04/image-thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2009/04/image-thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Circuito de Reparaciones (Orden de Renovaci&#243;n)</title>
		<link>http://danielpanaro.wordpress.com/2008/12/25/circuito-de-reparaciones-orden-de-renovacin/</link>
		<comments>http://danielpanaro.wordpress.com/2008/12/25/circuito-de-reparaciones-orden-de-renovacin/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 13:13:19 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Módulo SM]]></category>
		<category><![CDATA[ABAP]]></category>
		<category><![CDATA[órdenes]]></category>
		<category><![CDATA[ciruito]]></category>
		<category><![CDATA[IW32]]></category>
		<category><![CDATA[IW42]]></category>
		<category><![CDATA[IW81]]></category>
		<category><![CDATA[IW8W]]></category>
		<category><![CDATA[módulo]]></category>
		<category><![CDATA[MB11]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[orden]]></category>
		<category><![CDATA[orders]]></category>
		<category><![CDATA[renovación]]></category>
		<category><![CDATA[reparaciones]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[SM]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[transacción]]></category>
		<category><![CDATA[transaction]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://danielpanaro.wordpress.com/2008/12/26/circuito-de-reparaciones-orden-de-renovacin/</guid>
		<description><![CDATA[Ingresamos a la transacción IW81. Todos los campos deben ser completados tal como se indica en la figura: Clase de orden: “PM04” Prioridad: Muy elevado, Alto, Medio (utilizado normalmente) y Bajo. Número material: Material a reparar. Centro planificación: “1100” en este caso, Varía según la configuración de cada empresa.&#160; Luego presionamos ENTER o el botón [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=369&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ingresamos a la transacción <b>IW81</b>. Todos los campos deben ser completados tal como se indica en la figura: <br /><a href="http://danielpanaro.files.wordpress.com/2008/12/clip-image0024.jpg" target="_blank"><img style="border-width:0;" height="197" alt="clip_image002[4]" src="http://danielpanaro.files.wordpress.com/2008/12/clip-image0024-thumb.jpg?w=244&#038;h=197" width="244" border="0"></a> <br /><u>Clase de orden:</u> “<b>PM04</b>” <br /><u>Prioridad:</u> Muy elevado, Alto, <b>Medio (utilizado normalmente)</b> y Bajo.<b> </b><br /><u>Número material:</u> <b>Material a reparar</b>. <br /><u>Centro planificación:</u> “<b>1100</b>” en este caso, Varía según la configuración de cada empresa.&nbsp;
<p>Luego presionamos <b>ENTER</b> o el botón <strong>Datos cab</strong>.
<p><strong><em>Pantalla inicial: </em></strong><br />Completar en la parte superior de la pantalla el nombre o descripción del proceso (ejemplo : <b>Prueba repa motor</b>).
<p><a href="http://danielpanaro.files.wordpress.com/2008/12/clip-image018.jpg" target="_blank"><img style="border-width:0;" height="19" alt="clip_image018" src="http://danielpanaro.files.wordpress.com/2008/12/clip-image018-thumb.jpg?w=307&#038;h=19" width="307" border="0"></a>
<p>&nbsp;
<p><em><u>Debemos completar los siguientes campos en la solapa <b>“Datos cab.”:</b></u></em> <br /><b><u>Responsable: </u></b><br /><b>Rs.pto.tr.:</b> Colocar el responsable de la operación.
<p><b><u></u></b></p>
<p><strong><u>Renovación:</u></strong> <br />Debemos completar tanto el centro y almacén de ingreso y salida (<b>DE&#8230;A</b>).
<p><b><u>Primera operación: </u></b><br /><b>Operación: </b>Texto libre referente a la operación a realizar<b>. </b>
<p><b>Pto Trab/Ce: </b>Colocar el responsable de la operación.
<p><b>ClvCtrol:</b> Completar con la clave de control.
<p><b>Cl.activ: </b>Se puede dejar vacío o completar<strong> </strong>con la clase de actividad.<strong> </strong>
<p><b>Trabinvert, Cantidad, y Dur.oper: </b>El tiempo a emplear en la operación.
<p>&nbsp;
<p><em><u>Luego vamos a la solapa </u></em><b><em><u>“Interloc.”:</u></em></b> <br />Y colocamos el número de cliente y seleccionamos del matchcode el título <b>AG SOLICITANTE</b>. Presionamos <b>ENTER</b> y se completan los datos. <br />Si necesitamos visualizar los datos del cliente ingresamos por la parte superior de la pantalla al botón <a href="http://danielpanaro.files.wordpress.com/2008/12/clip-image025.jpg" target="_blank"><img style="border-width:0;" height="22" alt="clip_image025" src="http://danielpanaro.files.wordpress.com/2008/12/clip-image025-thumb.jpg?w=19&#038;h=22" width="19" border="0"></a>. <br />Antes de grabar debemos presionar el botón <a href="http://danielpanaro.files.wordpress.com/2008/12/clip-image029.jpg" target="_blank"><img style="border-width:0;" height="33" alt="clip_image029" src="http://danielpanaro.files.wordpress.com/2008/12/clip-image029-thumb.jpg?w=34&#038;h=33" width="34" border="0"></a> para liberar la orden y poder continuar con el proceso. <br />Finalizar grabando la orden <a href="http://danielpanaro.files.wordpress.com/2008/12/clip-image036.jpg" target="_blank"><img style="border-width:0;" height="25" alt="clip_image036" src="http://danielpanaro.files.wordpress.com/2008/12/clip-image036-thumb.jpg?w=244&#038;h=25" width="244" border="0"></a>
<p>&nbsp;
<p><em><strong>!!!</strong>Con la transacción <b>IW32</b> podemos visualizar esta orden una vez creada.</em>
<p>&nbsp;
<p><strong><u>El siguiente paso es la entrada de la mercadería y se explica a continuación:</u></strong> <br />Ingresamos a la transacción <b>IW8W:</b> <br /> 
<p>Colocamos en el campo el número de orden generado previamente. Y presionamos <b>ENTER.</b> <br /><a href="http://danielpanaro.files.wordpress.com/2008/12/clip-image044.jpg" target="_blank"><img style="border-width:0;" height="170" alt="clip_image044" src="http://danielpanaro.files.wordpress.com/2008/12/clip-image044-thumb.jpg?w=282&#038;h=170" width="282" border="0"></a> <br />Completamos los campos de fecha, almacén y cantidad del material que recibimos para reparar. Y finalizamos grabando el documento.
<p>&nbsp;
<p><b><u>Notificación de OT:</u> </b><br />Ingresamos a la transacción <b>IW42</b>
<p>En la siguiente pantalla presionamos <b>ENTER</b> para visualizar los datos (horas de trabajo) grabados en la orden (<strong>Notificación tiempo</strong>). <br />Y deberíamos incluir los materiales adicionales que se usarán en la reparación. Centro/ Almacén (<strong>Movimientos de mercancías</strong>).
<p>&nbsp;
<p><strong><u>Ahora debemos generar el remito o formulario que acompañará la operación:</u></strong> <br />Ingresamos a la transacción <b>MB11</b>.
<p>Chequear que esté puesto el tilde en el campo “<b>IMPR.</b>”. Presionamos el botón <strong>Por orden&#8230;</strong> .&nbsp;
<p>Completamos el campo de <strong>Orden. </strong>Presionamos el botón <strong>Tomar + Detalle</strong>.
<p>Y se visualizarán los datos, si lo necesitamos&#8230; podemos agregar un texto en el campo del mismo nombre.
<p>Presionando <strong>ENTER</strong>, veremos el detalle del movimiento de salida que se está por realizar.
<p>Finalmente si hacemos doble click sobre el número de material; se abrirá una nueva pantalla donde podremos elegir las opciones de impresión con el botón &#8220;<strong>Mensajes</strong>&#8220;.
<p>Volvemos entonces a la pantalla inicial donde ahora sí contabilizamos el documento utilizando el botón de grabar. Emitiendo así el remito. </p>
<hr /> <span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="red"> sdn blogger</font></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/369/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=369&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2008/12/25/circuito-de-reparaciones-orden-de-renovacin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/12/clip-image0024-thumb.jpg" medium="image">
			<media:title type="html">clip_image002[4]</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/12/clip-image018-thumb.jpg" medium="image">
			<media:title type="html">clip_image018</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/12/clip-image025-thumb.jpg" medium="image">
			<media:title type="html">clip_image025</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/12/clip-image029-thumb.jpg" medium="image">
			<media:title type="html">clip_image029</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/12/clip-image036-thumb.jpg" medium="image">
			<media:title type="html">clip_image036</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/12/clip-image044-thumb.jpg" medium="image">
			<media:title type="html">clip_image044</media:title>
		</media:content>
	</item>
		<item>
		<title>Circuito de subcontrataci&#243;n</title>
		<link>http://danielpanaro.wordpress.com/2008/10/17/circuito-de-subcontratacin/</link>
		<comments>http://danielpanaro.wordpress.com/2008/10/17/circuito-de-subcontratacin/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 23:23:36 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Módulo MM]]></category>
		<category><![CDATA[circuito]]></category>
		<category><![CDATA[material]]></category>
		<category><![CDATA[módulo]]></category>
		<category><![CDATA[MM]]></category>
		<category><![CDATA[proceso]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[subcontratación]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[Trucos]]></category>

		<guid isPermaLink="false">http://danielpanaro.wordpress.com/2008/10/18/circuito-de-subcontratacin/</guid>
		<description><![CDATA[Planteo del problema: Nuestra empresa requiere poder enviar un material semielaborado o materia prima a un proveedor. Para que luego el proveedor devuelva el material terminado con una factura por el costo del servicio. Solución mediante SAP: En este ejemplo se utiliza el material 200011 que es una lista de material que tiene como componente [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=317&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><u><strong>Planteo del problema:</strong></u> <br />Nuestra empresa requiere poder enviar un material semielaborado o materia prima a un proveedor. Para que luego el proveedor devuelva el material terminado con una factura por el costo del servicio.</p>
<p><u><strong>Solución mediante SAP:</strong></u> <br />En este ejemplo se utiliza el <strong>material 200011 que es una lista de material</strong> que tiene como <strong>componente</strong> el <strong>material 100043</strong>. <br /><strong><em>Por lo tanto, para este ejemplo nuestra empresa entregará a un tercero las unidades correspondientes de la materia prima (material 100043) para luego recibir el producto terminado (material 200011).</em></strong></p>
<hr />
<p><b><i>1º PASO:</i></b> Ingresar a la transacción <b>ME21N</b> y crear un pedido de tipo <strong>NB (estándar)</strong>, en este caso cree un el tipo <strong>ZSUB</strong> (Sol. Subcontratación) que es una copia del tipo NB. Y elegir el proveedor que realizará el trabajo: <br /><a href="http://danielpanaro.files.wordpress.com/2008/10/image.png" target="_blank"><img style="border-width:0;" height="78" alt="image" src="http://danielpanaro.files.wordpress.com/2008/10/image-thumb.png?w=416&#038;h=78" width="416" border="0"></a>
<p>En la parte de las posiciones colocar el material terminado que se recibirá del proveedor. Completar con los datos que se usan comúnmente (fecha de entrega, cantidad, precio, etc). <br />Y en la columna de <b>tipo de posición</b> colocar <b>L</b> (subcontratación).<br /><a href="http://danielpanaro.files.wordpress.com/2008/10/image3.png" target="_blank"><img style="border-width:0;" height="131" alt="image" src="http://danielpanaro.files.wordpress.com/2008/10/image-thumb3.png?w=306&#038;h=131" width="306" border="0"></a>
<p>Luego completar, como hacen comúnmente con cualquier pedido, los campos que consideren necesarios de la parte de Cabecera. <br /><a href="http://danielpanaro.files.wordpress.com/2008/10/image5.png" target="_blank"><img style="border-width:0;" height="233" alt="image" src="http://danielpanaro.files.wordpress.com/2008/10/image-thumb5.png?w=353&#038;h=233" width="353" border="0"></a> <br />En la parte de Detalles de la posición se podrán ver los componentes del material. En este caso el material 100043. </p>
<p>Finalmente se debe grabar el pedido: <br /><a href="http://danielpanaro.files.wordpress.com/2008/10/clip-image002.jpg" target="_blank"><img style="border-width:0;" height="25" alt="clip_image002" src="http://danielpanaro.files.wordpress.com/2008/10/clip-image002-thumb.jpg?w=244&#038;h=25" width="244" border="0"></a>
<p>&nbsp;
<p><b><i>2º PASO: </i></b>El segundo paso es hacer entrega del material al proveedor relacionado al pedido que creamos en el paso anterior. En este ejemplo el material que se entregará es el 100043. <br />Para esto hay que ir a la transacción <b>MB1B</b> <br />Y completar con <b>Clase de movimiento 541</b>, <b>centro</b> y tildar la opción <b>Impr</b> para que se imprima un remito. <br />Acto siguiente apretar el botón de <b>Por pedido…</b> <br /><a href="http://danielpanaro.files.wordpress.com/2008/10/clip-image0025.jpg" target="_blank"><img style="border-width:0;" height="225" alt="clip_image002[5]" src="http://danielpanaro.files.wordpress.com/2008/10/clip-image0025-thumb.jpg?w=313&#038;h=225" width="313" border="0"></a>
<p>Nos aparecerá una ventana donde debemos completar con el número del pedido creado en el primer paso. Y clickear en el botón <b>Tomar + Detalle</b>. <br /><a href="http://danielpanaro.files.wordpress.com/2008/10/clip-image00271.jpg" target="_blank"><img style="border-width:0;" height="244" alt="clip_image002[7]" src="http://danielpanaro.files.wordpress.com/2008/10/clip-image0027-thumb1.jpg?w=223&#038;h=244" width="223" border="0"></a> <br />Por último apretar el botón de grabar para que se contabilice el traspaso y se imprima el remito.
<p>&nbsp;
<p><b><i>3º PASO: </i></b>Finalmente, el tercer y último paso es, una vez que se recibe el material terminado del proveedor. Hay que darlo de alta y dar de baja el material entregado.
<p>Ir a la transacción <b>MIGO</b> <br /><b>Eligiendo:</b> Entrada de mercancía, pedido, número de pedido, y el movimiento 101. <br /><a href="http://danielpanaro.files.wordpress.com/2008/10/image6.png"><img style="border-width:0;" height="36" alt="image" src="http://danielpanaro.files.wordpress.com/2008/10/image-thumb6.png?w=373&#038;h=36" width="373" border="0"></a>
<p>Luego tildar la opción de <b>Posición OK</b>, completar la <b>fecha de contabilidad</b> y <b>Nota de entrega</b>. Apretar el botón <b>Verificar</b>. <br />Si todo da bien, apretar en el botón <b>guardar</b>. <br /><a href="http://danielpanaro.files.wordpress.com/2008/10/image7.png" target="_blank"><img style="border-width:0;" height="323" alt="image" src="http://danielpanaro.files.wordpress.com/2008/10/image-thumb7.png?w=311&#038;h=323" width="311" border="0"></a>
<p>Con esto, el circuito de subcontratación queda terminado.<br />
<hr />
<p><span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="red"> sdn blogger</font></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/317/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=317&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2008/10/17/circuito-de-subcontratacin/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/10/image-thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/10/image-thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/10/image-thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/10/clip-image002-thumb.jpg" medium="image">
			<media:title type="html">clip_image002</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/10/clip-image0025-thumb.jpg" medium="image">
			<media:title type="html">clip_image002[5]</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/10/clip-image0027-thumb1.jpg" medium="image">
			<media:title type="html">clip_image002[7]</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/10/image-thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/10/image-thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Completar variables con espacios a la izquierda</title>
		<link>http://danielpanaro.wordpress.com/2008/08/16/completar-variables-con-espacios-a-la-izquierda/</link>
		<comments>http://danielpanaro.wordpress.com/2008/08/16/completar-variables-con-espacios-a-la-izquierda/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 15:25:16 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Códigos ABAP]]></category>
		<category><![CDATA[ABAP]]></category>
		<category><![CDATA[completar]]></category>
		<category><![CDATA[espacios]]></category>
		<category><![CDATA[fill]]></category>
		<category><![CDATA[izquierda]]></category>
		<category><![CDATA[left]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[SHIFT]]></category>
		<category><![CDATA[space]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[variable]]></category>

		<guid isPermaLink="false">http://danielpanaro.wordpress.com/2008/08/16/completar-variables-con-espacios-a-la-izquierda/</guid>
		<description><![CDATA[Es común que en nuestras tareas diarias nos pidan generar archivos con algún formato en particular. Para luego ser levantado por un aplicativo fuera de SAP. Y&#160; es probable que nos pidan que ciertos campos los completemos con espacios en blanco adelante (a la izquierda). Por lo tanto acá dejo una sentencia ABAP para completar [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=294&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Es común que en nuestras tareas diarias nos pidan generar archivos con algún formato en particular. Para luego ser levantado por un aplicativo fuera de SAP.</p>
<p>Y&nbsp; es probable que nos pidan que ciertos campos los completemos con espacios en blanco adelante (a la izquierda). Por lo tanto acá dejo una sentencia ABAP para completar con espacios:</p>
<hr />
<p>DATA: lv_dato(14) TYPE C.
<p>lv_dato = &#8216;HOLA&#8217;.
<p><font color="#0000ff"><strong>*-&gt; Con esta sentencia la variable lv_dato queda con 10 espacios en blanco y luego la palabra HOLA</strong></font> <br /><strong>SHIFT lv_dato RIGHT DELETING TRAILING SPACE.</strong>
<p><strong></strong>&nbsp;
<p><strong><a href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/db999535c111d1829f0000e829fbfe/content.htm" target="_blank">Para saber más sobre la sentencia SHIFT&#8230;</a> </strong></p>
<hr /> <span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="red"> sdn blogger</font></a></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/danielpanaro.wordpress.com/294/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/danielpanaro.wordpress.com/294/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/294/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=294&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2008/08/16/completar-variables-con-espacios-a-la-izquierda/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>
	</item>
		<item>
		<title>Funci&#243;n SAVE_TEXT &#8211; Crear y guardar Textos en SAP</title>
		<link>http://danielpanaro.wordpress.com/2008/08/15/crear-y-guardar-textos-en-sap/</link>
		<comments>http://danielpanaro.wordpress.com/2008/08/15/crear-y-guardar-textos-en-sap/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 15:53:33 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Códigos ABAP]]></category>
		<category><![CDATA[Funciones]]></category>
		<category><![CDATA[ABAP]]></category>
		<category><![CDATA[cabecera]]></category>
		<category><![CDATA[crear]]></category>
		<category><![CDATA[función]]></category>
		<category><![CDATA[FUNCTION]]></category>
		<category><![CDATA[posición]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[SAVE_TEXT]]></category>
		<category><![CDATA[texto]]></category>
		<category><![CDATA[texts]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://danielpanaro.wordpress.com/2008/08/15/crear-y-guardar-textos-en-sap/</guid>
		<description><![CDATA[Con la función SAVE_TEXT vamos a poder crear y completar campos de textos en SAP. Podremos llenar, por ejemplo, textos de cabecera y posición en forma masiva. Vamos a necesitar algo de información previa. Para eso hay que ir al lugar donde ponemos el texto y clickeamos en el menú Pasar a —&#62; Cabecera… &#160; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=298&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Con la función <strong>SAVE_TEXT</strong> vamos a poder crear y completar campos de textos en SAP. Podremos llenar, por ejemplo, textos de cabecera y posición en forma masiva.</p>
<hr />
<p>Vamos a necesitar algo de información previa. Para eso hay que ir al lugar donde ponemos el texto y clickeamos en el menú <strong>Pasar a —&gt; Cabecera…</strong></p>
<p>&nbsp;<img src="http://danielpanaro.files.wordpress.com/2007/11/image35.png?w=510"> </p>
<p><u><strong><em>El código que tenemos que agregar es:</em></strong></u>
<p><font color="#0000ff"><strong>*Declaraciones para los textos.</strong></font><br />DATA: it_header&nbsp; TYPE thead,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it_lines&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE TABLE OF tline. </p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REFRESH it_lines.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLEAR it_header.</p>
<p><strong><font color="#0000ff">*&#8212;&#8211;&gt;Texto para agregar</font></strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it_lines-tdline = &#8216;Este es un texto de cabecera&#8217;.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; APPEND wa_lines TO it_lines.</p>
<p><strong><font color="#0000ff">*&#8212;&#8211;&gt;Completamos con los datos que obtuvimos arriba</font></strong>&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it_header-tdobject = &#8216;VBBK&#8217;.&nbsp; &#8220;VG_OBJ<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it_header-tdname = &#8217;0000000057&#8242;.&nbsp; &#8220;VG_NAME<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it_header-tdid&nbsp;&nbsp; = &#8216;ZCER&#8217;.&nbsp; &#8220;VG_ID<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it_header-tdspras = &#8216;E&#8217;.&nbsp; &#8220;VG_LANG<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it_header-tdlinesize = &#8217;072&#8242;.
<p><font color="#0000ff"><strong>*&#8212;-&gt;Llamamos a la función que nos completa el texto</strong></font> <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALL FUNCTION <strong>&#8216;SAVE_TEXT&#8217;</strong><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXPORTING<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; header&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = it_header<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; insert&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &#8216;X&#8217;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; savemode_direct = &#8216;X&#8217;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TABLES<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lines&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = it_lines<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXCEPTIONS<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 2<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 3<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; object&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 4<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OTHERS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 5.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IF sy-subrc &lt;&gt; 0.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ENDIF.
<p><strong><u>Como resultado obtenemos:</u></strong> <br /><img src="http://danielpanaro.files.wordpress.com/2007/11/image34.png?w=510"> </p>
<hr /> <span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="red"> sdn blogger</font></a></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/danielpanaro.wordpress.com/298/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/danielpanaro.wordpress.com/298/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/298/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=298&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2008/08/15/crear-y-guardar-textos-en-sap/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2007/11/image35.png" medium="image" />

		<media:content url="http://danielpanaro.files.wordpress.com/2007/11/image34.png" medium="image" />
	</item>
		<item>
		<title>Funci&#243;n RZL_READ_DIR_LOCAL &#8211; Conocer contenido de un directorio</title>
		<link>http://danielpanaro.wordpress.com/2008/08/14/funcin-rzl_read_dir_local-conocer-contenido-de-un-directorio/</link>
		<comments>http://danielpanaro.wordpress.com/2008/08/14/funcin-rzl_read_dir_local-conocer-contenido-de-un-directorio/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 16:32:31 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Códigos ABAP]]></category>
		<category><![CDATA[Funciones]]></category>
		<category><![CDATA[ABAP]]></category>
		<category><![CDATA[archivos]]></category>
		<category><![CDATA[carpetas]]></category>
		<category><![CDATA[contenido]]></category>
		<category><![CDATA[directories]]></category>
		<category><![CDATA[directorios]]></category>
		<category><![CDATA[función]]></category>
		<category><![CDATA[FUNCTION]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[RZL_READ_DIR_LOCAL]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[servidor]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://danielpanaro.wordpress.com/2008/08/14/funcin-rzl_read_dir_local-conocer-contenido-de-un-directorio/</guid>
		<description><![CDATA[Con la función RZL_READ_DIR_LOCAL podemos saber cuál es el contenido de un directorio del servidor en SAP. Este es el código: *-Declaro un parameter en el cual se completa la ruta del servidor del que queremos conocer su contenido PARAMETERS:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; p_file TYPE rlgrap-filename OBLIGATORY DEFAULT &#8216;/data/&#8217;. *-Variable para pasarle la ruta a la función DATA: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=309&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Con la función <strong>RZL_READ_DIR_LOCAL</strong> podemos saber cuál es el contenido de un directorio del <strong>servidor</strong> en SAP.</p>
<p><strong><u>Este es el código:</u></strong></p>
<p><strong><font color="#0000ff">*-Declaro un parameter en el cual se completa la ruta del servidor del que queremos conocer su contenido</font></strong> <br />PARAMETERS:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; p_file TYPE rlgrap-filename OBLIGATORY DEFAULT &#8216;/data/&#8217;.</p>
<p><font color="#0000ff"><strong>*-Variable para pasarle la ruta a la función</strong></font> <br />DATA: lv_name TYPE salfile-longname.</p>
<p><strong><font color="#0000ff">*-&gt;Levanto la lista de directorios</font></strong><br />&nbsp;&nbsp;&nbsp; lv_name = p_file.<br />&nbsp;&nbsp;&nbsp; CALL FUNCTION &#8216;RZL_READ_DIR_LOCAL&#8217;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXPORTING<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = lv_name<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TABLES<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file_tbl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = it_filedir<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXCEPTIONS<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; argument_error = 1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; not_found&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 2<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OTHERS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 3.<br />&nbsp;&nbsp;&nbsp; IF sy-subrc &lt;&gt; 0.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.<br />&nbsp;&nbsp;&nbsp; ENDIF.
<p><strong><font color="#0000ff">*Como resultado en la tabla interna it_filedir obtenemos todo el contenido, *ya sean subcarpetas o archivos, de la ruta del servidor que ingresamos *por parámetro.</font></strong><br />
<hr /> <span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="red"> sdn blogger</font></a></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/danielpanaro.wordpress.com/309/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/danielpanaro.wordpress.com/309/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/309/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=309&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2008/08/14/funcin-rzl_read_dir_local-conocer-contenido-de-un-directorio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>
	</item>
		<item>
		<title>Matchcode Browser Server (buscador de directorios del servidor)</title>
		<link>http://danielpanaro.wordpress.com/2008/08/13/matchcode-browser-server-buscador-de-directorios-del-servidor/</link>
		<comments>http://danielpanaro.wordpress.com/2008/08/13/matchcode-browser-server-buscador-de-directorios-del-servidor/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 17:10:05 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Funciones]]></category>
		<category><![CDATA[Matchcodes]]></category>
		<category><![CDATA[ABAP]]></category>
		<category><![CDATA[archivos]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[buscador]]></category>
		<category><![CDATA[código]]></category>
		<category><![CDATA[directorios]]></category>
		<category><![CDATA[explorador]]></category>
		<category><![CDATA[F4]]></category>
		<category><![CDATA[F4_DXFILENAME_TOPRECURSION]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[FUNCTION]]></category>
		<category><![CDATA[matchcode]]></category>
		<category><![CDATA[RFC_GET_LOCAL_SERVERS]]></category>
		<category><![CDATA[RLGRAP-FILENAME]]></category>
		<category><![CDATA[ruta]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servidor]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://danielpanaro.wordpress.com/2008/08/13/matchcode-browser-server-buscador-de-directorios-del-servidor/</guid>
		<description><![CDATA[Con la siguiente función vamos a poder habilitar el matchcode para que abra un browser file (explorador de directorios) del servidor. Esto nos va a servir para hacer upload y download de archivos. Acá el código que debemos ingresar en nuestros programas: * Constantes locales&#160; CONSTANTS:lc_p TYPE c VALUE &#8216;P&#8217;,&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; lc_a TYPE dxfields-location VALUE &#8216;A&#8217;. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=313&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Con la siguiente función vamos a poder habilitar el matchcode para que abra un browser file (explorador de directorios) del servidor. Esto nos va a servir para hacer upload y download de archivos.</strong></p>
<p><u>Acá el código que debemos ingresar en nuestros programas:</u>
<p><strong><font color="#0000ff">* Constantes locales</font></strong><br />&nbsp; CONSTANTS:lc_p TYPE c VALUE &#8216;P&#8217;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lc_a TYPE dxfields-location VALUE &#8216;A&#8217;.
<p><strong><font color="#0000ff">* Variables locales</font></strong><br />&nbsp; DATA: li_host TYPE STANDARD TABLE OF msxxlist,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lw_host TYPE msxxlist,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_path TYPE dxfields-longpath,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_ubicacion(1) TYPE c,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_abend&nbsp; TYPE c.
<p><strong><font color="#0000ff">*En P_FILE va a quedar guardada la ruta del archivo del servidor</font></strong><br />PARAMETERS: P_FILE LIKE RLGRAP-FILENAME.
<p><strong><font color="#0000ff">*- Machcode busqueda de archivo del servidor</font></strong> <br />AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.</p>
<p><strong><font color="#0000ff">*-Nombre del servidor</font></strong><br />&nbsp; CALL FUNCTION &#8216;RFC_GET_LOCAL_SERVERS&#8217;<br />&nbsp;&nbsp;&nbsp; TABLES<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hosts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = li_host<br />&nbsp;&nbsp;&nbsp; EXCEPTIONS<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; not_available = 1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OTHERS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 2. </p>
<p>&nbsp; IF sy-subrc IS INITIAL.
<p><strong><font color="#0000ff">*-Nombre del servidor a la estructura</font></strong><br />&nbsp;&nbsp;&nbsp; CLEAR lw_host.<br />&nbsp;&nbsp;&nbsp; READ TABLE li_host<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; INTO lw_host<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; INDEX 1.
<p><strong><font color="#0000ff">*-Obtengo el path</font></strong><br />&nbsp;&nbsp;&nbsp; CALL FUNCTION &#8216;F4_DXFILENAME_TOPRECURSION&#8217;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXPORTING<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i_location_flag = lc_a<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i_server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = lw_host-name<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMPORTING<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o_location_flag = lv_ubicacion<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o_path&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = lv_path<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; abend_flag&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = lv_abend<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXCEPTIONS<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rfc_error&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; error_with_gui&nbsp; = 2<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OTHERS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 3.
<p><strong><font color="#0000ff">*-Si se obtiene un path</font></strong><br />&nbsp;&nbsp;&nbsp; IF sy-subrc&nbsp;&nbsp;&nbsp; IS INITIAL AND<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NOT lv_path IS INITIAL AND<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_abend&nbsp;&nbsp;&nbsp; IS INITIAL.
<p><strong><font color="#0000ff">*-Devuelvo ruta al parametro de selección</font></strong><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; p_file = lv_path.
<p>&nbsp;&nbsp;&nbsp; ENDIF.
<p>&nbsp; ENDIF.</p>
<hr /> <span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="red"> sdn blogger</font></a></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/danielpanaro.wordpress.com/313/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/danielpanaro.wordpress.com/313/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=313&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2008/08/13/matchcode-browser-server-buscador-de-directorios-del-servidor/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>
	</item>
		<item>
		<title>Transacci&#243;n CG3Y &#8211; Copiar archivo del servidor a nuestra computadora</title>
		<link>http://danielpanaro.wordpress.com/2008/08/12/transaccin-cg3y-copiar-archivo-del-servidor-a-nuestra-computadora/</link>
		<comments>http://danielpanaro.wordpress.com/2008/08/12/transaccin-cg3y-copiar-archivo-del-servidor-a-nuestra-computadora/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 17:25:43 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Basis]]></category>
		<category><![CDATA[Transacciones]]></category>
		<category><![CDATA[ABAP]]></category>
		<category><![CDATA[archivo]]></category>
		<category><![CDATA[CG3Y]]></category>
		<category><![CDATA[copiar]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servidor]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[transacción]]></category>
		<category><![CDATA[transaction]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://danielpanaro.wordpress.com/2008/08/12/transaccin-cg3y-copiar-archivo-del-servidor-a-nuestra-computadora/</guid>
		<description><![CDATA[Con la transacción CG3Y vamos a poder copiar un archivo alojado en el servidor en nuestra computadora. Es muy sencillo, basta con pasar la ruta completa de origen y la de destino. Y elegir el formato de transferencia que puede ser ASC o BIN Technorati tags: sdn blogger<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=316&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Con la transacción <strong>CG3Y</strong> vamos a poder copiar un archivo alojado en el servidor en nuestra computadora.</p>
<p><strong>Es muy sencillo, basta con pasar la ruta completa de origen y la de destino. Y elegir el formato de transferencia que puede ser ASC o BIN</strong></p>
<p><a href="http://danielpanaro.files.wordpress.com/2008/08/image.png" target="_blank"><img style="border-width:0;" height="125" alt="image" src="http://danielpanaro.files.wordpress.com/2008/08/image-thumb.png?w=324&#038;h=125" width="324" border="0"></a> </p>
<hr /> <span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="red"> sdn blogger</font></a></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/danielpanaro.wordpress.com/316/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/danielpanaro.wordpress.com/316/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/316/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=316&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2008/08/12/transaccin-cg3y-copiar-archivo-del-servidor-a-nuestra-computadora/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/08/image-thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>C&#243;mo obtener los Status de Sistema y Usuario</title>
		<link>http://danielpanaro.wordpress.com/2008/06/28/cmo-obtener-los-status-de-sistema-y-usuario/</link>
		<comments>http://danielpanaro.wordpress.com/2008/06/28/cmo-obtener-los-status-de-sistema-y-usuario/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 20:05:05 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Funciones]]></category>
		<category><![CDATA[Módulo SM]]></category>
		<category><![CDATA[ABAP]]></category>
		<category><![CDATA[ALM_ME_READ_USER_STATUS]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[módulo]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[orders]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[sistema]]></category>
		<category><![CDATA[SM]]></category>
		<category><![CDATA[status]]></category>
		<category><![CDATA[STATUS_TEXT_EDIT]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[usuario]]></category>

		<guid isPermaLink="false">http://danielpanaro.wordpress.com/2008/06/28/cmo-obtener-los-status-de-sistema-y-usuario/</guid>
		<description><![CDATA[En todo tipo de órdenes&#8230; ya sean de fabricación, de trabajo, etc. Una de las cosas que identifican en qué estado se encuentran las órdenes son los status de sistema y de usuario:&#160; Para cuando tengan que programar reportes donde deben mostrar o saber los status de las órdenes pueden utilizar las siguientes 2 funciones: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=292&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>En todo tipo de órdenes&#8230; ya sean de fabricación, de trabajo, etc. Una de las cosas que identifican en qué estado se encuentran las órdenes son los <strong>status de sistema y de usuario</strong>:<br /><a href="http://danielpanaro.files.wordpress.com/2008/06/image1.png" target="_blank"><img style="border-width:0;" height="54" alt="image" src="http://danielpanaro.files.wordpress.com/2008/06/image-thumb1.png?w=400&#038;h=54" width="400" border="0"></a>&nbsp; </p>
<p>Para cuando tengan que programar reportes donde deben mostrar o saber los <strong>status de las órdenes </strong>pueden utilizar las siguientes 2 funciones:</p>
<ul>
<li><strong><u>Status de sistema:</u> <em>STATUS_TEXT_EDIT</em></strong>
<li><strong><u>Status de usuario:</u> <em>ALM_ME_READ_USER_STATUS</em></strong></li>
</ul>
<hr /> <span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="red"> sdn blogger</font></a></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/danielpanaro.wordpress.com/292/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/danielpanaro.wordpress.com/292/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/292/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=292&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2008/06/28/cmo-obtener-los-status-de-sistema-y-usuario/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/06/image-thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>SM59 &#8211; Destinos RFC</title>
		<link>http://danielpanaro.wordpress.com/2008/06/12/sm59-destinos-rfc/</link>
		<comments>http://danielpanaro.wordpress.com/2008/06/12/sm59-destinos-rfc/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 23:52:31 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Basis]]></category>
		<category><![CDATA[Transacciones]]></category>
		<category><![CDATA[ABAP]]></category>
		<category><![CDATA[conexiones]]></category>
		<category><![CDATA[connections]]></category>
		<category><![CDATA[loguearse]]></category>
		<category><![CDATA[logueo]]></category>
		<category><![CDATA[mandante]]></category>
		<category><![CDATA[otro]]></category>
		<category><![CDATA[RFC]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[SM59]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[transacción]]></category>
		<category><![CDATA[transaction]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://danielpanaro.wordpress.com/2008/06/12/sm59-destinos-rfc/</guid>
		<description><![CDATA[Con la transacción SM59 podemos visualizar y actualizar destinos RFC. Se pueden crear, borrar y modificar Conexiones R/3, Conexiones internas, Destinos lógicos, Conexiones TCP/IP y conexiones con driver ABAP. Pero una de las cosas que rescato como más interesante es que podemos loguearnos en otro mandante. Esto pude sernos muy útil sobre todo cuando no [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=286&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Con la <strong>transacción SM59</strong> podemos visualizar y actualizar destinos RFC. Se pueden crear, borrar y modificar Conexiones R/3, Conexiones internas, Destinos lógicos, Conexiones TCP/IP y conexiones con driver ABAP.</p>
<p><strong>Pero una de las cosas que rescato como más interesante es que podemos loguearnos en otro mandante</strong>. Esto pude sernos muy útil sobre todo cuando no tenemos creada la entrada a dicho mandante en nuestro SAP Logon. Ya sea porque no conocemos el IP o el String.</p>
<p>Esto es sencillo, abrimos el árbol de <strong>Conexiones R/3</strong> y hacemos <strong>doble click sobre el mandante que queremos conectarnos</strong>.<br />Nos aparecerá una pantalla como la siguiente donde acto seguido clickeamos en el botón <strong>Entrada al sistema remota</strong><br /><a href="http://danielpanaro.files.wordpress.com/2008/06/image.png" target="_blank"><img style="border-width:0;" height="199" alt="image" src="http://danielpanaro.files.wordpress.com/2008/06/image-thumb.png?w=325&#038;h=199" width="325" border="0"></a> <br />Luego sólo nos restará colocar <strong>nombre de usuario</strong> y <strong>password</strong>, y se abrirá otro modo con la sesión del nuevo mandante.&nbsp; </p>
<hr /> <span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="red"> sdn blogger</font></a></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/danielpanaro.wordpress.com/286/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/danielpanaro.wordpress.com/286/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/286/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=286&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2008/06/12/sm59-destinos-rfc/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>

		<media:content url="http://danielpanaro.files.wordpress.com/2008/06/image-thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Status de Sistema AJTM (Ajuste manual necesario)</title>
		<link>http://danielpanaro.wordpress.com/2008/05/24/status-de-sistema-ajtm-ajuste-manual-necesario/</link>
		<comments>http://danielpanaro.wordpress.com/2008/05/24/status-de-sistema-ajtm-ajuste-manual-necesario/#comments</comments>
		<pubDate>Sat, 24 May 2008 15:06:50 +0000</pubDate>
		<dc:creator>Daniel Panaro</dc:creator>
				<category><![CDATA[Módulo PP/PS]]></category>
		<category><![CDATA[ABAP]]></category>
		<category><![CDATA[adjustment]]></category>
		<category><![CDATA[AjtM]]></category>
		<category><![CDATA[ajuste]]></category>
		<category><![CDATA[CN22]]></category>
		<category><![CDATA[configuración]]></category>
		<category><![CDATA[gestión]]></category>
		<category><![CDATA[grafo]]></category>
		<category><![CDATA[MADJ]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[modificaciones]]></category>
		<category><![CDATA[necesario]]></category>
		<category><![CDATA[necessary]]></category>
		<category><![CDATA[operativo]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[sistema]]></category>
		<category><![CDATA[status]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[transacción]]></category>
		<category><![CDATA[transaction]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://danielpanaro.wordpress.com/2008/05/24/status-de-sistema-ajtm-ajuste-manual-necesario/</guid>
		<description><![CDATA[Los otros días tuve que liberar un grafo operativo (un grafo operativo nace en forma automática con la creación de la orden de venta, copiándose del grafo Standard). Lo cual suele ser algo relativamente sencillo: Tratar &#8211;&#62; Status &#8211;&#62; Liberar.Pero sorpresivamente me encontré con el mensaje de error: &#8220;El status del sistema AjtM está activo: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=285&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Los otros días tuve que <strong>liberar un grafo operativo</strong> (un grafo operativo nace en forma automática con la creación de la orden de venta, copiándose del grafo Standard). Lo cual suele ser algo relativamente sencillo: <strong>Tratar &#8211;&gt; Status &#8211;&gt; Liberar</strong>.<br /><u><em><strong>Pero sorpresivamente me encontré con el mensaje de error:</strong></em></u> <br /><strong><em>&#8220;El status del sistema AjtM está activo: </em></strong>Para el objeto GRF 6000022 se activó el status de sistema <strong>AjtM (Ajuste manual necesario)</strong>. Este prohibe la ejecución de la operación &#8216;Liberar&#8217;.<strong>&#8220;</strong> </p>
<p>Esta era la primera vez que veía este status, ya que no es de los más comunes. Como ser EDET, FENA, LIBP, NOTP, etc.</p>
<p>Era obvio que debía desactivar el status <strong>AjtM</strong> para poder liberar mi grafo. El problema era qué significaba Ajuste manual necesario y dónde se activaba?.</p>
<p><u><em><strong>Luego de investigar un buen rato, romperme un poco la cabeza y algunas pruebas, pude encontrar la solución:</strong></em></u><br />Hay que tratar el grafo operativo desde la transacción <strong>CN22</strong>. Ir al menú <strong>Detalles &#8211;&gt; Configuración &#8211;&gt; Gestión modif.</strong></p>
<p>Aquí podemos <strong>gestionar modificaciones en la configuración del grafo</strong>. Nos encontraremos con una tabla con todas las comparaciones de modificación.<br />Para <strong>crear o cerrar una modificación</strong> lo hacemos desde menú<strong> </strong>&#8220;<strong>Tratar</strong>&#8220;.<br />Seleccionando una entrada y luego apretando el botón &#8220;<strong>Pasos de modificación</strong>&#8220;, veremos en detalle todos los componentes y tendremos marcados aquellos para realizarles modificaciones. Finalmente apretando <strong>F8</strong> efectuaremos todos los pasos de modificación disponibles.</p>
<p><strong>Resumiendo entonces, tuve que cerrar todas las entradas de comparación de modificaciones. Consiguiendo&nbsp; desactivar el status <strong>AjtM y así lograr liberar el grafo.</strong></strong></p>
<hr /> <span style="font-size:85%;"><a href="http://technorati.com/">Technorati tags:</a><a href="http://technorati.com/tag/sdn%20blogger" rel="tag"><font color="red"> sdn blogger</font></a></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/danielpanaro.wordpress.com/285/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/danielpanaro.wordpress.com/285/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielpanaro.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielpanaro.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielpanaro.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielpanaro.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielpanaro.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielpanaro.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielpanaro.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielpanaro.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielpanaro.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielpanaro.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielpanaro.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielpanaro.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielpanaro.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielpanaro.wordpress.com/285/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielpanaro.wordpress.com&amp;blog=1904744&amp;post=285&amp;subd=danielpanaro&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielpanaro.wordpress.com/2008/05/24/status-de-sistema-ajtm-ajuste-manual-necesario/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1b8b55d542dca10cc0d250b08b8b4913?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Daniel Panaro</media:title>
		</media:content>
	</item>
	</channel>
</rss>
