|
General Topics
GuiXT scripts, images (gif, jpg) and InputScripts can be stored in:
Each of these solutions offers specific advantages and drawbacks:
| |
Specification in the profile In the GuiXT profile, under Scripts1,… Scripts4, you specify the string sapwr: followed by a freely chosen name. The name should start with the letter Z, as customer specific objects start with Z in the SAP Web Repository. Example: sapwr:z.guixtobjects
Specification in a script Image … “SAPWR:Z.Images.logo.gif” This notation is also possible in local scripts. Optional specification of a different SAP system Example: sapwr,dest=S46:z.guixtobjects In this case the access will be as specified in the file saprfc.ini (usually located in SAP workdirectory). Please refer to SAP documentation about Remote Function Call for additional details.
| |
Create objects in the SAP Web Repository – development class -
Transaction SE80 (create development class)
| |
Creating objects in SAP Web Repository – create images and scripts - With transaction SMW0 (SAP Web Repository) you can create the objects you want. The name comprises the identification you previously specified in the GuiXT profile, i.e.: Z.GUIXT, a dot (.) and the usual file name including the extension .txt, .gif,… Examples: Z.GUIXT.ELOGON.TXT Please note the following:
Transaction SMW0 (SAP Web Repository)
Choose binary data and start overview
You can specify the name by using the generic format
You can copy and create objects from the list
xt/en/source/images/sapwr.smw0.4.gif" width="436" height="118"> Make sure the object name is correct and that you choose a meaningful title.
You may need to assign a MIME type for the object (Settings, Maintain MIME types)
Specify a development class or click on “Local object” in the case of a local object for tests
Release function WWW_GET_MIME_OBJECT
Choose Internet release->Function modules(F7) . You can now display a list of all released functions:
If WWW_GET_MIME_OBJECT is not yet contained in this click, then enter the name WW_GET_MIME_OBJECT und click on the “Release” button.
|