SAP CO_ZF_CREATE_RELATIONS_TEMP Function Module for NOTRANSL: Ermittelt temporäre AOB zum Teilnetz









CO_ZF_CREATE_RELATIONS_TEMP is a standard co zf create relations temp 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: Ermittelt temporäre AOB zum Teilnetz 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 co zf create relations temp FM, simply by entering the name CO_ZF_CREATE_RELATIONS_TEMP into the relevant SAP transaction such as SE37 or SE38.

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



Function CO_ZF_CREATE_RELATIONS_TEMP 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 'CO_ZF_CREATE_RELATIONS_TEMP'"NOTRANSL: Ermittelt temporäre AOB zum Teilnetz
EXPORTING
* WITH_POPUP = "Selection indicator
* WITH_UPDATE = "Selection indicator
* FLG_SCHEDULE = "Selection indicator
* AKTYP_IMP = "Activity category in SAP transaction

TABLES
* AFABD_TAB = "Network: Dialog table for AFAB
* CAUFVD_TAB = "Structure of Transfer Table for PRE_READ of Orders
* AFVG_TAB = "Generated Table for View
* AFAB_DEL = "Network: Dialog table for AFAB

EXCEPTIONS
NO_REL = 1 NOT_POSSIBLE = 2
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLCOZF_001 Customer Exits in Function Group COZF
EXIT_SAPLCOZF_002 Customer Exits in Function Group COZF
EXIT_SAPLCOZF_003 Exit for Predefining Fields in the Order Header

IMPORTING Parameters details for CO_ZF_CREATE_RELATIONS_TEMP

WITH_POPUP - Selection indicator

Data type: RC27X-FLG_SEL
Optional: Yes
Call by Reference: No ( called with pass by value option)

WITH_UPDATE - Selection indicator

Data type: RC27X-FLG_SEL
Optional: Yes
Call by Reference: No ( called with pass by value option)

FLG_SCHEDULE - Selection indicator

Data type: RC27X-FLG_SEL
Optional: Yes
Call by Reference: No ( called with pass by value option)

AKTYP_IMP - Activity category in SAP transaction

Data type: RC27S-AKTYP
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for CO_ZF_CREATE_RELATIONS_TEMP

AFABD_TAB - Network: Dialog table for AFAB

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

CAUFVD_TAB - Structure of Transfer Table for PRE_READ of Orders

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

AFVG_TAB - Generated Table for View

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

AFAB_DEL - Network: Dialog table for AFAB

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

EXCEPTIONS details

NO_REL -

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

NOT_POSSIBLE -

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

Copy and paste ABAP code example for CO_ZF_CREATE_RELATIONS_TEMP 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_rel  TYPE STRING, "   
lt_afabd_tab  TYPE STANDARD TABLE OF AFABD, "   
lv_with_popup  TYPE RC27X-FLG_SEL, "   
lt_caufvd_tab  TYPE STANDARD TABLE OF ORD_PRE, "   
lv_with_update  TYPE RC27X-FLG_SEL, "   
lv_not_possible  TYPE RC27X, "   
lt_afvg_tab  TYPE STANDARD TABLE OF AFVCP, "   
lv_flg_schedule  TYPE RC27X-FLG_SEL, "   
lt_afab_del  TYPE STANDARD TABLE OF AFABD, "   
lv_aktyp_imp  TYPE RC27S-AKTYP. "   

  CALL FUNCTION 'CO_ZF_CREATE_RELATIONS_TEMP'  "NOTRANSL: Ermittelt temporäre AOB zum Teilnetz
    EXPORTING
         WITH_POPUP = lv_with_popup
         WITH_UPDATE = lv_with_update
         FLG_SCHEDULE = lv_flg_schedule
         AKTYP_IMP = lv_aktyp_imp
    TABLES
         AFABD_TAB = lt_afabd_tab
         CAUFVD_TAB = lt_caufvd_tab
         AFVG_TAB = lt_afvg_tab
         AFAB_DEL = lt_afab_del
    EXCEPTIONS
        NO_REL = 1
        NOT_POSSIBLE = 2
. " CO_ZF_CREATE_RELATIONS_TEMP




ABAP code using 7.40 inline data declarations to call FM CO_ZF_CREATE_RELATIONS_TEMP

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.

 
 
"SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_with_popup).
 
 
"SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_with_update).
 
 
 
"SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_flg_schedule).
 
 
"SELECT single AKTYP FROM RC27S INTO @DATA(ld_aktyp_imp).
 


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!