Description This report serves as an example of how to use a batch input program tocreate sessions in order to create and change purchase requisitions inthe system. On the basis of the example report, you can note thestructure of the required sequential file. The program reads the sequential file specified in it as parameter, andgenerates one or more batch input sessions from this file. Precondition
All further records up to the next session record are assigned to thelast-read session unless the session reaches the prescribed maximumnumber of transactions per session. All further records up to the next header record are assigned to thelast-read transaction. The header record contains the transaction code, the document type, thepurchase requisition number (if the number is to be assignedexternally),and an indicator for automatic source determination. All records for purchase requisition items are combined in atransaction until the next session record follows the next header record follows an item record contains a different, external requisition number the maximum number of items for the transaction is reached. All account assignments for an item must follow directly after therecord for the item (BEBAN). All components for an item must follow directly after the record forthe item (BEBAN) or after any existing account assignments for theitem. All lines of a text type must follow consecutively and are kepttogether through specification of the same two-character number in thefield BLINES-TBNAM. With this number, you also determine which texttype is filled with the relevant text. Example: BLINES-TBNAM = '02'causes the second text on the text overview screen of the requisitionto be filled with text lines. All text types for an item must follow directly after the item or anyexisting account assignments or components of the item. Vorgehen Hinweis A requisition that has been newly created in a run immediatelybeforehand with internal number assignment cannot be changed in thesame run. an explicitly entered field value (to transfer a certain value) a blank (to delete an entry when changing) a special character (to transfer no value) The special character must be defined in the session record in thefield "BGR00-NODATA" (default special character is '/'). If a session is run in the foreground, the user running it must havethe relevant authorizations for maintaining purchase requisitions. If the session is run in the background, the user entered in the recordsession under "USER-ID" must have the relevant authorizations formaintaining requisitions. |