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 for FD32 ?

Former Member
0 Likes
2,801

Dear Friends,

I want to enhance the functionality of FD32 as per our requirement.

Whenever user create credit limit for customer and save the record in FD32

and if the customer is having C001 payment terms in the customer master (XD02),

then in FD32it should not allow to save the record.

In spite of that  if  user want to create the credit limit for the customer having

payment terms C001 then he should be able to do that.

Any idea how can i get this .

Thanks

Hemant Balde    

1 ACCEPTED SOLUTION
Read only

vijay_hariharan
Contributor
0 Likes
2,127

Hi Hemant,

You can check the exit EXIT_RFDRRANZ_001 component of enhancement RFDRRANZ for the FD32 transaction. Here you should be able to code your requirement by getting the details from KNB1

Thanks & Regards,

Vijay

Hi Hemant,

You can check the exit EXIT_RFDRRANZ_001 component of enhancement RFDRRANZ for the FD32 transaction. Here you should be able to code your requirement by getting the details from KNB1

Thanks & Regards,

Vijay

10 REPLIES 10
Read only

vijay_hariharan
Contributor
0 Likes
2,128

Hi Hemant,

You can check the exit EXIT_RFDRRANZ_001 component of enhancement RFDRRANZ for the FD32 transaction. Here you should be able to code your requirement by getting the details from KNB1

Thanks & Regards,

Vijay

Read only

0 Likes
2,127

Hello vijay,

Actually i am new to abap..

would you please explain how can i implement it ?

Regards

Hemant

Read only

0 Likes
2,127

Hi Hemant,

Please find below a thread that should help ou with the implementation of the exit. In your case you'll need to assign RFDRRANZ as the enhancement component.

https://scn.sap.com/thread/1097067

Hope this helps.

Regards,

Vijay

Read only

0 Likes
2,127

Hi vijay,

As you said i am fetching the details from KNB1.

I am writing below code in source code..

if KNB1-ZTERM = 'ZC001' .
   MESSAGE ' Customer contain C001 Payment Term ' TYPE i .
   ENDIF.

i activated this.

then i created a project in CMOD after that i assigned
RFDRRANZ..

then activated..

but it is not getting triggered in fd32.

Please suggest something..

Thanks

Hemant

Read only

Former Member
0 Likes
2,127

Hello,

Anybody plz suggest something..

Thanks

Hemant

Read only

0 Likes
2,127

Hi Hemant,

Please go to CMOD and check if the Exit is active in the components section. Also please put a debugger in the exit and check if any of the conditions are failing.

Hope this helps.

Regards,

Vijay

Read only

0 Likes
2,127

Hello Vijay,

Everything is activated, i put debugger also but not getting triggered..

I write sample code for checking purpose and put debugger...

breakpoint.
   MESSAGE ' user exit implemented ' TYPE 'I'.

not triggering..

What to do??


Read only

0 Likes
2,127

Hi Hemant,

When are you expecting the code to get triggered.. during SAVE? or some other User activity??

Currently I don't have SAP in front of me.. if this is not triggering as per your User activity then probably Implicit enhancement is the only way to go. Also could you please check the documentation of this Exit, that should give an idea on when this would be triggered.

Regards,

Vijay

Read only

0 Likes
2,127

Hello Vijay,

I am expecting the code to get triggered during SAVE.

I have also checked the documentation , it says the exit gets triggered during SAVE.

Thanks

Hemant balde

Read only

Former Member
0 Likes
2,127

Dear All,

I have find a BT i.e,..SAMPLE_INTERFACE_00001520 it is getting triggered during SAVE.

I write sample code for checking purpose and put debugger...

breakpoint.
   MESSAGE ' user exit implemented ' TYPE 'I'.


it is getting triggered

My req is..

Whenever user create credit limit for customer and save the record in FD32

and if the customer is having C001 payment terms in the customer master (XD02),

then in FD32it should not allow to save the record.In spite of that  if  user want to create the credit limit for the customer having payment terms C001 then he should be able to do that.

What code should i write??

I am writing..

TABLES : knvv, kna1.

DATA : i_zterm TYPE knvv-zterm.
    if kna1-kunnr IS NOT INITIAL .
   SELECT SINGLE zterm FROM knvv into i_zterm WHERE zterm = knvv-zterm.
    IF knvv-zterm = 'C001'  .
     MESSAGE 'Payment Terms is C001' TYPE 'I'.
     ENDIF.
  ENDIF.

it is not getting triggered...plz suggest something.....???