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

Call Pop-up screen with I/O fields form function module.

Former Member
0 Likes
974

Hello experts,

I have a Zfunction module with input paramteres i_matnr, i_posnr and i_kwmeng.

My requirement is to call a pop-up screen with following fields.

Material - Inputbox for material (Read Only) " v_matnr

Item - Inputbox for Item (Read Only) " v_posnr

Quantity - Inputbox for Qty (Read Only) " v_kwmwng

Price - Inputbox for Qty (Change only) " v_price

Submit button.

I created function ZSD_MAT_DATA.

Added statement CALL SCREEN 0005

In PBO_0005, (include Prog)

v_matnr = i_matnr

v_posnr = i_posnr

v_kwmeng = i_kwmeng

1. But it gives me error for not declaration i_matnr. What I am missing here?

2. Is there anything to make window as pop-up with some specific size?

Regards,

RH

6 REPLIES 6
Read only

Former Member
0 Likes
782

Hi,

Where are you populating the values for i_matnr, i_posnr and i_kwmeng ?

Regards,

Shiny

Read only

0 Likes
782

Its input from function module

Read only

0 Likes
782

Make sure that you declare those variables in TOP include.

Read only

Former Member
0 Likes
782

Hi,

You can use the stanadard FM K_KKB_POPUP_RADIO3

else like same you can craete a new function accordind to your requirement.

Hope it helps you.

Reagrds

Arbind

Read only

Former Member
0 Likes
782

You need to declare all your screen fields that you use in the program as global variables.

Rob

Read only

Former Member
0 Likes
782

Thanks