SAP® Documentation

Single view

/DSD/RP_RV56TRSL - DSD Shipment List

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

Description

This report is used in many playes in the system. It serves primarily to select shipments and display them in a list. The list is set up with the ABAP list viewer, ALV. This report performs the following tasks: ALV

  • Sending the selection screen
  • Selecting shipments
  • Displaying the list of selected shipments
  • Interactive reporting: navigation to documents, setting status "Registered" / "Completed" directly from the list, and much more...

The report is called in the following environments:

  • Completion list :VT12
  • Registration list :VT16
  • F4 help for shipment number: customer-defined F4 help that allows the selection of multiple shipments (instead of just one as in standard)
  • Freight costs collective run (worklist) VI04: You can select the shipments for generating freight cost documents

The individual variants differ in their selection criteria, in the fields displayed in the list, and in the functions offered to users on screen.

Technically, the individual call variants are separated with the "mode" parameter: the report is never started directly, but instead called by another program, which sends the execution mode.

  • For VT11, VT12 and VT16, the following cascade call is used: VT11/12/16 (parameter transaction) calls VT10 (report transaction) and passes on the mode; VT10 starts a start report (which assumes the selection variant management and may start the report with a variant), which performs a submit for this report. "mode" is an invisible selection parameter from the report.
  • For F4 help: function module sd_f4_extended does not call the entire report RV56TRSL, but instead only the two main form routines shipments_read and shipment_display, specifying the mode in the process. This alternate approach is required to prevent a new roll area from being created: when F4 help is used, the selection screen should be displayed as a popup. If the report were started using a submit and its selection screen were displayed as a popup, the main screen (from which the F4 help was called) would become inactive (all previously displayed fields disappear) because the popup creates a new roll area. This is different when a function module is called; no new roll area is opened, the main screen is retained, and the user does not lose the context.
  • Parameter "mode" is queried at the appropriate junctures within the report and the program flow steered accordingly (structure of the selection screen, structure of the field catalog for the list, ...).

The main form routines are:

  • Shipments_read: Read the shipments selected in the selection screen. This form routine is fully parameterized, as it is also called outside of the report (see above)
  • Shipment_display: Display the shipments in the shipment list
  • User_command: Return routine for ALV, where the user commands are processed

Requirements

Output

Example






RFUMSV00 - Advance Return for Tax on Sales/Purchases   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3928 Date: 20191215 Time: 063743     sap01-206 ( 29 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.