SAP CATT_GLPCAP_RETRN_REC_NO_DOC Function Module for









CATT_GLPCAP_RETRN_REC_NO_DOC is a standard catt glpcap retrn rec no doc 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 catt glpcap retrn rec no doc FM, simply by entering the name CATT_GLPCAP_RETRN_REC_NO_DOC into the relevant SAP transaction such as SE37 or SE38.

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



Function CATT_GLPCAP_RETRN_REC_NO_DOC 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 'CATT_GLPCAP_RETRN_REC_NO_DOC'"
EXPORTING
* TABELLE = GLPCA "
* STAT_KENNZ = "
PROFIT_CENTER = "
* KONTONUMMER = "
GESCHAEFTSJAHR = "
SATZART = "
SOLL_HABEN_KZ = "
PCA_BELEG = "
* VERSION = '000' "
P_PROFIT_CENTER = "

IMPORTING
SATZNUMMER = "
ANZAHL_SAETZE = "

EXCEPTIONS
NO_DATA = 1 WRONG_TABLE = 2
.



IMPORTING Parameters details for CATT_GLPCAP_RETRN_REC_NO_DOC

TABELLE -

Data type:
Default: GLPCA
Optional: Yes
Call by Reference: Yes

STAT_KENNZ -

Data type: GLPCA-STAGR
Optional: Yes
Call by Reference: Yes

PROFIT_CENTER -

Data type: GLPCA-RPRCTR
Optional: No
Call by Reference: Yes

KONTONUMMER -

Data type: GLPCA-RACCT
Optional: Yes
Call by Reference: Yes

GESCHAEFTSJAHR -

Data type: GLPCA-RYEAR
Optional: No
Call by Reference: Yes

SATZART -

Data type: GLPCA-RRCTY
Optional: No
Call by Reference: Yes

SOLL_HABEN_KZ -

Data type: GLPCA-DRCRK
Optional: No
Call by Reference: Yes

PCA_BELEG -

Data type: GLPCA-DOCNR
Optional: No
Call by Reference: Yes

VERSION -

Data type: GLPCA-RVERS
Default: '000'
Optional: Yes
Call by Reference: Yes

P_PROFIT_CENTER -

Data type: GLPCA-SPRCTR
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for CATT_GLPCAP_RETRN_REC_NO_DOC

SATZNUMMER -

Data type: GLPCA-GL_SIRID
Optional: No
Call by Reference: Yes

ANZAHL_SAETZE -

Data type: SY-DBCNT
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NO_DATA -

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

WRONG_TABLE -

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

Copy and paste ABAP code example for CATT_GLPCAP_RETRN_REC_NO_DOC 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_no_data  TYPE STRING, "   
lv_tabelle  TYPE STRING, "   GLPCA
lv_satznummer  TYPE GLPCA-GL_SIRID, "   
lv_stat_kennz  TYPE GLPCA-STAGR, "   
lv_wrong_table  TYPE GLPCA, "   
lv_anzahl_saetze  TYPE SY-DBCNT, "   
lv_profit_center  TYPE GLPCA-RPRCTR, "   
lv_kontonummer  TYPE GLPCA-RACCT, "   
lv_geschaeftsjahr  TYPE GLPCA-RYEAR, "   
lv_satzart  TYPE GLPCA-RRCTY, "   
lv_soll_haben_kz  TYPE GLPCA-DRCRK, "   
lv_pca_beleg  TYPE GLPCA-DOCNR, "   
lv_version  TYPE GLPCA-RVERS, "   '000'
lv_p_profit_center  TYPE GLPCA-SPRCTR. "   

  CALL FUNCTION 'CATT_GLPCAP_RETRN_REC_NO_DOC'  "
    EXPORTING
         TABELLE = lv_tabelle
         STAT_KENNZ = lv_stat_kennz
         PROFIT_CENTER = lv_profit_center
         KONTONUMMER = lv_kontonummer
         GESCHAEFTSJAHR = lv_geschaeftsjahr
         SATZART = lv_satzart
         SOLL_HABEN_KZ = lv_soll_haben_kz
         PCA_BELEG = lv_pca_beleg
         VERSION = lv_version
         P_PROFIT_CENTER = lv_p_profit_center
    IMPORTING
         SATZNUMMER = lv_satznummer
         ANZAHL_SAETZE = lv_anzahl_saetze
    EXCEPTIONS
        NO_DATA = 1
        WRONG_TABLE = 2
. " CATT_GLPCAP_RETRN_REC_NO_DOC




ABAP code using 7.40 inline data declarations to call FM CATT_GLPCAP_RETRN_REC_NO_DOC

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_tabelle) = GLPCA.
 
"SELECT single GL_SIRID FROM GLPCA INTO @DATA(ld_satznummer).
 
"SELECT single STAGR FROM GLPCA INTO @DATA(ld_stat_kennz).
 
 
"SELECT single DBCNT FROM SY INTO @DATA(ld_anzahl_saetze).
 
"SELECT single RPRCTR FROM GLPCA INTO @DATA(ld_profit_center).
 
"SELECT single RACCT FROM GLPCA INTO @DATA(ld_kontonummer).
 
"SELECT single RYEAR FROM GLPCA INTO @DATA(ld_geschaeftsjahr).
 
"SELECT single RRCTY FROM GLPCA INTO @DATA(ld_satzart).
 
"SELECT single DRCRK FROM GLPCA INTO @DATA(ld_soll_haben_kz).
 
"SELECT single DOCNR FROM GLPCA INTO @DATA(ld_pca_beleg).
 
"SELECT single RVERS FROM GLPCA INTO @DATA(ld_version).
DATA(ld_version) = '000'.
 
"SELECT single SPRCTR FROM GLPCA INTO @DATA(ld_p_profit_center).
 


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!