on 11-20-2012 6:36 AM
Hi Experts,
I am new to Webdynpro ABAP.
We are using NW7.3 and I have been given a requirement to restrict the user from entering more than 3 bank details. That is I have to hide the Add bank data button on the personal profile page of the user.
Also let me know if I have to move this post to some other topic.
Kindly help me out on how I can do that.
Regards,
Porselvan
there is a bad HRPAD00INFTYUI.i available for this , you can have a check here as explained
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For Feeder class which interface should I implement.
It seems the button 'Other bank' does not fall in both FORM_UIBB or LIST_UIBB.
How can I proceed with this.
Also help me with any good materials.
Kindly help me out.
Regards,
Porselvan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
fields can be hidden via table V_T588MFPROPC too or of course coding in the Webdynpro component and hide it in UIBB or use personalisation etc
HRPAD00INFTYBL
for error message add to the message handler
for example
DATA: msg TYPE symsg,
lv_msg_dummy TYPE string,
lt_field_list TYPE hrpad_field_tab.
FIELD-SYMBOLS: <lv_infty> TYPE infty,
<lv_iban00> TYPE hrpad_iban00.
* ensure code is only excuted for infotype 0009
ASSIGN
COMPONENT 'INFTY' OF STRUCTURE pnnnn TO <lv_infty>.
IF sy-subrc = 0 AND <lv_infty>
= '0009'.
****** here, also add code to only execute this
code for certain MOLGAs or subtypes*******
ASSIGN
COMPONENT 'IBAN00' OF STRUCTURE screen_structure TO <lv_iban00>.
IF sy-subrc = 0 AND <lv_iban00>
IS INITIAL.
IF 1 = 0.
"016
Please enter an IBAN
MESSAGE e016(pg) WITH 'Please enter an
IBAN'.
ENDIF.
msg-msgid
= 'PG'.
msg-msgty
= 'E'.
msg-msgno
= '016'.
msg-msgv1
= 'Please enter
an IBAN'.
APPEND 'IBAN00' TO lt_field_list.
CALL
METHOD message_handler->add_message
EXPORTING
message = msg
field_list = lt_field_list
cause = if_hrpa_message_handler=>infotype_specific.
ENDIF.
ENDIF.
Hi Experts,
I got info from my functional consultant that we can restrict the number of banks with the option in IMG
as per below.
The following node in SPRO tcode can be checked to maintain the specified number of entries per Info Type in ESS. Eg. You should be able to maintain 2 bank accounts per employee using this option.
Go to following path in SPRO.
Maintain the entries in this table as per requirement to ensure only 2 Bank Accounts can be maintained per employee.
SAP Help Page :
http://help.sap.com/erp2005_ehp_03/helpdata/en/c0/7eef4a17a2407fa5a7be0601f74401/frameset.htm
Kindly let me know if it is possible and what changes should I make there to make this possible.
Thank you for your kind support.
-Porselvan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In this table i.e. subtype table you can only specify subtpes for an infotype i.e.
you can have subtype 0 for main bank, subtype 1 for other banks, subtpe 2 for travel expenses, some thing like those. You can define multiple subtypes.
And for each subtype, we need to define the use case too here. Based on the use case, you can either have 1 bank or multiple banks for that subtype. Its like 1 bank or multiple banks per subtype.
If we select use case allowing multiple banks, then there is no option in this config to set max banks as 3 or 4 or some thing like that.
So you need to implement the badi as suggested by Sidharth where you can implement or specify or restrict the max number for banks user can create for that subtype.
Hi,
What exactly are facing problem.You are using EHP4 or EHP5.Kindly send me screen shot.I will help you.
Thanks
Sivavardhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
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.