SAP UPP_PP_KERNEL_GET_CUA_INFO Function Module for Planning Processor: Read the CUA information









UPP_PP_KERNEL_GET_CUA_INFO is a standard upp pp kernel get cua info SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Planning Processor: Read the CUA information 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 upp pp kernel get cua info FM, simply by entering the name UPP_PP_KERNEL_GET_CUA_INFO into the relevant SAP transaction such as SE37 or SE38.

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



Function UPP_PP_KERNEL_GET_CUA_INFO 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 'UPP_PP_KERNEL_GET_CUA_INFO'"Planning Processor: Read the CUA information
EXPORTING
I_HNDL = "Planningprocessor: Handle for context

IMPORTING
ETH_KFI = "Planning processor: table of inactive functions
E_MODUS_INSERT = "Single-Character Flag
E_KERNEL_MESG_EXISTS = "Single-Character Flag
E_SHOW_DOC = "Single-Character Flag

EXCEPTIONS
INVALID_HANDLE = 1
.



IMPORTING Parameters details for UPP_PP_KERNEL_GET_CUA_INFO

I_HNDL - Planningprocessor: Handle for context

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

EXPORTING Parameters details for UPP_PP_KERNEL_GET_CUA_INFO

ETH_KFI - Planning processor: table of inactive functions

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

E_MODUS_INSERT - Single-Character Flag

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

E_KERNEL_MESG_EXISTS - Single-Character Flag

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

E_SHOW_DOC - Single-Character Flag

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

EXCEPTIONS details

INVALID_HANDLE - Invalid handle

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for UPP_PP_KERNEL_GET_CUA_INFO 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_i_hndl  TYPE UPP_Y_PP_HNDL, "   
lv_eth_kfi  TYPE UPP_YTH_KFI, "   
lv_invalid_handle  TYPE UPP_YTH_KFI, "   
lv_e_modus_insert  TYPE CHAR1, "   
lv_e_kernel_mesg_exists  TYPE CHAR1, "   
lv_e_show_doc  TYPE CHAR1. "   

  CALL FUNCTION 'UPP_PP_KERNEL_GET_CUA_INFO'  "Planning Processor: Read the CUA information
    EXPORTING
         I_HNDL = lv_i_hndl
    IMPORTING
         ETH_KFI = lv_eth_kfi
         E_MODUS_INSERT = lv_e_modus_insert
         E_KERNEL_MESG_EXISTS = lv_e_kernel_mesg_exists
         E_SHOW_DOC = lv_e_show_doc
    EXCEPTIONS
        INVALID_HANDLE = 1
. " UPP_PP_KERNEL_GET_CUA_INFO




ABAP code using 7.40 inline data declarations to call FM UPP_PP_KERNEL_GET_CUA_INFO

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!