How to assign Portal page to Sub Area
9:24 PM
Cross Application -> Homepage framework
Area
=====
Define Areas (Add Entries)
ZPAYMENTS Payments
Resources
=========
Define Resources ZPCBONLINE_RSC
Description = View PCB Online
URL :
ROLES://portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/
com.sap.pct.erp.ess.roles/com.sap.pct.erp.ess.employee_self_service/
com.sap.pct.erp.ess.employee_self_service/Payments/i_ZHR_PCB_ONLINE
**[Get from roles]
Services
========
Define Services (add)
Service Link Text View PCB Online
Service Type Webdynpro Abap application
Link Resource ZPCBONLINE_RSC
Service desp View your pcb online
Assign services to sub area (add and change)
============================================
ZPAYMENTS ZPCBONLINE_RSC 6
* remember the roles://
Area
=====
Define Areas (Add Entries)
ZPAYMENTS Payments
Resources
=========
Define Resources ZPCBONLINE_RSC
Description = View PCB Online
URL :
ROLES://portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/
com.sap.pct.erp.ess.roles/com.sap.pct.erp.ess.employee_self_service/
com.sap.pct.erp.ess.employee_self_service/Payments/i_ZHR_PCB_ONLINE
**[Get from roles]
Services
========
Define Services (add)
Service Link Text View PCB Online
Service Type Webdynpro Abap application
Link Resource ZPCBONLINE_RSC
Service desp View your pcb online
Assign services to sub area (add and change)
============================================
ZPAYMENTS ZPCBONLINE_RSC 6
* remember the roles://
ABAP how to round number
6:57 PM
DATA: mark_VALUEUNROUNDED type i,
mark_INTVAL type i.
mark_VALUEUNROUNDED = '4.01' .
mark_INTVAL = CEIL(
mark_VALUEUNROUNDED ).
WRITE:/ 'THIS IS AN OUTPUT ROUNDED to the nearest integer = ' , mark_INTVAL.
mark_INTVAL type i.
mark_VALUEUNROUNDED = '4.01' .
mark_INTVAL = CEIL(
mark_VALUEUNROUNDED ).
WRITE:/ 'THIS IS AN OUTPUT ROUNDED to the nearest integer = ' , mark_INTVAL.
WebDynPro how to read value from a table with button.
5:33 PM
Recent task was given by Chin Yc. which to add a button to on of the column in all the rows.
Which supposed to show notes.
How does the button proceed to read from the table? below are the sample coding
DATA: whatevervalue type char255, whatevervalue1 type char255.
whatevervalue = ls_ess_profile-endda.
whatevervalue2 = ls_ess_profile-begda
Which supposed to show notes.
How does the button proceed to read from the table? below are the sample coding
"get exercise informations
DATA lo_nd_ess_profile TYPE REF TO if_wd_context_node. "READING NODES
DATA lo_el_ess_profile TYPE REF TO if_wd_context_element"READING NODES
DATA ls_ess_profile TYPE wd_this->Element_ess_profile."READING NODES
"The nodes referred named ess_profile
" Set Lead Selection on user selected row
" (the row where user clicked the Exercise button on)
"Getting the current node valuelo_nd_ess_profile = wd_context->get_child_node( name = wd_this->wdctx_ess_profile ).
lo_el_ess_profile = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
lo_nd_ess_profile->set_lead_selection( element = lo_el_ess_profile ).
lo_el_ess_profile->get_static_attributes(
IMPORTING
static_attributes = ls_ess_profile ).
DATA: whatevervalue type char255, whatevervalue1 type char255.
whatevervalue = ls_ess_profile-endda.
whatevervalue2 = ls_ess_profile-begda
Note: Changing payslip in portal
8:50 PM
source : http://forums.sdn.sap.com/thread.jspa?threadID=1909760&tstart=15#10075902
You need to make a new form using smartforms and put it in EDPDF .
1. HRFOR - This feature decides whether to use HRFORMS or CEDT forms
(configured in PE51) for the payslip. If HRFORMS, the name of HRFORM has
to be mentioned here. If PE51 needs to be used then $CEDT$ should be
specified.
2. EDTIN - This should hold the value of the variant to be executed in
the CEDT program (payslip program). The variant should be proper with
the with the correct CEDT (payslip) form name and other parameters.
3. EDPDF - The name of the smartform (standard smartform
HR_ESS_PAYSLIP_TO_PDF or customer specific form) used to show the output
in the ESS.
You need to make a new form using smartforms and put it in EDPDF .
1. HRFOR - This feature decides whether to use HRFORMS or CEDT forms
(configured in PE51) for the payslip. If HRFORMS, the name of HRFORM has
to be mentioned here. If PE51 needs to be used then $CEDT$ should be
specified.
2. EDTIN - This should hold the value of the variant to be executed in
the CEDT program (payslip program). The variant should be proper with
the with the correct CEDT (payslip) form name and other parameters.
3. EDPDF - The name of the smartform (standard smartform
HR_ESS_PAYSLIP_TO_PDF or customer specific form) used to show the output
in the ESS.


