SAP Function Modules

CHECK_CONFIRMATION_PROCEDURE SAP Function module - Check Whether Release Procedure is Active for a Posting Action







CHECK_CONFIRMATION_PROCEDURE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name CHECK_CONFIRMATION_PROCEDURE into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: FVZM
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM CHECK_CONFIRMATION_PROCEDURE - CHECK CONFIRMATION PROCEDURE





CALL FUNCTION 'CHECK_CONFIRMATION_PROCEDURE' "Check Whether Release Procedure is Active for a Posting Action
  EXPORTING
*   bukrs = SPACE               " t001-bukrs    Company Code
    fgobj = SPACE               " tzfo-sfgobj   Release Object
*   schwrt = 0                  " tzfsp-bschwrt  Threshold Value
*   sparam1 = SPACE             " tzfsp-ssparam1  Parameter 1 der Freigabestatusparametertabelle
*   sparam2 = SPACE             " tzfsp-ssparam2  Parameter 2 der Freigabestatusparametertabelle
*   waers = SPACE               " tcurc-waers   Währungsschlüssel für Schwellwert
*   amount =                    " bzusage       Mapping fuer Freigabebetrag
*   status = SPACE              " boole-boole   höchsten Freigabeinitialstatus ermitteln
*   memory = SPACE              " boole-boole   'X' = globales Memory lesen
*   loghandle = SPACE           " baldat-log_handle  BAL-Handle mit Verstößen gegen Produktprofil
*   srelease = SPACE            " tzpa_addfunc-srelease  Freigabe nur bei Verstoß gegen Produktrofil (Loghandle not initial)
  IMPORTING
    sfgaktiv =                  " tzfo-sfgaktiv  Kennzeichen Freigabeverfahren aktiv
    sfgst =                     " tzfsp-sfgst   Release status for release procedure
  EXCEPTIONS
    NOT_FOUND = 1               "               keinen passenden Satz in TZFO gefunden
    .  "  CHECK_CONFIRMATION_PROCEDURE

ABAP code example for Function Module CHECK_CONFIRMATION_PROCEDURE





The ABAP code below is a full code listing to execute function module CHECK_CONFIRMATION_PROCEDURE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_sfgaktiv  TYPE TZFO-SFGAKTIV ,
ld_sfgst  TYPE TZFSP-SFGST .


SELECT single BUKRS
FROM T001
INTO @DATA(ld_bukrs).


SELECT single SFGOBJ
FROM TZFO
INTO @DATA(ld_fgobj).


SELECT single BSCHWRT
FROM TZFSP
INTO @DATA(ld_schwrt).


SELECT single SSPARAM1
FROM TZFSP
INTO @DATA(ld_sparam1).


SELECT single SSPARAM2
FROM TZFSP
INTO @DATA(ld_sparam2).


SELECT single WAERS
FROM TCURC
INTO @DATA(ld_waers).

DATA(ld_amount) = 'Check type of data required'.

DATA(ld_status) = some text here

DATA(ld_memory) = some text here

SELECT single LOG_HANDLE
FROM BALDAT
INTO @DATA(ld_loghandle).


DATA(ld_srelease) = some text here . CALL FUNCTION 'CHECK_CONFIRMATION_PROCEDURE' EXPORTING * bukrs = ld_bukrs fgobj = ld_fgobj * schwrt = ld_schwrt * sparam1 = ld_sparam1 * sparam2 = ld_sparam2 * waers = ld_waers * amount = ld_amount * status = ld_status * memory = ld_memory * loghandle = ld_loghandle * srelease = ld_srelease IMPORTING sfgaktiv = ld_sfgaktiv sfgst = ld_sfgst EXCEPTIONS NOT_FOUND = 1 . " CHECK_CONFIRMATION_PROCEDURE
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_sfgaktiv  TYPE TZFO-SFGAKTIV ,
ld_bukrs  TYPE T001-BUKRS ,
ld_sfgst  TYPE TZFSP-SFGST ,
ld_fgobj  TYPE TZFO-SFGOBJ ,
ld_schwrt  TYPE TZFSP-BSCHWRT ,
ld_sparam1  TYPE TZFSP-SSPARAM1 ,
ld_sparam2  TYPE TZFSP-SSPARAM2 ,
ld_waers  TYPE TCURC-WAERS ,
ld_amount  TYPE BZUSAGE ,
ld_status  TYPE BOOLE-BOOLE ,
ld_memory  TYPE BOOLE-BOOLE ,
ld_loghandle  TYPE BALDAT-LOG_HANDLE ,
ld_srelease  TYPE TZPA_ADDFUNC-SRELEASE .


SELECT single BUKRS
FROM T001
INTO ld_bukrs.


SELECT single SFGOBJ
FROM TZFO
INTO ld_fgobj.


SELECT single BSCHWRT
FROM TZFSP
INTO ld_schwrt.


SELECT single SSPARAM1
FROM TZFSP
INTO ld_sparam1.


SELECT single SSPARAM2
FROM TZFSP
INTO ld_sparam2.


SELECT single WAERS
FROM TCURC
INTO ld_waers.

ld_amount = 'Check type of data required'.

ld_status = some text here

ld_memory = some text here

SELECT single LOG_HANDLE
FROM BALDAT
INTO ld_loghandle.


ld_srelease = some text here

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CHECK_CONFIRMATION_PROCEDURE or its description.