SAP /IXOS/DC_U_NFUNCTION Function Module for NFUNCTION : Execute user defined function









/IXOS/DC_U_NFUNCTION is a standard /ixos/dc u nfunction SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NFUNCTION : Execute user defined function 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 /ixos/dc u nfunction FM, simply by entering the name /IXOS/DC_U_NFUNCTION into the relevant SAP transaction such as SE37 or SE38.

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



Function /IXOS/DC_U_NFUNCTION 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 '/IXOS/DC_U_NFUNCTION'"NFUNCTION : Execute user defined function
EXPORTING
PI_PROJECT = "Project
PI_VERSION = "Version
* PI_TREE_NUM = "View
PI_DATASOURCE = "Data source
* PI_START_MODE = "Start mode
PI_FUNCTION = "Function
PI_RECNUM = "Record number in PT_R_TREE
PIT_D_TREE = "Definition of tree

IMPORTING
PE_URL = "URL which is given back to Kernel
PE_NO_SYNCHRONIZE = "flag, if tree synchronization should be omitted

CHANGING
PCT_R_SFVAL = "Selection fields at nodes

TABLES
PT_R_TREE = "Runtime view of tree
PT_R_FCODE = "Function codes at nodes
PT_R_REC255 = "
PT_R_REC1023 = "
PT_R_REC2048 = "
PT_R_HITCOUNTER = "Number of hits at nodes
PT_R_CHANGES = "Changes made by exit in tree

EXCEPTIONS
INTERNAL_ERROR = 1
.



IMPORTING Parameters details for /IXOS/DC_U_NFUNCTION

PI_PROJECT - Project

Data type: /IXOS/DC_EC_PROJECT
Optional: No
Call by Reference: Yes

PI_VERSION - Version

Data type: /IXOS/DC_EC_VERSION
Optional: No
Call by Reference: Yes

PI_TREE_NUM - View

Data type: /IXOS/DC_EC_VIEW
Optional: Yes
Call by Reference: Yes

PI_DATASOURCE - Data source

Data type: /IXOS/DC_EC_DATASOURCE
Optional: No
Call by Reference: Yes

PI_START_MODE - Start mode

Data type: /IXOS/DC_EV_START_MODE
Optional: Yes
Call by Reference: Yes

PI_FUNCTION - Function

Data type: /IXOS/DC_EC_FCODE
Optional: No
Call by Reference: Yes

PI_RECNUM - Record number in PT_R_TREE

Data type: /IXOS/DC_EC_RECNUM
Optional: No
Call by Reference: Yes

PIT_D_TREE - Definition of tree

Data type: /IXOS/DC_TTK_D_TREE
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for /IXOS/DC_U_NFUNCTION

PE_URL - URL which is given back to Kernel

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

PE_NO_SYNCHRONIZE - flag, if tree synchronization should be omitted

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

CHANGING Parameters details for /IXOS/DC_U_NFUNCTION

PCT_R_SFVAL - Selection fields at nodes

Data type: /IXOS/DC_TTK_R_SFVALUE_S
Optional: No
Call by Reference: Yes

TABLES Parameters details for /IXOS/DC_U_NFUNCTION

PT_R_TREE - Runtime view of tree

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

PT_R_FCODE - Function codes at nodes

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

PT_R_REC255 -

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

PT_R_REC1023 -

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

PT_R_REC2048 -

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

PT_R_HITCOUNTER - Number of hits at nodes

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

PT_R_CHANGES - Changes made by exit in tree

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

EXCEPTIONS details

INTERNAL_ERROR - Internal error

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

Copy and paste ABAP code example for /IXOS/DC_U_NFUNCTION 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_pe_url  TYPE STRING, "   
lt_pt_r_tree  TYPE STANDARD TABLE OF /IXOS/DC_SK_R_TREE, "   
lv_pi_project  TYPE /IXOS/DC_EC_PROJECT, "   
lv_pct_r_sfval  TYPE /IXOS/DC_TTK_R_SFVALUE_S, "   
lv_internal_error  TYPE /IXOS/DC_TTK_R_SFVALUE_S, "   
lv_pi_version  TYPE /IXOS/DC_EC_VERSION, "   
lt_pt_r_fcode  TYPE STANDARD TABLE OF /IXOS/DC_SK_R_ICON, "   
lv_pe_no_synchronize  TYPE /IXOS/DC_E_SYNCHRONIZE, "   
lv_pi_tree_num  TYPE /IXOS/DC_EC_VIEW, "   
lt_pt_r_rec255  TYPE STANDARD TABLE OF /IXOS/DC_SK_R_REC255, "   
lt_pt_r_rec1023  TYPE STANDARD TABLE OF /IXOS/DC_SK_R_REC1023, "   
lv_pi_datasource  TYPE /IXOS/DC_EC_DATASOURCE, "   
lt_pt_r_rec2048  TYPE STANDARD TABLE OF /IXOS/DC_SK_R_REC2048, "   
lv_pi_start_mode  TYPE /IXOS/DC_EV_START_MODE, "   
lv_pi_function  TYPE /IXOS/DC_EC_FCODE, "   
lt_pt_r_hitcounter  TYPE STANDARD TABLE OF /IXOS/DC_SK_R_HITCOUNTER, "   
lv_pi_recnum  TYPE /IXOS/DC_EC_RECNUM, "   
lt_pt_r_changes  TYPE STANDARD TABLE OF /IXOS/DC_SK_R_TREE_CHANGES, "   
lv_pit_d_tree  TYPE /IXOS/DC_TTK_D_TREE. "   

  CALL FUNCTION '/IXOS/DC_U_NFUNCTION'  "NFUNCTION : Execute user defined function
    EXPORTING
         PI_PROJECT = lv_pi_project
         PI_VERSION = lv_pi_version
         PI_TREE_NUM = lv_pi_tree_num
         PI_DATASOURCE = lv_pi_datasource
         PI_START_MODE = lv_pi_start_mode
         PI_FUNCTION = lv_pi_function
         PI_RECNUM = lv_pi_recnum
         PIT_D_TREE = lv_pit_d_tree
    IMPORTING
         PE_URL = lv_pe_url
         PE_NO_SYNCHRONIZE = lv_pe_no_synchronize
    CHANGING
         PCT_R_SFVAL = lv_pct_r_sfval
    TABLES
         PT_R_TREE = lt_pt_r_tree
         PT_R_FCODE = lt_pt_r_fcode
         PT_R_REC255 = lt_pt_r_rec255
         PT_R_REC1023 = lt_pt_r_rec1023
         PT_R_REC2048 = lt_pt_r_rec2048
         PT_R_HITCOUNTER = lt_pt_r_hitcounter
         PT_R_CHANGES = lt_pt_r_changes
    EXCEPTIONS
        INTERNAL_ERROR = 1
. " /IXOS/DC_U_NFUNCTION




ABAP code using 7.40 inline data declarations to call FM /IXOS/DC_U_NFUNCTION

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!