SAP MM_ARRANG_CALE_DISPLAY Function Module for









MM_ARRANG_CALE_DISPLAY is a standard mm arrang cale display SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 mm arrang cale display FM, simply by entering the name MM_ARRANG_CALE_DISPLAY into the relevant SAP transaction such as SE37 or SE38.

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



Function MM_ARRANG_CALE_DISPLAY 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 'MM_ARRANG_CALE_DISPLAY'"
EXPORTING
I_KONA = "
I_CALE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_DATUM = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* NUMBER_OF_MONTHS = '3' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* DISPLAY_MODE = ' ' "Display Mode

EXCEPTIONS
CALE_DISPLAY_ERROR = 1
.



IMPORTING Parameters details for MM_ARRANG_CALE_DISPLAY

I_KONA -

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

I_CALE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_DATUM - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

NUMBER_OF_MONTHS - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: SCA2-NBR_MONAT
Default: '3'
Optional: Yes
Call by Reference: No ( called with pass by value option)

DISPLAY_MODE - Display Mode

Data type: SCA2-MODE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

CALE_DISPLAY_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for MM_ARRANG_CALE_DISPLAY 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_i_kona  TYPE KONA, "   
lv_cale_display_error  TYPE KONA, "   
lv_i_cale  TYPE TFACT-IDENT, "   
lv_i_datum  TYPE KONA-DATAB, "   
lv_number_of_months  TYPE SCA2-NBR_MONAT, "   '3'
lv_display_mode  TYPE SCA2-MODE. "   SPACE

  CALL FUNCTION 'MM_ARRANG_CALE_DISPLAY'  "
    EXPORTING
         I_KONA = lv_i_kona
         I_CALE = lv_i_cale
         I_DATUM = lv_i_datum
         NUMBER_OF_MONTHS = lv_number_of_months
         DISPLAY_MODE = lv_display_mode
    EXCEPTIONS
        CALE_DISPLAY_ERROR = 1
. " MM_ARRANG_CALE_DISPLAY




ABAP code using 7.40 inline data declarations to call FM MM_ARRANG_CALE_DISPLAY

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 IDENT FROM TFACT INTO @DATA(ld_i_cale).
 
"SELECT single DATAB FROM KONA INTO @DATA(ld_i_datum).
 
"SELECT single NBR_MONAT FROM SCA2 INTO @DATA(ld_number_of_months).
DATA(ld_number_of_months) = '3'.
 
"SELECT single MODE FROM SCA2 INTO @DATA(ld_display_mode).
DATA(ld_display_mode) = ' '.
 


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!