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

dialog prob

Former Member
0 Likes
882

Hi friends,

I m dealing with dialog programming. In screen 500 is my initial screen(normal) having field customer no.

In screen 600 customer no & land field is there. In same screen 600 having tabstrip control.

Anybody will tell me how to fetch the data for customer no in screen 500 & it should also display the customer no & land in screen 600??

If coding is there it will be more helpful.

In Screen 500,

select the properties window for Customer Number.

or

double click the customer number field.

In the properties windoe

Check the SET PROPERTY Check box.

In the screen 600,

Check the GET PROPERTY Check box.

automatically it will come.

Hope this will help you.

7 REPLIES 7
Read only

Former Member
0 Likes
849

In Screen 500,

select the properties window for Customer Number.

or

double click the customer number field.

In the properties windoe

Check the SET PROPERTY Check box.

In the screen 600,

Check the GET PROPERTY Check box.

automatically it will come.

Hope this will help you.

Read only

Former Member
0 Likes
849

Hi

Use the table KNA1 to design the fields for customer information of both screens 500/600.

In this way when you'll fill work area KNA1 you can see the informations on both screen.

Fill work area in initial screen 500:

PROCESS PBO

PROCESS PAI.

FIELD KNA1-KUNNR MODULE CHECK_KNA1 ON REQUEST.

MODULE CHECK_KNA1.

SELECT SINGLE * FROM KNA1 WHERE KUNNR = KNA1-KUNNR.

IF SY-SUBRC <> 0.

-


error message

ENDIF.

ENDMODULE.

Max

Read only

Former Member
0 Likes
849

HI

GOOD

YOU HAVE CUSTOMER NO SCREEN FIELD IN SCREN 500 AND 600

AND YOU WANT TO FETCH THE DATA FROM 600 TO 500,

ITS QUITE CONFUSING, WHEATHER YOU WANT TO DISPLAY THE CUSTOMER NO DYNAMICALLY IN THE 500 SCREEN.

IF YES YOU CAN CODE FOR THAT IN THE PBO STATEMENT OF THE SCREEN 500.

THANKS

MRUTYUN

Read only

0 Likes
849

Hi,

I think ur not understand my problem properly. In screen 500 i have customer no field. when i press execute button that customer no & land will be displayed in screen 600.

How i can manage???

Read only

0 Likes
849

Create 2 fields on Screen 600 namely Customer and Land.

In PBO of screen 600 Write logic

1. To read the customer number from screen 500

2. Select customer number and land from KNA1 using the customer number and

3. Assign the customer number and land read from KNA1 to the fields in screen 600.

-Kiran

Read only

0 Likes
849

hi,

declare 2 variables one for customer no and other for land.

get the customer by chossing get from program.

in the same way do it in screen 600.

now if you enter something in screen 500, you can get that value in the varaible declared in the program.

using which you can select the data from table and display the land and customer no in screen 600.

regards,

Manohar.

Read only

Former Member
0 Likes
849

Goto SE51(Screen painter)

Select Screen 500.

In Screen 500,

Select the <b>Screen attributes</b> for Customer Number field.

or

<b>double click the customer number field</b>.

In the <b>Screen attributes</b>,

In the bottom area,

Attributes, Select <b>Dict</b> Tab

In that

Check the <b>SET PARAMETER</b> Check box.

In the screen 600,

Check the <b>GET PARAMETER</b> Check box.

If u execute,

Automatically what the value enetered in Screen 500 it will come in the Screen 600.

Try and check it.

Hope this will help you.