01-22-2008 12:51 PM
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.
01-22-2008 12:58 PM
There are no user exists for VA45... May be U need to implement a BADI for this requirement...
01-22-2008 12:58 PM
There are no user exists for VA45... May be U need to implement a BADI for this requirement...
01-22-2008 1:00 PM
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
01-22-2008 1:38 PM
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
01-22-2008 1:42 PM
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