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 CL_O2_API_PAGES Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 CL_WB_MIME_REPOSITORY Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 SO2 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 C_FALSE Constant Private Type reference (TYPE) SEU_BOOL ' ' Boolean: False 20001219
2 C_TRUE Constant Private Type reference (TYPE) SEU_BOOL 'X' Boolean: True 20001219
Methods
# Method Level Visibility Method type Description Created on
1 BSP_API_DELETE_APPLICATION Static method Public Method Delete BSP Application 20010124
2 BSP_API_DELETE_PAGE Static method Public Method Delete BSP page or controller 20001219
3 BSP_API_GENERATE_APPLICATION Static method Public Method Generate BSP Application 20010124
4 BSP_API_GENERATE_PAGE Static method Public Method Generate BSP Page or Controller 20001219
5 BSP_API_GET_PAGE Static method Public Method Read BSP Page or Controller 20011030
6 CHECK_APPLICATION_EXISTS Static method Public Method Checks whether or not an application exists 20011121
7 CHECK_APPLICATION_NAME_VALID Static method Public Method Checks Validity of Application Name 20011121
8 CHECK_PAGENAME Static method Private Method Checks that Page Name and Key Match 20010123
9 CHECK_PAGE_EXISTS Static method Public Method Checks whether identically-named page or controller exists 20011121
10 CHECK_PAGE_NAME_VALID Static method Public Method Checks whether name of the page or controller is valid 20011121
11 CREATE_MIME_FOLDER Static method Private Method Generate the Application and Namespace Folders in MIME Rep. 20010322
12 DELETE_MIME_FOLDER Static method Private Method Delete the Application Folder in the MIME Repository 20010322
13 DELETE_PAGE Static method Private Method Delete (Internal) 20010123
14 GENERATE_PAGE Static method Private Method Generate (Internally) 20010123
15 GEN_ERROR_INFO 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 Importing P_APPLKEY Call by reference Type reference (TYPE) O2APPLNAME Name der BSP-Applikation 20010124
2 Changing P_CORRNUM Call by reference Type reference (TYPE) TRKORR Korrekturnummer 20010124
# Exception Resumable Description Created on
1 APPLICATION_LOCKED BSP-Applikation ist gesperrt 20010124
2 APPLICATION_NOT_EXISTING BSP-Applkation existiert nicht 20010124
3 ERROR_OCCURED Fehler aufgetreten 20010124
4 PERMISSION_FAILURE keine Berechtigung 20010124

Method BSP_API_DELETE_PAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_CORRNUM Call by reference Type reference (TYPE) TRKORR Korrekturnummer 20001219
2 Importing P_PAGEKEY Call by reference Type reference (TYPE) O2PAGKEY Schlüssel der Seite 20001219
# Exception Resumable Description Created on
1 ERROR_OCCURED Fehler aufgetreten 20001219
2 PAGE_LOCKED Seite ist gesperrt 20001219
3 PAGE_NOT_EXISTING Seite existiert nicht 20001219
4 PERMISSION_FAILURE keine Berechtigung 20001219

Method BSP_API_GENERATE_APPLICATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_APPLATTR Call by reference Type reference (TYPE) O2APPLATTR Eigenschaften der BSP-Applikation 20010124
2 Changing P_CORRNUM Call by reference Type reference (TYPE) TRKORR Korrekturnummer 20010124
3 Exporting P_ERROR Call by reference Type reference (TYPE) SEU_BOOL 'X': BSP-Applikation enthält Fehler (noch nicht unterstützt) 20010124
4 Importing P_MODIFY Call by reference Type reference (TYPE) CHAR01 ' ' ' X': existierende BSP-Applikation überschreiben 20010124
# Exception Resumable Description Created on
1 APPLICATION_EXISTING BSP-Applikation existiert schon (falls p_modify = ' ') 20010124
2 APPLICATION_LOCKED BSP-Applikation ist gesperrt 20010124
3 ERROR_IN_APPLICATION formaler Fehler in BSP-Applikation 20010124
4 ERROR_OCCURED sonstiger (unerwarteter) Fehler aufgetreten 20010124
5 INACTIVE_APPLICATION_EXISTING BSP-Applikation existiert inaktiv 20010124
6 INVALID_NAME unzulässiger BSP-Applikationsname 20010124
7 PERMISSION_FAILURE keine Berechtigung 20010124

Method BSP_API_GENERATE_PAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ATTRIBUTES Call by reference Type reference (TYPE) O2PAGPAR_TABLETYPE Seitenattribute (Parameter) 20001220
2 Changing P_CORRNUM Call by reference Type reference (TYPE) TRKORR Korrekturnummer 20010118
3 Exporting P_ERROR_IN_PAGE Call by reference Type reference (TYPE) SEU_BOOL 'X'-> Seite enthält Fehler 20010118
4 Exporting P_ERRTAB Call by reference Type reference (TYPE) BSP_MESS_TAB Tabelle der Fehlermeldungen 20011127
5 Importing P_EV_HANDLER Call by reference Type reference (TYPE) O2PAGEVH_TABLETYPE Eventhandler 20001220
6 Importing P_MODIFY Call by reference Type reference (TYPE) CHAR01 ' ' 'X'-> ex. Seite überschreiben 20001220
7 Importing P_PAGEATTR Call by reference Type reference (TYPE) O2PAGATTR Eigenschaften der Seite 20001220
8 Importing P_SOURCE Call by reference Type reference (TYPE) O2PAGELINE_TABLE Seitenlayout 20001220
9 Importing P_TYPESOURCE Call by reference Type reference (TYPE) RSWSOURCET lokale Typen der Seite 20001220
# Exception Resumable Description Created on
1 APPLICATION_NOT_EXISTING die BSP-Applikation existiert nicht 20010122
2 ERROR_IN_PAGE formaler Fehler in Seite 20010122
3 ERROR_OCCURED sonstiger (unerwarteter) Fehler aufgetreten 20001219
4 INACTIVE_PAGE_EXISTING Seite existiert inaktiv 20010117
5 INVALID_NAME unzulässiger Seitenname 20010122
6 PAGE_EXISTING Seite existiert schon (falls p_modify = ' ') 20001219
7 PAGE_LOCKED Seite ist gesperrt 20001219
8 PERMISSION_FAILURE keine Berechtigung 20001219

Method BSP_API_GET_PAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_ATTRIBUTES Call by reference Type reference (TYPE) O2PAGPAR_TABLETYPE Seitenattribute (Parameter) 20011030
2 Exporting P_EV_HANDLER Call by reference Type reference (TYPE) O2PAGEVH_TABLETYPE Eventhandler 20011030
3 Exporting P_PAGEATTR Call by reference Type reference (TYPE) O2PAGATTR Eigenschaften der Seite 20011030
4 Importing P_PAGEKEY Call by reference Type reference (TYPE) O2PAGKEY Schlüssel der Seite 20011030
5 Exporting P_SOURCE Call by reference Type reference (TYPE) O2PAGELINE_TABLE Seitenlayout 20011030
6 Exporting P_TYPESOURCE Call by reference Type reference (TYPE) RSWSOURCET lokale Typen der Seite 20011030
# Exception Resumable Description Created on
1 ERROR_OCCURED sonstiger (unerwarteter) Fehler aufgetreten 20011030
2 PAGE_NOT_EXISTING Seite existiert schon (falls p_modify = ' ') 20011030
3 PERMISSION_FAILURE keine Berechtigung 20011030

Method CHECK_APPLICATION_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_APPLNAME Call by reference Type reference (TYPE) O2APPLNAME Name der Applikation 20011122
2 Returning 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 Importing P_APPLICATION Call by reference Type reference (TYPE) O2APPLNAME Name der Applikation 20011121
# Exception Resumable Description Created on
1 INVALID Name ist ungültig 20011121

Method CHECK_PAGENAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_PAGEATTR Call by reference Type reference (TYPE) O2PAGATTR Seitenattribute 20010123
# Exception Resumable Description Created on
1 INVALID_NAME unzulässiger Seitenname 20010123

Method CHECK_PAGE_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_PAGEKEY Call by reference Type reference (TYPE) O2PAGKEY Schlüssel von Seite/Controller 20011121
2 Returning P_RESULT Value transfer Type reference (TYPE) CHAR1 'X' -> Objekt existiert 20011121
3 Importing 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 Importing P_PAGENAME Call by reference Type reference (TYPE) O2PAGEEXT Name der Seite/Controller 20011121
# Exception Resumable Description Created on
1 INVALID 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 Importing P_APPLICATION Call by reference Type reference (TYPE) O2APPLEXT Externer Name der Applikation 20010322
2 Changing P_DEVCLASS Call by reference Type reference (TYPE) DEVCLASS Paket 20010322
3 Changing P_TRANSPORT Call by reference Type reference (TYPE) TRKORR Nummer des Transportauftrages 20010322
# Exception Resumable Description Created on
1 ERROR_IN_MIME_REPOSITORY Fehler im MIME-Repository aufgetreten 20010322
2 ERROR_OCCURED Allgemeiner Fehler 20010322
3 INVALID_NAME 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 Importing P_APPLICATION Call by reference Type reference (TYPE) O2APPLEXT Name der Applikation 20010322
2 Changing P_TRANSPORT Call by reference Type reference (TYPE) TRKORR Transportauftrag 20010322
# Exception Resumable Description Created on
1 ERROR_IN_MIME_REPOSITORY Fehler im MIME-Repository aufgetreten 20010322
2 INVALID_NAME Applikationsname ist ungültig 20010322

Method DELETE_PAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_CORRNUM Call by reference Type reference (TYPE) TRKORR Korrekturnummer 20010123
2 Importing P_PAGEKEY Call by reference Type reference (TYPE) O2PAGKEY Schlüssel der Seite 20010123
# Exception Resumable Description Created on
1 ERROR_OCCURED Fehler aufgetreten 20010123
2 PAGE_NOT_EXISTING Seite existiert nicht 20010123
3 PERMISSION_FAILURE keine Berechtigung 20010123

Method GENERATE_PAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ATTRIBUTES Call by reference Type reference (TYPE) O2PAGPAR_TABLETYPE Seitenattribute (Parameter) 20010123
2 Changing P_CORRNUM Call by reference Type reference (TYPE) TRKORR Korrekturnummer 20010123
3 Exporting P_ERROR_IN_PAGE Call by reference Type reference (TYPE) SEU_BOOL 'X'-> Seite enthält Fehler 20010123
4 Exporting P_ERRTAB Call by reference Type reference (TYPE) BSP_MESS_TAB Tabelle der Fehlermeldungen 20011127
5 Importing P_EV_HANDLER Call by reference Type reference (TYPE) O2PAGEVH_TABLETYPE Eventhandler 20010123
6 Importing P_MODIFY Call by reference Type reference (TYPE) CHAR01 ' ' ' X'->ex. Seite überschreiben 20010123
7 Importing P_PAGEATTR Call by reference Type reference (TYPE) O2PAGATTR Eigenschaften der Seite 20010123
8 Importing P_SOURCE Call by reference Type reference (TYPE) O2PAGELINE_TABLE Seitenlayout 20010123
9 Importing P_TYPESOURCE Call by reference Type reference (TYPE) RSWSOURCET lokale Typen der Seite 20010123
# Exception Resumable Description Created on
1 APPLICATION_NOT_EXISTING die BSP-Applikation existiert nicht 20010123
2 ERROR_IN_PAGE formaler Fehler in Seite 20010123
3 ERROR_OCCURED sonstiger (unerwarteter) Fehler aufgetreten 20010123
4 INACTIVE_PAGE_EXISTING Seite existiert inaktiv 20010123
5 INVALID_NAME unzulässiger Seitenname 20010123
6 PAGE_EXISTING Seite existiert schon (falls p_modify = ' ') 20010123
7 PERMISSION_FAILURE keine Berechtigung 20010123

Method GEN_ERROR_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ATTRS Call by reference Type reference (TYPE) O2PAGATTR O2: Attribute für Seiten 20011127
2 Exporting P_ERRTAB Call by reference Type reference (TYPE) BSP_MESS_TAB Fehlermeldungen im Generierungs-API für BSP's 20011127
3 Importing 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