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 transaction

Former Member
0 Likes
737

hello experts...

when clicking 'MM03' (display material) button in the alv display, the basic data1 should be displayed on the screen.

how can i do this?

i have this code: CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.

but this does not work because it only displays the transaction skipping the first screen.

help, please.

thank you!

march

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
719

Make small BDC which can lead you to your desired screen.

perform bdc_dynpro      using 'SAPLMGMM' '0060'.
perform bdc_field       using 'BDC_CURSOR'
                              'RMMG1-MATNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'RMMG1-MATNR'
                              record-MATNR_001.
perform bdc_dynpro      using 'SAPLMGMM' '0070'.
perform bdc_field       using 'BDC_CURSOR'
                              'MSICHTAUSW-DYTXT(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
perform bdc_field       using 'MSICHTAUSW-KZSEL(01)'
                              record-KZSEL_01_002.
CALL TRANSACTION 'MM03' using BDCDATA

Regards,

Naimesh Patel

7 REPLIES 7
Read only

former_member194669
Active Contributor
0 Likes
719

Hi,


 set parameter id 'MAT' field wa_mara-matnr. "<<<<<<===
 call transaction 'MM03' and skip first screen.

a®

Read only

Former Member
0 Likes
719

you can use SPA/GPA parameters.

Cheers

Message was edited by:

TRY-N-TRY

Read only

naimesh_patel
Active Contributor
0 Likes
720

Make small BDC which can lead you to your desired screen.

perform bdc_dynpro      using 'SAPLMGMM' '0060'.
perform bdc_field       using 'BDC_CURSOR'
                              'RMMG1-MATNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'RMMG1-MATNR'
                              record-MATNR_001.
perform bdc_dynpro      using 'SAPLMGMM' '0070'.
perform bdc_field       using 'BDC_CURSOR'
                              'MSICHTAUSW-DYTXT(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
perform bdc_field       using 'MSICHTAUSW-KZSEL(01)'
                              record-KZSEL_01_002.
CALL TRANSACTION 'MM03' using BDCDATA

Regards,

Naimesh Patel

Read only

0 Likes
719

how will i get rid of the clicking of the ok codes?

it now displays the basic data1 but only if the check button on the ok codes are clicked.

please help.

thanks!

march

Read only

0 Likes
719

CALL TRANSACTION 'MM03' using BDCDATA mode 'E'.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
719

Hi ,

do like this

WHEN '&IC1'.

READ TABLE itab INDEX rs_selfield-tabindex.

SET PARAMETER ID 'MAT' FIELD ITAB-MATNR.

CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.

Reward Points if it helps,

Satish

Read only

Former Member
0 Likes
719

Hi march,

Refer below thread ... Similar kind of requirement ...

it might help you...

and also...

Use this Code.

IF rs_selfield-fieldname EQ 'MATNR'.

READ TABLE itab INDEX rs_selfield-tabindex.

SET PARAMETER ID 'MAT' FIELD itab-matnr.

CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN .

ENDIF.

Check the data element of that particular field > Further Characterstics> Parameter id

Hope it will solve ur problem..

<b>Reward points if useful..</b>

Thanks & Regards

ilesh 24x7