SAP CNIS_GET_VALUES Function Module for NOTRANSL: Project Info System: Dialog box for entering various fields









CNIS_GET_VALUES is a standard cnis get values 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: Project Info System: Dialog box for entering various fields 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 cnis get values FM, simply by entering the name CNIS_GET_VALUES into the relevant SAP transaction such as SE37 or SE38.

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



Function CNIS_GET_VALUES 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 'CNIS_GET_VALUES'"NOTRANSL: Project Info System: Dialog box for entering various fields
EXPORTING
I_TITLEBAR = "Text for title
* I_VSKAT = ' ' "Flag, Simulationsversion
* I_FLG_CO_VERSIONEN = ' ' "Flag, Display plan versions
* I_FLG_EV_VERSIONEN = ' ' "Flag, EV-Planversionen anzeigen
* I_FLG_TCNT = ' ' "Flag, Display PS Info profile
* I_FLG_TCNU = ' ' "Flag, Einheitenumrechnungsprofil anzeigen
* I_FLG_TCNDB = ' ' "Flag, Display database profile
* I_FLG_TCNDS = ' ' "Flag, Display hierarchy profile
* I_FLG_TCND = ' ' "Flag, Display overview profile
* I_FLG_TCNF = ' ' "Flag, Display field profile
* I_FLG_TCNS = ' ' "Flag, Display sort criteria profile
* I_TABNAME = ' ' "Name of the reporting structure
* I_FLG_TCNA = ' ' "Flag, Verdichtungskriterienprofil anzeigen
* I_FLG_TCNP = ' ' "Flag, Display grouping criteria profile
* I_FLG_TCNVG = ' ' "Flag, Vergleichskriterienprofil anzeigen
* I_FLG_SLWID = ' ' "Flag: display key work ID for user-defined fields
* I_FLG_PROFIDPROJ = ' ' "Flag: display project hierarchy graphic profile
* I_FLG_PROFIDNETZ = ' ' "Flag: display network graphic profile
* I_FLG_PROFIDBALK = ' ' "Flag: display Gantt chart profile
* I_FLG_PSRLV = ' ' "Flag: display cost plan version
* I_FLG_PROFIL_ID = ' ' "Flag: display overall profile for capacity reporting
* I_FLG_EIS_REPID = ' ' "Flag: display EIS report name
* I_FLG_CALL = ' ' "Flag: display function key for 'Execute'
* I_FLG_HIERARCHIE = ' ' "Flag: display fields for hierarchy selection
* I_FLG_STUFEN = ' ' "Flag: display hierarchy levels (WBS elements)
* I_FLG_BESCHRIFTUNG = ' ' "Flag: display bar text parameters
* I_FLG_MAIL = ' ' "Flag: display flags for mail transfer
* I_FLG_CHANGE_DOCUMENTS = ' ' "Flag: display parameters for change documents
* I_FLG_TITLETEXT = ' ' "Flag, Display text module for title
* I_FLG_TOPTEXT = ' ' "Flag, Display text module for header
* I_FLG_PICKUP = ' ' "Flag, Display pickup fields
* I_FLG_ARNUMMER = ' ' "Flag: display archive number
* I_FLG_VSNUMMER = ' ' "Flag, Display version number
* I_FLG_VERSION = ' ' "Flag, Display more version fields

IMPORTING
E_FLG_CALL = "Flag: 'Execute' selected

CHANGING
* C_TITLETEXT = ' ' "Text for title
* C_VSMTA = ' ' "Flag, relevant für Meilensteintrendanalyse
* C_CO_VSNUMMER_1 = ' ' "Number of the 1st plan version
* C_CO_VSNUMMER_2 = ' ' "Number of the 2nd plan version
* C_EV_VSNUMMER_1 = ' ' "Nummer der 1. EV-Planversion
* C_TCNT_PROFID = ' ' "PS Info Profile
* C_TCNT_PROF_UC = ' ' "Einheitenumrechnungsprofil
* C_TCNT_PROF_DB = ' ' "Database profile
* C_TCNDB_DB_VIEW = ' ' "Hierarchy profile
* C_TCND_PROFID = ' ' "Overview profile
* C_TCND_PROF_FD = ' ' "Field profile
* C_TOPTEXT = ' ' "Text module for header
* C_TCND_PROF_SR = ' ' "Sort criteria profile
* C_TCND_PROF_AG = ' ' "Verdichtungskriterienprofil
* C_TCND_PROF_GP = ' ' "Grouping criteria profile
* C_TCND_PROF_VGL = ' ' "Vergleichskriterienprofil
* C_SLWID = ' ' "Key word ID
* C_PROFIDPROJ = ' ' "Project hierarchy graphic profile
* C_PLNAW = ' ' "Task list usage
* C_PROFIDNETZ = ' ' "Network graphic profile
* C_PROFIDBALK = ' ' "Gantt chart profile
* C_PROFIL_ID = ' ' "Overall profile of capacity planning
* C_PICKUP_KEY = ' ' "Action during pickup on key column
* C_EIS_REPID = ' ' "EIS report name
* C_PS_HIERART = ' ' "Hierarchy type of structure view for project info
* C_HIERAR = ' ' "Hierarchy type / costing
* C_HIERID = ' ' "Hierarchy ID / costing
* C_HIENM = ' ' "Set name
* C_STUFE_VON = ' ' "Hierarchy level from
* C_STUFE_BIS = ' ' "Hierarchy level to
* C_CMPOS = ' ' "Text position on time bar
* C_CMART = ' ' "Text or date on the time bar
* C_FLG_EINST = ' ' "Flag: send mail with settings
* C_PICKUP_FELD = ' ' "Action with pickup on field column
* C_FLG_AUTH = ' ' "Flag: send mail with authorizations
* C_FLG_DATEN = ' ' "Flag: send mail with selected data
* C_USERNAME = ' ' "User name
* C_CHANGEDATE = ' ' "Change date
* C_CHANGETIME = ' ' "Changed at
* C_CURSOR_VOR_MARK = ' ' "Flag, Cursor has higher priority than select
* C_ARNUMMER = ' ' "Archive number
* C_VSNUMMER = ' ' "Version number
* C_VSTEXT = ' ' "Text for version number
* C_VSGRUPPE = ' ' "Version group

TABLES
* T_RANGE_AUFNR = "Range for networks
* T_RANGE_POSID = "Range for WBS elements
* T_RANGE_PSPID = "Range for project definitions

EXCEPTIONS
CANCEL = 1
.



IMPORTING Parameters details for CNIS_GET_VALUES

I_TITLEBAR - Text for title

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

I_VSKAT - Flag, Simulationsversion

Data type: VSKOPF-VSKAT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_CO_VERSIONEN - Flag, Display plan versions

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

I_FLG_EV_VERSIONEN - Flag, EV-Planversionen anzeigen

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

I_FLG_TCNT - Flag, Display PS Info profile

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

I_FLG_TCNU - Flag, Einheitenumrechnungsprofil anzeigen

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

I_FLG_TCNDB - Flag, Display database profile

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

I_FLG_TCNDS - Flag, Display hierarchy profile

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

I_FLG_TCND - Flag, Display overview profile

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

I_FLG_TCNF - Flag, Display field profile

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

I_FLG_TCNS - Flag, Display sort criteria profile

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

I_TABNAME - Name of the reporting structure

Data type: TCND-TABNAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_TCNA - Flag, Verdichtungskriterienprofil anzeigen

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

I_FLG_TCNP - Flag, Display grouping criteria profile

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

I_FLG_TCNVG - Flag, Vergleichskriterienprofil anzeigen

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

I_FLG_SLWID - Flag: display key work ID for user-defined fields

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

I_FLG_PROFIDPROJ - Flag: display project hierarchy graphic profile

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

I_FLG_PROFIDNETZ - Flag: display network graphic profile

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

I_FLG_PROFIDBALK - Flag: display Gantt chart profile

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

I_FLG_PSRLV - Flag: display cost plan version

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

I_FLG_PROFIL_ID - Flag: display overall profile for capacity reporting

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

I_FLG_EIS_REPID - Flag: display EIS report name

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

I_FLG_CALL - Flag: display function key for 'Execute'

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

I_FLG_HIERARCHIE - Flag: display fields for hierarchy selection

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

I_FLG_STUFEN - Flag: display hierarchy levels (WBS elements)

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

I_FLG_BESCHRIFTUNG - Flag: display bar text parameters

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

I_FLG_MAIL - Flag: display flags for mail transfer

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

I_FLG_CHANGE_DOCUMENTS - Flag: display parameters for change documents

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

I_FLG_TITLETEXT - Flag, Display text module for title

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

I_FLG_TOPTEXT - Flag, Display text module for header

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

I_FLG_PICKUP - Flag, Display pickup fields

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

I_FLG_ARNUMMER - Flag: display archive number

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

I_FLG_VSNUMMER - Flag, Display version number

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

I_FLG_VERSION - Flag, Display more version fields

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

EXPORTING Parameters details for CNIS_GET_VALUES

E_FLG_CALL - Flag: 'Execute' selected

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

CHANGING Parameters details for CNIS_GET_VALUES

C_TITLETEXT - Text for title

Data type: TCNT-TITLETEXT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_VSMTA - Flag, relevant für Meilensteintrendanalyse

Data type: VSKOPF-VSMTA
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_CO_VSNUMMER_1 - Number of the 1st plan version

Data type: RPSCO_X-VERSN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_CO_VSNUMMER_2 - Number of the 2nd plan version

Data type: RPSCO_X-VERSN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_EV_VSNUMMER_1 - Nummer der 1. EV-Planversion

Data type: EVOP-VERSN_EV
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_TCNT_PROFID - PS Info Profile

Data type: TCNT-PROFID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_TCNT_PROF_UC - Einheitenumrechnungsprofil

Data type: TCNT-PROF_UC
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_TCNT_PROF_DB - Database profile

Data type: TCNT-PROF_DB
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_TCNDB_DB_VIEW - Hierarchy profile

Data type: TCNDB-DB_VIEW
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_TCND_PROFID - Overview profile

Data type: TCND-PROFID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_TCND_PROF_FD - Field profile

Data type: TCND-PROF_FD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_TOPTEXT - Text module for header

Data type: TCNT-TOPTEXT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_TCND_PROF_SR - Sort criteria profile

Data type: TCND-PROF_SR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_TCND_PROF_AG - Verdichtungskriterienprofil

Data type: TCND-PROF_AG
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_TCND_PROF_GP - Grouping criteria profile

Data type: TCND-PROF_GP
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_TCND_PROF_VGL - Vergleichskriterienprofil

Data type: TCND-PROF_VGL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_SLWID - Key word ID

Data type: TCN01-SLWID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_PROFIDPROJ - Project hierarchy graphic profile

Data type: TCJ41-PROFIDPROJ
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_PLNAW - Task list usage

Data type: TCN41-PLNAW
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_PROFIDNETZ - Network graphic profile

Data type: TCN41-PROFIDNETZ
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_PROFIDBALK - Gantt chart profile

Data type: TCBP-PROFILE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_PROFIL_ID - Overall profile of capacity planning

Data type: TCY10-PROFIL_ID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_PICKUP_KEY - Action during pickup on key column

Data type: TCNT-PICKUP_KEY
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_EIS_REPID - EIS report name

Data type: RKB1D-REPID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_PS_HIERART - Hierarchy type of structure view for project info

Data type: TCNDS-PS_HIERART
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_HIERAR - Hierarchy type / costing

Data type: TCNDS-HIERAR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_HIERID - Hierarchy ID / costing

Data type: TCNDS-HIERID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_HIENM - Set name

Data type: TCNDS-HIENM
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_STUFE_VON - Hierarchy level from

Data type: KKHIE-STUFE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_STUFE_BIS - Hierarchy level to

Data type: KKHIE-STUFE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_CMPOS - Text position on time bar

Data type: TCBP-CMPOS
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_CMART - Text or date on the time bar

Data type: TCBP-CMART
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_FLG_EINST - Flag: send mail with settings

Data type: CNISFIELDS-FLG_EINST
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_PICKUP_FELD - Action with pickup on field column

Data type: TCNT-PICKUP_FLD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_FLG_AUTH - Flag: send mail with authorizations

Data type: CNISFIELDS-FLG_AUTH
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_FLG_DATEN - Flag: send mail with selected data

Data type: CNISFIELDS-FLG_DATEN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_USERNAME - User name

Data type: CDHDR-USERNAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_CHANGEDATE - Change date

Data type: CDHDR-UDATE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_CHANGETIME - Changed at

Data type: CDHDR-UTIME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_CURSOR_VOR_MARK - Flag, Cursor has higher priority than select

Data type: TCNT-FLG_CSVRMK
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_ARNUMMER - Archive number

Data type: ADMI_RUN-DOCUMENT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_VSNUMMER - Version number

Data type: VSKOPF-VSNMR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_VSTEXT - Text for version number

Data type: VSKOPF-VSTEXT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

C_VSGRUPPE - Version group

Data type: VSKOPF-VSGRUPPE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for CNIS_GET_VALUES

T_RANGE_AUFNR - Range for networks

Data type: STANDARD TABLE
Optional: Yes
Call by Reference: Yes

T_RANGE_POSID - Range for WBS elements

Data type: STANDARD TABLE
Optional: Yes
Call by Reference: Yes

T_RANGE_PSPID - Range for project definitions

Data type: STANDARD TABLE
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

CANCEL - Cancel

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

Copy and paste ABAP code example for CNIS_GET_VALUES 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_cancel  TYPE STRING, "   
lv_e_flg_call  TYPE XFELD, "   
lv_i_titlebar  TYPE CLIKE, "   
lv_c_titletext  TYPE TCNT-TITLETEXT, "   SPACE
lt_t_range_aufnr  TYPE STANDARD TABLE OF STANDARD TABLE, "   
lv_c_vsmta  TYPE VSKOPF-VSMTA, "   SPACE
lv_i_vskat  TYPE VSKOPF-VSKAT, "   SPACE
lv_c_co_vsnummer_1  TYPE RPSCO_X-VERSN, "   SPACE
lv_i_flg_co_versionen  TYPE XFELD, "   SPACE
lv_c_co_vsnummer_2  TYPE RPSCO_X-VERSN, "   SPACE
lv_i_flg_ev_versionen  TYPE XFELD, "   SPACE
lv_i_flg_tcnt  TYPE XFELD, "   SPACE
lv_c_ev_vsnummer_1  TYPE EVOP-VERSN_EV, "   SPACE
lv_i_flg_tcnu  TYPE XFELD, "   SPACE
lv_c_tcnt_profid  TYPE TCNT-PROFID, "   SPACE
lv_i_flg_tcndb  TYPE XFELD, "   SPACE
lv_c_tcnt_prof_uc  TYPE TCNT-PROF_UC, "   SPACE
lv_i_flg_tcnds  TYPE XFELD, "   SPACE
lv_c_tcnt_prof_db  TYPE TCNT-PROF_DB, "   SPACE
lv_i_flg_tcnd  TYPE XFELD, "   SPACE
lv_c_tcndb_db_view  TYPE TCNDB-DB_VIEW, "   SPACE
lv_i_flg_tcnf  TYPE XFELD, "   SPACE
lv_c_tcnd_profid  TYPE TCND-PROFID, "   SPACE
lv_i_flg_tcns  TYPE XFELD, "   SPACE
lv_c_tcnd_prof_fd  TYPE TCND-PROF_FD, "   SPACE
lv_c_toptext  TYPE TCNT-TOPTEXT, "   SPACE
lv_i_tabname  TYPE TCND-TABNAME, "   SPACE
lt_t_range_posid  TYPE STANDARD TABLE OF STANDARD TABLE, "   
lv_i_flg_tcna  TYPE XFELD, "   SPACE
lv_c_tcnd_prof_sr  TYPE TCND-PROF_SR, "   SPACE
lv_i_flg_tcnp  TYPE XFELD, "   SPACE
lv_c_tcnd_prof_ag  TYPE TCND-PROF_AG, "   SPACE
lv_i_flg_tcnvg  TYPE XFELD, "   SPACE
lv_c_tcnd_prof_gp  TYPE TCND-PROF_GP, "   SPACE
lv_i_flg_slwid  TYPE XFELD, "   SPACE
lv_c_tcnd_prof_vgl  TYPE TCND-PROF_VGL, "   SPACE
lv_c_slwid  TYPE TCN01-SLWID, "   SPACE
lv_i_flg_profidproj  TYPE XFELD, "   SPACE
lv_c_profidproj  TYPE TCJ41-PROFIDPROJ, "   SPACE
lv_i_flg_profidnetz  TYPE XFELD, "   SPACE
lv_c_plnaw  TYPE TCN41-PLNAW, "   SPACE
lv_i_flg_profidbalk  TYPE XFELD, "   SPACE
lv_i_flg_psrlv  TYPE XFELD, "   SPACE
lv_c_profidnetz  TYPE TCN41-PROFIDNETZ, "   SPACE
lv_c_profidbalk  TYPE TCBP-PROFILE, "   SPACE
lv_i_flg_profil_id  TYPE XFELD, "   SPACE
lv_c_profil_id  TYPE TCY10-PROFIL_ID, "   SPACE
lv_i_flg_eis_repid  TYPE XFELD, "   SPACE
lv_i_flg_call  TYPE XFELD, "   SPACE
lv_c_pickup_key  TYPE TCNT-PICKUP_KEY, "   SPACE
lt_t_range_pspid  TYPE STANDARD TABLE OF STANDARD TABLE, "   
lv_c_eis_repid  TYPE RKB1D-REPID, "   SPACE
lv_i_flg_hierarchie  TYPE XFELD, "   SPACE
lv_c_ps_hierart  TYPE TCNDS-PS_HIERART, "   SPACE
lv_i_flg_stufen  TYPE XFELD, "   SPACE
lv_c_hierar  TYPE TCNDS-HIERAR, "   SPACE
lv_i_flg_beschriftung  TYPE XFELD, "   SPACE
lv_c_hierid  TYPE TCNDS-HIERID, "   SPACE
lv_i_flg_mail  TYPE XFELD, "   SPACE
lv_c_hienm  TYPE TCNDS-HIENM, "   SPACE
lv_i_flg_change_documents  TYPE XFELD, "   SPACE
lv_c_stufe_von  TYPE KKHIE-STUFE, "   SPACE
lv_c_stufe_bis  TYPE KKHIE-STUFE, "   SPACE
lv_c_cmpos  TYPE TCBP-CMPOS, "   SPACE
lv_c_cmart  TYPE TCBP-CMART, "   SPACE
lv_c_flg_einst  TYPE CNISFIELDS-FLG_EINST, "   SPACE
lv_c_pickup_feld  TYPE TCNT-PICKUP_FLD, "   SPACE
lv_i_flg_titletext  TYPE XFELD, "   SPACE
lv_c_flg_auth  TYPE CNISFIELDS-FLG_AUTH, "   SPACE
lv_c_flg_daten  TYPE CNISFIELDS-FLG_DATEN, "   SPACE
lv_c_username  TYPE CDHDR-USERNAME, "   SPACE
lv_c_changedate  TYPE CDHDR-UDATE, "   SPACE
lv_c_changetime  TYPE CDHDR-UTIME, "   SPACE
lv_i_flg_toptext  TYPE XFELD, "   SPACE
lv_c_cursor_vor_mark  TYPE TCNT-FLG_CSVRMK, "   SPACE
lv_c_arnummer  TYPE ADMI_RUN-DOCUMENT, "   SPACE
lv_i_flg_pickup  TYPE XFELD, "   SPACE
lv_c_vsnummer  TYPE VSKOPF-VSNMR, "   SPACE
lv_i_flg_arnummer  TYPE XFELD, "   SPACE
lv_c_vstext  TYPE VSKOPF-VSTEXT, "   SPACE
lv_i_flg_vsnummer  TYPE XFELD, "   SPACE
lv_c_vsgruppe  TYPE VSKOPF-VSGRUPPE, "   SPACE
lv_i_flg_version  TYPE XFELD. "   SPACE

  CALL FUNCTION 'CNIS_GET_VALUES'  "NOTRANSL: Project Info System: Dialog box for entering various fields
    EXPORTING
         I_TITLEBAR = lv_i_titlebar
         I_VSKAT = lv_i_vskat
         I_FLG_CO_VERSIONEN = lv_i_flg_co_versionen
         I_FLG_EV_VERSIONEN = lv_i_flg_ev_versionen
         I_FLG_TCNT = lv_i_flg_tcnt
         I_FLG_TCNU = lv_i_flg_tcnu
         I_FLG_TCNDB = lv_i_flg_tcndb
         I_FLG_TCNDS = lv_i_flg_tcnds
         I_FLG_TCND = lv_i_flg_tcnd
         I_FLG_TCNF = lv_i_flg_tcnf
         I_FLG_TCNS = lv_i_flg_tcns
         I_TABNAME = lv_i_tabname
         I_FLG_TCNA = lv_i_flg_tcna
         I_FLG_TCNP = lv_i_flg_tcnp
         I_FLG_TCNVG = lv_i_flg_tcnvg
         I_FLG_SLWID = lv_i_flg_slwid
         I_FLG_PROFIDPROJ = lv_i_flg_profidproj
         I_FLG_PROFIDNETZ = lv_i_flg_profidnetz
         I_FLG_PROFIDBALK = lv_i_flg_profidbalk
         I_FLG_PSRLV = lv_i_flg_psrlv
         I_FLG_PROFIL_ID = lv_i_flg_profil_id
         I_FLG_EIS_REPID = lv_i_flg_eis_repid
         I_FLG_CALL = lv_i_flg_call
         I_FLG_HIERARCHIE = lv_i_flg_hierarchie
         I_FLG_STUFEN = lv_i_flg_stufen
         I_FLG_BESCHRIFTUNG = lv_i_flg_beschriftung
         I_FLG_MAIL = lv_i_flg_mail
         I_FLG_CHANGE_DOCUMENTS = lv_i_flg_change_documents
         I_FLG_TITLETEXT = lv_i_flg_titletext
         I_FLG_TOPTEXT = lv_i_flg_toptext
         I_FLG_PICKUP = lv_i_flg_pickup
         I_FLG_ARNUMMER = lv_i_flg_arnummer
         I_FLG_VSNUMMER = lv_i_flg_vsnummer
         I_FLG_VERSION = lv_i_flg_version
    IMPORTING
         E_FLG_CALL = lv_e_flg_call
    CHANGING
         C_TITLETEXT = lv_c_titletext
         C_VSMTA = lv_c_vsmta
         C_CO_VSNUMMER_1 = lv_c_co_vsnummer_1
         C_CO_VSNUMMER_2 = lv_c_co_vsnummer_2
         C_EV_VSNUMMER_1 = lv_c_ev_vsnummer_1
         C_TCNT_PROFID = lv_c_tcnt_profid
         C_TCNT_PROF_UC = lv_c_tcnt_prof_uc
         C_TCNT_PROF_DB = lv_c_tcnt_prof_db
         C_TCNDB_DB_VIEW = lv_c_tcndb_db_view
         C_TCND_PROFID = lv_c_tcnd_profid
         C_TCND_PROF_FD = lv_c_tcnd_prof_fd
         C_TOPTEXT = lv_c_toptext
         C_TCND_PROF_SR = lv_c_tcnd_prof_sr
         C_TCND_PROF_AG = lv_c_tcnd_prof_ag
         C_TCND_PROF_GP = lv_c_tcnd_prof_gp
         C_TCND_PROF_VGL = lv_c_tcnd_prof_vgl
         C_SLWID = lv_c_slwid
         C_PROFIDPROJ = lv_c_profidproj
         C_PLNAW = lv_c_plnaw
         C_PROFIDNETZ = lv_c_profidnetz
         C_PROFIDBALK = lv_c_profidbalk
         C_PROFIL_ID = lv_c_profil_id
         C_PICKUP_KEY = lv_c_pickup_key
         C_EIS_REPID = lv_c_eis_repid
         C_PS_HIERART = lv_c_ps_hierart
         C_HIERAR = lv_c_hierar
         C_HIERID = lv_c_hierid
         C_HIENM = lv_c_hienm
         C_STUFE_VON = lv_c_stufe_von
         C_STUFE_BIS = lv_c_stufe_bis
         C_CMPOS = lv_c_cmpos
         C_CMART = lv_c_cmart
         C_FLG_EINST = lv_c_flg_einst
         C_PICKUP_FELD = lv_c_pickup_feld
         C_FLG_AUTH = lv_c_flg_auth
         C_FLG_DATEN = lv_c_flg_daten
         C_USERNAME = lv_c_username
         C_CHANGEDATE = lv_c_changedate
         C_CHANGETIME = lv_c_changetime
         C_CURSOR_VOR_MARK = lv_c_cursor_vor_mark
         C_ARNUMMER = lv_c_arnummer
         C_VSNUMMER = lv_c_vsnummer
         C_VSTEXT = lv_c_vstext
         C_VSGRUPPE = lv_c_vsgruppe
    TABLES
         T_RANGE_AUFNR = lt_t_range_aufnr
         T_RANGE_POSID = lt_t_range_posid
         T_RANGE_PSPID = lt_t_range_pspid
    EXCEPTIONS
        CANCEL = 1
. " CNIS_GET_VALUES




ABAP code using 7.40 inline data declarations to call FM CNIS_GET_VALUES

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 TITLETEXT FROM TCNT INTO @DATA(ld_c_titletext).
DATA(ld_c_titletext) = ' '.
 
 
"SELECT single VSMTA FROM VSKOPF INTO @DATA(ld_c_vsmta).
DATA(ld_c_vsmta) = ' '.
 
"SELECT single VSKAT FROM VSKOPF INTO @DATA(ld_i_vskat).
DATA(ld_i_vskat) = ' '.
 
"SELECT single VERSN FROM RPSCO_X INTO @DATA(ld_c_co_vsnummer_1).
DATA(ld_c_co_vsnummer_1) = ' '.
 
DATA(ld_i_flg_co_versionen) = ' '.
 
"SELECT single VERSN FROM RPSCO_X INTO @DATA(ld_c_co_vsnummer_2).
DATA(ld_c_co_vsnummer_2) = ' '.
 
DATA(ld_i_flg_ev_versionen) = ' '.
 
DATA(ld_i_flg_tcnt) = ' '.
 
"SELECT single VERSN_EV FROM EVOP INTO @DATA(ld_c_ev_vsnummer_1).
DATA(ld_c_ev_vsnummer_1) = ' '.
 
DATA(ld_i_flg_tcnu) = ' '.
 
"SELECT single PROFID FROM TCNT INTO @DATA(ld_c_tcnt_profid).
DATA(ld_c_tcnt_profid) = ' '.
 
DATA(ld_i_flg_tcndb) = ' '.
 
"SELECT single PROF_UC FROM TCNT INTO @DATA(ld_c_tcnt_prof_uc).
DATA(ld_c_tcnt_prof_uc) = ' '.
 
DATA(ld_i_flg_tcnds) = ' '.
 
"SELECT single PROF_DB FROM TCNT INTO @DATA(ld_c_tcnt_prof_db).
DATA(ld_c_tcnt_prof_db) = ' '.
 
DATA(ld_i_flg_tcnd) = ' '.
 
"SELECT single DB_VIEW FROM TCNDB INTO @DATA(ld_c_tcndb_db_view).
DATA(ld_c_tcndb_db_view) = ' '.
 
DATA(ld_i_flg_tcnf) = ' '.
 
"SELECT single PROFID FROM TCND INTO @DATA(ld_c_tcnd_profid).
DATA(ld_c_tcnd_profid) = ' '.
 
DATA(ld_i_flg_tcns) = ' '.
 
"SELECT single PROF_FD FROM TCND INTO @DATA(ld_c_tcnd_prof_fd).
DATA(ld_c_tcnd_prof_fd) = ' '.
 
"SELECT single TOPTEXT FROM TCNT INTO @DATA(ld_c_toptext).
DATA(ld_c_toptext) = ' '.
 
"SELECT single TABNAME FROM TCND INTO @DATA(ld_i_tabname).
DATA(ld_i_tabname) = ' '.
 
 
DATA(ld_i_flg_tcna) = ' '.
 
"SELECT single PROF_SR FROM TCND INTO @DATA(ld_c_tcnd_prof_sr).
DATA(ld_c_tcnd_prof_sr) = ' '.
 
DATA(ld_i_flg_tcnp) = ' '.
 
"SELECT single PROF_AG FROM TCND INTO @DATA(ld_c_tcnd_prof_ag).
DATA(ld_c_tcnd_prof_ag) = ' '.
 
DATA(ld_i_flg_tcnvg) = ' '.
 
"SELECT single PROF_GP FROM TCND INTO @DATA(ld_c_tcnd_prof_gp).
DATA(ld_c_tcnd_prof_gp) = ' '.
 
DATA(ld_i_flg_slwid) = ' '.
 
"SELECT single PROF_VGL FROM TCND INTO @DATA(ld_c_tcnd_prof_vgl).
DATA(ld_c_tcnd_prof_vgl) = ' '.
 
"SELECT single SLWID FROM TCN01 INTO @DATA(ld_c_slwid).
DATA(ld_c_slwid) = ' '.
 
DATA(ld_i_flg_profidproj) = ' '.
 
"SELECT single PROFIDPROJ FROM TCJ41 INTO @DATA(ld_c_profidproj).
DATA(ld_c_profidproj) = ' '.
 
DATA(ld_i_flg_profidnetz) = ' '.
 
"SELECT single PLNAW FROM TCN41 INTO @DATA(ld_c_plnaw).
DATA(ld_c_plnaw) = ' '.
 
DATA(ld_i_flg_profidbalk) = ' '.
 
DATA(ld_i_flg_psrlv) = ' '.
 
"SELECT single PROFIDNETZ FROM TCN41 INTO @DATA(ld_c_profidnetz).
DATA(ld_c_profidnetz) = ' '.
 
"SELECT single PROFILE FROM TCBP INTO @DATA(ld_c_profidbalk).
DATA(ld_c_profidbalk) = ' '.
 
DATA(ld_i_flg_profil_id) = ' '.
 
"SELECT single PROFIL_ID FROM TCY10 INTO @DATA(ld_c_profil_id).
DATA(ld_c_profil_id) = ' '.
 
DATA(ld_i_flg_eis_repid) = ' '.
 
DATA(ld_i_flg_call) = ' '.
 
"SELECT single PICKUP_KEY FROM TCNT INTO @DATA(ld_c_pickup_key).
DATA(ld_c_pickup_key) = ' '.
 
 
"SELECT single REPID FROM RKB1D INTO @DATA(ld_c_eis_repid).
DATA(ld_c_eis_repid) = ' '.
 
DATA(ld_i_flg_hierarchie) = ' '.
 
"SELECT single PS_HIERART FROM TCNDS INTO @DATA(ld_c_ps_hierart).
DATA(ld_c_ps_hierart) = ' '.
 
DATA(ld_i_flg_stufen) = ' '.
 
"SELECT single HIERAR FROM TCNDS INTO @DATA(ld_c_hierar).
DATA(ld_c_hierar) = ' '.
 
DATA(ld_i_flg_beschriftung) = ' '.
 
"SELECT single HIERID FROM TCNDS INTO @DATA(ld_c_hierid).
DATA(ld_c_hierid) = ' '.
 
DATA(ld_i_flg_mail) = ' '.
 
"SELECT single HIENM FROM TCNDS INTO @DATA(ld_c_hienm).
DATA(ld_c_hienm) = ' '.
 
DATA(ld_i_flg_change_documents) = ' '.
 
"SELECT single STUFE FROM KKHIE INTO @DATA(ld_c_stufe_von).
DATA(ld_c_stufe_von) = ' '.
 
"SELECT single STUFE FROM KKHIE INTO @DATA(ld_c_stufe_bis).
DATA(ld_c_stufe_bis) = ' '.
 
"SELECT single CMPOS FROM TCBP INTO @DATA(ld_c_cmpos).
DATA(ld_c_cmpos) = ' '.
 
"SELECT single CMART FROM TCBP INTO @DATA(ld_c_cmart).
DATA(ld_c_cmart) = ' '.
 
"SELECT single FLG_EINST FROM CNISFIELDS INTO @DATA(ld_c_flg_einst).
DATA(ld_c_flg_einst) = ' '.
 
"SELECT single PICKUP_FLD FROM TCNT INTO @DATA(ld_c_pickup_feld).
DATA(ld_c_pickup_feld) = ' '.
 
DATA(ld_i_flg_titletext) = ' '.
 
"SELECT single FLG_AUTH FROM CNISFIELDS INTO @DATA(ld_c_flg_auth).
DATA(ld_c_flg_auth) = ' '.
 
"SELECT single FLG_DATEN FROM CNISFIELDS INTO @DATA(ld_c_flg_daten).
DATA(ld_c_flg_daten) = ' '.
 
"SELECT single USERNAME FROM CDHDR INTO @DATA(ld_c_username).
DATA(ld_c_username) = ' '.
 
"SELECT single UDATE FROM CDHDR INTO @DATA(ld_c_changedate).
DATA(ld_c_changedate) = ' '.
 
"SELECT single UTIME FROM CDHDR INTO @DATA(ld_c_changetime).
DATA(ld_c_changetime) = ' '.
 
DATA(ld_i_flg_toptext) = ' '.
 
"SELECT single FLG_CSVRMK FROM TCNT INTO @DATA(ld_c_cursor_vor_mark).
DATA(ld_c_cursor_vor_mark) = ' '.
 
"SELECT single DOCUMENT FROM ADMI_RUN INTO @DATA(ld_c_arnummer).
DATA(ld_c_arnummer) = ' '.
 
DATA(ld_i_flg_pickup) = ' '.
 
"SELECT single VSNMR FROM VSKOPF INTO @DATA(ld_c_vsnummer).
DATA(ld_c_vsnummer) = ' '.
 
DATA(ld_i_flg_arnummer) = ' '.
 
"SELECT single VSTEXT FROM VSKOPF INTO @DATA(ld_c_vstext).
DATA(ld_c_vstext) = ' '.
 
DATA(ld_i_flg_vsnummer) = ' '.
 
"SELECT single VSGRUPPE FROM VSKOPF INTO @DATA(ld_c_vsgruppe).
DATA(ld_c_vsgruppe) = ' '.
 
DATA(ld_i_flg_version) = ' '.
 


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!