2006 Apr 06 8:46 AM
Hi experts,
Iam trying to create user exit using <b>MV45AFZB</b> for SO.
When user tries to create new sales order using VA01,
i want to check whether the <b>MATERIAL</b> is within the warranty. If the material is within the warranty, i want to give the message.Can any one tell me, for this requirement which subroutine i have to use?
FORM USEREXIT_CHECK_VBAK USING US_DIALOG
or
FORM USEREXIT_CHECK_VBAP USING US_DIALOG
or any other?
I want to check in the <b>creation mode</b>(VA01)
Reward guaranteed,
Thanks
kaki
Hi experts,
Iam trying to create user exit using <b>MV45AFZB</b> for SO.
When user tries to create new sales order using VA01,
i want to check whether the <b>MATERIAL</b> is within the warranty. If the material is within the warranty, i want to give the message.Can any one tell me, for this requirement which subroutine i have to use?
FORM USEREXIT_CHECK_VBAK USING US_DIALOG
or
FORM USEREXIT_CHECK_VBAP USING US_DIALOG
or any other?
I want to check in the <b>creation mode</b>(VA01)
Reward guaranteed,
Thanks
kaki
2006 Apr 06 8:52 AM
u can use MV45AFZZ routine
userexit_move_field_to_vbak
check for transaction type T180-TRYTP eq 'H' only then trigger ur code.
2006 Apr 06 8:52 AM
Hi,
material is availabel in VBAP , so you can try with this
<b>FORM USEREXIT_CHECK_VBAP USING US_DIALOG</b>
Regards
vijay
2006 Apr 06 8:59 AM
Hi Vijay,
If i use USEREXIT_CHECK_VBAP USING US_DIALOG, the program is not triggering in creation mode(VA01).
It is triggering in change mode(VA02).What might be the reason?
kaki
2006 Apr 06 9:09 AM
Hi Kaki,
are you able to go inside the include at least while creating.
are you checking <b>T180-TRTYP</b>,
if it is not at all triggering then you can look in MV45AFZZ for suitable exits
Regards
vijay
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |