‎2008 Mar 12 9:42 AM
hi guru's,
i have a program with me which calls an alv grid and if we click on the material in the alv, it calls the transaction mm03.
now i want to use BDC FOR SKIPPING THE FIRST 2 SCREENS OF THE TRN AND DIRECTLY GO TO THE DISPLAY OF THE INFO.( skipping the view selections for the material no, but automatically some views should be selected.)
as iam new t bdc, i need to know the procedure and the insertion of the forms of bdc in my program in DETAIL.
please give me stepd to go further.
snipet of my final code is:
-
FORM at_user_command USING fp_ucom TYPE sy-ucomm
fp_selfield TYPE slis_selfield. "#EC *
CASE fp_ucom.
WHEN '&IC1'.
READ TABLE i_makt INTO wa_final
INDEX fp_selfield-tabindex.
IF sy-subrc EQ c_0.
SET PARAMETER ID 'MAT' FIELD wa_final-matnr.
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
ENDIF.
WHEN OTHERS.
MESSAGE i009.
ENDCASE.
ENDFORM.
-
SO PLEASE GUIDE ME HOW TO GO ABOUT.
‎2008 Mar 12 10:13 AM
Hi Friend,
Use transaction SHDB and do the recording for MM03.
Use that recording code in your program, append into BDCDATA. Pass the material dynamically to BDCDATA.
Call the transaction using this BDCDATA table.
Syntax: CALL TRANSACTION 'MM03' USING BDCDATA.
Hope it will solve your problem.
Regards
Krishnendu
‎2008 Mar 12 10:37 AM
HI ,
i think this is not possible , because we have to enter the mandatory field product no here how can we skip from here.
regards,
venkat.
‎2008 Mar 12 10:45 AM
hi venkat,
the mandatory field is populated from the alv grid before call transaction.
SET PARAMETER ID 'MAT' FIELD wa_final-matnr.
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
so watever the user selects in the alv, for that material no, some dynamic views must be selected , and displayed.
i heard that this can be acheived using bdc.
regards,
chaitanya
‎2008 Mar 12 10:38 AM
‎2008 Mar 12 10:52 AM
hi paul after the recording is done, can u give how to proceed further.
where to insert and where from.
please, can u give me a step wise like u did earlier for recording.
i would be thankful to u for this detailed help.
regards,
chaitu
‎2008 Mar 17 7:59 AM