Application Development and Automation 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: 
Read only

User exit doubts....

Former Member
0 Likes
960

I have to check the uniqueness of tax code for any vendor in canada. The code has been already implemented for south africa.

A include called ZXF05ZZZ (Function pool SAPLXF05) is being used for south africa one.

Can I use the same for implementing it for canada ?

Is there any relation between ZXF05U01 (include in EXIT_SAPMF02K_001) and ZXF05ZZZ (include in function pool SAPLF05 ) ?

Please help me out...

Relevant points will be awarded...

Thanks...

-Tushar.

I have to check the uniqueness of tax code for any vendor in canada. The code has been already implemented for south africa.

A include called ZXF05ZZZ (Function pool SAPLXF05) is being used for south africa one.

Can I use the same for implementing it for canada ?

Is there any relation between ZXF05U01 (include in EXIT_SAPMF02K_001) and ZXF05ZZZ (include in function pool SAPLF05 ) ?

Please help me out...

Relevant points will be awarded...

Thanks...

-Tushar.

7 REPLIES 7
Read only

Former Member
0 Likes
892

Any ideas...

Read only

Former Member
0 Likes
892

Hi Tushar,

You can use the same include for your implementation in the user exit. Declare a subroutine inside the user exit.

write a perform statement inside the Userexit and then double click on it, the system will ask you to create the Form routine and then you have the option of creating a new include. Now you can create a new include or you can use the include already available.

For the second point: Please check which Function pool does the exit EXIT_SAPMF02K_001 resides. If the function pool is the same, there could be some relation.

But generally, these exits are found in enhancements. Let me know the ENHANCEMENT name and then probably I can elaborate on the relations....

Lokesh

Pls. rewards appropriate points.

Read only

0 Likes
892

Tushar, put the subroutine in the ZXF05ZZZ include program. Now you will be able to call it from anywhere in the function group.

Regards,

Rich Heilman

Read only

0 Likes
892

The enhancement name is SAPMF02K.

Read only

0 Likes
892

Hi

Have you just another post with this problem?

Anaway in the inlcude ZXF05U01 you insert the code of your EXIT, in the ZXF05ZZZ you cans define the gloabl data or routine you want to use in the function group of the exit.

So if the exit is used, it should be better you put the implementations in a own routine:

INCLUDE ZXF05U01.

IF BUKRS = .....

PERFORM OTHER_COUNTRIES.

ELSE.

PERFORM CANADA.

ENDIF.

INCLUDE ZXF05ZZZ.

FORM OTHER_COUNTRIES.

ENDFORM.

FORM CANADA.

ENDFORM.

Max

Message was edited by: max bianchi

Read only

Former Member
0 Likes
892

The include is part of FM enhancement EXIT_SAPMF02K_001. This function module is part of function group XF05. The include ZXF05ZZZ is the include in function group for subprogram and form routines.

To make long story short, if you are working inside ZXF05U01 and you will be creating your form routines in

ZXF05ZZZ.

Since the enhancement is already active and assigned to your project, you can very well use it. The only thing is you have to brach your code to different routines based on market (country).

Read only

Former Member
0 Likes
892

See my reponse in your other post for the same and close one of the two posts please.

Srinivas