bc420_46c - 006further dx-wb functions

Upload: mkumarshahi

Post on 02-Jun-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    1/25

    0

    SAP AG 1999

    Tools

    Registration

    Further DX-WB Functions

    Contents:

    SAP AG BC420 6-1

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    2/25

    0.2

    SAP AG 1999

    Create files

    Change and display files

    Copy files

    enerate test data for data transfer

    Register progra!s

    "t the conclusion of this unit# you $ill %e a%le to:

    Further DX-WB Functions: &nit '%(ecti)es

    SAP AG BC420 6-2

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    3/25

    0.*

    SAP AG 1999

    Course ')er)ie$ Diagra!

    Daten+%ernah!e

    DX Wor,%ench

    / Wor,%ench

    rinciples of tandard

    Data Tansfer

    Direct1nput

    B"1

    T"R

    ecorder

    Course ')er)ie$

    Batch

    1nput

    CallTransaction

    *

    D1

    Basics3

    4

    5 60

    60

    7

    66

    68

    6*

    62

    66

    62

    6

    2

    99

    66

    8

    With some data transfer objects you can create a file with test data. Data from R/3 is inserted into a

    file.

    The function is available for standard transfer programs (!"#T"D!$ and %&!s

    Note: This function is not available for all data transfer programs. It is application-dependent.

    'ee appendi )* for an overview of the objects that can use this function.

    SAP AG BC420 6-3

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    4/25

    0.8

    SAP AG 1999

    Goto Analyse files and data structures

    File name

    Standard

    transfer

    program for

    customers

    The object type

    from the BOR

    O!ect ty"e

    #as$ ty"e

    Pro%ra& ty"ePro%ra& ' &et(od

    )ile ty"e

    )ile na&e

    P

    *+A1

    B,+P

    )B,./00

    oad data into '3

    BC420./B,SAP

    .ata transfer "ro%ra&

    ,n"ut file

    DX-WB: Tools

    To use the tools of the D+,W" you have to specify the program or the method for the data transfer.

    &roceed as follows-

    'elect the relevant object type in your application.

    'elect the supported program type.

    'elect the supported program or method.

    ote- se the 01 input help

    Then you must specify the file name and the directory in which this is stored or should be created. %

    physical or logical path/file name should be specified. (0or more information about logical file

    names see the unit on se2uential files$

    The path shown is valid for Release 1.%

    0or the Release 1. the valid path is Goto -> Analyze files and data structures.

    SAP AG BC420 6-4

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    5/25

    0.4

    SAP AG 2001

    Creates initial file under specified pathfile na!e

    File contains all the structures of the o%(ect

    ession header is filled

    tructures are preassigned $ith ;

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    6/25

    0.9

    SAP AG 2001

    Function: Create File $ith Data

    >eeds a progra! that can create test data

    The progra! !ust %e pro)ided %y the

    application

    ?')er)ie$: see appendi=# unit 64@

    File $ith the test data

    With some data transfer objects you can create a file with test data. Data from R/3 is inserted into a

    file.

    This function is not available for all transfer programs. It is application-dependent.

    'ee appendi )* for an overview of the objects that can use this function.

    The function is available for standard transfer programs (!"#T"D!$ and %&!s.

    SAP AG BC420 6-6

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    7/25

    0.3

    SAP AG 2001

    1.01 8-00-1000

    . . .

    ession record 0/appe6 00* ...

    Aeader date 6

    B>"6 tandard

    Structure

    BR00

    B>00

    Contents

    2B*+A1 ' o(n

    B*+A1 Custo&ers

    )ield +a&e S(ort .escri"tion )ield Contents

    S#P/ ecord ty"e 2

    #B+A5 #ale na&e B*+A1

    +a&e1 +a&e 1 S&it(

    +a&e2 +a&e 2 '

    O#01 Ort Berlin

    ecord na&e

    . . .

    A+.1 and ./

    '. . .

    .ata record

    . . .

    tructure editor ena%les the

    indi)idual structures to %e

    changed

    Function: DisplayChange File

    The file display template contains the following information-

    The number of data records is displayed in the title. This shows how many transactions the transfer

    file contains.

    The fields of the transfer object are displayed in predefined length and se2uence for each structure.

    'o you can identify which fields of a structure are re2uired in which length and se2uence. y

    double clic6ing on a structure line you can see the fields of the structure.

    The different hierarchy levels of a data record are indicated in different colors-

    7ierarchy level *-green

    7ierarchy level 8-yellow

    7ierarchy level 3- blue

    7ierarchy level 1-gray

    9ou can print the transfer file (Table -> Print$

    ote that only the first *)) characters of each structure are displayed in the overview.

    ote- This functionality applies only for !" #T and D!.

    SAP AG BC420 6-:

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    8/25

    0.5

    SAP AG 1999

    )ile na&e

    Source

    A""lication ser;er

    e&ote ser;er

    )ile ty"e

    Presentation ser;er

    )ile na&e

    )ile na&e

    #ar%et

    A""lication ser;er

    e&ote ser;er

    )ile ty"e

    Presentation ser;er

    )ile na&e

    "ll the structures of the selected

    transfer o%(ect can %e copied

    Function: Copy File

    The data transfer file can be copied between the application and presentation servers.

    The data transfer programs epect the transfer file to have a fied length.

    The following conversions are possible-

    #opy without converting

    The data transfer file is coped unmodified

    #onversion of fied length ,: Delimited tabulator

    This copy function can only be used to copy from the application server to the presentation

    server. The data is copied into a format and the data is delimited by a tabulator.

    #onversion of delimited tabulator ,: 0ied length

    This copy function can only be used to copy from the presentation server to the application

    server. The data is copied to a fied length.

    SAP AG BC420 6-

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    9/25

    0.7

    SAP AG 1999

    tructure 'perations

    1.01 8-00-1000

    . . .

    ession header record 0ession6 00* ...

    Aeader data 6

    B>"6 eneral

    Structure

    BR00

    B>00

    Contents

    2B*+A1 ' o(n

    Delete structure ro$s

    dit %loc,s in structure

    Duplicate structure ro$s

    9ou can edit the structure of an imported file as follows-

    Delete-

    &lace the cursor on the row you want to delete and chooseDelete row.

    #opy-

    &lace the cursor on the row you want to duplicate and chooseDuplicate row.The system duplicates

    the row and adds it to the structure.

    'elect bloc6-

    &lace the cursor on the first row of the bloc6 you want to edit.

    #hoose Select block. The bloc6 is selected and now has a gray bac6ground.

    &lace the cursor on the last row of the bloc6 you want to edit.

    #hoose Copy or Cut.

    &lace the cursor on the row in front of the location where you want to add the copied or cut bloc6

    to.

    #hooseInsert clipboard.

    SAP AG BC420 6-9

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    10/25

    0.60

    SAP AG 1999

    Creating Test Data in DX-WB

    Test data can beinserted into the record

    layout structure

    B*+A1 Custo&ers

    )ield na&eS(ort .escri"tion )ield Contents

    S#P/ ecord ty"e 2

    #B+A5 #ale na&e B*+A1

    +a&e1 +a&e 1 S&it(

    +a&e2 +a&e 2 '

    O#01 Ort Berlin

    ecord na&e

    . . .

    A+.1 and ./

    '. . .

    1.01 8-00-1000

    . . .

    .ata record

    . . .

    ession record 0session6 00* ...

    Aeader data 6

    B>"6 tandard

    Structure

    BR00

    B>00

    Contents

    2B*+A1 ' o(n

    earch help

    9ou can enter values for the individual fields in change mode. ;ost of the fields have input help.

    Note: All fields that are not needed must be filled with the NODATA character.

    SAP AG BC420 6-10

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    11/25

    0.66

    SAP AG 1999

    /apping lan

    B*+A1-A+/.B*+A1-+A5/1

    B*+A1-SO#

    B*+A1-S#ASB*+A1-P)AC=

    B*+A1-O#01

    B*+A1-PS#8B*+A1-SPAS

    C=A 7C=A 37

    C=A 10

    C=A 37C=A 10

    C=A 37

    C=A 10C=A 2

    #itle+a&e 1

    Sort field

    StreetPost o>

    City

    Postal codean%ua%e

    >>

    >>

    >

    >

    *2#,*3+A5

    *3S#*4P)A

    *4O#

    *4PS#

    7

    30

    30

    10

    3710

    5

    5

    ?5

    5

    55

    ,

    5ust still e clarified

    Al@ays ././

    +a&e #y"e % .escri"tion +a&e % +otes,nitial

    5 5o;e

    # #ale

    , ,nitial fi>ed ;alue

    P Pro%ra&

    Creating the mapping planon paper

    ...

    Target structure ource structure

    efore you create test data the fields in the non,'%& system should be formatted and assigned to the

    fields in the '%& system. This is best done in a table.

    SAP AG BC420 6-11

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    12/25

    0.62

    SAP AG 1999

    >'D"T" 1ndicator

    The default >'D"T" indicator is ;'D"T" indicator in fields that do not need to %e

    transferred

    For the file created fro! the DX - WB# all fields are

    auto!atically filled $ith the >'D"T" indicator.

    0ields in the '%& record layout structure that are not needed for data transfer" must be filled with the

    5D%T% indicator. This means that these fields or field values will not be used during data transfer.

    !f a field is not filled with the 5D%T% indicator" it will be transferred with the value '&%#

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    13/25

    0.6*

    SAP AG 1999

    Session header

    Transaction header data

    0

    Transaction data 1

    Transaction data 2

    Transaction header data

    6

    2

    2

    6

    The file structure is chec,ed in accordance

    $ith the standard structure description

    Function: Chec, File

    9ou can chec6 the structure of a file.

    !f you have selected an object that uses the '%& standard transfer program" it is chec6ed against

    the record layout structure.

    !f the file is in !Doc format" all the

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    14/25

    0.68

    SAP AG 2001

    BEGIN_SEGMENT_SECTION

    BEGIN_DXOB 00500000 BEGIN_GROUP 1 LEVEL 02 STATUS MANDATORY ...

    BEGIN_SEGMENT BGR00 LEVEL 02 STATUS MANDATORY ...

    BEGIN_FIELDS NAME STYPE TEXT Recor !"#e $or BI %&!er$'ce ...

    NAME GROUP TEXT ()e)e *ro)# &'+e ...

    NAME MANDT TEXT C,%e&! ...

    NAME USNAM TEXT ()e)e )-er ID /%-!or%c',,"

    e!er+%&e ...

    NAME NODATA TEXT No '!c/ %)! $or !/%- $%e, ...

    Field descriptions

    Description of

    segment BR!!

    C'B'

    X12 VALUE SPACE. . . .

    /apping Tool

    Record ayout - Displaying tructure ?2@

    %fter you choose Structure Display" a list of information about all included structures and fields

    appears. 9ou can download this list to your .

    'ome eternal mapping tools use this list for defining and generating the '%& target structures

    during conversion.

    SAP AG BC420 6-14

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    15/25

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    16/25

    0.69

    SAP AG 2001

    Record ayout - enerating tructure ?2@

    Pro%ra&&in% lan%ua%e

    C'B'6CR

    #ale selectionData transfer o%(ect

    Acti;ity ty"e

    Out"ut

    +a&e of out"ut file

    ocal file syste&

    Generate ali%n&ent fields

    Structure for "ro%ra&&in% lan%ua%eStructure for "ro%ra&&in% lan%ua%e

    0040

    !!(! is the

    customer

    master

    enerates S$%

    structures in the

    selected programming

    language

    C'B'

    X12 VALUE SPACE. . . .

    The displayed utility considerably simplifies conversion in the eternal system.

    9ou can select the data transfer object for etracting the structure definitions. This sets the re2uired

    '%& structures and creates them in a file in the programming language.

    SAP AG BC420 6-16

  • 8/11/2019 BC420_46C - 006Further DX-WB Functions

    17/25

    0.63

    SAP AG 2001

    Registration

    Function !odule

    - &se the specified interface

    ?see online docu!entation@

    rogra!

    - By using the )ariant# each progra! ?type 6@

    can %e used

    B"1- ou ha)e to generate the B"1-" interfaces

    For !ore infor!ation see the online docu!entation

    B"1

    0unction modules" programs of type * and %&!s" which you have developed yourself can be used in

    the D+,W. They must" however" be registered in the D+,W.

    !f you want to register function modules" they re2uire a special interface so that you can" for

    eample" set the log status automatically.

    !f you want to register programs" these programs can then be started with a variant from the D+,W.

    !n Release 1.%/ this is only possible without a variant , here it is similar to a function module

    needing a special interface (selection options$.

    !f you want to register a %&!" 6eep in mind-

    To use %&!s you have developed yourself in the D+,W" you have to generate %&!,%=