‎2006 May 26 8:07 AM
Dear friends,
I have a program displaying the alv list report,
by selecting the line in the alv list report, i need to call another tranaction
and the values in the alv list is to be populated in the new transaction fields.
i have to use Call Transaction using bdc,
I am using the below subroutine but this only displaying only the transaction, and not populating the value in the fields.
instead of using this CALL TRANSACTION 'IH10' and SKIP FIRST SCREEN. I need to use CALL TRANASCTION USING BDC.
How to use this
FORM zuser_command USING p_ucomm TYPE sy-ucomm
p_ls_selfield TYPE slis_selfield.
DATA: v_lisel TYPE sylisel.
v_lisel = sy-lisel.
CALL TRANSACTION 'IH10' and SKIP FIRST SCREEN.
ENDFORM. "zuser_command
‎2006 May 26 1:32 PM
You need to use a SUBMIT to report RIEQUI20 instead CALL TRANSACTION.
Regards.
‎2006 May 26 1:43 PM
Hi,
you need to use some thing like this...
EQN is the parameter ID for the equipment number.
<b>set parameter id 'EQN' field rs_selfield-value.
CALL TRANSACTION 'IH10' and SKIP FIRST SCREEN.</b>Regards
Vijay
‎2006 May 26 1:47 PM
And also you need to use conversion routine if requires.
data: v_equnr type equnr.
v_equnr = rs_selfield-value.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = V_EQUNR
IMPORTING
OUTPUT = V_EQUNR.
set parameter id 'EQN' field v_equnr.
CALL TRANSACTION 'IH10' and SKIP FIRST SCREEN.Regards
vijay
‎2006 May 26 1:51 PM
HII
Try this
call transaction 'IH10' using bdcdata update 's' mode 'a' messages
into bdcmsgcoll.
if unable to solve your problem plzz paste your code
regards
Naresh