BAPI_RE_NA_GET_DETAIL 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 BAPI_RE_NA_GET_DETAIL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RELM_BAPI_NOTICE_ASSMNT
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_RE_NA_GET_DETAIL' "
EXPORTING
noticeassessmentnumber = " bapi_re_note_assmnt_key-notice_assessment_number
* detail_data_from = RECA0_DATE-MIN " bapi_re_additional_fields-detail_valid_from
* detail_data_to = RECA0_DATE-MAX " bapi_re_additional_fields-detail_valid_to
IMPORTING
notice_assessment = " bapi_re_note_assmnt
* TABLES
* na_value = " bapi_re_na_value
* partner = " bapi_re_partner
* obj_assign = " bapi_re_obj_assign
* text = " bapi_re_text
* resubm_rule = " bapi_re_resubm_rule
* resubm_date = " bapi_re_resubm_date
* status = " bapi_re_status
* extension_out = " bapiparex
* return = " bapiret2
. " BAPI_RE_NA_GET_DETAIL
The ABAP code below is a full code listing to execute function module BAPI_RE_NA_GET_DETAIL 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_notice_assessment | TYPE BAPI_RE_NOTE_ASSMNT , |
| it_na_value | TYPE STANDARD TABLE OF BAPI_RE_NA_VALUE,"TABLES PARAM |
| wa_na_value | LIKE LINE OF it_na_value , |
| it_partner | TYPE STANDARD TABLE OF BAPI_RE_PARTNER,"TABLES PARAM |
| wa_partner | LIKE LINE OF it_partner , |
| it_obj_assign | TYPE STANDARD TABLE OF BAPI_RE_OBJ_ASSIGN,"TABLES PARAM |
| wa_obj_assign | LIKE LINE OF it_obj_assign , |
| it_text | TYPE STANDARD TABLE OF BAPI_RE_TEXT,"TABLES PARAM |
| wa_text | LIKE LINE OF it_text , |
| it_resubm_rule | TYPE STANDARD TABLE OF BAPI_RE_RESUBM_RULE,"TABLES PARAM |
| wa_resubm_rule | LIKE LINE OF it_resubm_rule , |
| it_resubm_date | TYPE STANDARD TABLE OF BAPI_RE_RESUBM_DATE,"TABLES PARAM |
| wa_resubm_date | LIKE LINE OF it_resubm_date , |
| it_status | TYPE STANDARD TABLE OF BAPI_RE_STATUS,"TABLES PARAM |
| wa_status | LIKE LINE OF it_status , |
| it_extension_out | TYPE STANDARD TABLE OF BAPIPAREX,"TABLES PARAM |
| wa_extension_out | LIKE LINE OF it_extension_out , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
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_notice_assessment | TYPE BAPI_RE_NOTE_ASSMNT , |
| ld_noticeassessmentnumber | TYPE BAPI_RE_NOTE_ASSMNT_KEY-NOTICE_ASSESSMENT_NUMBER , |
| it_na_value | TYPE STANDARD TABLE OF BAPI_RE_NA_VALUE , |
| wa_na_value | LIKE LINE OF it_na_value, |
| ld_detail_data_from | TYPE BAPI_RE_ADDITIONAL_FIELDS-DETAIL_VALID_FROM , |
| it_partner | TYPE STANDARD TABLE OF BAPI_RE_PARTNER , |
| wa_partner | LIKE LINE OF it_partner, |
| ld_detail_data_to | TYPE BAPI_RE_ADDITIONAL_FIELDS-DETAIL_VALID_TO , |
| it_obj_assign | TYPE STANDARD TABLE OF BAPI_RE_OBJ_ASSIGN , |
| wa_obj_assign | LIKE LINE OF it_obj_assign, |
| it_text | TYPE STANDARD TABLE OF BAPI_RE_TEXT , |
| wa_text | LIKE LINE OF it_text, |
| it_resubm_rule | TYPE STANDARD TABLE OF BAPI_RE_RESUBM_RULE , |
| wa_resubm_rule | LIKE LINE OF it_resubm_rule, |
| it_resubm_date | TYPE STANDARD TABLE OF BAPI_RE_RESUBM_DATE , |
| wa_resubm_date | LIKE LINE OF it_resubm_date, |
| it_status | TYPE STANDARD TABLE OF BAPI_RE_STATUS , |
| wa_status | LIKE LINE OF it_status, |
| it_extension_out | TYPE STANDARD TABLE OF BAPIPAREX , |
| wa_extension_out | LIKE LINE OF it_extension_out, |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return. |
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 BAPI_RE_NA_GET_DETAIL or its description.