Ansicht
Dokumentation

SIMG_TD_TAS_0001 - Define functions and function groups

SIMG_TD_TAS_0001 - Define functions and function groups

BAL Application Log Documentation   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Here function modules are defined and assigned to function groups. The following predefined function modules are available in the IS-Oil System:

OIK_SD_CALLOFF_CREATE

This function module creates calloffs based on loading data in the Idoc that is related to contract items. The relationship between the loading data and the contract items is determined by the Load ID. This function module does not create deliveries immediately.

The function module from the standard system, SD_DOCUMENT_COPY_ONE_STEP, is used by this function module to create calloffs in the same manner as in the standard SAP system.

OIK_SD_DELIVERY_CREATE

This function module creates deliveries based on loading data in the Idoc related to order items. The relationship between the loading data and other items is determined by the Load ID contained in the loading data. This function module does not create a goods issue immediately.

To create a goods issue, the delivery numbers are stored in table OIK03. The report ROIKPGIS reads each entry from this table and calls the transaction VL02 which posts the goods issue for the delivery. After goods issue has been posted, the entry for the delivery is deleted from table OIK03.

OIK_SD_CALLOFF_DELIVERY_CREATE

This function module creates calloffs based on loading data in the Idoc related to contract items. The relationship between the loading data and the contract items is determined by the Load ID which is part of the loading data. This function module immediately creates deliveries for the created calloffs.

The function module in the standard system, SD_DOCUMENT_COPY_ONE_STEP, is used by this function module to create calloffs and deliveries in the same manner as in the standard SAP system.

It is not possible to post the goods issue immediately. To create the goods issue, the delivery numbers are stored in table OIK03. The report ROIKPGIS reads each entry from this table and calls transaction VL02 to post the goods issue for a delivery. After goods issue has been posted, the entry for the concerned delivery is deleted from table OIK03.

OIK_TD_SHIPMENT_LOAD_CREATE

This function module replaces the loading transaction for a scheduled shipment. The action code in the Idoc determines if a load save (Action Code 11) or a load confirm (Action Code 15) is started.

The Load ID references a vehicle. Depending on the data in the data area E1OILT3 of the Idoc, the quantities are split across all documents with the same material on the vehicle, are split across all documents with the same material in a compartment, or are booked exactly against a document assigned to a compartment.

OIK_OILDD01_TASGRP2_FORWARD

This function module creates a copy of the loading Idoc and replaces the original Load ID with a value from one of the following fields in the Load ID master data record: LID Depot, 3rd Party Code, or 3rdDelNr. The Idoc is then sent to the ALE layer, and can be used as an inbound Idoc for another IS-Oil system.

OIK_IDOC_TASGRP2_CREATE

This function module enhances the Idoc with Load ID master data. The Idoc is then sent to the ALE layer.

OIK_CUSTOMER_FUNCTION_EXAMPLE

This function module is an example to show what must be considered when a customer function module is programmed. Detailed information can be found in the topic Example for Programming a User Function Module.

All function modules are in function group OIK2. The user can add self-defined modules. The function module OIK_CUSTOMER_FUNCTION_EXAMPLE is provided as an example of how new modules should be added.

After function modules have been defined, they can be assigned to function groups. SAP function modules can be used with user-defined function modules. Maintaining an identical interface ensures that inbound data is redistributed out of the function module.






General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 4222 Date: 20240523 Time: 171200     sap01-206 ( 89 ms )