2014 Nov 20 3:58 PM
I have a requirement where on entering material in VA01/ VA02 some warning message should be appeared.
So i have used enhancement point VBAP_MATNR_PRUE_TEIL2 in include FV45PF0V_VBAP_MATNR_PRUE_TEIL2.
Now when i input material no and qty in VA01 it gives m warning message as required and allow me to save order.
Now my requirement is when i again open same order for edit through VA02 same message should appear.
Same enhancement point is getting triggered through VA02 but materials already there in order not coming so not giving warning message as required.
So is there any other enhancement/exit to achieve the requirement.
Thanks in advance!!
2014 Nov 20 4:34 PM
Hi,
try MV45AFZB with Form = USEREXIT_CHECK_VBAP.
Regards, Dieter
I have a requirement where on entering material in VA01/ VA02 some warning message should be appeared.
So i have used enhancement point VBAP_MATNR_PRUE_TEIL2 in include FV45PF0V_VBAP_MATNR_PRUE_TEIL2.
Now when i input material no and qty in VA01 it gives m warning message as required and allow me to save order.
Now my requirement is when i again open same order for edit through VA02 same message should appear.
Same enhancement point is getting triggered through VA02 but materials already there in order not coming so not giving warning message as required.
So is there any other enhancement/exit to achieve the requirement.
Thanks in advance!!
2014 Nov 20 4:31 PM
Hi,
if the check is ok to be setted on save, you can implement USEREXIT_SAVE_DOCUMENT_PREPARE in MV4AFZZ.
2014 Nov 20 8:40 PM
This won't work, I need message just on entering to VA02 not after clicking on save.
2014 Nov 20 4:34 PM
Hi,
try MV45AFZB with Form = USEREXIT_CHECK_VBAP.
Regards, Dieter
2014 Nov 20 8:50 PM
I wanted to display error message on entering to VA02 on existing lines matching my conditions.
Also there is logic which populates few items based on history, so i don't want checks on new VBAP.
Requirement is like when enter to va02, if there is any lines with matching criteria message should be displayed.
2014 Nov 21 7:25 AM
Then you can use, always in MV45AFZZ the USEREXIT_READ_DOCUMENT.
It's triggered when you enter a document and press enter, before showing the dynpro,and you got both VBAK and XVBAP filled.
2014 Nov 21 8:17 AM
Using this exit it do checks required but stays on same selection screen...
not displaying next screen where all items are listed.
2014 Nov 21 8:24 AM
i implemented a popup in this userxit (CL_SALV_TABLE as popup indeed) on customer system and, once i confirm it, i'm redirected to main screen.
Without knowing your code, i cannot try to replicate on my system to check
2014 Nov 27 10:39 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |