SAP NOR3_REQUISITION_CREATE Function Module for
NOR3_REQUISITION_CREATE is a standard nor3 requisition create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for nor3 requisition create FM, simply by entering the name NOR3_REQUISITION_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: BBP_BD_DRIVER_NOR3
Program Name: SAPLBBP_BD_DRIVER_NOR3
Main Program: SAPLBBP_BD_DRIVER_NOR3
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function NOR3_REQUISITION_CREATE pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'NOR3_REQUISITION_CREATE'".
EXPORTING
* SKIP_ITEMS_WITH_ERROR = "
* LOGICAL_SYSTEM = "
* CUF_HEADER = "Customer Fields für Header
* IT_ATTACH_BE = "KW-Anlagen inkl. Dokument
IMPORTING
NUMBER = "
TABLES
REQUISITION_ITEMS = "Übergabestruktur Anlegen Banf - Position + ECI
* REQUISITION_ADDRDELIVERY = "Banfposition: Adressenstruktur für Anlieferadresse
* CUF_ITEM = "Customer Fields für Item
* CUF_ACC = "Customer Fields für Accounting
* CONTROL_RECORD = "
* REQUISITION_ACCOUNT_ASSIGNMENT = "
* REQUISITION_ITEM_TEXT = "BAPI Bestellanforderung: Positionstext
* REQUISITION_LIMITS = "Kommunikationsstruktur Limits
* REQUISITION_CONTRACT_LIMITS = "Kommunikationsstruktur Kontraktlimits
* REQUISITION_SERVICES = "Kommunikationsstruktur Anlegen Leistungszeile
* REQUISITION_SRV_ACCASS_VALUES = "Komm.struktur Anlege Kontierungsverteilung Leistungszeile
* RETURN = "
* REQUISITION_SERVICES_TEXT = "BAPI Leistungen Langtext
IMPORTING Parameters details for NOR3_REQUISITION_CREATE
SKIP_ITEMS_WITH_ERROR -
Data type: BAPIMMPARA-SELECTIONOptional: Yes
Call by Reference: No ( called with pass by value option)
LOGICAL_SYSTEM -
Data type: BBP_BACKEND_DEST-LOG_SYSOptional: Yes
Call by Reference: No ( called with pass by value option)
CUF_HEADER - Customer Fields für Header
Data type: BBPS_CUF_HEADEROptional: Yes
Call by Reference: No ( called with pass by value option)
IT_ATTACH_BE - KW-Anlagen inkl. Dokument
Data type: BBPT_PD_ATTACH_BEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for NOR3_REQUISITION_CREATE
NUMBER -
Data type: BAPIEBANC-PREQ_NOOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for NOR3_REQUISITION_CREATE
REQUISITION_ITEMS - Übergabestruktur Anlegen Banf - Position + ECI
Data type: BAPIEBANC_ECIOptional: No
Call by Reference: Yes
REQUISITION_ADDRDELIVERY - Banfposition: Adressenstruktur für Anlieferadresse
Data type: BBPS_RQADDRDELIVERY_46Optional: Yes
Call by Reference: Yes
CUF_ITEM - Customer Fields für Item
Data type: BBPS_CUF_ITEMOptional: Yes
Call by Reference: Yes
CUF_ACC - Customer Fields für Accounting
Data type: BBPS_CUF_ACCOptional: Yes
Call by Reference: Yes
CONTROL_RECORD -
Data type: BBP_CONTROL_RECORDOptional: Yes
Call by Reference: No ( called with pass by value option)
REQUISITION_ACCOUNT_ASSIGNMENT -
Data type: BAPIEBKNOptional: Yes
Call by Reference: No ( called with pass by value option)
REQUISITION_ITEM_TEXT - BAPI Bestellanforderung: Positionstext
Data type: BBPS_BAPIEBANTXOptional: Yes
Call by Reference: Yes
REQUISITION_LIMITS - Kommunikationsstruktur Limits
Data type: BBPS_BAPIESUHCOptional: Yes
Call by Reference: Yes
REQUISITION_CONTRACT_LIMITS - Kommunikationsstruktur Kontraktlimits
Data type: BBPS_BAPIESUCCOptional: Yes
Call by Reference: Yes
REQUISITION_SERVICES - Kommunikationsstruktur Anlegen Leistungszeile
Data type: BAPIESLLC_ECIOptional: Yes
Call by Reference: Yes
REQUISITION_SRV_ACCASS_VALUES - Komm.struktur Anlege Kontierungsverteilung Leistungszeile
Data type: BBPS_BAPIESKLCOptional: Yes
Call by Reference: Yes
RETURN -
Data type: BAPIRETURNOptional: Yes
Call by Reference: No ( called with pass by value option)
REQUISITION_SERVICES_TEXT - BAPI Leistungen Langtext
Data type: BBPS_BAPIESLLTXOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for NOR3_REQUISITION_CREATE Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_number | TYPE BAPIEBANC-PREQ_NO, " | |||
| lt_requisition_items | TYPE STANDARD TABLE OF BAPIEBANC_ECI, " | |||
| lv_skip_items_with_error | TYPE BAPIMMPARA-SELECTION, " | |||
| lt_requisition_addrdelivery | TYPE STANDARD TABLE OF BBPS_RQADDRDELIVERY_46, " | |||
| lt_cuf_item | TYPE STANDARD TABLE OF BBPS_CUF_ITEM, " | |||
| lt_cuf_acc | TYPE STANDARD TABLE OF BBPS_CUF_ACC, " | |||
| lt_control_record | TYPE STANDARD TABLE OF BBP_CONTROL_RECORD, " | |||
| lv_logical_system | TYPE BBP_BACKEND_DEST-LOG_SYS, " | |||
| lt_requisition_account_assignment | TYPE STANDARD TABLE OF BAPIEBKN, " | |||
| lv_cuf_header | TYPE BBPS_CUF_HEADER, " | |||
| lt_requisition_item_text | TYPE STANDARD TABLE OF BBPS_BAPIEBANTX, " | |||
| lv_it_attach_be | TYPE BBPT_PD_ATTACH_BE, " | |||
| lt_requisition_limits | TYPE STANDARD TABLE OF BBPS_BAPIESUHC, " | |||
| lt_requisition_contract_limits | TYPE STANDARD TABLE OF BBPS_BAPIESUCC, " | |||
| lt_requisition_services | TYPE STANDARD TABLE OF BAPIESLLC_ECI, " | |||
| lt_requisition_srv_accass_values | TYPE STANDARD TABLE OF BBPS_BAPIESKLC, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRETURN, " | |||
| lt_requisition_services_text | TYPE STANDARD TABLE OF BBPS_BAPIESLLTX. " |
|   CALL FUNCTION 'NOR3_REQUISITION_CREATE' " |
| EXPORTING | ||
| SKIP_ITEMS_WITH_ERROR | = lv_skip_items_with_error | |
| LOGICAL_SYSTEM | = lv_logical_system | |
| CUF_HEADER | = lv_cuf_header | |
| IT_ATTACH_BE | = lv_it_attach_be | |
| IMPORTING | ||
| NUMBER | = lv_number | |
| TABLES | ||
| REQUISITION_ITEMS | = lt_requisition_items | |
| REQUISITION_ADDRDELIVERY | = lt_requisition_addrdelivery | |
| CUF_ITEM | = lt_cuf_item | |
| CUF_ACC | = lt_cuf_acc | |
| CONTROL_RECORD | = lt_control_record | |
| REQUISITION_ACCOUNT_ASSIGNMENT | = lt_requisition_account_assignment | |
| REQUISITION_ITEM_TEXT | = lt_requisition_item_text | |
| REQUISITION_LIMITS | = lt_requisition_limits | |
| REQUISITION_CONTRACT_LIMITS | = lt_requisition_contract_limits | |
| REQUISITION_SERVICES | = lt_requisition_services | |
| REQUISITION_SRV_ACCASS_VALUES | = lt_requisition_srv_accass_values | |
| RETURN | = lt_return | |
| REQUISITION_SERVICES_TEXT | = lt_requisition_services_text | |
| . " NOR3_REQUISITION_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM NOR3_REQUISITION_CREATE
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single PREQ_NO FROM BAPIEBANC INTO @DATA(ld_number). | ||||
| "SELECT single SELECTION FROM BAPIMMPARA INTO @DATA(ld_skip_items_with_error). | ||||
| "SELECT single LOG_SYS FROM BBP_BACKEND_DEST INTO @DATA(ld_logical_system). | ||||
Search for further information about these or an SAP related objects