SAP EXIT_RJKUSTA1_001 Function Module for User Exit for Block Display in the Sales Summary for Ind.Customers
EXIT_RJKUSTA1_001 is a standard exit rjkusta1 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for User Exit for Block Display in the Sales Summary for Ind.Customers 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 exit rjkusta1 001 FM, simply by entering the name EXIT_RJKUSTA1_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XJZ1
Program Name: SAPLXJZ1
Main Program: SAPLXJZ1
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_RJKUSTA1_001 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 'EXIT_RJKUSTA1_001'"User Exit for Block Display in the Sales Summary for Ind.Customers.
EXPORTING
PAR_JINFOBLOCK = "
PAR_SPART = "
PAR_XDTLINFO_AUS = "Program running in background
PAR_GPNR = "
PAR_STICHTAG_K = "
PAR_MSD_VON = "From-date for selecting M/SD orders/bill.docs in sales summ.
PAR_MSD_BIS = "To-date for selecting M/SD orders/bill.docs in sales summary
PAR_MAM_VON = "From-date for selecting M/SD orders/bill.docs in sales summ.
PAR_MAM_BIS = "To-date for selecting M/SD orders/bill.docs in sales summary
PAR_VKORG = "
PAR_VTWEG = "
IMPORTING Parameters details for EXIT_RJKUSTA1_001
PAR_JINFOBLOCK -
Data type: TJG69-JINFOBLOCKOptional: No
Call by Reference: No ( called with pass by value option)
PAR_SPART -
Data type: JHAK-SPARTOptional: No
Call by Reference: No ( called with pass by value option)
PAR_XDTLINFO_AUS - Program running in background
Data type: SY-BATCHOptional: No
Call by Reference: No ( called with pass by value option)
PAR_GPNR -
Data type: JGTGPNR-GPNROptional: No
Call by Reference: No ( called with pass by value option)
PAR_STICHTAG_K -
Data type: RJGKUSTA1-STICHTAG_KOptional: No
Call by Reference: No ( called with pass by value option)
PAR_MSD_VON - From-date for selecting M/SD orders/bill.docs in sales summ.
Data type: RJGKUSTA1-MSD_VONOptional: No
Call by Reference: No ( called with pass by value option)
PAR_MSD_BIS - To-date for selecting M/SD orders/bill.docs in sales summary
Data type: RJGKUSTA1-MSD_BISOptional: No
Call by Reference: No ( called with pass by value option)
PAR_MAM_VON - From-date for selecting M/SD orders/bill.docs in sales summ.
Data type: RJGKUSTA1-MSD_VONOptional: No
Call by Reference: No ( called with pass by value option)
PAR_MAM_BIS - To-date for selecting M/SD orders/bill.docs in sales summary
Data type: RJGKUSTA1-MSD_BISOptional: No
Call by Reference: No ( called with pass by value option)
PAR_VKORG -
Data type: JHAK-VKORGOptional: No
Call by Reference: No ( called with pass by value option)
PAR_VTWEG -
Data type: JHAK-VTWEGOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_RJKUSTA1_001 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_par_jinfoblock | TYPE TJG69-JINFOBLOCK, " | |||
| lv_par_spart | TYPE JHAK-SPART, " | |||
| lv_par_xdtlinfo_aus | TYPE SY-BATCH, " | |||
| lv_par_gpnr | TYPE JGTGPNR-GPNR, " | |||
| lv_par_stichtag_k | TYPE RJGKUSTA1-STICHTAG_K, " | |||
| lv_par_msd_von | TYPE RJGKUSTA1-MSD_VON, " | |||
| lv_par_msd_bis | TYPE RJGKUSTA1-MSD_BIS, " | |||
| lv_par_mam_von | TYPE RJGKUSTA1-MSD_VON, " | |||
| lv_par_mam_bis | TYPE RJGKUSTA1-MSD_BIS, " | |||
| lv_par_vkorg | TYPE JHAK-VKORG, " | |||
| lv_par_vtweg | TYPE JHAK-VTWEG. " |
|   CALL FUNCTION 'EXIT_RJKUSTA1_001' "User Exit for Block Display in the Sales Summary for Ind.Customers |
| EXPORTING | ||
| PAR_JINFOBLOCK | = lv_par_jinfoblock | |
| PAR_SPART | = lv_par_spart | |
| PAR_XDTLINFO_AUS | = lv_par_xdtlinfo_aus | |
| PAR_GPNR | = lv_par_gpnr | |
| PAR_STICHTAG_K | = lv_par_stichtag_k | |
| PAR_MSD_VON | = lv_par_msd_von | |
| PAR_MSD_BIS | = lv_par_msd_bis | |
| PAR_MAM_VON | = lv_par_mam_von | |
| PAR_MAM_BIS | = lv_par_mam_bis | |
| PAR_VKORG | = lv_par_vkorg | |
| PAR_VTWEG | = lv_par_vtweg | |
| . " EXIT_RJKUSTA1_001 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_RJKUSTA1_001
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.| "SELECT single JINFOBLOCK FROM TJG69 INTO @DATA(ld_par_jinfoblock). | ||||
| "SELECT single SPART FROM JHAK INTO @DATA(ld_par_spart). | ||||
| "SELECT single BATCH FROM SY INTO @DATA(ld_par_xdtlinfo_aus). | ||||
| "SELECT single GPNR FROM JGTGPNR INTO @DATA(ld_par_gpnr). | ||||
| "SELECT single STICHTAG_K FROM RJGKUSTA1 INTO @DATA(ld_par_stichtag_k). | ||||
| "SELECT single MSD_VON FROM RJGKUSTA1 INTO @DATA(ld_par_msd_von). | ||||
| "SELECT single MSD_BIS FROM RJGKUSTA1 INTO @DATA(ld_par_msd_bis). | ||||
| "SELECT single MSD_VON FROM RJGKUSTA1 INTO @DATA(ld_par_mam_von). | ||||
| "SELECT single MSD_BIS FROM RJGKUSTA1 INTO @DATA(ld_par_mam_bis). | ||||
| "SELECT single VKORG FROM JHAK INTO @DATA(ld_par_vkorg). | ||||
| "SELECT single VTWEG FROM JHAK INTO @DATA(ld_par_vtweg). | ||||
Search for further information about these or an SAP related objects