SAP PPEBAPITOOLS_GET_BAL_DATA Function Module for NOTRANSL: iPPE: Daten zur Abtaktung lesen









PPEBAPITOOLS_GET_BAL_DATA is a standard ppebapitools get bal data 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: iPPE: Daten zur Abtaktung lesen 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 ppebapitools get bal data FM, simply by entering the name PPEBAPITOOLS_GET_BAL_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function PPEBAPITOOLS_GET_BAL_DATA 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 'PPEBAPITOOLS_GET_BAL_DATA'"NOTRANSL: iPPE: Daten zur Abtaktung lesen
EXPORTING
* I_MODE_ALL = 'X' "Checkbox
* I_MSG_HANDLING = 'A' "Single-Character Flag

TABLES
* LINEBALANCINGDATA = "iPPE/BAPI: Attributes of Line Balance
* LINEBALANCINGTEXT = "iPPE/BAPI: Text for Line Balance
* LINEBALANCINGVALID = "iPPE/BAPI: Effectivity of Line Balance
* LINEBALANCINGRELATION = "iPPE/BAPI: Line Balance Relationships
* MODELMIXHEADER = "iPPE/BAPI: Header Data for Model Mix
* MODELMIXPOSITIONS = "iPPE/BAPI: Items in the Model Mix
LINEBALANCINGIDS = "iPPE/BAPI: Identification for Line Balance
* RETURN = "Return Parameter
.



IMPORTING Parameters details for PPEBAPITOOLS_GET_BAL_DATA

I_MODE_ALL - Checkbox

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

I_MSG_HANDLING - Single-Character Flag

Data type: CHAR1
Default: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for PPEBAPITOOLS_GET_BAL_DATA

LINEBALANCINGDATA - iPPE/BAPI: Attributes of Line Balance

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

LINEBALANCINGTEXT - iPPE/BAPI: Text for Line Balance

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

LINEBALANCINGVALID - iPPE/BAPI: Effectivity of Line Balance

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

LINEBALANCINGRELATION - iPPE/BAPI: Line Balance Relationships

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

MODELMIXHEADER - iPPE/BAPI: Header Data for Model Mix

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

MODELMIXPOSITIONS - iPPE/BAPI: Items in the Model Mix

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

LINEBALANCINGIDS - iPPE/BAPI: Identification for Line Balance

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

RETURN - Return Parameter

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

Copy and paste ABAP code example for PPEBAPITOOLS_GET_BAL_DATA 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_mode_all  TYPE XFELD, "   'X'
lt_linebalancingdata  TYPE STANDARD TABLE OF BAPI1183_BAL_BALDATA, "   
lv_i_msg_handling  TYPE CHAR1, "   'A'
lt_linebalancingtext  TYPE STANDARD TABLE OF BAPI1183_BAL_BALTEXT, "   
lt_linebalancingvalid  TYPE STANDARD TABLE OF BAPI1183_BAL_VALID, "   
lt_linebalancingrelation  TYPE STANDARD TABLE OF BAPI1183_BAL_RELATION, "   
lt_modelmixheader  TYPE STANDARD TABLE OF BAPI1183_BAL_MODMIXDATA, "   
lt_modelmixpositions  TYPE STANDARD TABLE OF BAPI1183_BAL_MODMIXPOS, "   
lt_linebalancingids  TYPE STANDARD TABLE OF BAPI1183_BAL_BALID, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2. "   

  CALL FUNCTION 'PPEBAPITOOLS_GET_BAL_DATA'  "NOTRANSL: iPPE: Daten zur Abtaktung lesen
    EXPORTING
         I_MODE_ALL = lv_i_mode_all
         I_MSG_HANDLING = lv_i_msg_handling
    TABLES
         LINEBALANCINGDATA = lt_linebalancingdata
         LINEBALANCINGTEXT = lt_linebalancingtext
         LINEBALANCINGVALID = lt_linebalancingvalid
         LINEBALANCINGRELATION = lt_linebalancingrelation
         MODELMIXHEADER = lt_modelmixheader
         MODELMIXPOSITIONS = lt_modelmixpositions
         LINEBALANCINGIDS = lt_linebalancingids
         RETURN = lt_return
. " PPEBAPITOOLS_GET_BAL_DATA




ABAP code using 7.40 inline data declarations to call FM PPEBAPITOOLS_GET_BAL_DATA

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_i_mode_all) = 'X'.
 
 
DATA(ld_i_msg_handling) = 'A'.
 
 
 
 
 
 
 
 


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!