OIGS_SHIPMENT_FOR_VEHICLE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name OIGS_SHIPMENT_FOR_VEHICLE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
OIGS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'OIGS_SHIPMENT_FOR_VEHICLE' "Shipments for vehicle
TABLES
* i_shipment = " range_c10 Shipment numbers (RANGE) preselection
i_veh_type = " Vehicle types (RANGE)
i_vehicle = " Vehicle numbers (RANGE)
i_veh_id = " Vehicle IDs (RANGE)
i_carrier = " Carriers (RANGE)
i_route = " Routes (RANGE)
e_shipment = " range_c10 Shipment numbers (RANGE) result
EXCEPTIONS
SPECIFICATION_IS_EMPTY = 1 " No specifications transfered
NO_ENTRIES_FOUND = 2 " No shipments found
. " OIGS_SHIPMENT_FOR_VEHICLE
The ABAP code below is a full code listing to execute function module OIGS_SHIPMENT_FOR_VEHICLE including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| it_i_shipment | TYPE STANDARD TABLE OF RANGE_C10,"TABLES PARAM |
| wa_i_shipment | LIKE LINE OF it_i_shipment , |
| it_i_veh_type | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_i_veh_type | LIKE LINE OF it_i_veh_type , |
| it_i_vehicle | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_i_vehicle | LIKE LINE OF it_i_vehicle , |
| it_i_veh_id | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_i_veh_id | LIKE LINE OF it_i_veh_id , |
| it_i_carrier | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_i_carrier | LIKE LINE OF it_i_carrier , |
| it_i_route | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_i_route | LIKE LINE OF it_i_route , |
| it_e_shipment | TYPE STANDARD TABLE OF RANGE_C10,"TABLES PARAM |
| wa_e_shipment | LIKE LINE OF it_e_shipment . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| it_i_shipment | TYPE STANDARD TABLE OF RANGE_C10 , |
| wa_i_shipment | LIKE LINE OF it_i_shipment, |
| it_i_veh_type | TYPE STANDARD TABLE OF STRING , |
| wa_i_veh_type | LIKE LINE OF it_i_veh_type, |
| it_i_vehicle | TYPE STANDARD TABLE OF STRING , |
| wa_i_vehicle | LIKE LINE OF it_i_vehicle, |
| it_i_veh_id | TYPE STANDARD TABLE OF STRING , |
| wa_i_veh_id | LIKE LINE OF it_i_veh_id, |
| it_i_carrier | TYPE STANDARD TABLE OF STRING , |
| wa_i_carrier | LIKE LINE OF it_i_carrier, |
| it_i_route | TYPE STANDARD TABLE OF STRING , |
| wa_i_route | LIKE LINE OF it_i_route, |
| it_e_shipment | TYPE STANDARD TABLE OF RANGE_C10 , |
| wa_e_shipment | LIKE LINE OF it_e_shipment. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name OIGS_SHIPMENT_FOR_VEHICLE or its description.
OIGS_SHIPMENT_FOR_VEHICLE - Shipments for vehicle OIGS_SHIPMENT_FOR_SHINOTIF - Shipments for shipping notification OIGS_SHIPMENT_FOR_SALESORD - Shipments for sales orders OIGS_SHIPMENT_FOR_RESERVATION - Shipments for reservations OIGS_SHIPMENT_FOR_PURCHORD - Shipments for purchase orders OIGS_SHIPMENT_FOR_DRIVER - Shipments from drivers