SAP LISTE_ABC_ANALYSE Function Module for NOTRANSL: Listausgabe für ABC-Analyselisten zu 3.0









LISTE_ABC_ANALYSE is a standard liste abc analyse SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Listausgabe für ABC-Analyselisten zu 3.0 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 liste abc analyse FM, simply by entering the name LISTE_ABC_ANALYSE into the relevant SAP transaction such as SE37 or SE38.

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



Function LISTE_ABC_ANALYSE 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 'LISTE_ABC_ANALYSE'"NOTRANSL: Listausgabe für ABC-Analyselisten zu 3.0
EXPORTING
* LIST_AUFBAU = ' ' "
* SEITEN_STATUS = ' ' "
STEUER_LEISTE = "
* CONSUMPTION = 'X' "Analysis Type: Usage Values
* REQUIREMENT = ' ' "Analysis Type: Requirement Values
* BATCH_ABC_UPDATE = ' ' "Automatic ABC Update in Background
* DREIZEILIG = ' ' "
* TCODE = ' ' "

TABLES
WERTE = "Analysis Results in Table Form
.



IMPORTING Parameters details for LISTE_ABC_ANALYSE

LIST_AUFBAU -

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

SEITEN_STATUS -

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

STEUER_LEISTE -

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

CONSUMPTION - Analysis Type: Usage Values

Data type: RMCB0-STAB1
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

REQUIREMENT - Analysis Type: Requirement Values

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

BATCH_ABC_UPDATE - Automatic ABC Update in Background

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

DREIZEILIG -

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

TCODE -

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

TABLES Parameters details for LISTE_ABC_ANALYSE

WERTE - Analysis Results in Table Form

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

Copy and paste ABAP code example for LISTE_ABC_ANALYSE 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:
lt_werte  TYPE STANDARD TABLE OF BCO_WERTE, "   
lv_list_aufbau  TYPE BCO_WERTE-ABC, "   SPACE
lv_seiten_status  TYPE BCO_WERTE-WERKS, "   SPACE
lv_steuer_leiste  TYPE RMCB0, "   
lv_consumption  TYPE RMCB0-STAB1, "   'X'
lv_requirement  TYPE RMCB0-STAB1, "   SPACE
lv_batch_abc_update  TYPE RMCB0-STAB1, "   SPACE
lv_dreizeilig  TYPE C, "   SPACE
lv_tcode  TYPE SY-TCODE. "   SPACE

  CALL FUNCTION 'LISTE_ABC_ANALYSE'  "NOTRANSL: Listausgabe für ABC-Analyselisten zu 3.0
    EXPORTING
         LIST_AUFBAU = lv_list_aufbau
         SEITEN_STATUS = lv_seiten_status
         STEUER_LEISTE = lv_steuer_leiste
         CONSUMPTION = lv_consumption
         REQUIREMENT = lv_requirement
         BATCH_ABC_UPDATE = lv_batch_abc_update
         DREIZEILIG = lv_dreizeilig
         TCODE = lv_tcode
    TABLES
         WERTE = lt_werte
. " LISTE_ABC_ANALYSE




ABAP code using 7.40 inline data declarations to call FM LISTE_ABC_ANALYSE

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 ABC FROM BCO_WERTE INTO @DATA(ld_list_aufbau).
DATA(ld_list_aufbau) = ' '.
 
"SELECT single WERKS FROM BCO_WERTE INTO @DATA(ld_seiten_status).
DATA(ld_seiten_status) = ' '.
 
 
"SELECT single STAB1 FROM RMCB0 INTO @DATA(ld_consumption).
DATA(ld_consumption) = 'X'.
 
"SELECT single STAB1 FROM RMCB0 INTO @DATA(ld_requirement).
DATA(ld_requirement) = ' '.
 
"SELECT single STAB1 FROM RMCB0 INTO @DATA(ld_batch_abc_update).
DATA(ld_batch_abc_update) = ' '.
 
DATA(ld_dreizeilig) = ' '.
 
"SELECT single TCODE FROM SY INTO @DATA(ld_tcode).
DATA(ld_tcode) = ' '.
 


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!