BC420_46C - 009Direct Input

Embed Size (px)

Citation preview

  • 8/11/2019 BC420_46C - 009Direct Input

    1/13

    0

    SAP AG 1999

    Direct input concept

    Direct input monitor

    Contents:

    Direct Input

    SAP AG BC420 9-1

  • 8/11/2019 BC420_46C - 009Direct Input

    2/13

    0.2

    SAP AG 1999

    Transfer FI documents into R/3 using the directinput procedure

    At the conclusion of this unit ou !ill "e a"le to:

    Direct Input : #nit $"%ecti&es

    SAP AG BC420 9-2

  • 8/11/2019 BC420_46C - 009Direct Input

    3/13

    0.3

    SAP AG 1999

    Course $&er&ie! Diagram

    Daten'"ernahme

    D( )or*"ench

    +,- )or*"ench

    rinciples of ,tandardData Tansfer

    D i r e c

    t I n p u

    t

    A I

    T A

    R e c o r d e r

    Course $&er&ie!

    / a

    t c h I n p u

    t

    C a

    l l T r a n s a c

    t i o n

    3

    DI

    asics1

    406

    44

    45

    43

    42

    44

    42

    4

    2

    66

    44

    5

    40

    SAP AG BC420 9-3

  • 8/11/2019 BC420_46C - 009Direct Input

    4/13

    0.5

    SAP AG 1999

    Direct Input Concept

    External format

    DI data transfer program

    SAP format

    7 USD

    An alternative to the batch input method is the direct input (DI) method. DI is more efficient than theother methods making it especially useful for transferring large datasets. Unlike batch input, nosessions are created - the data is updated directly. o screens are involved in this procedure. !he datais entered directly into database tables by calling function modules that carry out the necessarychecks.

    If case errors occur during the data transfer, direct input has a restart mechanism . !o enable restart,direct input programs must be processed as background "obs run under the direct input monitor(program #$%&' * or transaction $%&+).

    If you are orking ith test data, you can start direct input in foreground. %ake sure that neither

    error logs are created nor that the possibility of a restart e ists in error situations.

    'A strongly recommends that you use transaction $%&+ for the actual data transfer.

    SAP AG BC420 9-4

  • 8/11/2019 BC420_46C - 009Direct Input

    5/13

    0.

    SAP AG 1999

    Direct Input rograms

    SAP format

    Direct input monitor

    DI data transfer program

    DI data transfer program

    SAP format

    DI programs that ha&e to "ee8ecuted !ith the DI9-onitor

    DI programs that can "ee8ecuted !ithout the DImonitor

    DI programs that have to be e ecuted ith the DI monitor/

    Advantage/ 0ou can restart the data transfer program, if logical errors (e.g. missing material) orterminations occur. !his restart capability guarantees that no duplicate entries ill be added to thedatabase if the program is restarted at the point it terminated. A processing log is available to helpyou identify, correct and repost any errors.

    Using direct input in the background also has the advantage of better performance.

    !he follo ing direct input programs are included in the direct input monitor/

    1I documents (#1$I$2++)

    %aterial master ( #%DA!I D) 3nvironment data ('A 24565..567...566)

    'ales documents (#&I &$5+)

    DI programs that can be e ecuted ithout the DI monitor/

    !hese programs partly support the restart capability. !his depends on the application and is notal ays necessary.

    SAP AG BC420 9-5

  • 8/11/2019 BC420_46C - 009Direct Input

    6/13

    0.

    SAP AG 1999

    Tas*s in the Direct Input -onitor

    ,tart ne! %o"

    Define %o"

    Create &ariants

    ,tep4,tep2

    Job

    Variant

    Displa log

    Run %o"

    All Ok ? Cancel ?

    ,tatus

    Direct input run/

    1irst create a variant for the transfer program.

    Define a "ob ith this variant.

    'chedule the time of the "ob (start/ immediately, date, time, by "ob, by event, etc).

    Analy8e the "ob log after the "ob run.

    If the "ob is terminated, it can be reset.

    ote/ !he restart mechanism ill not ork if the file contains formal errors (i.e. if the records are notin the 'A #ecord 2ayout). Use the 9check file: function to ensure that no formal errors e ist

    before processing the file using direct input..

    SAP AG BC420 9-6

  • 8/11/2019 BC420_46C - 009Direct Input

    7/13

    0.1

    SAP AG 1999

    8ample: FI Documents

    Direct-

    Applications

    GeneralFin acctg doc !ents"nd str# !atl !aster$n%iron!entSales doc !ents

    Create %ariant&e'ine (o)Start ne* (o)&ispla# log&ispla# error session

    ;ote: see documentation on programR - - Define new job you define control data for a "ob. A "ob isuni;uely identified for each client by its name. 0ou have to specify the report name (e.g.#%DA!I D) and a variant name. If you ant, you can also specify a server for the background "ob.!his can be over ritten later. 0ou can also specify a user name under hich the direct "ob runs. !hisuser re;uires the authori8ations for all the applications.

    *ith the function Start new job start the "ob you defined earlier (1< on first input field). 0ou canchange the default background server or user name. n the follo ing screens enter the print

    parameters and start time.

    SAP AG BC420 9-+

  • 8/11/2019 BC420_46C - 009Direct Input

    8/13

    0.

    SAP AG 1999

    @o" Anal sis

    ,o) ad!inistration Applications

    Direct input :administration

    @o" details @o" log

    Technical information

    rogram name

    Reset job . !he "ob is restarted and the data transfer is continued from the point at

    hich it had terminated.

    !o assure data integrity, each program has a restart mechanism. Using some function modules the program rites synchroni8ation information to table !$I'!. If there is a termination, then it isguaranteed that the data transfer can be reset to the correct place . !his means, for e ample, that nodocument is posted t ice or not posted at all.

    'ystem table !$I'! contains entries/

    umber of data records ith errors

    2ast number processed hen program terminated

    SAP AG BC420 9-

  • 8/11/2019 BC420_46C - 009Direct Input

    9/13

    0.6

    SAP AG 2001

    rror in FI Document

    +ogical errors e8ist

    @o"

    Error

    S stem terminates or D! pro"ram c#eck

    terminates

    Restart

    I session

    2.? Change %o" status

    4.? rocess I session

    3ach direct input program carries out checks before the data is transferred. If an error occurs (e.g. in#1$I$2++/ data record has no posting key) this terminates the "ob ithout posting a single datarecord. !he "ob is assigned the status Background job terminated

    If the file only has logical errors - errors occur hen the data is checked in the system (e.g in#1$I$2++/ the currency amount is missing from the data record), this does not result in terminationof the "ob.!he "ob is completed and is assigned status !ompleted: job e"ecuted > but it does contain the logicalerror. #ecords containing errors are placed in a batch input session.

    !he session name of the first $?#++ record is used. nce the error has been corrected, you can process the batch input session and complete the data transfer. !he status of the "ob ith the functionerror processing should be set to/ Set to done .

    1or more information see the application help documentation for the 1I documents under the D@-*$ documentation.

    ote/ !he program #1$I$2++ can process only 7+ data records ithout the $%&+ for the directinput call transaction techni;ue. It should be e ecuted ithin transaction $%&+ because of therestart capability.

    SAP AG BC420 9-9

  • 8/11/2019 BC420_46C - 009Direct Input

    10/13

    0.40

    SAP AG 1999

    rror in -aterial -aster or ,ales Document

    +ogical errors e8ist

    @o"

    Restart

    4.? Correct logical error

    2.? Repost error

    Error

    S stem terminates or

    D! pro"ram c#eck terminates

    An error file has been created for material master records hich you can display and process in#%DA!I D (or by choosing #pplications -> $aterial master industry -> Display logical errors ).After you have processed this file (or, for e ample, you have corrected a 4ustomi8ing setting), youcan start the error handling by choosing %rror processing -> Repost errors !he data is not readfrom the original file, it is read from the processed file and the system attempts to repost the dataafter it has been checked.

    1or sales documents/ If errors occur hen processing your "ob, you can find these errors in the 'A'ystem using a detailed "ob log, correct them and repost the documents.

    SAP AG BC420 9-10

  • 8/11/2019 BC420_46C - 009Direct Input

    11/13

    0.44

    SAP AG 1999

    eriodic @o"s

    SAP $ormat

    Direct Input -onitor

    @o" must "e scheduled using -

  • 8/11/2019 BC420_46C - 009Direct Input

    12/13

    0.42

    SAP AG 1999

    Transfer FI documents into R/3 using the directinput procedure

    ,chedule %o"s

    )or* !ith the direct input monitor

    ou are no! a"le to:

    Direct Input: #nit ,ummar

    SAP AG BC420 9-12

  • 8/11/2019 BC420_46C - 009Direct Input

    13/13

    ExercisesUnit: Direct Input

    Topic: Transfer of FI Documents using Direct Input

    Use the direct input monitor for the data transfer.

    !ransfer financial accounting documents in the # 6 system using theDirect Input !echni;ue.

    Job: Job-##

    ptional/ As only one user can use the direct input monitor at a time.

    !o transfer the documents, do not use the 4all !ransaction C use the Direct Input methodinstead. 0ou can use the same record layout structure. ence you can use the pro"ect $4