Ansicht
Dokumentation

/SAPTRX/VIEW_EHS - Check in Shipments

/SAPTRX/VIEW_EHS - Check in Shipments

Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Description

This report is implemented in many different places and serves mainly for the selection of transports and their depiction as a list. This list is built using the general list viewer ALV. The report is responsible for the following tasks:

  • Send selection screen
  • Selection of transports
  • List depiction of selected transports
  • Interactive reporting: Branch to documents, set status 'Registered'/'Dispatched' direct from the list, and much more...

The report is called up in the following environment:

  • Scheduling list :VT11
  • Dispatch list :VT12
  • Registration list :VT16
  • Input help for transport number: Self-programmed input help that allows the selection of several transports (only one is allowed in the standard).
  • Collective processing shipment costs (worklist) VI04: Transports can be selected here and can be used to generate shipment cost documents.

The individual variants differ in the selection criteria, the fields that are shown in the list, and the functions that are offered to the user in the list.

Technically, the individual call variants are separated using the 'mode' parameter: The report is never started directly - rather, it is called from another program and given to the report of the execution mode.

  • In cases VT11, VT12 and VT16 this happens with the following call cascade: VT11/12/16 (parameter transaction) calls VT10 (report transaction) and gives the mode, VT10 starts a start report (the one that takes over the selection variant management and then starts the report with a variant if necessary) and this makes a submit on this report: The mode is a selection parameter of the report that has been set to not visible.
  • For input help: The function module sd_f4_extended does not call the entire report RV56TRSL - it only calls the two central form routines shipments_read and shipment_display and gives the mode. This differing procedure is needed to prevent a new role area being opened: For input help, the selection screen should be shown as a dialog box. If the report were now started using submit and its selection screen shown as a dialog box, then the main screen (the one from which input help was started) becomes gray (all fields that were previously displayed disappear) because a new roll area is opened up by the dialog box. On the other hand, when a function module is called, no new roll area is opened and the main screen remains - the user does not lose the context.

At the relevant places within the report the parameter mode is queried and the program flow is split (selection screen is built, field catalog for the list is built...).

The central form routines are:

  • Shipments_read: Reads the selected transports in the selection screen. This form routine is fully parameterized, since it is also called side the report (see above).
  • Shipment_display: Shows the transports in the transport list.
  • User_command: Return routine for ALV in which the user commands are processed.

Requirements

Output

Example






Vendor Master (General Section)   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 3903 Date: 20240418 Time: 102342     sap01-206 ( 70 ms )