ISU_BILL_TYPE_DATE 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 ISU_BILL_TYPE_DATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
E21J
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISU_BILL_TYPE_DATE' "INTERNAL: Bill Category (Sort by From-Date, SUBT at End of Block)
EXPORTING
x_erdk = " erdk Print document header
* x_te530 = " te530
TABLES
t_sortpart_erdz = " erdz Lines to be sorted
* t_bill_doc = " isu2a_t_bill_doc
EXCEPTIONS
IU_ERROR = 1 " Termination of invoicing unit
SYSTEM_ERROR = 2 " Termination of invoicing
NOT_QUALIFIED = 3 " Spare
. " ISU_BILL_TYPE_DATE
The ABAP code below is a full code listing to execute function module ISU_BILL_TYPE_DATE 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).
| it_t_sortpart_erdz | TYPE STANDARD TABLE OF ERDZ,"TABLES PARAM |
| wa_t_sortpart_erdz | LIKE LINE OF it_t_sortpart_erdz , |
| it_t_bill_doc | TYPE STANDARD TABLE OF ISU2A_T_BILL_DOC,"TABLES PARAM |
| wa_t_bill_doc | LIKE LINE OF it_t_bill_doc . |
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_x_erdk | TYPE ERDK , |
| it_t_sortpart_erdz | TYPE STANDARD TABLE OF ERDZ , |
| wa_t_sortpart_erdz | LIKE LINE OF it_t_sortpart_erdz, |
| ld_x_te530 | TYPE TE530 , |
| it_t_bill_doc | TYPE STANDARD TABLE OF ISU2A_T_BILL_DOC , |
| wa_t_bill_doc | LIKE LINE OF it_t_bill_doc. |
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 ISU_BILL_TYPE_DATE or its description.
ISU_BILL_TYPE_DATE - INTERNAL: Bill Category (Sort by From-Date, SUBT at End of Block) ISU_BILL_TYPE_CONTRACT - INTERNAL: Bill Category (Sort by Contract, SUBT After Each Contract) ISU_BILL_TYPE_COMPANY_CODE - INTERNAL: Bill Category (Sort by Company Code, SUBT After Each CC) ISU_BILL_TYPE_BILL_DOC - INTERNAL: Bill Category (Sort by Billing Document Number) ISU_BILL_TO_PRINT_SIM_METHOD - INTERNAL: Module for Method ISUCONTRCT.BILLTOPRINTSIM ISU_BILL_TO_PRINT_METHOD - INTERNAL: Module for Method ISUCONTRCT.BILLTOPRINTSIM