‎2007 Feb 28 6:23 AM
Hi all,
In Va01, if i enter sold-to party value & press ENTER, i need to display some ALV report as popup window. For this i found MV45AIZZ user exit. But here how can i code and how the standard screen will call this user-defined MODULE.
Any have idea plz let me know.
Regards,
Ashwin
‎2007 Feb 28 6:25 AM
Hi,
Try by writing a field exit for the field SOLD TO party in VA01.
by using SUBMIT REPORT.
regards,
Anji
‎2007 Feb 28 6:26 AM
hi,
goto the z include provided by the user exit and write the code like this
case sy-ucomm.
when 'ENTR'.
submit zreport.
endcase.
just try this
regards,
pankaj singh
‎2007 Feb 28 6:30 AM
Hi Ashwin,
Well, what kind of report u want to display.. is it composed of many fields...
Well, this is not a gud idea but u can try out for ur need..
try calling the report in the user exit USEREXIT_FIELD_MODIFICATION... of MV45AFZZ..
u shud chek for Screen name and field name as this user exit is called for every field on every screen of sales order transaction.
reward points, if helpful.
‎2007 Feb 28 7:05 AM
Ashwin,
What Thanuja and Anji are saying is right.. inaddition to that, here is another way what I feel also a way......
<b>U can create a Z-function module and call it in the Include.
Write the required logic in the FM.</b>
Regards,
Sujatha.
‎2007 Feb 28 7:09 AM
form userexit_move_field_to_vbak.
<b> call function 'POPUP_TO_CONFIRM_WITH_MESSAGE'
exporting
defaultoption = 'Y'
diagnosetext1 = w_credit
diagnosetext2 = w_glass
DIAGNOSETEXT3 = ' '
textline1 = w_text5
textline2 = w_text6
titel = 'Do you want to continue'
start_column = 85
start_row = 3
CANCEL_DISPLAY = 'X'
importing
answer = w_answer.</b>
Regards
Prabhu
‎2007 Feb 28 7:11 AM
in smod after giving MV45AIZZ press F8 it will show the fn module exit name dbl click on that it will show an include with z. just dbl click (may be after that you have to press enter) to create that include.
code like ABAP only but you can get the value of the screen VA01 only through the import parameter of fn module exit.
use fm...and build your fieldcat and all the necessary things
REUSE_ALV_POPUP_TO_SELECT
regards
shiba dutta