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: 

User exit for VA45

Former Member
0 Kudos

Hi All,

How are you doing!

I have to use a user exit in VA45(List of Contracts) in SD module. In this T-code, when we view the Contracts, there is a field "Valid to" (Field-name = GUEEN , Table Name = VBAK) which represnts the date upto which a particular contract is open.

The scenario is if sy-datum becomes more than value in "Valid to" field, the system should not allow us to create an order .

I need to develop a user exit for this.

Kindly help me.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

There are no user exists for VA45... May be U need to implement a BADI for this requirement...

4 REPLIES 4

Former Member
0 Kudos

There are no user exists for VA45... May be U need to implement a BADI for this requirement...

Former Member
0 Kudos

Hi,

Create a field exit on field GUEEN.

Below are the steps to create the field exit

1. Run report RSMODPRF

2. Run on the selection screen

3. In list Field Exit -> Create

4. Give your data element

5.System will generate the FM FIELD_EXIT_XXXXX

6. Activate it.

7. Select your field exit and assign to your program and screen

8. Select again .. Field exit -> Activate

Regards,

Satish

0 Kudos

Hi Satish,

I have done till the step 5.System will generate the FM FIELD_EXIT_XXXXX

Now, do i need to create a new function module as it is giving messsage that this function module doesn't exist.

Also, if i need to create new FM, wt all parameters do i need to pass.

THanks,

Sangvir

0 Kudos

System will prapose a new function module, create it and build your logic within that. Parameters will be created automatically, you just need to use those parameters.

Regards,

Satish