SAP FIEB_RESET_LINE_ITEM_STATUS Function Module for









FIEB_RESET_LINE_ITEM_STATUS is a standard fieb reset line item status 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 fieb reset line item status FM, simply by entering the name FIEB_RESET_LINE_ITEM_STATUS into the relevant SAP transaction such as SE37 or SE38.

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



Function FIEB_RESET_LINE_ITEM_STATUS 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 'FIEB_RESET_LINE_ITEM_STATUS'"
EXPORTING
* IV_ANWND = '0005' "
IV_KUKEY = "
IV_ESNUM = "
IV_POSAR = "

IMPORTING
ET_BAPIRET = "

EXCEPTIONS
STMT_NOT_FOUND = 1 LINE_ITEM_NOT_FOUND = 2 ANWND_NOT_ALLOWED = 3 DB_ERROR = 4 ERROR = 5
.



IMPORTING Parameters details for FIEB_RESET_LINE_ITEM_STATUS

IV_ANWND -

Data type: FEBKO-ANWND
Default: '0005'
Optional: No
Call by Reference: Yes

IV_KUKEY -

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

IV_ESNUM -

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

IV_POSAR -

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

EXPORTING Parameters details for FIEB_RESET_LINE_ITEM_STATUS

ET_BAPIRET -

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

EXCEPTIONS details

STMT_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

LINE_ITEM_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

ANWND_NOT_ALLOWED -

Data type:
Optional: No
Call by Reference: Yes

DB_ERROR -

Data type:
Optional: No
Call by Reference: Yes

ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FIEB_RESET_LINE_ITEM_STATUS 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_iv_anwnd  TYPE FEBKO-ANWND, "   '0005'
lv_et_bapiret  TYPE BAPIRET2_TTY, "   
lv_stmt_not_found  TYPE BAPIRET2_TTY, "   
lv_iv_kukey  TYPE KUKEY_EB, "   
lv_line_item_not_found  TYPE KUKEY_EB, "   
lv_iv_esnum  TYPE ESNUM_EB, "   
lv_anwnd_not_allowed  TYPE ESNUM_EB, "   
lv_db_error  TYPE ESNUM_EB, "   
lv_iv_posar  TYPE POSAR_BF, "   
lv_error  TYPE POSAR_BF. "   

  CALL FUNCTION 'FIEB_RESET_LINE_ITEM_STATUS'  "
    EXPORTING
         IV_ANWND = lv_iv_anwnd
         IV_KUKEY = lv_iv_kukey
         IV_ESNUM = lv_iv_esnum
         IV_POSAR = lv_iv_posar
    IMPORTING
         ET_BAPIRET = lv_et_bapiret
    EXCEPTIONS
        STMT_NOT_FOUND = 1
        LINE_ITEM_NOT_FOUND = 2
        ANWND_NOT_ALLOWED = 3
        DB_ERROR = 4
        ERROR = 5
. " FIEB_RESET_LINE_ITEM_STATUS




ABAP code using 7.40 inline data declarations to call FM FIEB_RESET_LINE_ITEM_STATUS

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 ANWND FROM FEBKO INTO @DATA(ld_iv_anwnd).
DATA(ld_iv_anwnd) = '0005'.
 
 
 
 
 
 
 
 
 
 


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!