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

VA01

Former Member
0 Likes
722

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

6 REPLIES 6
Read only

Former Member
0 Likes
682

Hi,

Try by writing a field exit for the field SOLD TO party in VA01.

by using SUBMIT REPORT.

regards,

Anji

Read only

Former Member
0 Likes
682

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

Read only

Former Member
0 Likes
682

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.

Read only

Former Member
0 Likes
682

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.

Read only

Former Member
0 Likes
682

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

Read only

Former Member
0 Likes
682

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