on 09-21-2016 1:20 PM
Hello Experts,
Hope you all are doing good. I am facing some issues where I need to concatenate both Bank account number and reference field number . When entering data in the backend (ECC) these 2 fields should be concatenated and should be shown in ESS overview page Bank account number field.
I think the coding should be done in HRPADINFTY00BL BADI. But I am not able to get the data in to the HCMT*BSP* structure. Please let me know how to first pass the data through the structure and if there is any sample piece of code then that will be great. I can customize the sample code. Thanks for all your support.
This is for which molga your trying to display. Generally BKREF field will not display in standard.
You have to customize the standard component configuration to display these details in overview page.
In your enhancement, add the BANKN and BKREF fields to overview page side by side and make it invisible of label for BKREF field.
If you want concatenate and display it, then you need to have custom field in IT 0009 and update it with concatenate BANKN and BKREF. Then this custom field you need to add in your enhanced component configuration of overview page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shankar,
Thanks for your advise.
We have BKREF field available in portal UI structure (HCMT_BSP*XX_R0009). I got your point, as in in order to concatenate both the fields, we need to have an custom field. But as a part of coding do we need to do the coding in HRPAD*BL BADI or the UI BADI. If you have any reference code snippet, then that will be really helpful.
Regards,
Priti
this coding part you can do it in ecc itself in user exit PBAS0001. so when ever in ecc the record is created you can update this field with the BANKN and BKREF field values.
Sample code is like below. take technical consultant help.
IF innnn-infty EQ '0009'.
DATA: i0009 TYPE p0009.
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = i0009.
CANCATENATE BANKN BKREF INTO i0009-<Zfield>
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = i0009
IMPORTING
prelp = innnn.
ENDIF.
Thanks Shankar for the help. But we need this newly concatenated field to be displayed only in ESS (Personal Profile). We don't need this to be updated in ECC (Backend). So I assume we need to do this coding in HRPADINFTY00BL BADI. Please let me know if my assumption is correct. Thanks for your code snippet.
Regards,
Priti
Hi Shankar,
Thanks very much for your insight. HRPAD00INFTYUI badi is already implemented. But I think , in this BADI we only define the UI attribute the field property. Also do we need to make any changes in the Feeder class? please let me know if this is the right approach or not. Thank you so very much for your assistance.
Regards,
Pritiman
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.