on 06-05-2011 2:36 PM
Dear Experts.
I want know if the following is posible.
For the Area of Career and Job>Direct Service>Apply Directly, there is a field called Reference Code. I want that this field is a field obligatory.
[Image|http://www.imagegratis.com/hosting/uploads/0ea2a0608b.jpg]
How can do this?
Thanks in advance
Regards
Call transaction SM31, enter the view VRCFPHTMLB_FLI, and maintain the
following table entry.
Column "Namespace / Application / Page":
SAP/HRRCF_PINST_MNT/PINSTDETAILS.BSP
Column "Fld": EXTERNALCODE
Column "Name": Reference Code
CL_HRRCF_PINST_MNT_DETAILS_N_V
DO_HANDLE_DATA
CL_HRRCF_PINST_MNT_DETAILS_N_V
CL_HRRCF_PINST_MNT_DETAILS_N_V
DO_HANDLE_EVENT
CL_HRRCF_PINST_MNT_DETAILS_N_V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if it's WD4A, I'd make an enhancement in hook method WDDOBEFOREACTION, get the reference for the Attribute behind the UI-Element you marked red in your screenshot, check whether it's initial. If it's initial, throw an error message with the message manager. This doesn't really make the attribute "obligatory" but it's a fast and easy way to achieve making it work as it was.
I'm not sure if it's the same in case it's WD4J. But maybe the gives you an idea for approaching. If you need more detailed help or don't understand, tell me.
regards, Lukas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Lukas
This application is BSP. And the datas are:
LOG_APPL : APPLY_DIRECTLY
DESCRIPTION:Apply Direct
APPLICATION: HRRCF_APPLY
CONTROLLER: MAIN_SA.DO
Thanks in advance,
Regards
Hi,
To perform a debug to a BSP, just open it through tx SE80 (select BSP App, then put the BSP Package Name), then for the page you want to debug set an external breakpoint. Finally, login to Portal with the same user which you set the break and go to the BSP page. A SAP GUI window with the debugger should be opened.
To set some fields as mandatory, check as was defined ABAP functions and scripts called from the page; following just the HTML way for the corresponding tag you can set field add the property 'required' with the value 'true'; <htmlb:inputfield ... required=true>.
Debug process can help you a lot to review (and define) the checking for the HTML field, anyway there are some post that could help you, so I'll suggest you to make a fast search in the SDN Forums.
Regards
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.