SAP JIT03_SHOW_LOG Function Module for Display Log









JIT03_SHOW_LOG is a standard jit03 show log SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Display Log processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for jit03 show log FM, simply by entering the name JIT03_SHOW_LOG into the relevant SAP transaction such as SE37 or SE38.

Function Group: JIT03
Program Name: SAPLJIT03
Main Program: SAPLJIT03
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function JIT03_SHOW_LOG pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'JIT03_SHOW_LOG'"Display Log
EXPORTING
* POSID_IT = "Table with JIT Inbound Components Group Numbers
* ALLOW_DELETE_IV = "Single-Character Indicator
* JUST_READ_DATA_IV = "Single-Character Indicator
* OUTPO_IT = "Table with Key of Outbound Components Group
* DATE_TO_IV = '01012222' "UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
* DATE_FROM_IV = '01011990' "UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
* TIME_TO_IV = '235959' "
* TIME_FROM_IV = '000000' "
* ACTION_IV = "Action
* USER_IV = "
* TCODE_IV = "ABAP Program, Current Transaction Code

IMPORTING
LOG_HEADER_ET = "Application Log: Log Header Data Table

EXCEPTIONS
ERROR = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLJIT03_001 JIT: Sorting Header and Item Data
EXIT_SAPLJIT03_002 JIT: Defining Handling Units (Delivery)
EXIT_SAPLJIT03_003 JIT: Printing the Component List using Action Call
EXIT_SAPLJIT03_004 JIT: Print Picking List using Action Call
EXIT_SAPLJIT03_005 JIT: Delivery Scheduling
EXIT_SAPLJIT03_006 JIT: Check-Digit Determination
EXIT_SAPLJIT03_007 JIT: Components Group Material Determination
EXIT_SAPLJIT03_008 JIT: Carry Out Material Movements
EXIT_SAPLJIT03_009 JIT: Modification of Backflush Data
EXIT_SAPLJIT03_011 Exit for Inbound Processing Summarized JIT Call
EXIT_SAPLJIT03_012 JIT: Customer Exit for Replacement Logic Summarized JIT Call Inbound
EXIT_SAPLJIT03_013 SumJC: Set Control Parameters for EXIDV2 in HU
EXIT_SAPLJIT03_014 JIT: Modify Print Data for Transfer to Spool
EXIT_SAPLJIT03_015 JIT: Adjusting Data when Creating Delivery

IMPORTING Parameters details for JIT03_SHOW_LOG

POSID_IT - Table with JIT Inbound Components Group Numbers

Data type: JIT_POSID_TT
Optional: Yes
Call by Reference: Yes

ALLOW_DELETE_IV - Single-Character Indicator

Data type: CHAR1
Optional: Yes
Call by Reference: Yes

JUST_READ_DATA_IV - Single-Character Indicator

Data type: CHAR1
Optional: Yes
Call by Reference: Yes

OUTPO_IT - Table with Key of Outbound Components Group

Data type: JITO_OUTPO_TT
Optional: Yes
Call by Reference: Yes

DATE_TO_IV - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)

Data type: D
Default: '01012222'
Optional: Yes
Call by Reference: Yes

DATE_FROM_IV - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)

Data type: D
Default: '01011990'
Optional: Yes
Call by Reference: Yes

TIME_TO_IV -

Data type: T
Default: '235959'
Optional: Yes
Call by Reference: Yes

TIME_FROM_IV -

Data type: T
Default: '000000'
Optional: Yes
Call by Reference: Yes

ACTION_IV - Action

Data type: JIT_AKTION
Optional: Yes
Call by Reference: Yes

USER_IV -

Data type: SYST-UNAME
Optional: Yes
Call by Reference: Yes

TCODE_IV - ABAP Program, Current Transaction Code

Data type: SYST-TCODE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for JIT03_SHOW_LOG

LOG_HEADER_ET - Application Log: Log Header Data Table

Data type: BALHDR_T
Optional: No
Call by Reference: Yes

EXCEPTIONS details

ERROR - error

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for JIT03_SHOW_LOG Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_error  TYPE STRING, "   
lv_posid_it  TYPE JIT_POSID_TT, "   
lv_log_header_et  TYPE BALHDR_T, "   
lv_allow_delete_iv  TYPE CHAR1, "   
lv_just_read_data_iv  TYPE CHAR1, "   
lv_outpo_it  TYPE JITO_OUTPO_TT, "   
lv_date_to_iv  TYPE D, "   '01012222'
lv_date_from_iv  TYPE D, "   '01011990'
lv_time_to_iv  TYPE T, "   '235959'
lv_time_from_iv  TYPE T, "   '000000'
lv_action_iv  TYPE JIT_AKTION, "   
lv_user_iv  TYPE SYST-UNAME, "   
lv_tcode_iv  TYPE SYST-TCODE. "   

  CALL FUNCTION 'JIT03_SHOW_LOG'  "Display Log
    EXPORTING
         POSID_IT = lv_posid_it
         ALLOW_DELETE_IV = lv_allow_delete_iv
         JUST_READ_DATA_IV = lv_just_read_data_iv
         OUTPO_IT = lv_outpo_it
         DATE_TO_IV = lv_date_to_iv
         DATE_FROM_IV = lv_date_from_iv
         TIME_TO_IV = lv_time_to_iv
         TIME_FROM_IV = lv_time_from_iv
         ACTION_IV = lv_action_iv
         USER_IV = lv_user_iv
         TCODE_IV = lv_tcode_iv
    IMPORTING
         LOG_HEADER_ET = lv_log_header_et
    EXCEPTIONS
        ERROR = 1
. " JIT03_SHOW_LOG




ABAP code using 7.40 inline data declarations to call FM JIT03_SHOW_LOG

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
DATA(ld_date_to_iv) = '01012222'.
 
DATA(ld_date_from_iv) = '01011990'.
 
DATA(ld_time_to_iv) = '235959'.
 
DATA(ld_time_from_iv) = '000000'.
 
 
"SELECT single UNAME FROM SYST INTO @DATA(ld_user_iv).
 
"SELECT single TCODE FROM SYST INTO @DATA(ld_tcode_iv).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!