2009 May 31 9:04 PM
Hi All,
I have to limit creation of vendor for a particularly one user based on Country Code.
For ex
if sy-uname eq 'XYZ'.
IF LFA1-NAME1 NE 'US'.
ERROR MESSAGE...
ENDIF.
ENDIF.
I know how to do that user user exits and was trying to figure out how can i achieve this using enhancement frame work in ECC 6.0
I found all below Explicit Enhancement Points/Sections when i searched in Pragram SAPMF02K (xk01)
If you just post the relevant coe, it has a better chance of formatting.
MY QUESTIONS ARE
1) How should i figure out which enhancement point i should use for particular issue (When the user is going from Vendor Address to Vendor control Screen while creating the vendor. It should an error mess if the user is using wrong vendor code?
Thanks in advance
Venki
Edited by: venki gundla on May 31, 2009 10:05 PM
Edited by: venki gundla on May 31, 2009 10:16 PM
Edited by: Rob Burbank on May 31, 2009 6:37 PM
2009 Jun 01 3:02 PM
Try to Enhance the Form d0100_ok_code_wrapper of LSZA1F03
FORM d0100_ok_code_wrapper.
add here your Enhancement
PERFORM d0100_ok_code_begin.
PERFORM d0100_ok_code.
PERFORM d0100_ok_code_end.
ENDFORM.
2009 May 31 11:26 PM
Hi All,
For some reason ,every thing is continous. I know it sometimes irritating but i couldn't find a way to post it
Line by line.
Actually
MY QUESTIONS ARE 1) How should i figure out which enhancement point i should use for particular issue (When the user is going from Vendor Address to Vendor control Screen while creating the vendor. It should throw an error mess if the user is using wrong vendor country name than he is authorized to?
Thanks
Venki
2009 Jun 01 2:45 PM
2009 Jun 01 3:02 PM
Try to Enhance the Form d0100_ok_code_wrapper of LSZA1F03
FORM d0100_ok_code_wrapper.
add here your Enhancement
PERFORM d0100_ok_code_begin.
PERFORM d0100_ok_code.
PERFORM d0100_ok_code_end.
ENDFORM.
2009 Jun 01 7:22 PM