Tuesday, September 2, 2008

How to create a pop up message

Message With Yes and No Options
* DATA : RES type c.
* CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
* EXPORTING
* DEFAULTOPTION = 'Y'
* TEXTLINE1 = 'text-1'
* TEXTLINE2 = 'text-2'
* TITEL = 'text-3'
* IMPORTING
* ANSWER = res.
* case res.
* when 'A'. " cancel
* when 'J'. " yes
* when 'N'. " No
* endcase.

ERROR MEssaGE
message E899(bd) with 'BSC Score is not correct!!!!'.
MESSAGE I699(5A) WITH 'bla'
.

Call function Message
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
exporting
textline1 = 'BSC Score is not correct!!!!'.




Monday, August 18, 2008

Monday, August 4, 2008

2008 August 04 Enterprise Export and Import lesson last week

== To be Updated =

* After the EPA (EnterprisePortalArchive) has been imported. It is vital for application to be activated using the SICF (TCode).

Tuesday, July 22, 2008

2008 July 23 Portal Content July 24 Portal By Chin

Creating I View
Step01
Step02
Step03
Step04
Step05
Step06
Step07
Create Page
Step01
Step02
Step03
Step04
Add Iview to pages
Step01
Adding Pages to Roles
Step01

Roles(Worksets)
Workset(Pages)
Pages(Iview)

How to go to roles?
PortalContent->ContentProvidedBySAP
-End-UserContent
-Roles
-employee_self_service

By opening the page that you created and the roles opened.
You click on the roles in the category and then go to the tree view and add page to roles.

How to add to back end?
SPRO - > IMG -> PersonalManagement -> EmployeeSelfService -> Homepage FrameWork -> Resources -> Define Resources

*Make sure you have the PCD example //pcd......
**Add into the selected module Roles://pcs....

Monday, June 30, 2008

2008 June 30 Lesson Learned

In the quest of enhancing programming i made lots of mistakes.
Somethings to pin point:-

1. Sometimes the problem is not in the program but the is the logic.
2. For Loop command it is best to clear or reinitialized the attribute or variable
3. For the debug mode there is a table option key into it and see the result. The data inside could be helpful. "syst"
4. Always press F1 for more information. From that you can go SE37 to get more technical help F1 AGAIN!
5. The system example is the best (This is what i notice from doing BAdi)
6. Sometimes only the new debugger will work for newer type of programs.
7. There are many ways to test a program.
a. Front-End = Portal - Applicant And Approval
b. Back-End = Admind running a program or using APPcreate
8. ALWAYS DOUBLE CLICK. Into those area that you do not know.
9. Look for keywords. If you are changing a area try see modiy. Or if you are changing an area it could be some place which have specific name.


PS : i could be wrong so please advised Thanks in advance ^_^

Thursday, June 26, 2008

2008 Jun 27 How to check Transport

Tcode - stms
click on the Lorry Symbol.
click on the destination server.
Find the Transport number
check on the symbol
- > triangle (transported [text label ready to be transported again])
- > Green Tick (transported)
- > Green Square (means ready to be transported)
- > Red Square (error)