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 VA45

Former Member
0 Likes
2,357

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
Read only

Former Member
0 Likes
1,310

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

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.

4 REPLIES 4
Read only

Former Member
0 Likes
1,311

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

Read only

Former Member
0 Likes
1,310

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

Read only

0 Likes
1,310

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

Read only

0 Likes
1,310

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