Application Development 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: 

Dialog modules

Former Member
0 Kudos
199

Hi,

i created dialog module for customer master display first screen.

i am calling the above created dialog module in my program by exporting all the details of that screen and i want to import the data which is in the next screen (comes after executing the first screen)

does it possible,

Suppose if we execute ME23 transaction in first screen it asks for purchase order no and in the next screen it displays the details of that PO

If we created dialog module for first screen of ME23 and want to import the data of second screen. Does it Possible

5 REPLIES 5

Former Member
0 Kudos
68

fetch the data depending upon screen 1 processing in the PBO of second screen and then get it dispalyed on the second screen..

so u hav eto create 2 screens and write ur code in PBO of second screen to fetch data before lodaing the screen2..

Reward points if helpfull..

amit

Former Member
0 Kudos
68

Hi,

Yes it's possible. You will have to first set the value of the parameter id for the purchase order no in your program. Then you will have to call the transaction ME23 & skip first screen.

Refer teh code below:

SET PARMAETER ID 'BES' FIELD W_PONO."W_PONO will be field of the PO no

"entered in the screen defined by you.

CALL TRANSACTION ME21 AND SKIP FIRST SCREEN.

Regards,

Chetan.

PS:Reward points if this helps.

0 Kudos
68

Hi,

I want to use call dialog instead of call transaction

0 Kudos
68

Hi,

Dialog Modules are obsolete repository objects. Still if you want to use them, then u can use the syntax as:

CALL DIALOG dialog AND SKIP FIRST SCREEN.

Regards,

Chetan.

PS:Reward points if this helps.

0 Kudos
68

Hi,

I created dialog module for the second screen while calling that using call dialog it displays that screen with empty data.

If we created dialog module for first screen it calls that screen(first screen) but it does not goes to the second screen even though we exported PO num

Then what might be the possible solution in this case