SAP ISP_AENDNR_BEARBEITEN Function Module for Process Change Number









ISP_AENDNR_BEARBEITEN is a standard isp aendnr bearbeiten SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Process Change Number 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 isp aendnr bearbeiten FM, simply by entering the name ISP_AENDNR_BEARBEITEN into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_AENDNR_BEARBEITEN 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 'ISP_AENDNR_BEARBEITEN'"Process Change Number
EXPORTING
* ART_AENDERUNGSNR = CON_ARTAENDNR_NORMAL "
* BEARBEITUNGSART = 'A' "
IN_AENDNR = "
* IN_TRANSAKT_FLAG = ' ' "
* SOLL_DATUM_AB = '19000101' "
* SOLL_DATUM_BIS = '99991231' "
* VERGANGENHEITS_BEZUG = 'X' "

IMPORTING
AENDNR = "

EXCEPTIONS
ABORTED = 1 AENDNR_GEPRUEFT = 2 AENDNR_GESPERRT = 3 AENDNR_INITIAL = 4 AENDNR_NOT_EXIST = 5 USER_NOT_ERFUSER = 6 AENDNR_FREIGEGEBEN = 7
.



IMPORTING Parameters details for ISP_AENDNR_BEARBEITEN

ART_AENDERUNGSNR -

Data type: JSTAENDER-ARTAENDNR
Default: CON_ARTAENDNR_NORMAL
Optional: Yes
Call by Reference: No ( called with pass by value option)

BEARBEITUNGSART -

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

IN_AENDNR -

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

IN_TRANSAKT_FLAG -

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

SOLL_DATUM_AB -

Data type: JSTAENDER-GUELTIGAB
Default: '19000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SOLL_DATUM_BIS -

Data type: JSTAENDER-GUELTIGBIS
Default: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)

VERGANGENHEITS_BEZUG -

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

EXPORTING Parameters details for ISP_AENDNR_BEARBEITEN

AENDNR -

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

EXCEPTIONS details

ABORTED -

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

AENDNR_GEPRUEFT -

Data type:
Optional: No
Call by Reference: Yes

AENDNR_GESPERRT -

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

AENDNR_INITIAL - No Change Number Copied

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

AENDNR_NOT_EXIST - Change Number Does Not Exist

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

USER_NOT_ERFUSER -

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

AENDNR_FREIGEGEBEN -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISP_AENDNR_BEARBEITEN 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_aendnr  TYPE JSTAENDER, "   
lv_aborted  TYPE JSTAENDER, "   
lv_art_aenderungsnr  TYPE JSTAENDER-ARTAENDNR, "   CON_ARTAENDNR_NORMAL
lv_aendnr_geprueft  TYPE JSTAENDER, "   
lv_bearbeitungsart  TYPE TJ180-TRTYP, "   'A'
lv_in_aendnr  TYPE JSTAENDER-AENDNR, "   
lv_aendnr_gesperrt  TYPE JSTAENDER, "   
lv_aendnr_initial  TYPE JSTAENDER, "   
lv_in_transakt_flag  TYPE JSTAENDER, "   ' '
lv_soll_datum_ab  TYPE JSTAENDER-GUELTIGAB, "   '19000101'
lv_aendnr_not_exist  TYPE JSTAENDER, "   
lv_soll_datum_bis  TYPE JSTAENDER-GUELTIGBIS, "   '99991231'
lv_user_not_erfuser  TYPE JSTAENDER, "   
lv_aendnr_freigegeben  TYPE JSTAENDER, "   
lv_vergangenheits_bezug  TYPE JSTAENDER. "   'X'

  CALL FUNCTION 'ISP_AENDNR_BEARBEITEN'  "Process Change Number
    EXPORTING
         ART_AENDERUNGSNR = lv_art_aenderungsnr
         BEARBEITUNGSART = lv_bearbeitungsart
         IN_AENDNR = lv_in_aendnr
         IN_TRANSAKT_FLAG = lv_in_transakt_flag
         SOLL_DATUM_AB = lv_soll_datum_ab
         SOLL_DATUM_BIS = lv_soll_datum_bis
         VERGANGENHEITS_BEZUG = lv_vergangenheits_bezug
    IMPORTING
         AENDNR = lv_aendnr
    EXCEPTIONS
        ABORTED = 1
        AENDNR_GEPRUEFT = 2
        AENDNR_GESPERRT = 3
        AENDNR_INITIAL = 4
        AENDNR_NOT_EXIST = 5
        USER_NOT_ERFUSER = 6
        AENDNR_FREIGEGEBEN = 7
. " ISP_AENDNR_BEARBEITEN




ABAP code using 7.40 inline data declarations to call FM ISP_AENDNR_BEARBEITEN

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 ARTAENDNR FROM JSTAENDER INTO @DATA(ld_art_aenderungsnr).
DATA(ld_art_aenderungsnr) = CON_ARTAENDNR_NORMAL.
 
 
"SELECT single TRTYP FROM TJ180 INTO @DATA(ld_bearbeitungsart).
DATA(ld_bearbeitungsart) = 'A'.
 
"SELECT single AENDNR FROM JSTAENDER INTO @DATA(ld_in_aendnr).
 
 
 
DATA(ld_in_transakt_flag) = ' '.
 
"SELECT single GUELTIGAB FROM JSTAENDER INTO @DATA(ld_soll_datum_ab).
DATA(ld_soll_datum_ab) = '19000101'.
 
 
"SELECT single GUELTIGBIS FROM JSTAENDER INTO @DATA(ld_soll_datum_bis).
DATA(ld_soll_datum_bis) = '99991231'.
 
 
 
DATA(ld_vergangenheits_bezug) = 'X'.
 


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!