CNV_10020_ITR_PROPOSAL 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 CNV_10020_ITR_PROPOSAL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CNV_10020_DETERMINATION
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CNV_10020_ITR_PROPOSAL' "Proposals for evaluation rule and parameter assignm. to non-transp. fields
EXPORTING
* i_mandt = SY-MANDT " cnv_10020_rcomp-mandt Client
i_packid = " cnv_10020_rcomp-packid Package number
* i_tabname = " cnv_10020_rcomp-tabname Table name
* i_fieldname = " cnv_10020_rcomp-fieldname Field name
* i_compname = " cnv_10020_rcomp-compname Component name
* i_relid = SY-SAPRL " cnv_10020_rcomp-relid Release
* i_packid_src = '10020' " cnv_10020_refobj-pkg_src
* i_use_distance = 'X' " cnv_10020_refobj-xfeld
* i_mass = SPACE " cnv_10020_refobj-xfeld Indicator for multiple proposals
* i_only_rules = SPACE " cnv_10020_refobj-xfeld Indicator to only get all suitable rules
* i_rule_prop_mode = 'S' " cnv_10020_refobj-rule_prop_mode Rule suggestion mode
* i_rulename = " cnv_10020_rcomp-rulename Required rule name
IMPORTING
e_packid_src = " cnv_10020_refobj-pkg_src Source package number
e_rule_hit = " cnv_10020_refobj-xfeld Indicator for RDTOBJ record available for rule I_RULENAME
* TABLES
* et_rcomp = " cnv_10020_rcomp Assignment of rules to non-transp. field components
* et_rcparm = " cnv_10020_rcparm Parameters of rules assigned to components
* et_rules = " cnv_10020_rules_f4 Rules for F4-help
* it_dd03l = " dd03l internal use: for checkman checks
. " CNV_10020_ITR_PROPOSAL
The ABAP code below is a full code listing to execute function module CNV_10020_ITR_PROPOSAL 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_packid_src | TYPE CNV_10020_REFOBJ-PKG_SRC , |
| ld_e_rule_hit | TYPE CNV_10020_REFOBJ-XFELD , |
| it_et_rcomp | TYPE STANDARD TABLE OF CNV_10020_RCOMP,"TABLES PARAM |
| wa_et_rcomp | LIKE LINE OF it_et_rcomp , |
| it_et_rcparm | TYPE STANDARD TABLE OF CNV_10020_RCPARM,"TABLES PARAM |
| wa_et_rcparm | LIKE LINE OF it_et_rcparm , |
| it_et_rules | TYPE STANDARD TABLE OF CNV_10020_RULES_F4,"TABLES PARAM |
| wa_et_rules | LIKE LINE OF it_et_rules , |
| it_it_dd03l | TYPE STANDARD TABLE OF DD03L,"TABLES PARAM |
| wa_it_dd03l | LIKE LINE OF it_it_dd03l . |
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_e_packid_src | TYPE CNV_10020_REFOBJ-PKG_SRC , |
| ld_i_mandt | TYPE CNV_10020_RCOMP-MANDT , |
| it_et_rcomp | TYPE STANDARD TABLE OF CNV_10020_RCOMP , |
| wa_et_rcomp | LIKE LINE OF it_et_rcomp, |
| ld_e_rule_hit | TYPE CNV_10020_REFOBJ-XFELD , |
| ld_i_packid | TYPE CNV_10020_RCOMP-PACKID , |
| it_et_rcparm | TYPE STANDARD TABLE OF CNV_10020_RCPARM , |
| wa_et_rcparm | LIKE LINE OF it_et_rcparm, |
| ld_i_tabname | TYPE CNV_10020_RCOMP-TABNAME , |
| it_et_rules | TYPE STANDARD TABLE OF CNV_10020_RULES_F4 , |
| wa_et_rules | LIKE LINE OF it_et_rules, |
| ld_i_fieldname | TYPE CNV_10020_RCOMP-FIELDNAME , |
| it_it_dd03l | TYPE STANDARD TABLE OF DD03L , |
| wa_it_dd03l | LIKE LINE OF it_it_dd03l, |
| ld_i_compname | TYPE CNV_10020_RCOMP-COMPNAME , |
| ld_i_relid | TYPE CNV_10020_RCOMP-RELID , |
| ld_i_packid_src | TYPE CNV_10020_REFOBJ-PKG_SRC , |
| ld_i_use_distance | TYPE CNV_10020_REFOBJ-XFELD , |
| ld_i_mass | TYPE CNV_10020_REFOBJ-XFELD , |
| ld_i_only_rules | TYPE CNV_10020_REFOBJ-XFELD , |
| ld_i_rule_prop_mode | TYPE CNV_10020_REFOBJ-RULE_PROP_MODE , |
| ld_i_rulename | TYPE CNV_10020_RCOMP-RULENAME . |
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 CNV_10020_ITR_PROPOSAL or its description.