Ansicht
Dokumentation
EHS_SD_100_40_10 - Set Up Output Determination
TXBHW - Original Tax Base Amount in Local Currency General Material DataThis documentation is copyright by SAP AG.
In this IMG activity, you set up the interface between the Sales and Distribution (SD) and Product Safety and Stewardship for output determination so that you can print tremcards for deliveries and dangerous goods transportations automatically.
Output control from SD is used with a new output type TRM (tremcard) is used for this purpose.
Process
An output for requesting a tremcard is generated if, when a delivery or shipment is created, an output of the type TRM is found in the output determination procedure. The following prerequisites must be fulfilled for this purpose:
- As a condition, the SAP system checks whether the Document contains dangerous goods indicator is set in the delivery header (or shipment header).
- The indicator is set by the dangerous goods checks.
- You must therefore also make sure that the dangerous goods checks were activated in Customizing for Dangerous Goods Management. For more information, see the Dangerous Goods Checks section in the Implementation Guide (IMG) for Dangerous Goods Management.
- Note:
- If you do not want to use dangerous goods checks, you must adjust the check for the condition by means of your own developments. The system must then check that there is at least one item for which the material is marked as relevant for dangerous goods and documents in the material master.
- An output determination procedure that contains an output of the type TRM must be assigned in Customizing to the item category of the delivery item in question, depending on the delivery type.
In the standard system, the output is processed when explicitly requested:
- Delivery: In the SAP menu, choose Logistics -> Sales and Distribution -> Shipping and Transportation -> Outbound Delivery -> Display. Enter the key for your delivery and choose Outbound Delivery -> Issue Delivery Output.
- Shipment: In the SAP menu, choose Logistics -> Sales and Distribution -> Shipping and Transportation -> Shipment -> Display. Enter the key for your shipment and choose Shipment -> Output -> Printer.
When the output is processed, the sales and distribution data is evaluated and passed on to the SAP component Product Safety:
- You can use the IMG activity Develop Enhancement for Material Exchange Multi-Component Explosion in Customizing for Dangerous Goods Management for exchanging materials. You can therefore execute the following process for a replacement material instead of the current material from delivery or shipment.
- Using the dangerous goods management profile (indicator in delivery header or shipment header for Chapter 1.1.3.6), the system checks whether the goods are transported within the exemption limit. If this is the case, a tremcard is not output.
- If the exemption limit is exceeded, each item that contains a material that is relevant for dangerous goods and documents is individually processed since a tremcard must be created for each relevant material.
- The relevant dangerous goods master records and therefore the relevant dangerous goods regulation is determined for each item. The system uses condition table 5 to determine the generation variant from the dangerous goods regulation for report category Tremcard (see also Condition Schema: Edit Table 5). You can create just one entry for each dangerous goods regulation/report category combination. If you specify a shipping point (for deliveries) or transportation planning point (for shipments), tremcards are created for these only. Condition tables 1-4 are not taken into account by tremcard processing.
- If a generation variant is assigned, the system checks whether the material for the relevant dangerous goods regulations is considered dangerous goods, or in other words, whether the Not dangerous goods full transport and Not dangerous goods empty transport indicators are not set in the dangerous goods master. The check must run at dangerous goods master level because a dangerous goods master record can exist for different dangerous goods regulations for the material.
- Note:
- If materials of different items are assigned to the same real substance, only one tremcard is output for each real substance.
- The system checks whether the dangerous goods master record contains a tremcard number. Only in this case does the system output a tremcard.
- Note:
- The tremcard number is entered as an identifier in specification management and can be transferred to the dangerous goods master record using filling.
Data from client 000 must be copied in the following.
Default settings are supplied.
Path for delivery activities:
You configure the settings for output determination from the delivery by choosing the following path:
In Customizing for Product Safety: Report
Shipping -> Basic Settings for Shipping from SD Documents -> Material Safety Data Sheet/Sales and Distribution
Interface -> Settings for the SD Interface: Shipping Documents -> Output Determination.
(Alternatively
in Customizing for Logistics Execution: Shipping
-> Basic Shipping Functions -> Output Control -> Output Determination -> Maintain Output Determination for Outbound Deliveries.)
Path for shipment activities:
You configure the settings for output determination from the shipment by choosing the following path:
In Customizing for Logistics Execution: Transportation -> Basic Transportation Functions -> Output Control -> Maintain Output Determination for Shipments.
- Checking access sequences
-
Check the following standard entries:
- Delivery:
- Access sequence: 0004
- Description: Sales Organization/Delivery Type
- Shipment:
- Access sequence: 0002
- Description: Transportation planning point/shipment type
- Note:
- To check the condition tables, proceed as follows:
- Delivery:
- In Customizing for Logistics Execution, choose Shipping -> Basic Shipping Functions -> Output Control -> Output Determination -> Maintain Output Determination for Outbound Deliveries.
- Call the IMG activity Maintain Condition Tables and select Maintain Output Condition Table for Deliveries.
- Check the following entry in the input help:
-
Table 12: Sales Organization/Delivery Type
- Shipment:
- In Customizing for Logistics Execution, choose Transportation -> Basic Transportation Functions -> Output Control -> Maintain Output Determination for Shipments.
- Call the IMG activity Maintain Condition Tables and select Maintain Output Condition Table for Shipment Documents.
- Check the following entry in the input help:
- Table 22: TrspPlPoint and Shipment Type
- Check Output Types
- Check the following standard entries:
- Delivery:
Field | Entry |
---|---|
Output type | TRM |
Access sequence | 0004 |
Access to conditions | x |
Transm. medium | 1 (print output) |
Partner-indep.output | x |
Time | 3 (explicit request) |
Processing program | REPDELVTRM |
FORM routine | ENTRY |
- Shipment:
Field | Entry |
---|---|
Output type | TRM |
Access sequence | 0002 |
Access to conditions | x |
Transm. medium | 1 (print output) |
Partner-indep.output | x |
Time | 3 (explicit request) |
Processing program | REPSHIPTRM |
FORM routine | ENTRY |
- Notes:
- You choose the access sequence according to your requirements.
- You use the navigation Processing routines to enter the program call with which the SD data is transferred to the SAP component Product Safety. The processing programs REPDELVTRM (delivery) or REPSHIPTRM (shipment) are delivered with the standard system in which the ENTRY routine is called without a form.
- Checking conditions
- You must make the following entries in Customizing so that the system checks whether the Document contains dangerous goods indicator is set. An output of the output type TRM is created only if the condition is fulfilled.
-
The dangerous goods checks must be active.
- Delivery:
- Condition (form routine):
- Description: Contains dangerous goods
- Active: X (set)
- Application: V2
- Source text:
-
FORM KOBED_
.
- CALL FUNCTION 'HAZMAT_CHK_READ_RDGLKPRO'
- EXCEPTION
- NO_DG_CONTAINS = 4.
- ENDFORM.
-
FORM KOBEV_
.
-
PERFORM KOBED_
.
-
ENDFORM.
- Shipment:
- Condition (form routine):
- Description: Contains dangerous goods
- Active: X (set)
- Application: V7
- Source text: see Delivery
-
FORM KOBED_
- IF NOT ( KOMKBV7-CONT_DG IS INITIAL ).
- SY-SUBRC = 0.
- ELSE.
- SY-SUBRC = 4.
- ENDIF.
- ENDFORM.
-
FORM KOBEV_
.
-
PERFORM KOBED_
.
- ENDFORM.
- Setting up output determination procedure
- Assign the condition you created to the condition type TRM for a determination procedure for header outputs by choosing Control in each of the relevant IMG activities for the Delivery and the Shipment. (These entries are not included in the standard system.)
- Assigning output determination procedure
-
Assign an output determination procedure that contains the output type TRM
to all delivery types or shipment types that are used for materials that are relevant for dangerous
goods and documents in each of the relevant IMG activities for the Delivery or the Shipment.
- Maintaining condition records
- You process the condition records for the output type TRM for the delivery and shipment in the master data of the SAP component Sales and Distribution.
- In the SAP menu, choose Logistics -> Sales and Distribution -> Master Data -> Output -> Shipping or Shipment -> Create or Change.
- Enter TRM as the output type.
- As key combination, choose Sales Organization/Delivery Type (delivery) or TrspPlPoint and Shipment Type (shipment).
- Choose Enter and enter the key of your sales organization (delivery) or of your transportation planning point (shipment).
- Choose Confirm or choose Execute when displaying.
- Depending on the key combination, enter the delivery type or shipment type you require.
- Confirm your entries. The SAP system adds the default values from the IMG activity for setting up output types.
- Save your entries.
Vendor Master (General Section) ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 17550 Date: 20240523 Time: 185535 sap01-206 ( 220 ms )