BSP how to dynamically identified SAP environment for BSP URL
2:11 AMRecently we had a problem with to identify the environment of the BSP or WEBdynpro.
My colleague Sarah provided me with a superb solution that is using the
call method clwdutilities=>constructwdurl.(which i put in the * event handler for data retrieval for BSP)
But then comes another problem the method will attached the url with "webdynpro" into the URL.
Initially we were thinking of making a new method identical to it. But a recent googling we encountered the syntax "replace all occurrences of" so it works for us with out creating a method by just changing the last string : D!
Well if Sarah you are reading this a BIG thank you! : D
* Get URL of Target Application
call method clwdutilities=>constructwdurl
exporting
applicationname = 'ZBSPHPTSCR'
importing
outabsolute_url = str.
replace all occurrences of '/webdynpro/sap/zbsphptscr' in str with '/webdynpro/sap/zbsphptscr/index.htm' .
BSP how to pass a parameter using URL
1:01 AMWhat is URL?
Lame man term
-the place on the address bar where we type the internet address.
Real meaning
Abbreviation: Uniform (or universal) resource locator, the address of a World Wide Web page
For BSP
If you use "Page with Flow logic", you can check field "Auto" in the "Page Attributes" tab.
Example:
Page attributes
http://myserver.com/schedule_maintain.htm?reload=X
Creating / changing table
6:00 PMSE11 - CREATE/CHANGE TABLE STRUCTURE - please do remember to activate the technical setting
SE14 - USE THIS WHEN YOU HAVE CHANGE THE STRUCTURE - Activate and adjust db
this entry is a self note
GUIDED Procedure : how to change the sequence
10:39 PMGuided Procedure -> Design Time.
Tick on block and process
Then
Life and Work Events - MY -- Processes -- Birth/Deceased
Then click on - Main Block - Edit it and change the sequencing
Then after click ACTIVATE (the candle icon) click Gallery to go back
Then choose
Processes(gear icon). There will be a warning sign icon.
Highlight it and then click update (paper like icon)
Walla done.
Guided Procedure version detail
6:47 PMSolution. Go to
Guided Procedure -> Design Time.
Click on the "Callable Object"
"Object Defination" Tab
and choose the correct HTML.
Below the error that might be found
Error found. This object is being locked by XXXuser.
Solution. Go to
Guided Procedure -> Administrator.
Unlock Object. Try to find the Object development to unlock
*choosing the correct html
Go to portal Content
-> Content Provided by SAP\End User
Content\Employee Self-Service\Custom Content\Life and Work Events
Open
the "Iview" (Marriage)
Find the field "Application Parameters"
And
change the process.template.id; eg.
(process.template.id=88394210FCBB11DCC1F000145EC7373A&process.autostart=true)
Defining Work Area and sub Area for Portal
2:12 AMHomepage Framework->Resources ->Define Resources ->Define Resources (Add Entries). Click on New
Entries.
Add resource for Area page as follows. Enter the PCD of the New Area Page you have created in the text
box ‘URL of PCD Page’. Remember to prefix ‘ROLES://’ to the pcd location.
how to make workflow running immediately when you dont know which module!
4:20 AMIn the field
Job Name = *
User Name = *
ticked on the "released" only
Then CLICK EXECUTE
In the next screen.
Tick one of workflow starting with sw*
Goto Menu Job - > repeat schdeduling
untick periodic
click on "immediate"
Then
SAve...
Then continue with the next with the same process above
Wait a moment then walla!