+ All Categories
Home > Documents > 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by...

19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by...

Date post: 05-Apr-2015
Category:
Upload: werner-mumper
View: 105 times
Download: 2 times
Share this document with a friend
31
19 Datenimport
Transcript
Page 1: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

19 Datenimport

Page 2: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 2

This documentation and training is provided to you by beas group AG. The documents are neither approved nor in any way acknowledged or endorsed by SAP. For SAP Business One, only the documentation and training officially released by SAP shall be binding upon SAP. SAP shall not be responsible for any content of this documentation and training and this documentation and training shall not be binding upon SAP in any way.

The official current SAP Business One documentation and training for SAP Business One is available at http://service.sap.com/sbocustomer/documentation and http://service.sap.com/sbocustomer/training.

Page 3: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 3

Voraussetzungen für diese Lerneinheit

Was Sie sicher beherrschen sollten

Grundlagen SAP Grundlagen beas, Datenaufbau Grundlagen SQL

Page 4: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 4

Lern-Ziele

Nach Bearbeiten der Lektion können Sie:

Daten importieren, konvertieren Datenbanken anpassen Datenprüfung durchführen

Page 5: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 5

Agenda

Dateniport

1: Allgemein

2: Arbeiten mit dem Importprogramm

4: Datenprüfung

5. Beispiel Stücklistenimport

Page 6: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 6

DatenimportWelches Programm ?

Standard-SAP-Tabellen + UDF + UDT

Be.as- und eigene

Tabellen

DTW(von SAP)

Be.as – Import - Programm

Be.as – Script, wenn Import zu komplex wird bzw. ständig wiederholt werden

muss.

Be.as – Script, wenn Import zu komplex wird bzw. ständig wiederholt werden

muss.

Page 7: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 7

Datenimport Das be.as Import - Programm

Vorteil: ist voll in be.as integriert Viele Import- und Konvertierungsfunktionen Datenquelle kann beim Import konvertiert und aufbereitet werden – Vorteil bei mehrfachem Import

Nachteil: Zum Teil keine Prüfung der importierten Daten auf Korrektheit

Page 8: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 8

DatenimportAufbau des gesamten Vorgangs

Daten-quelle

Filter+

Konver-tierung

Daten-zielZuordnung

Page 9: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 9

DatenimportDatenquelle

Jede ODBC-fähige

Datenbank

Beliebige Textdatei

KEINEExcel-Datei!

KEINEExcel-Datei!

be.as und SAP-Tabellen

Aktuelle Datenbank

Page 10: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 10

DatenimportDatenziel

Fertige einfache Schnittstellen für:

RessourceArbeitsgang

ArtikelArbeitsplanStücklisteKunden

AdressenKontaktPreise

ArtikellagerAnwesenheit

Komplexe, gefährliche

Schnittstelle:

Manuelle Definitionder Quelldatei

Page 11: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 11

Agenda

Datenimport

1: Allgemein

2: Arbeiten mit dem Importprogramm

4: Datenprüfung

5. Beispiel Stücklistenimport

Page 12: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 12

DatenimportImportdefinition

Page 13: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 13

DatenimportImport aus Textdatei

Page 14: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 14

Datenimport Import aus Datenbank

Page 15: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 15

Datenimport Feldzuweisung

ag_id

123-<ag_id>

Select ‘123‘-‘<ag_id>‘

select case when x=y then ‘<Ag_id>‘ else ‘ <ag2_id>‘ end

Page 16: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 16

DatenimportManuelle Zielbestimmung

Page 17: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 17

DatenimportDurchführen des Imports

Page 18: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 18

Agenda

Datenimport

1: Allgemein

2: Arbeiten mit dem Importprogramm

4: Datenprüfung

5: Beispiel Stücklistenimport

Page 19: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 19

Datenprüfung

BestätigungStartet Prüfung und erstelltNachrichten

Startet Prüfung und erstelltNachrichten

Fehlerbeschreibung

Unterstützung für Beseitigung der Fehler

Page 20: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 20

Datenprüfung

Die Meldungen müssen abgearbeitet werdenAnsonsten kann be.as keine korrekte Berechnungendurchführen.

Page 21: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 21

Agenda

Datenimport

1: Allgemein

2: Arbeiten mit dem Importprogramm

4: Datenprüfung

5: Beispiel Stücklistenimport

Page 22: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 22

Beispiel Import Stückliste

Folgende Datei soll importiert werdenParentitem Component bompos bomquantity

223200674-01-Rev1 050202-INTLS 10 0.25

223200674-01-Rev1 101518 20 2.00

223200674-18-Rev1 140627 20 2.00

223200674-Rev1 223200674-04-Rev1 80 6.00

223200674-Rev1 223200674-05-Rev1 90 2.00

223200674-Rev1 223200674-06-Rev1 100 1.00

223200674-Rev1 223200674-07-Rev1 110 2.00

223200674-Rev1 223200674-08-Rev1 120 1.00

1. Import der Parent-Items als Artikel

2. Import Component als Artikel

3. Import Stückliste (Parent-Item + Component + Position + Quantity)

4. Datencheck und Korrektur

Für eine bessere Erkennung soll jeder Artikel mit „Z“ beginnen, also Z-223200674-01-Ref1. SAP unterstützt nur 20 Zeichen, also schneiden wir einfach ab.

Page 23: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 23

Import Stückliste - Baugruppe

Anlage der Import-Definition von Typ Artikel, Datenquelle txt

Klick auf den orangenen Pfeil, Auswahl der Importdatei. Diese Einstellung speichern

Page 24: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 24

Import Stückliste - Baugruppe

• Button „Felder“ für Feldzuweisung. Zwingend sind Artikel und Artikelname

• Artikelnummer = „Z-“+ die Artikelnummer. Hierfür wird auf SQL-Modus umgestellt und die Definition in SQL-Syntax eingegeben

select ‘ z-<parentitem>‘

Testlauf: auf orangenen Pfeil von „source field“ klicken und danachauf „Test“

Da nur 20 stellen übergeben werden dürfen, muss der Wert abgeschnitten werden:select substring(‘ z-<parentitem>‘,1,20)

Page 25: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 25

Import Stückliste – BaugruppeErmitteln der weiteren Werte

• Artikelfenster öffnen• Debug-Fenster öffnen (crtl+Shift+I)• Notwendige Werte: Beschaffungsmethode prcrmntmtd=M und Auflösung

u_dispo=B

Page 26: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 26

Import Stückliste - Baugruppe

Ermittelte Feldzuweisung in diesem Fall als Default-Werte in der Feldzuweisungsliste zuordnen

speichern und importieren Ergebnis: 3 Baugruppen in der Artikelstrukturansicht

Page 27: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 27

Import Material

Page 28: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 28

Import Stückliste

Page 29: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 29

Datenprüfung

Nach Import die Datenprüfung nicht vergessen

Page 30: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

© beas group 2011 / Page 30

Zusammenfassung

Jetzt können Sie: Daten importieren, konvertieren Datenbanken anpassen Datenprüfung durchführen

Page 31: 19 Datenimport. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor.

Vielen Dank für Ihre Mitarbeit!


Recommended