SAP ABAP Class CL_BSP_API_GENERATE (API: Generate BSP Application, BSPs)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-WAB (Application Component) Web Application Builder
⤷
SO2_DBLAYER (Package) mySAP Application Server Pages: Database Layer
⤷
⤷
Properties
| Class | CL_BSP_API_GENERATE | |
| Short Description | API: Generate BSP Application, BSPs | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SO2_DBLAYER | mySAP Application Server Pages: Database Layer |
| Created | 20001219 | SAP |
| Last change | 20010125 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_BSP_API_GENERATE has no interface implemented.
Friends
Class CL_BSP_API_GENERATE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | SEU_BOOL | ' ' | Boolean: False | 20001219 | ||
| 2 | Constant | Private | Type reference (TYPE) | SEU_BOOL | 'X' | Boolean: True | 20001219 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Delete BSP Application | 20010124 | |
| 2 | Static method | Public | Method | Delete BSP page or controller | 20001219 | |
| 3 | Static method | Public | Method | Generate BSP Application | 20010124 | |
| 4 | Static method | Public | Method | Generate BSP Page or Controller | 20001219 | |
| 5 | Static method | Public | Method | Read BSP Page or Controller | 20011030 | |
| 6 | Static method | Public | Method | Checks whether or not an application exists | 20011121 | |
| 7 | Static method | Public | Method | Checks Validity of Application Name | 20011121 | |
| 8 | Static method | Private | Method | Checks that Page Name and Key Match | 20010123 | |
| 9 | Static method | Public | Method | Checks whether identically-named page or controller exists | 20011121 | |
| 10 | Static method | Public | Method | Checks whether name of the page or controller is valid | 20011121 | |
| 11 | Static method | Private | Method | Generate the Application and Namespace Folders in MIME Rep. | 20010322 | |
| 12 | Static method | Private | Method | Delete the Application Folder in the MIME Repository | 20010322 | |
| 13 | Static method | Private | Method | Delete (Internal) | 20010123 | |
| 14 | Static method | Private | Method | Generate (Internally) | 20010123 | |
| 15 | Static method | Private | Method | Format Error Information | 20011127 |
Events
Class CL_BSP_API_GENERATE has no event.
Types
Class CL_BSP_API_GENERATE has no local type.
Method Signatures
Method BSP_API_DELETE_APPLICATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_APPLKEY | Call by reference | Type reference (TYPE) | O2APPLNAME | Name der BSP-Applikation | 20010124 | |||
| 2 | P_CORRNUM | Call by reference | Type reference (TYPE) | TRKORR | Korrekturnummer | 20010124 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BSP-Applikation ist gesperrt | 20010124 | ||
| 2 | BSP-Applkation existiert nicht | 20010124 | ||
| 3 | Fehler aufgetreten | 20010124 | ||
| 4 | keine Berechtigung | 20010124 |
Method BSP_API_DELETE_PAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_CORRNUM | Call by reference | Type reference (TYPE) | TRKORR | Korrekturnummer | 20001219 | |||
| 2 | P_PAGEKEY | Call by reference | Type reference (TYPE) | O2PAGKEY | Schlüssel der Seite | 20001219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten | 20001219 | ||
| 2 | Seite ist gesperrt | 20001219 | ||
| 3 | Seite existiert nicht | 20001219 | ||
| 4 | keine Berechtigung | 20001219 |
Method BSP_API_GENERATE_APPLICATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_APPLATTR | Call by reference | Type reference (TYPE) | O2APPLATTR | Eigenschaften der BSP-Applikation | 20010124 | |||
| 2 | P_CORRNUM | Call by reference | Type reference (TYPE) | TRKORR | Korrekturnummer | 20010124 | |||
| 3 | P_ERROR | Call by reference | Type reference (TYPE) | SEU_BOOL | 'X': BSP-Applikation enthält Fehler (noch nicht unterstützt) | 20010124 | |||
| 4 | P_MODIFY | Call by reference | Type reference (TYPE) | CHAR01 | ' ' | ' X': existierende BSP-Applikation überschreiben | 20010124 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BSP-Applikation existiert schon (falls p_modify = ' ') | 20010124 | ||
| 2 | BSP-Applikation ist gesperrt | 20010124 | ||
| 3 | formaler Fehler in BSP-Applikation | 20010124 | ||
| 4 | sonstiger (unerwarteter) Fehler aufgetreten | 20010124 | ||
| 5 | BSP-Applikation existiert inaktiv | 20010124 | ||
| 6 | unzulässiger BSP-Applikationsname | 20010124 | ||
| 7 | keine Berechtigung | 20010124 |
Method BSP_API_GENERATE_PAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ATTRIBUTES | Call by reference | Type reference (TYPE) | O2PAGPAR_TABLETYPE | Seitenattribute (Parameter) | 20001220 | |||
| 2 | P_CORRNUM | Call by reference | Type reference (TYPE) | TRKORR | Korrekturnummer | 20010118 | |||
| 3 | P_ERROR_IN_PAGE | Call by reference | Type reference (TYPE) | SEU_BOOL | 'X'-> Seite enthält Fehler | 20010118 | |||
| 4 | P_ERRTAB | Call by reference | Type reference (TYPE) | BSP_MESS_TAB | Tabelle der Fehlermeldungen | 20011127 | |||
| 5 | P_EV_HANDLER | Call by reference | Type reference (TYPE) | O2PAGEVH_TABLETYPE | Eventhandler | 20001220 | |||
| 6 | P_MODIFY | Call by reference | Type reference (TYPE) | CHAR01 | ' ' | 'X'-> ex. Seite überschreiben | 20001220 | ||
| 7 | P_PAGEATTR | Call by reference | Type reference (TYPE) | O2PAGATTR | Eigenschaften der Seite | 20001220 | |||
| 8 | P_SOURCE | Call by reference | Type reference (TYPE) | O2PAGELINE_TABLE | Seitenlayout | 20001220 | |||
| 9 | P_TYPESOURCE | Call by reference | Type reference (TYPE) | RSWSOURCET | lokale Typen der Seite | 20001220 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | die BSP-Applikation existiert nicht | 20010122 | ||
| 2 | formaler Fehler in Seite | 20010122 | ||
| 3 | sonstiger (unerwarteter) Fehler aufgetreten | 20001219 | ||
| 4 | Seite existiert inaktiv | 20010117 | ||
| 5 | unzulässiger Seitenname | 20010122 | ||
| 6 | Seite existiert schon (falls p_modify = ' ') | 20001219 | ||
| 7 | Seite ist gesperrt | 20001219 | ||
| 8 | keine Berechtigung | 20001219 |
Method BSP_API_GET_PAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ATTRIBUTES | Call by reference | Type reference (TYPE) | O2PAGPAR_TABLETYPE | Seitenattribute (Parameter) | 20011030 | |||
| 2 | P_EV_HANDLER | Call by reference | Type reference (TYPE) | O2PAGEVH_TABLETYPE | Eventhandler | 20011030 | |||
| 3 | P_PAGEATTR | Call by reference | Type reference (TYPE) | O2PAGATTR | Eigenschaften der Seite | 20011030 | |||
| 4 | P_PAGEKEY | Call by reference | Type reference (TYPE) | O2PAGKEY | Schlüssel der Seite | 20011030 | |||
| 5 | P_SOURCE | Call by reference | Type reference (TYPE) | O2PAGELINE_TABLE | Seitenlayout | 20011030 | |||
| 6 | P_TYPESOURCE | Call by reference | Type reference (TYPE) | RSWSOURCET | lokale Typen der Seite | 20011030 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | sonstiger (unerwarteter) Fehler aufgetreten | 20011030 | ||
| 2 | Seite existiert schon (falls p_modify = ' ') | 20011030 | ||
| 3 | keine Berechtigung | 20011030 |
Method CHECK_APPLICATION_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_APPLNAME | Call by reference | Type reference (TYPE) | O2APPLNAME | Name der Applikation | 20011122 | |||
| 2 | P_RESULT | Value transfer | Type reference (TYPE) | CHAR1 | 'X' -> Applikation existiert | 20011121 |
Method CHECK_APPLICATION_EXISTS on class CL_BSP_API_GENERATE has no exception.
Method CHECK_APPLICATION_NAME_VALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_APPLICATION | Call by reference | Type reference (TYPE) | O2APPLNAME | Name der Applikation | 20011121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Name ist ungültig | 20011121 |
Method CHECK_PAGENAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_PAGEATTR | Call by reference | Type reference (TYPE) | O2PAGATTR | Seitenattribute | 20010123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | unzulässiger Seitenname | 20010123 |
Method CHECK_PAGE_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_PAGEKEY | Call by reference | Type reference (TYPE) | O2PAGKEY | Schlüssel von Seite/Controller | 20011121 | |||
| 2 | P_RESULT | Value transfer | Type reference (TYPE) | CHAR1 | 'X' -> Objekt existiert | 20011121 | |||
| 3 | P_WITH_MIMES | Call by reference | Type reference (TYPE) | CHAR1 | ' ' | 'X' -> in Check Mime-Objekte der Applikation einschließen | 20011121 |
Method CHECK_PAGE_EXISTS on class CL_BSP_API_GENERATE has no exception.
Method CHECK_PAGE_NAME_VALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_PAGENAME | Call by reference | Type reference (TYPE) | O2PAGEEXT | Name der Seite/Controller | 20011121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Name ist ungültig | 20011121 |
Method CREATE_MIME_FOLDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_APPLICATION | Call by reference | Type reference (TYPE) | O2APPLEXT | Externer Name der Applikation | 20010322 | |||
| 2 | P_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Paket | 20010322 | |||
| 3 | P_TRANSPORT | Call by reference | Type reference (TYPE) | TRKORR | Nummer des Transportauftrages | 20010322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler im MIME-Repository aufgetreten | 20010322 | ||
| 2 | Allgemeiner Fehler | 20010322 | ||
| 3 | Name der Applikation ist ungültig | 20010322 |
Method DELETE_MIME_FOLDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_APPLICATION | Call by reference | Type reference (TYPE) | O2APPLEXT | Name der Applikation | 20010322 | |||
| 2 | P_TRANSPORT | Call by reference | Type reference (TYPE) | TRKORR | Transportauftrag | 20010322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler im MIME-Repository aufgetreten | 20010322 | ||
| 2 | Applikationsname ist ungültig | 20010322 |
Method DELETE_PAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_CORRNUM | Call by reference | Type reference (TYPE) | TRKORR | Korrekturnummer | 20010123 | |||
| 2 | P_PAGEKEY | Call by reference | Type reference (TYPE) | O2PAGKEY | Schlüssel der Seite | 20010123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten | 20010123 | ||
| 2 | Seite existiert nicht | 20010123 | ||
| 3 | keine Berechtigung | 20010123 |
Method GENERATE_PAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ATTRIBUTES | Call by reference | Type reference (TYPE) | O2PAGPAR_TABLETYPE | Seitenattribute (Parameter) | 20010123 | |||
| 2 | P_CORRNUM | Call by reference | Type reference (TYPE) | TRKORR | Korrekturnummer | 20010123 | |||
| 3 | P_ERROR_IN_PAGE | Call by reference | Type reference (TYPE) | SEU_BOOL | 'X'-> Seite enthält Fehler | 20010123 | |||
| 4 | P_ERRTAB | Call by reference | Type reference (TYPE) | BSP_MESS_TAB | Tabelle der Fehlermeldungen | 20011127 | |||
| 5 | P_EV_HANDLER | Call by reference | Type reference (TYPE) | O2PAGEVH_TABLETYPE | Eventhandler | 20010123 | |||
| 6 | P_MODIFY | Call by reference | Type reference (TYPE) | CHAR01 | ' ' | ' X'->ex. Seite überschreiben | 20010123 | ||
| 7 | P_PAGEATTR | Call by reference | Type reference (TYPE) | O2PAGATTR | Eigenschaften der Seite | 20010123 | |||
| 8 | P_SOURCE | Call by reference | Type reference (TYPE) | O2PAGELINE_TABLE | Seitenlayout | 20010123 | |||
| 9 | P_TYPESOURCE | Call by reference | Type reference (TYPE) | RSWSOURCET | lokale Typen der Seite | 20010123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | die BSP-Applikation existiert nicht | 20010123 | ||
| 2 | formaler Fehler in Seite | 20010123 | ||
| 3 | sonstiger (unerwarteter) Fehler aufgetreten | 20010123 | ||
| 4 | Seite existiert inaktiv | 20010123 | ||
| 5 | unzulässiger Seitenname | 20010123 | ||
| 6 | Seite existiert schon (falls p_modify = ' ') | 20010123 | ||
| 7 | keine Berechtigung | 20010123 |
Method GEN_ERROR_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ATTRS | Call by reference | Type reference (TYPE) | O2PAGATTR | O2: Attribute für Seiten | 20011127 | |||
| 2 | P_ERRTAB | Call by reference | Type reference (TYPE) | BSP_MESS_TAB | Fehlermeldungen im Generierungs-API für BSP's | 20011127 | |||
| 3 | P_MSGS | Call by reference | Type reference (TYPE) | SO2_MSG_REC | 20011127 |
Method GEN_ERROR_INFO on class CL_BSP_API_GENERATE has no exception.
History
| Last changed by/on | SAP | 20010125 |
| SAP Release Created in | 610 |