Professional Documents
Culture Documents
Batch Input
This document describ step b step the method f b es y or atch input ofdata without using ABAP or other programming l /4 anguage. The ex ampl presented b ow describ the steps f input ofstorage l e el es or ocation,b y can ut ou use this method f input ofanydata. or Prerequisite: Sof tware: M icrosof W ord ( ampl is presented with W ord 9 ) t ex e 7; M icrosof Ex ( ampl is presented with Ex 9 ) t cel ex e cel 7 . Other: F der C:\ ol BatchInput must ex on y hard disk ist our ; P ant L006must ex in y SAP R/3sy l ist our stem. Note: Even if you do not have Microsoft Word and Microsoft Excel, but you have another word processor software and another spreadsheet software, that support mail merge, you still can use this way of batch input.
Step 1.
Go to Batch Input: Initial Screen
Step 2 .
Go to Batch Input: Recording Screen
Step 3 .
Input the name ofthe transaction to b recorded e
Step 4 .
Input the code ofthe transaction to b recorded e OX09!Create Storage Location
Step 5 .
Input the P ant f which the Storage Locations must b created l or e
Step 6 .
Def a Storage Location ine
Step 7 .
Sav and ex e it
Step 8 .
Get transaction code
Step 9 .
Sav transaction code e
Step 10 .
Ex Batch Input: Recording Screen it
Step 11.
Ov iew recorded transactions erv
Step 12 .
Sel recorded transaction ect Note: I you k f now ABAP4and want to get the program code for batch input of this transaction, then press button " Generate program" I this case, you must have authorisation for program developing. . n
Step 13 .
View recorded transaction
Step 14 .
Edit recorded transaction
Step 15 .
Ex port code ofrecorded transaction
Step 16 .
Sav code ofrecorded transaction into f e C:\ e il BatchInput\ BTCODE.tx t
Step 17 .
Open f e C:\ il BatchInput\ BTCODE.tx in M icrosof W ord t t
Step 18 .
Sav f e BTCODE.TXT in M icrosof W ord f e il t ormat Note: First paragraph of document must be empty
Step 19 .
Sav f e BTCODE.TXT in M icrosof W ord f e il t ormat
Step 2 . 0
Create Datab f the Storage Locations to b input ase or e Note: File must contain only one work sheet
Step 2 1.
Create M ain document f M ail erge or M
Step 2 . 2
Def ty ofM ain document ine pe
Step 2 . 3
Def Data Source ofM ain document ( ine BTDATA.XLS)
Step 2 . 4
Def Data Source ofM ain document ( ine BTDATA.XLS)
Step 2 . 5
Def merge f ds in main document ine iel
Step 2 . 6
Locate the position ofmerge f ds in M ain document iel The f ds can b f iel e ound using: entered v ues during transaction recording ( y l b ground) al see el ow ack technical name ofthe f ds iel
Step 2 . 7
Def merge f ds in M ain document ine iel Repl ace: W 001 f prev rom ious step with f d Sl iel ocCode W arehouse f prev rom ious step with f d SLocDescription iel
Step 2 . 8
Create code f Storage Locations to b input or e
Step 2 . 9
Create code f Storage Locations to b input or e
Step 3 . 0
Sav code into f e C:\ e il BatchInput\ BTREZ.tx ( St M DOS Tex f t ormat)
Step 3 1.
Sav code into f e C:\ e il BatchInput\ BTREZ.tx ( St M DOS Tex f t ormat)
Step 3 . 2
Go to Batch Input Screen
Step 3 . 3
Go to Batch Input: Recording Screen
Step 3 . 4
Ov iew recorded transactions erv
Step 3 . 5
Sel the recorded transaction that wil b used f l ect le or oading ofStorage Location b atch input code (il fe BTREZ.TXT) Note: Y can use any recorded transaction for loading of the code. Y can record j part of a ou ou ust transaction as described in steps 1-1 , because for loading of code is necessary only the structure of 0 recorded transaction.
Step 3 . 6
View the code ofthe transaction to b used f l e or oading ofStorage Location Code
Step 3 . 7
View the code ofthe transaction to b used f l e or oading ofStorage Location Code
Step 3 . 8
Del al the l f recorded transaction. ete l ines rom Note: Remember at S 5 it was said that only the structure is needed. T is why all lines must be tep3 hat deleted.
Step 3 . 9
Load the Storage Locations Code (il BTREZ.TXT) fe .
Step 4 . 0
Load the Storage Locations Code (il BTREZ.TXT) fe .
Step 4 1.
Sav the Storage Location Code e
Step 4 . 2
Go b to Batch Input: Recording Screen ack
Step 4 . 3
Go b to Batch Input: Recording Screen ack
Step 4 . 4
Generate Batch Input session using Storage Location Code
Step 4 . 5
Generate Batch Input session using Storage Location Code
Step 4 . 6
Go to Batch Input Screen
Step 4 . 7
Ov iew ofBatch Input Session erv
Step 4 . 8
Sel the Batch Input Session ect
Step 4 . 9
Run the Session
Step 5 . 0
Def Run mode ofthe Session ine
Step 5 1.
Go to Batch Input: Displ Log Screen ay
Step 5 . 2
View the Log ofP rocessed Session Note: I session ends with error then run session again with Run mode !Process/ f Foreground, in order to find out bugs in the code
Step 5 . 3
Verif ifinput data is correct y
Step 5 . 4
Verif ifinput data is correct y
This is j an ex ust ampl b y can use the same wayf Batch Input ofany e, ut ou or thing !material master, serv master, ice material documents, accounting documents, etc. I wish y to hav an easyBatch Input" ou e Best regards, Iatco Sergiu