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

<channel>
	<title>Free-Archiv - PREISS Consulting</title>
	<atom:link href="https://www.preiss-sap-consulting.de/category/free/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.preiss-sap-consulting.de/category/free/</link>
	<description>Softwareentwicklung und SAP-Beratung</description>
	<lastBuildDate>Sun, 31 Jan 2021 03:07:46 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://www.preiss-sap-consulting.de/wp-content/uploads/2020/11/cropped-preissconsultingfaviconC-32x32.png</url>
	<title>Free-Archiv - PREISS Consulting</title>
	<link>https://www.preiss-sap-consulting.de/category/free/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Download und Upload von ALV-Layouts</title>
		<link>https://www.preiss-sap-consulting.de/download-und-upload-von-alv-layouts/</link>
					<comments>https://www.preiss-sap-consulting.de/download-und-upload-von-alv-layouts/#respond</comments>
		
		<dc:creator><![CDATA[Martin Preiß]]></dc:creator>
		<pubDate>Tue, 05 Jan 2021 08:42:42 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Entwicklung]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[ALV]]></category>
		<guid isPermaLink="false">https://www.preiss-sap-consulting.de/?p=917</guid>

					<description><![CDATA[<p>kostenloser Report für Export und Import  von ALV-Layouts </p>
<p>Der Beitrag <a href="https://www.preiss-sap-consulting.de/download-und-upload-von-alv-layouts/">Download und Upload von ALV-Layouts</a> erschien zuerst auf <a href="https://www.preiss-sap-consulting.de">PREISS Consulting</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>Download und Upload von ALV-Layouts</strong></h2>



<p><strong>Zielgruppe </strong></p>



<p> SAP-Berater, SAP-Betreuer und SAP Key-User</p>



<p><strong>Zusammenfassung</strong></p>



<p>Ich stelle einen kostenlosen Report für Download und Upload&nbsp; von ALV-Layouts zur Verfügung.</p>



<p><strong>Motivation</strong></p>



<p>Im SAP-Standard ist es möglich, benutzerunabhängige ALV-Layouts zu transportieren. Man kann zum Beispiel Layouts im jeweiligen ALV über „Layout verwalten“ und „Transportieren…“ in einen Customizing-Transport aufnehmen, um sie in das Zielsystem zu transportieren. Das Kopieren von ALV Layouts von einem Mandanten in einen anderen desselben Systems ist ebenfalls möglich.</p>



<p>Nun hat man aber immer wieder die Notwendigkeit, ALV-Layouts in ein System zu kopieren, zu dem ein Transport nicht praktikabel ist.</p>



<p>Dafür habe ich keine existierende Lösung gefunden, weder im SAP-Standard noch über Business Configuration Sets oder abapgit. Codingfragmente aus Internetsuchen zu dieser öfter auftauchenden Fragestellung fand ich nur sehr bedingt hilfreich.</p>



<p>Daher habe ich einen Report entwickelt und stelle ihn auf <a href="https://github.com/Martin-Preiss/SAP_ALV_LAYOUT_DOWNLOAD_UPLOAD">Github</a> kostenlos und frei verwendbar (über die sogenannte <a href="https://en.wikipedia.org/wiki/MIT_License">MIT-Lizenz</a>) zur Verfügung.</p>



<p>Der Report ist konservativ ohne Verwendung neuerer ABAP-Sprachelemente realisiert, um ihn in allen gängigen Releases von SAP ERP und SAP S4/HANA verwenden zu können. Getestet habe ich ihn in ERP 6.0 (SAP APPL 6.05 und 6.17) und in S/4HANA 2020 (S4CORE 105). Originalsprache mit Default-Texten &nbsp;ist Englisch. Deutsche Übersetzung ist vorhanden.</p>



<p><strong>Anwendungsfälle</strong></p>



<ol class="wp-block-list"><li>Kopieren von benutzerunabhängigen oder benutzerabhängigen ALV-Layouts von einem System in ein anderes. Die Systeme können unterschiedliche Release-Stände haben.</li><li>Backup und Wiederherstellen von ALV-Layouts</li><li>Kopieren von ALV-Layouts von einem Report zu einem anderen, zum Beispiel nach Kopieren oder Umbenennen eines kundenspezifischen Reports.</li></ol>



<h2 class="wp-block-heading">Funktionsbeschreibung</h2>



<p>Der Report ZST12_ALV_LAYOUT_UP_DOWNLOAD verlangt einen Programmnamen und einen lokalen Pfad und die Auswahl, ob man Download oder Upload beabsichtigt.</p>



<p><strong>Download (Export in lokale Dateien)</strong></p>



<p>Es werden alle benutzerunabhängige und benutzerabhängige Layouts zum Report ermittelt und zum Download angeboten, auch wenn es zum Report mehreren ALV-Listen mit unterschiedlichen HANDLE gibt. Man muss die verwendeten HANDLE nicht vorab kennen.</p>



<p>Feldkatalog, Layout-Einstellungen, sprachabhängige Beschreibungen sowie Sortier- und Filterkriterien (falls vorhanden) werden pro Layout in jeweils eine Datei exportiert. &nbsp;Die Dateinamen werden automatisch generiert.</p>



<div class="wp-block-image wp-image-922 size-full"><figure class="aligncenter"><img fetchpriority="high" decoding="async" width="670" height="230" src="https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/Selection_de.png" alt="" class="wp-image-922"/><figcaption>Abbildung 1 &#8211; Selektionsbild: Auswahl ALV-Layouts zum Download, hier zum Auftragsinfosystem</figcaption></figure></div>



<div class="wp-block-image wp-image-930 size-full"><figure class="aligncenter"><img decoding="async" width="808" height="451" src="https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/popup_dl_de.png" alt="" class="wp-image-930" srcset="https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/popup_dl_de.png 808w, https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/popup_dl_de-300x167.png 300w, https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/popup_dl_de-768x429.png 768w, https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/popup_dl_de-705x394.png 705w" sizes="(max-width: 808px) 100vw, 808px" /><figcaption>Abbildung 2 &#8211; Layouts zum Download auswählen</figcaption></figure></div>



<div class="wp-block-image wp-image-918 size-full"><figure class="aligncenter"><img decoding="async" width="712" height="375" src="https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/prot_dl_de.png" alt="" class="wp-image-918" srcset="https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/prot_dl_de.png 712w, https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/prot_dl_de-300x158.png 300w, https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/prot_dl_de-710x375.png 710w, https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/prot_dl_de-705x371.png 705w" sizes="(max-width: 712px) 100vw, 712px" /><figcaption>Abbildung 3 &#8211; Ergebnisprotokoll Download</figcaption></figure></div>



<p><strong>Upload (Import aus lokalen Dateien)</strong></p>



<p>Die im ausgewählten Verzeichnis vorhanden heruntergeladenen Layouts werden zum Upload angeboten. Aus dem Inhalt bzw. dem Namen der Datei werden Report und Layout-Identifikation &nbsp;sowie Download-Datum und Quellsystem ermittelt.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" decoding="async" width="604" height="208" src="https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/Selection_up_de-1.png" alt="" class="wp-image-941" srcset="https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/Selection_up_de-1.png 604w, https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/Selection_up_de-1-300x103.png 300w" sizes="auto, (max-width: 604px) 100vw, 604px" /><figcaption>Abbildung 4 &#8211; Upload von ALV-Layouts, hier in das Auftragsinfosystem</figcaption></figure></div>



<div class="wp-block-image wp-image-937 size-full"><figure class="aligncenter"><img loading="lazy" decoding="async" width="932" height="459" src="https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/popup_up_en-1.png" alt="" class="wp-image-937" srcset="https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/popup_up_en-1.png 932w, https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/popup_up_en-1-300x148.png 300w, https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/popup_up_en-1-768x378.png 768w, https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/popup_up_en-1-705x347.png 705w" sizes="auto, (max-width: 932px) 100vw, 932px" /><figcaption>Abbildung 5 &#8211; Auswahl der im lokalen Verzeichnis gespeicherten Layouts zum Upload</figcaption></figure></div>



<div class="wp-block-image wp-image-943 size-full"><figure class="aligncenter"><img loading="lazy" decoding="async" width="562" height="188" src="https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/transport_de-1.png" alt="" class="wp-image-943"/><figcaption>Abbildung 6 &#8211; Option zur Aufnahme in einen Transport</figcaption></figure></div>



<div class="wp-block-image wp-image-939 size-full"><figure class="aligncenter"><img decoding="async" src="https://www.preiss-sap-consulting.de/wp-content/uploads/2021/01/prot_up_de-1.png" alt="" class="wp-image-939"/><figcaption>Abbildung 7- Ergebnisprotokoll nach Upload</figcaption></figure></div>



<p><strong>Einschränkungen</strong></p>



<ul class="wp-block-list"><li>Keine Konsistenzprüfungen, ob es inhaltlich sinnvoll ist, Layouts in einen abweichenden Report zu importieren  </li><li>Keine Prüfung auf Existenz der SAP-Benutzers, wenn man benutzerabhängige Layouts importiert. Es ist aktuell ist auch nicht implementiert, dass man sie zu einem anderen Benutzer hochladen kann.</li><li>Wenn beim Import bereits ein Layout mit übereinstimmendem Schlüssel existiert, wird es  ohne Warnung überschrieben.</li></ul>



<p><strong>Coding</strong></p>



<p>Der aktuelle Stand liegt auf github und kann von dort per Abapgit, anderen Git-Clients oder manuell heruntergeladen werden:</p>



<p><a href="https://github.com/Martin-Preiss/SAP_ALV_LAYOUT_DOWNLOAD_UPLOAD">www.github.com/Martin-Preiss/SAP_ALV_LAYOUT_DOWNLOAD_UPLOAD</a></p>



<p></p>



<p></p>


<section  class='av_textblock_section av-kjjqvptq-f00ba5bacdfcc8a37820c5cb7a21a57e '   itemscope="itemscope" itemtype="https://schema.org/BlogPosting" itemprop="blogPost" ><div class='avia_textblock'  itemprop="text" ></div></section>
<p>Der Beitrag <a href="https://www.preiss-sap-consulting.de/download-und-upload-von-alv-layouts/">Download und Upload von ALV-Layouts</a> erschien zuerst auf <a href="https://www.preiss-sap-consulting.de">PREISS Consulting</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.preiss-sap-consulting.de/download-und-upload-von-alv-layouts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
