Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to figure out suitable Enhancement Option/point

Former Member
0 Kudos
108

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos
69

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.

4 REPLIES 4

Former Member
0 Kudos
69

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

0 Kudos
69

Hi ,

Any Suggestions on my question

Thanks

Former Member
0 Kudos
70

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.

0 Kudos
69

Hi,

I don't see that form . I'm at ECC 6.0.

Thanks