META_ENTRYSHEET_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 META_ENTRYSHEET_CREATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BBP_BD_META_BAPIS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'META_ENTRYSHEET_CREATE' "Create entry sheet
EXPORTING
entrysheetheader = " bbps_bapiessrc Header data of entry sheet
* testrun = SPACE " bbps_bapi2091-testrun Test run
* logical_system = " bbp_backend_dest-log_sys
IMPORTING
entrysheet = " bbps_bapiessr-sheet_no Entry sheet number
TABLES
* entrysheetaccountassignment = " bbp_bapiesknc Account assignments
* entrysheetservices = " bapiesllc_eci Services
* entrysheetsrvaccassvalues = " bbps_bapiesklc Value/link to service account assignment
return = " bapiret2 Processing errors that occurred
* control_record = " bbp_control_record Meta BAPI control record
. " META_ENTRYSHEET_CREATE
The ABAP code below is a full code listing to execute function module META_ENTRYSHEET_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_entrysheet | TYPE BBPS_BAPIESSR-SHEET_NO , |
| it_entrysheetaccountassignment | TYPE STANDARD TABLE OF BBP_BAPIESKNC,"TABLES PARAM |
| wa_entrysheetaccountassignment | LIKE LINE OF it_entrysheetaccountassignment , |
| it_entrysheetservices | TYPE STANDARD TABLE OF BAPIESLLC_ECI,"TABLES PARAM |
| wa_entrysheetservices | LIKE LINE OF it_entrysheetservices , |
| it_entrysheetsrvaccassvalues | TYPE STANDARD TABLE OF BBPS_BAPIESKLC,"TABLES PARAM |
| wa_entrysheetsrvaccassvalues | LIKE LINE OF it_entrysheetsrvaccassvalues , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return , |
| it_control_record | TYPE STANDARD TABLE OF BBP_CONTROL_RECORD,"TABLES PARAM |
| wa_control_record | LIKE LINE OF it_control_record . |
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_entrysheet | TYPE BBPS_BAPIESSR-SHEET_NO , |
| ld_entrysheetheader | TYPE BBPS_BAPIESSRC , |
| it_entrysheetaccountassignment | TYPE STANDARD TABLE OF BBP_BAPIESKNC , |
| wa_entrysheetaccountassignment | LIKE LINE OF it_entrysheetaccountassignment, |
| ld_testrun | TYPE BBPS_BAPI2091-TESTRUN , |
| it_entrysheetservices | TYPE STANDARD TABLE OF BAPIESLLC_ECI , |
| wa_entrysheetservices | LIKE LINE OF it_entrysheetservices, |
| ld_logical_system | TYPE BBP_BACKEND_DEST-LOG_SYS , |
| it_entrysheetsrvaccassvalues | TYPE STANDARD TABLE OF BBPS_BAPIESKLC , |
| wa_entrysheetsrvaccassvalues | LIKE LINE OF it_entrysheetsrvaccassvalues, |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return, |
| it_control_record | TYPE STANDARD TABLE OF BBP_CONTROL_RECORD , |
| wa_control_record | LIKE LINE OF it_control_record. |
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 META_ENTRYSHEET_CREATE or its description.