Ansicht
Dokumentation

/SAPMP/BAPI_ROUTING_PROCESS - Mill Products: Create and Change a Routing

/SAPMP/BAPI_ROUTING_PROCESS - Mill Products: Create and Change a Routing

Fill RESBD Structure from EBP Component Structure   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this method to create routing with all the corresponding lower-level objects.

You can create both a key date view and a complete history of a routing. The latter is useful when you are importing data from external systems.

Example

You want to create a routing with its sequences, operations and inspection characteristics for the key date 01.01.2010.

Make an entry for each object in the following tables. Enter 01.01.2010 as the date in the VALID_FROM attribute:

  • TASK
Enter the relevant planning header data. Only enter data in the TASK_LIST_GROUP and GROUP_COUNTER attributes if you are working with external number assignments. If you are working with an internal number assignment, the plan group and the plan group counter are determined automatically.
  • SEQUENCE
Only entries for alternatinve or parallel sequences are permitted here. The standard sequence of a routing is created automatically and should not therefore be entered. Only enter data in the TASK_LIST_GROUP and GROUP_COUNTER attributes if you are working with external number assignments.
  • OPERATION
Make an entry in this table for each operation. To allow identification of the operations, enter an external operation ID in the OPERATION_ID field. This ID must contain at least one non-numeric character (for example, VORG0010). This external ID is used to define alternative or parallel sequences for identifying the relevant branch or return operation. Only enter data in the TASK_LIST_GROUP and GROUP_COUNTER attributes if you are working with external number assignments.
  • INSPCHARACTERISTIC
Make an entry in this table for each inspection characteristic. To allow identification of the inspection characteristics, enter an inspection characteristic number in the INSPCHAR field. You can create inspection characteristics with or without reference to a master inspection characteristic. Enter the reference to the master inspection characteristic in the CHA_MASTER_IMPORT_MODUS (mode for reference to the master inspection characteristic) field: 'L' for the reference that indicates under which circumstances the master inspection characteristic has to be fully maintained; you only have to fill those fields in the INSPCHARACTERISTIC parameter that cannot be copied from the master inspection characteristic; 'C' for copying the data from the master inspection characteristic to the inspection characteristic, 'N' for creating a loose reference to the master inspection characteristic without transferring data from the master inspection characteristic. In this case, you complete all fields in the INSPCHARACTERISTIC parameter yourself.
You can copy the tax code of the inspection characteristic directly from the master inspection characteristic, enter it individually, or enter a key for the tax code in the PRESET_CTRL_INDS_KEY field, if you have defined this key in Customizing.
If you enter the tax codes individually, note the following special features:
  • SCOPE_IND: Scope of inspection
    This indicator may have various characteristics:
    Set " " for: Unrestricted Inspection Scope
    Set "<" for: Smaller Inspection Scope Permitted
    Set ">" for: Larger Inspection Scope Permitted
    Set "=" for: Fixed Inspection Scope

  • RESULT_RECORDING_TYPE: Recording type
    This indicator may have various characteristics:
    Set "-" for: No Recording
    Set "*" for: Classified Recording
    Set "+" for: Individual Recording
    Set " " for: Summarized Recording

  • DOCU_REQU: Documentation requirement of inspection results.
    This indicator may have various characteristics:
    Set " " for: No Documentation Required
    Set "." for: Documentation in Case of Rejection
    Set "+" for: Document all Inspection Results.

  • CONFIRMATION_CATEGORY Characteristic category
    Set " " for: Optional Characteristic
    Set "+" for: Depends on Acceptance of Previous Required Characteristic
    Set "-" for: Depends on Rejection of Previous Required Characteristic
    Set "X" for: Required Characteristic

  • PRINT_IND: Print control
    This indicator may have various characteristics:
    Set " " for: Print
    Set "x" for: Do Not Print
    Set "*" for: Do Not Print with Skip

If you want to assign test equipment to the inspection characteristic in the ITEM_NO_OF_PRODUCTION_RESOURCE field, ensure that you have assigned this to the operation in PARAMETER PRODUCTIONRESOURCE.

Notes

If no error has occurred during data transfer, the GROUP and GROUPCOUNTER export parameters are assigned the same key as the plan created. To update the data in the database, you have to execute a COMMIT WORK.

Any errors that occur are logged in the RETURN export parameter. If any inconsistencies arise, the entire routing is discarded.

&FURTHER INFORMATION&





Parameters

APPLICATION
BOMUSAGE
CHANGEMODE
COMPONENTALLOCATION
GROUP
GROUPCOUNTER
INSPCHARACTERISTIC
LENGTHCALCULATION
MATERIALTASKALLOCATION
OPERATION
PRODUCTIONRESOURCE
PROFILE
REFERENCEOPERATION
RETURN
SEQUENCE
SUBOPERATION
TASK
TESTRUN
TEXT
TEXTALLOCATION
WORKAREA
WORKCENTERREFERENCE

Exceptions

Function Group

MP/SAPLCPCC_BUS1012

CPI1466 during Backup   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 7994 Date: 20240426 Time: 175724     sap01-206 ( 114 ms )