SAP CACS_GET_UNASSIGNED_PN Function Module for NOTRANSL: Lese 'neue' Prima Notae mit Cursor









CACS_GET_UNASSIGNED_PN is a standard cacs get unassigned pn 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: Lese 'neue' Prima Notae mit Cursor 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 cacs get unassigned pn FM, simply by entering the name CACS_GET_UNASSIGNED_PN into the relevant SAP transaction such as SE37 or SE38.

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



Function CACS_GET_UNASSIGNED_PN 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 'CACS_GET_UNASSIGNED_PN'"NOTRANSL: Lese 'neue' Prima Notae mit Cursor
EXPORTING
I_BLOCKSIZE = "

CHANGING
C_CURSOR = "Predefined Type
* C_FLG_ERROR = "Indicator: Commn Case Inconsistent (X = error, ' ' = ok)
* C_LOG_HANDLE = "Application Log: Log Handle
C_FLG_LAST_FETCH = "Boolean Variable (X=True, -=False, Space=Unknown)

TABLES
ET_CACS_FFLTIT = "Fulfillment Level Item
* IT_DATES = "DE-EN-LANG-SWITCH-NO-TRANSLATION
.



IMPORTING Parameters details for CACS_GET_UNASSIGNED_PN

I_BLOCKSIZE -

Data type:
Optional: No
Call by Reference: Yes

CHANGING Parameters details for CACS_GET_UNASSIGNED_PN

C_CURSOR - Predefined Type

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

C_FLG_ERROR - Indicator: Commn Case Inconsistent (X = error, ' ' = ok)

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

C_LOG_HANDLE - Application Log: Log Handle

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

C_FLG_LAST_FETCH - Boolean Variable (X=True, -=False, Space=Unknown)

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

TABLES Parameters details for CACS_GET_UNASSIGNED_PN

ET_CACS_FFLTIT - Fulfillment Level Item

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

IT_DATES - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for CACS_GET_UNASSIGNED_PN 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_c_cursor  TYPE CURSOR, "   
lv_i_blocksize  TYPE CURSOR, "   
lt_et_cacs_ffltit  TYPE STANDARD TABLE OF CACS_S_FFLTIT, "   
lt_it_dates  TYPE STANDARD TABLE OF CACS_S_FFLTIT, "   
lv_c_flg_error  TYPE CACSCASEERROR, "   
lv_c_log_handle  TYPE BALLOGHNDL, "   
lv_c_flg_last_fetch  TYPE BOOLEAN. "   

  CALL FUNCTION 'CACS_GET_UNASSIGNED_PN'  "NOTRANSL: Lese 'neue' Prima Notae mit Cursor
    EXPORTING
         I_BLOCKSIZE = lv_i_blocksize
    CHANGING
         C_CURSOR = lv_c_cursor
         C_FLG_ERROR = lv_c_flg_error
         C_LOG_HANDLE = lv_c_log_handle
         C_FLG_LAST_FETCH = lv_c_flg_last_fetch
    TABLES
         ET_CACS_FFLTIT = lt_et_cacs_ffltit
         IT_DATES = lt_it_dates
. " CACS_GET_UNASSIGNED_PN




ABAP code using 7.40 inline data declarations to call FM CACS_GET_UNASSIGNED_PN

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.

 
 
 
 
 
 
 


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!