CNIS_GET_VALUES is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CNIS_GET_VALUES into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CNIS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CNIS_GET_VALUES' "
EXPORTING
i_titlebar = " clike Text for title
* i_tabname = SPACE " tcnd-tabname Name of the reporting structure
* i_flg_call = SPACE " xfeld Flag: display function key for "Execute"
* i_flg_titletext = SPACE " xfeld Flag, Display text module for title
* i_flg_toptext = SPACE " xfeld Flag, Display text module for header
* i_flg_pickup = SPACE " xfeld Flag, Display pickup fields
* i_flg_arnummer = SPACE " xfeld Flag: display archive number
* i_flg_vsnummer = SPACE " xfeld Flag, Display version number
* i_flg_version = SPACE " xfeld Flag, Display more version fields
* i_vskat = SPACE " vskopf-vskat Flag, Simulationsversion
* i_flg_co_versionen = SPACE " xfeld Flag, Display plan versions
* i_flg_ev_versionen = SPACE " xfeld Flag, EV-Planversionen anzeigen
* i_flg_tcnt = SPACE " xfeld Flag, Display PS Info profile
* i_flg_tcnu = SPACE " xfeld Flag, Einheitenumrechnungsprofil anzeigen
* i_flg_tcndb = SPACE " xfeld Flag, Display database profile
* i_flg_tcnds = SPACE " xfeld Flag, Display hierarchy profile
* i_flg_tcnd = SPACE " xfeld Flag, Display overview profile
* i_flg_tcnf = SPACE " xfeld Flag, Display field profile
* i_flg_tcns = SPACE " xfeld Flag, Display sort criteria profile
* i_flg_tcna = SPACE " xfeld Flag, Verdichtungskriterienprofil anzeigen
* i_flg_tcnp = SPACE " xfeld Flag, Display grouping criteria profile
* i_flg_tcnvg = SPACE " xfeld Flag, Vergleichskriterienprofil anzeigen
* i_flg_slwid = SPACE " xfeld Flag: display key work ID for user-defined fields
* i_flg_profidproj = SPACE " xfeld Flag: display project hierarchy graphic profile
* i_flg_profidnetz = SPACE " xfeld Flag: display network graphic profile
* i_flg_profidbalk = SPACE " xfeld Flag: display Gantt chart profile
* i_flg_psrlv = SPACE " xfeld Flag: display cost plan version
* i_flg_profil_id = SPACE " xfeld Flag: display overall profile for capacity reporting
* i_flg_eis_repid = SPACE " xfeld Flag: display EIS report name
* i_flg_hierarchie = SPACE " xfeld Flag: display fields for hierarchy selection
* i_flg_stufen = SPACE " xfeld Flag: display hierarchy levels (WBS elements)
* i_flg_beschriftung = SPACE " xfeld Flag: display bar text parameters
* i_flg_mail = SPACE " xfeld Flag: display flags for mail transfer
* i_flg_change_documents = SPACE " xfeld Flag: display parameters for change documents
IMPORTING
e_flg_call = " xfeld Flag: "Execute" selected
* TABLES
* t_range_aufnr = " standard table Range for networks
* t_range_posid = " standard table Range for WBS elements
* t_range_pspid = " standard table Range for project definitions
* CHANGING
* c_titletext = SPACE " tcnt-titletext Text for title
* c_toptext = SPACE " tcnt-toptext Text module for header
* c_pickup_key = SPACE " tcnt-pickup_key Action during pickup on key column
* c_pickup_feld = SPACE " tcnt-pickup_fld Action with pickup on field column
* c_cursor_vor_mark = SPACE " tcnt-flg_csvrmk Flag, Cursor has higher priority than select
* c_arnummer = SPACE " admi_run-document Archive number
* c_vsnummer = SPACE " vskopf-vsnmr Version number
* c_vstext = SPACE " vskopf-vstext Text for version number
* c_vsgruppe = SPACE " vskopf-vsgruppe Version group
* c_vsmta = SPACE " vskopf-vsmta Flag, relevant für Meilensteintrendanalyse
* c_co_vsnummer_1 = SPACE " rpsco_x-versn Number of the 1st plan version
* c_co_vsnummer_2 = SPACE " rpsco_x-versn Number of the 2nd plan version
* c_ev_vsnummer_1 = SPACE " evop-versn_ev Nummer der 1. EV-Planversion
* c_tcnt_profid = SPACE " tcnt-profid PS Info Profile
* c_tcnt_prof_uc = SPACE " tcnt-prof_uc Einheitenumrechnungsprofil
* c_tcnt_prof_db = SPACE " tcnt-prof_db Database profile
* c_tcndb_db_view = SPACE " tcndb-db_view Hierarchy profile
* c_tcnd_profid = SPACE " tcnd-profid Overview profile
* c_tcnd_prof_fd = SPACE " tcnd-prof_fd Field profile
* c_tcnd_prof_sr = SPACE " tcnd-prof_sr Sort criteria profile
* c_tcnd_prof_ag = SPACE " tcnd-prof_ag Verdichtungskriterienprofil
* c_tcnd_prof_gp = SPACE " tcnd-prof_gp Grouping criteria profile
* c_tcnd_prof_vgl = SPACE " tcnd-prof_vgl Vergleichskriterienprofil
* c_slwid = SPACE " tcn01-slwid Key word ID
* c_profidproj = SPACE " tcj41-profidproj Project hierarchy graphic profile
* c_plnaw = SPACE " tcn41-plnaw Task list usage
* c_profidnetz = SPACE " tcn41-profidnetz Network graphic profile
* c_profidbalk = SPACE " tcbp-profile Gantt chart profile
* c_profil_id = SPACE " tcy10-profil_id Overall profile of capacity planning
* c_eis_repid = SPACE " rkb1d-repid EIS report name
* c_ps_hierart = SPACE " tcnds-ps_hierart Hierarchy type of structure view for project info
* c_hierar = SPACE " tcnds-hierar Hierarchy type / costing
* c_hierid = SPACE " tcnds-hierid Hierarchy ID / costing
* c_hienm = SPACE " tcnds-hienm Set name
* c_stufe_von = SPACE " kkhie-stufe Hierarchy level from
* c_stufe_bis = SPACE " kkhie-stufe Hierarchy level to
* c_cmpos = SPACE " tcbp-cmpos Text position on time bar
* c_cmart = SPACE " tcbp-cmart Text or date on the time bar
* c_flg_einst = SPACE " cnisfields-flg_einst Flag: send mail with settings
* c_flg_auth = SPACE " cnisfields-flg_auth Flag: send mail with authorizations
* c_flg_daten = SPACE " cnisfields-flg_daten Flag: send mail with selected data
* c_username = SPACE " cdhdr-username User name
* c_changedate = SPACE " cdhdr-udate Change date
* c_changetime = SPACE " cdhdr-utime Changed at
EXCEPTIONS
CANCEL = 1 " Cancel
. " CNIS_GET_VALUES
The ABAP code below is a full code listing to execute function module CNIS_GET_VALUES including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_flg_call | TYPE XFELD , |
| it_t_range_aufnr | TYPE STANDARD TABLE OF STANDARD TABLE,"TABLES PARAM |
| wa_t_range_aufnr | LIKE LINE OF it_t_range_aufnr , |
| it_t_range_posid | TYPE STANDARD TABLE OF STANDARD TABLE,"TABLES PARAM |
| wa_t_range_posid | LIKE LINE OF it_t_range_posid , |
| it_t_range_pspid | TYPE STANDARD TABLE OF STANDARD TABLE,"TABLES PARAM |
| wa_t_range_pspid | LIKE LINE OF it_t_range_pspid . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| it_t_range_aufnr | TYPE STANDARD TABLE OF STANDARD TABLE , |
| wa_t_range_aufnr | LIKE LINE OF it_t_range_aufnr, |
| ld_e_flg_call | TYPE XFELD , |
| ld_i_titlebar | TYPE CLIKE , |
| ld_c_titletext | TYPE TCNT-TITLETEXT , |
| ld_c_toptext | TYPE TCNT-TOPTEXT , |
| it_t_range_posid | TYPE STANDARD TABLE OF STANDARD TABLE , |
| wa_t_range_posid | LIKE LINE OF it_t_range_posid, |
| ld_i_tabname | TYPE TCND-TABNAME , |
| ld_i_flg_call | TYPE XFELD , |
| it_t_range_pspid | TYPE STANDARD TABLE OF STANDARD TABLE , |
| wa_t_range_pspid | LIKE LINE OF it_t_range_pspid, |
| ld_c_pickup_key | TYPE TCNT-PICKUP_KEY , |
| ld_i_flg_titletext | TYPE XFELD , |
| ld_c_pickup_feld | TYPE TCNT-PICKUP_FLD , |
| ld_i_flg_toptext | TYPE XFELD , |
| ld_c_cursor_vor_mark | TYPE TCNT-FLG_CSVRMK , |
| ld_c_arnummer | TYPE ADMI_RUN-DOCUMENT , |
| ld_i_flg_pickup | TYPE XFELD , |
| ld_c_vsnummer | TYPE VSKOPF-VSNMR , |
| ld_i_flg_arnummer | TYPE XFELD , |
| ld_c_vstext | TYPE VSKOPF-VSTEXT , |
| ld_i_flg_vsnummer | TYPE XFELD , |
| ld_c_vsgruppe | TYPE VSKOPF-VSGRUPPE , |
| ld_i_flg_version | TYPE XFELD , |
| ld_c_vsmta | TYPE VSKOPF-VSMTA , |
| ld_i_vskat | TYPE VSKOPF-VSKAT , |
| ld_c_co_vsnummer_1 | TYPE RPSCO_X-VERSN , |
| ld_i_flg_co_versionen | TYPE XFELD , |
| ld_i_flg_ev_versionen | TYPE XFELD , |
| ld_c_co_vsnummer_2 | TYPE RPSCO_X-VERSN , |
| ld_c_ev_vsnummer_1 | TYPE EVOP-VERSN_EV , |
| ld_i_flg_tcnt | TYPE XFELD , |
| ld_c_tcnt_profid | TYPE TCNT-PROFID , |
| ld_i_flg_tcnu | TYPE XFELD , |
| ld_c_tcnt_prof_uc | TYPE TCNT-PROF_UC , |
| ld_i_flg_tcndb | TYPE XFELD , |
| ld_i_flg_tcnds | TYPE XFELD , |
| ld_c_tcnt_prof_db | TYPE TCNT-PROF_DB , |
| ld_i_flg_tcnd | TYPE XFELD , |
| ld_c_tcndb_db_view | TYPE TCNDB-DB_VIEW , |
| ld_i_flg_tcnf | TYPE XFELD , |
| ld_c_tcnd_profid | TYPE TCND-PROFID , |
| ld_i_flg_tcns | TYPE XFELD , |
| ld_c_tcnd_prof_fd | TYPE TCND-PROF_FD , |
| ld_i_flg_tcna | TYPE XFELD , |
| ld_c_tcnd_prof_sr | TYPE TCND-PROF_SR , |
| ld_i_flg_tcnp | TYPE XFELD , |
| ld_c_tcnd_prof_ag | TYPE TCND-PROF_AG , |
| ld_i_flg_tcnvg | TYPE XFELD , |
| ld_c_tcnd_prof_gp | TYPE TCND-PROF_GP , |
| ld_i_flg_slwid | TYPE XFELD , |
| ld_c_tcnd_prof_vgl | TYPE TCND-PROF_VGL , |
| ld_i_flg_profidproj | TYPE XFELD , |
| ld_c_slwid | TYPE TCN01-SLWID , |
| ld_i_flg_profidnetz | TYPE XFELD , |
| ld_c_profidproj | TYPE TCJ41-PROFIDPROJ , |
| ld_i_flg_profidbalk | TYPE XFELD , |
| ld_c_plnaw | TYPE TCN41-PLNAW , |
| ld_i_flg_psrlv | TYPE XFELD , |
| ld_c_profidnetz | TYPE TCN41-PROFIDNETZ , |
| ld_i_flg_profil_id | TYPE XFELD , |
| ld_c_profidbalk | TYPE TCBP-PROFILE , |
| ld_i_flg_eis_repid | TYPE XFELD , |
| ld_c_profil_id | TYPE TCY10-PROFIL_ID , |
| ld_i_flg_hierarchie | TYPE XFELD , |
| ld_c_eis_repid | TYPE RKB1D-REPID , |
| ld_i_flg_stufen | TYPE XFELD , |
| ld_c_ps_hierart | TYPE TCNDS-PS_HIERART , |
| ld_i_flg_beschriftung | TYPE XFELD , |
| ld_c_hierar | TYPE TCNDS-HIERAR , |
| ld_i_flg_mail | TYPE XFELD , |
| ld_c_hierid | TYPE TCNDS-HIERID , |
| ld_i_flg_change_documents | TYPE XFELD , |
| ld_c_hienm | TYPE TCNDS-HIENM , |
| ld_c_stufe_von | TYPE KKHIE-STUFE , |
| ld_c_stufe_bis | TYPE KKHIE-STUFE , |
| ld_c_cmpos | TYPE TCBP-CMPOS , |
| ld_c_cmart | TYPE TCBP-CMART , |
| ld_c_flg_einst | TYPE CNISFIELDS-FLG_EINST , |
| ld_c_flg_auth | TYPE CNISFIELDS-FLG_AUTH , |
| ld_c_flg_daten | TYPE CNISFIELDS-FLG_DATEN , |
| ld_c_username | TYPE CDHDR-USERNAME , |
| ld_c_changedate | TYPE CDHDR-UDATE , |
| ld_c_changetime | TYPE CDHDR-UTIME . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CNIS_GET_VALUES or its description.