API_RE_NA_CREATE 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 API_RE_NA_CREATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RELM_API_NOTICE_ASSMNT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'API_RE_NA_CREATE' "Create Notice of Assessment
EXPORTING
is_notice_assessment = " bapi_re_note_assmnt_int Notice of Assessment - Internal
* it_na_value = " bapi_re_t_na_value_int Annual Value - Internal
* it_text = " bapi_re_t_text_int Texts/Memos - Internal
* it_partner = " bapi_re_t_partner_int Partner
* it_obj_assign = " bapi_re_t_obj_assign_int Object Assignment
* it_resubm_rule = " bapi_re_t_resubm_rule_int Reminder Rules
* it_status = " bapi_re_t_status_int Status
* is_ci_data = " relm_notice_assessment_ci Data of CI Include
* it_ext_data = " re_t_ext_data Enhancements: Data
* id_trans = " bapi_re_additional_fields-trans Business Transaction
* if_test_run = ' ' " bapi_re_additional_fields-testrun Simulation Mode
* if_msglist_instead_of_exc = ' ' " recabool
* io_msglist = " object
IMPORTING
ed_nano = " bapi_re_note_assmnt_intk-nano Number of Notice of Assessment
ef_stored = " recabool Data has been changed
EXCEPTIONS
ERROR = 1 " Error During Creation
. " API_RE_NA_CREATE
The ABAP code below is a full code listing to execute function module API_RE_NA_CREATE 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_ed_nano | TYPE BAPI_RE_NOTE_ASSMNT_INTK-NANO , |
| ld_ef_stored | TYPE RECABOOL . |
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_ed_nano | TYPE BAPI_RE_NOTE_ASSMNT_INTK-NANO , |
| ld_is_notice_assessment | TYPE BAPI_RE_NOTE_ASSMNT_INT , |
| ld_ef_stored | TYPE RECABOOL , |
| ld_it_na_value | TYPE BAPI_RE_T_NA_VALUE_INT , |
| ld_it_text | TYPE BAPI_RE_T_TEXT_INT , |
| ld_it_partner | TYPE BAPI_RE_T_PARTNER_INT , |
| ld_it_obj_assign | TYPE BAPI_RE_T_OBJ_ASSIGN_INT , |
| ld_it_resubm_rule | TYPE BAPI_RE_T_RESUBM_RULE_INT , |
| ld_it_status | TYPE BAPI_RE_T_STATUS_INT , |
| ld_is_ci_data | TYPE RELM_NOTICE_ASSESSMENT_CI , |
| ld_it_ext_data | TYPE RE_T_EXT_DATA , |
| ld_id_trans | TYPE BAPI_RE_ADDITIONAL_FIELDS-TRANS , |
| ld_if_test_run | TYPE BAPI_RE_ADDITIONAL_FIELDS-TESTRUN , |
| ld_if_msglist_instead_of_exc | TYPE RECABOOL , |
| ld_io_msglist | TYPE OBJECT . |
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 API_RE_NA_CREATE or its description.