Ansicht
Dokumentation

BAPI_TRIP_GET_FORM_HTML - Ouput of Travel Expense Form as HTML Table

BAPI_TRIP_GET_FORM_HTML - Ouput of Travel Expense Form as HTML Table

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

When the method EmployeeTrip.GetExpenseForm_HTML is called, the standard form for trip costs accounting is returned as a HTML table. If the method is correctly performed (see parameter RETURN), the output table (TRIPFORM_HTML) contains the list output of the standard trip costs form (reportRPRTEF00) in several HTML tables, formated according to the report's output format.
These HTML tables can easily be pasted into your Intranet page.
If you want to create a separate page for the form (e.g. using a CGI script) you only need to make the following additions in order to obtain a complete HTML page:
Before outputting the lines of table TRIPFORM_HTML, set the header and the beginning of the main section of the HTML page (using for example " Trip costs accounting " and after output of all lines in table TRIPFORM_HTML, set the end tag ("").

Example

Notes

Occasionally the headings in the HTML tables do not correspond with the table columns. The tables in the form also differ in width due to the HTML table structure.

Further information





Parameters

DISPLAY_FORM
EINKOPF
EMPLOYEENUMBER
GET_TRIP_FROM_MEMORY
HTML_TEMPLATE
I_INTERVAL_BEGIN
I_INTERVAL_END
I_PROGRAM_TO_CALL
PERIODNUMBER
RETURN
SET_PRINT_FLAG
TRIPFORM_HTML
TRIPNUMBER

Exceptions

Function Group

HRTR

rdisp/max_wprun_time - Maximum work process run time   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2095 Date: 20240523 Time: 153502     sap01-206 ( 39 ms )