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

calling dialog program from report

Former Member
0 Likes
1,436

Hi All,

I need to call dialog program from report and do not want the initial screen to be shown and execute the dialog program. can this be possible, if yes please let me know this to do this, when I tried using leave to transaction its showing the initial dialog screen.

Thanks in advane

jog

8 REPLIES 8
Read only

Former Member
0 Likes
1,007

Yes ,it is possible

start-of-selection.

call screen 100.

when you double click on 100 and it goes dialog module like SE51 Transaction and need to create screen.

Reward Points if it is helpful

Thanks

Seshu

Read only

Former Member
0 Likes
1,007

hi,

the best method is create t-code for dialog program.

in report..

CALL TRANSACTION 'ZXXX'.

Regards

SAB

Read only

Former Member
0 Likes
1,007

Hi,

Create a Z trnsaction Code for the Transaction you want to call.

Go to SE93. Give Transaction name and click on create.

Select start object as 'Transaction with Variant' or 'Transaction with Parameter'.

On second screen give transaction name and check the <b>check box for 'Skip initial screen'</b>.

Find out the initial screen for the transaction and mention it.

Now, you can call this Z transaction in your program.

Read only

0 Likes
1,007

Hi,

Thanks for you reply, trying pass values into T code - MMAM through zprogram, material number has parameter id where as new material type does not have any parameter id, how can I pass value to material id from program, since it doesn't have parameter id, please let me know this is possible.

Thanks in advance

jog

Read only

0 Likes
1,007

You can do a partial BDC to the transaction MMAM till you reach the second screen of that transaction.

Record the MMAM transaction by using SHDB transaction.

Later you can create a BDC for only those steps(Do not save the transaction).

Call the transaction in Error mode.

call transaction 'MMAM' using it_BDCDATA mode = 'E'.

Regards,

Ravi

Read only

0 Likes
1,007

Hi Ravi,

Thanks for the reply, Very useful answer, could you please throw more light on this and also some code,

I have done recording and also calld transaction in mode E.

how the proceed next.

Thanks in advance

jog

Read only

0 Likes
1,007

Hi Ravi,

Could you please provide more details on this, I did recoding.

what is partial BDC?

how to go after calling transaction in more E.

Thanks in advance

jog

Read only

0 Likes
1,007

Hi Jog,

Is your problem solved if yes please provide me the coding because am also doing BDC for tcode MMAM .

Please do need full.

Thanks,

Ramu.