‎2008 Jan 07 6:39 AM
hi,
i have to call one transaction from a report program.
and i have to pass values for tha transacton from the calling report.
transaction code is /BEV4/PLEA
i have to pass file name and path here.
how to do it.
can any one help me.
‎2008 Jan 07 7:48 AM
Call the transaction /BEV4/PLEA,
Press F1 (hep) F9 (technical info) for the two requested parameters
Have those a parameyer id
If yes, set the parameters before calling transaction
- SET PARAMETER ID 'XXX' FIELD filename.
- CALL TRANSACTION ' BEV4/PLEA'.
If no, call SHDB to build a short BDC that you will use in CALL TRANSACTION .
- Fill an itab of BDCDATA type
- CALL TRANSACTION ' BEV4/PLEA' using itab.
Regards
‎2008 Jan 09 8:54 AM
to call a transaction from report and pass values to it...
i have done it,for billing doc..by clicking on vbeln field it calls transaction va03..
to send a value use set parameter id...and in the select options give memory id..
here is a sample code...which helps you..
case fieldname.
when 'vbeln'.
IF sy-subrc = 0 AND e_column_id-fieldname EQ 'VBELN'.
SET PARAMETER ID 'GR1' FIELD output-vbeln.
CALL TRANSACTION 'script' .
ENDIF.
*endcase.
select-options s_vbeln for vbrk-vbeln no intervals memory id gr1.
if any doubt revert back,
pls reward if helpful,
regards.
‎2008 Jan 09 9:11 AM
Hi Radha,
From se93 - get program name associated with your Transaction.
If it is executable program, you may be able to use SUBMIT progname USING SELECTION SET / WITH options and pass parameters to your called transaction.
Regards,
Mohaiyuddin