OIJ_LT_ACT_H 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 OIJ_LT_ACT_H into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
OIJ_LT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'OIJ_LT_ACT_H' "Calculate actual laytime - header
EXPORTING
it_roijnomiio = " roijnomiio_t Nomination Item Communication
is_roijnomhio = " roijnomhio TSW Nomination Header Communication Structure
it_roijne = " oijne_t TSW Nomination Events
IMPORTING
et_lt_peg = " oijltcalc12_t Laytime - Pegged items
et_roijltlist = " roijltlist_t Table of laytime, demurrage information
et_return = " bapiret2_t Return parameter table
EXCEPTIONS
CONV_TO_TIMESTAMP_FAILED = 1 " Could not convert to timestamp
WRONG_EVENT_INPUT = 2 " Laytime end event occurred before start event
NO_NOMITEM_INPUT = 3 " Nomination item
NO_LT_EVT_INPUT = 4 " Laytime events not provided as input
NO_WINDOW_PERIOD_EVENT = 5 " Freight contract input - no value fpr WP_EVENT
NO_ACTUALEV_FOR_ITEM = 6 " Actual events for nom item not recorded
NO_WINDOW_PERIOD = 7 " Schedule arrival date range for nomination is blank
WP_EVENT_NOT_OCCUR = 8 " WP event did not occur
NO_FRT_CONTRACT_AT_HDR = 9 "
. " OIJ_LT_ACT_H
The ABAP code below is a full code listing to execute function module OIJ_LT_ACT_H 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).
| ld_et_lt_peg | TYPE OIJLTCALC12_T , |
| ld_et_roijltlist | TYPE ROIJLTLIST_T , |
| ld_et_return | TYPE BAPIRET2_T . |
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:
| ld_et_lt_peg | TYPE OIJLTCALC12_T , |
| ld_it_roijnomiio | TYPE ROIJNOMIIO_T , |
| ld_et_roijltlist | TYPE ROIJLTLIST_T , |
| ld_is_roijnomhio | TYPE ROIJNOMHIO , |
| ld_et_return | TYPE BAPIRET2_T , |
| ld_it_roijne | TYPE OIJNE_T . |
Calculate actual laytime as per freight contract for the vehicle
associated with nomination header .
...See here for full SAP fm documentation
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 OIJ_LT_ACT_H or its description.
OIJ_LT_ACT_H - Calculate actual laytime - header OIJ_LOC_METER_GET_GMMNR - gets meter number assigned to a TSW location OIJ_LOC_GET_SOCNR - determines the SOCNR for tank assigned to a TSW location OIJ_LOC_GET_BERID - gets berid for a bernr assigned to a TSW location OIJ_LOCATION_UPDATE - OIL-TSW : Location posting function OIJ_LOCATION_SINGLE_READ - Table OIJLOC buffered single read