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

Skipping multiple screens when calling transaction.

Former Member
0 Likes
2,163

Hi Gurus,

It's quite easy to call transaction mm03 with from an ABAP program.

Filling the parameter ID MAT with the material, and you're good to go.

Call transaction 'MM03' and skip first screen.

So far so good. But is it also possible to enter data for the next screens (you have to select a view and plant). Now the user still has to enter that data and I was wondering if I could do that automatically...

kind regards,

Ron.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
1,307

For this you can create a small BDC.

Use SHDB to record the transaction. Leave it when it reaches your desired screen.

Now, in your program Call this BDC in the "N" (Background) mode .

Regards,

Naimesh Patel

Hi Gurus,

It's quite easy to call transaction mm03 with from an ABAP program.

Filling the parameter ID MAT with the material, and you're good to go.

Call transaction 'MM03' and skip first screen.

So far so good. But is it also possible to enter data for the next screens (you have to select a view and plant). Now the user still has to enter that data and I was wondering if I could do that automatically...

kind regards,

Ron.

6 REPLIES 6
Read only

naimesh_patel
Active Contributor
0 Likes
1,308

For this you can create a small BDC.

Use SHDB to record the transaction. Leave it when it reaches your desired screen.

Now, in your program Call this BDC in the "N" (Background) mode .

Regards,

Naimesh Patel

Read only

Former Member
Read only

bpawanchand
Active Contributor
0 Likes
1,307

Hi

CALL TRANSACTION ta USING bdc_tab

bdc_tab of row type BDCDATA from the ABAP Dictionary

regards

Pavan

Read only

0 Likes
1,307

Hi

U disable the include screen and copy the form statement in include.

U declare CALL TRANSACTION 'mm01' USING lt_bdcdata

MODE p_mode

MESSAGES INTO lt_messtab.

Read only

Former Member
0 Likes
1,307

hi,

SAP provide the functionality of skipping the first screen. Because in most of the cases the first screen of a transaction is only taking the name of SO, or PO etc.

If you want to Automate, Record a simple BDC and pass the data values.

Regards

Sumit Agarwal

Read only

beyhan_meyrali
Active Participant
0 Likes
1,307

Hi,

Very simple. Create a BDC recording till the screen you want. And create a function for BDC recording. Call that function with mode = E.

That is it.

Cheers