CNIS_GET_PROFIDS 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_PROFIDS 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_PROFIDS' "
* EXPORTING
* i_flg_tcnt = SPACE " xfeld Flag, Display PS Info profile
* i_flg_tcnu = SPACE " xfeld Flag, Datenbankprofil anzeigen
* i_flg_tcndb = SPACE " xfeld Flag, Display database profile
* i_flg_tcnds = SPACE " xfeld Flag, Datenbankprofil anzeigen
* i_flg_tcns = SPACE " xfeld Flag, Display sort criteria profile
* i_flg_tcneg = SPACE " xfeld
* i_flg_tcna = SPACE " xfeld Flag, Profil: Verdichtungskriterien anzeigen
* i_flg_tcnp = SPACE " xfeld Flag, Display grouping criteria profile
* i_flg_tcnvg = SPACE " xfeld Flag, Profil: Vergleichskriterien Filter anzeig.
* i_flg_tcnvg1 = SPACE " xfeld Flag, Profil: Vergleichskriterien Hervorhebung 1
* i_flg_tcnvg2 = SPACE " xfeld Flag, Profil: Vergleichskriterien Hervorhebung 2
IMPORTING
e_flg_save_tcnt = " xfeld Flag, Retrieve overall profile
e_flg_save_tcnu = " xfeld Flag, Einheitenumrechnungprofil holen
e_flg_save_tcndb = " xfeld Flag, Retrieve database profile
e_flg_save_tcnds = " xfeld Flag: retrieve database view profile
e_flg_save_tcnd = " xfeld Flag, Retrieve overview profile
e_flg_save_tcnf = " xfeld Flag, Profile: Retrieve displayed fields
e_flg_save_tcneg = " xfeld
e_flg_save_tcns = " xfeld Flag, profile: Retrieve sorting criteria
e_flg_save_tcna = " xfeld Flag, Profil: Verdichtungskriterien hole
e_flg_save_tcnp = " xfeld Flag, Profile: Retrieve grouping criteria
e_flg_save_tcnvg = " xfeld Flag, Profil: Vergleichskriterien Filter holen
e_flg_save_tcnvg1 = " xfeld Flag, Profil: Vergleichskriterien Hervorhebung 1
e_flg_save_tcnvg2 = " xfeld Flag, Profil: Vergleichskriterien Hervorhebung 2
* CHANGING
* c_tcnt = " tcnt PS Info Profile
* c_tcnu = " tcnu Einheitenumrechnungprofil
* c_tcndb = " tcndb Database profile
* c_tcnds = " tcnds Database view profile
* c_tcnd = " tcnd Settings profile
* c_tcnf = " tcnf Profile: Displayed fields
* c_tcneg = " tcneg
* c_tcns = " tcns Profile: Sort criteria
* c_tcna = " tcna Profil: Verdichtungskriterien
* c_tcnp = " tcnp Profile: Grouping criteria
* c_tcnvg = " tcnvg Profil: Vergleichskriterien Filter
* c_tcnvg1 = " tcnvg Profil: Vergleichskriterien Hervorhebung 1
* c_tcnvg2 = " tcnvg Profil: Vergleichskriterien Hervorhebung 2
* c_tcntt = " tcntt Texts for overall profile
* c_tcnut = " tcnut Texte zum Einheitenumrechnungprofil
* c_tcndbt = " tcndbt Texts for database profile
* c_tcndst = " tcndst Texts for database view profile
* c_tcndt = " tcndt Texts for settings profile
* c_tcnft = " tcnft Texts for profile: Displayed fields
* c_tcnegt = " tcnegt
* c_tcnst = " tcnst Texts for profile: Sort criteria
* c_tcnat = " tcnat Texte zum Profil: Verdichtungskriterien
* c_tcnpt = " tcnpt Texts for profile: Grouping criteria
* c_tcnvgt = " tcnvgt Texte zum Profil: Vergleichskriterien Filter
* c_tcnvg1t = " tcnvgt Texte zum Profil: Vergleichskriterien Hervorh. 1
* c_tcnvg2t = " tcnvgt Texte zum Profil: Vergleichskriterien Hervorh. 2
EXCEPTIONS
CANCEL = 1 " Cancel
. " CNIS_GET_PROFIDS
The ABAP code below is a full code listing to execute function module CNIS_GET_PROFIDS 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_save_tcnt | TYPE XFELD , |
| ld_e_flg_save_tcnu | TYPE XFELD , |
| ld_e_flg_save_tcndb | TYPE XFELD , |
| ld_e_flg_save_tcnds | TYPE XFELD , |
| ld_e_flg_save_tcnd | TYPE XFELD , |
| ld_e_flg_save_tcnf | TYPE XFELD , |
| ld_e_flg_save_tcneg | TYPE XFELD , |
| ld_e_flg_save_tcns | TYPE XFELD , |
| ld_e_flg_save_tcna | TYPE XFELD , |
| ld_e_flg_save_tcnp | TYPE XFELD , |
| ld_e_flg_save_tcnvg | TYPE XFELD , |
| ld_e_flg_save_tcnvg1 | TYPE XFELD , |
| ld_e_flg_save_tcnvg2 | TYPE XFELD . |
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:
| ld_c_tcnt | TYPE TCNT , |
| ld_e_flg_save_tcnt | TYPE XFELD , |
| ld_i_flg_tcnt | TYPE XFELD , |
| ld_c_tcnu | TYPE TCNU , |
| ld_e_flg_save_tcnu | TYPE XFELD , |
| ld_i_flg_tcnu | TYPE XFELD , |
| ld_c_tcndb | TYPE TCNDB , |
| ld_e_flg_save_tcndb | TYPE XFELD , |
| ld_i_flg_tcndb | TYPE XFELD , |
| ld_c_tcnds | TYPE TCNDS , |
| ld_e_flg_save_tcnds | TYPE XFELD , |
| ld_i_flg_tcnds | TYPE XFELD , |
| ld_e_flg_save_tcnd | TYPE XFELD , |
| ld_i_flg_tcns | TYPE XFELD , |
| ld_c_tcnd | TYPE TCND , |
| ld_i_flg_tcneg | TYPE XFELD , |
| ld_c_tcnf | TYPE TCNF , |
| ld_e_flg_save_tcnf | TYPE XFELD , |
| ld_i_flg_tcna | TYPE XFELD , |
| ld_e_flg_save_tcneg | TYPE XFELD , |
| ld_c_tcneg | TYPE TCNEG , |
| ld_i_flg_tcnp | TYPE XFELD , |
| ld_e_flg_save_tcns | TYPE XFELD , |
| ld_c_tcns | TYPE TCNS , |
| ld_i_flg_tcnvg | TYPE XFELD , |
| ld_e_flg_save_tcna | TYPE XFELD , |
| ld_c_tcna | TYPE TCNA , |
| ld_i_flg_tcnvg1 | TYPE XFELD , |
| ld_e_flg_save_tcnp | TYPE XFELD , |
| ld_c_tcnp | TYPE TCNP , |
| ld_e_flg_save_tcnvg | TYPE XFELD , |
| ld_i_flg_tcnvg2 | TYPE XFELD , |
| ld_c_tcnvg | TYPE TCNVG , |
| ld_e_flg_save_tcnvg1 | TYPE XFELD , |
| ld_c_tcnvg1 | TYPE TCNVG , |
| ld_e_flg_save_tcnvg2 | TYPE XFELD , |
| ld_c_tcnvg2 | TYPE TCNVG , |
| ld_c_tcntt | TYPE TCNTT , |
| ld_c_tcnut | TYPE TCNUT , |
| ld_c_tcndbt | TYPE TCNDBT , |
| ld_c_tcndst | TYPE TCNDST , |
| ld_c_tcndt | TYPE TCNDT , |
| ld_c_tcnft | TYPE TCNFT , |
| ld_c_tcnegt | TYPE TCNEGT , |
| ld_c_tcnst | TYPE TCNST , |
| ld_c_tcnat | TYPE TCNAT , |
| ld_c_tcnpt | TYPE TCNPT , |
| ld_c_tcnvgt | TYPE TCNVGT , |
| ld_c_tcnvg1t | TYPE TCNVGT , |
| ld_c_tcnvg2t | TYPE TCNVGT . |
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_PROFIDS or its description.