‎2007 Nov 15 5:42 PM
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
‎2007 Nov 15 5:47 PM
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
‎2007 Nov 15 5:47 PM
Hi,
set parameter id 'MAT' field wa_mara-matnr. "<<<<<<===
call transaction 'MM03' and skip first screen.
a®
‎2007 Nov 15 5:47 PM
you can use SPA/GPA parameters.
Cheers
Message was edited by:
TRY-N-TRY
‎2007 Nov 15 5:47 PM
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
‎2007 Nov 15 7:21 PM
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
‎2007 Nov 15 7:46 PM
CALL TRANSACTION 'MM03' using BDCDATA mode 'E'.
Regards,
Naimesh Patel
‎2007 Nov 15 5:49 PM
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
‎2007 Nov 15 6:02 PM
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