on 06-13-2016 8:59 AM
Hello All
Good Morning
We would like to setup a check on Address fields in IT 0006 to ensure users do not enter charecters such as Double Quotes, Commas, Hyphens and other special characters in address. This is for Great Britain
Lately we have been getting errors with the third party interfaces because of these special charecters .
Ideally I would like system to validate and throw error on the PA30 when the analysts are trying to enter these special charecters.
Will this be an User Exit or something else?
Is there a standard one for Great Britain to have these checks in place also we seem to have recent errors where RTI rejects if you don't have second address field/City at least in addition to "Street and House no".
P.S I have done search in SDN for similar queries/discussions before posting this query
Many thanks in advance
Regards
Ajay
You can incorporate the validation in user exit EXIT_SAPFP50M_002.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Guys
Many thanks for your help.
Regards
Ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI AJ,
Please refer to following SAP notes for your query resolution.
2146149 - HR GB: FPS corrrections to later leavers, old PAYID and address lines
2215056 - HR GB: FPS Post code check and apostrophe in addresses
The first note will take care of your issue of 1st and 2nd line optional, second note will allow certain punctuation but to be able to check all various punctuation you will have to write user exit, either of above post will help you as they have already touched the base on the subject of User exits.
Hope this helps
KR
Sid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Go to SMOD, enter 'PBAS0001' ->Select components radiobutton and display. Look for exit used for customer checks (EXIT_SAPFP50M_001 or EXIT_SAPFP50M_002). Double click on it and go inside include ZXPADU01/ ZXPADU02.
Use below code:
CASE INNNN-INFTY.
WHEN '0006'.
CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
EXPORTING
PRELP = INNNN
IMPORTING
PNNNN = I0006.
CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PNNNN_TO_PRELP
EXPORTING
PNNNN = I0006
IMPORTING
PRELP = INNNN.
This INNNN structure will contain values entered on PA30 screen. Do necessary validation here.
Endcase.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
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.