‎2007 May 16 8:03 PM
Hi
How can we input a transaction code with an input value from the program
thank you
‎2007 May 16 8:06 PM
What exactly you need?
If you want the default values in the selection screen when you execute the T-code you would have to do any think special for it. It should do.
Please write what exactly is ur need.
Shreekant
‎2007 May 16 8:05 PM
Hi,
Yes..You can use variables also...
data: v_tcode(30) value 'VA01'.
call transaction v_tcode.
Is this what you want??
Thanks,
Naren
‎2007 May 16 8:06 PM
What exactly you need?
If you want the default values in the selection screen when you execute the T-code you would have to do any think special for it. It should do.
Please write what exactly is ur need.
Shreekant
‎2007 May 16 8:07 PM
my input value is a value...
i need to input a that value in the TC WE05
how do i do it from my current program
thank you
‎2007 May 16 8:13 PM
I am understanding that you have a report and you need to call the T code WE05 and run it with a value from the report.
Eg. Lets say you have A IDOC number and you want to call we05 and execute for that IDOC number.
In you report when you click the idoc number it would take the number and call We05 and will execute We05.
AT LINE-SELECTION.
CASE SY-UCOMM.
WHEN 'PICK'.
SET PARAMETER ID 'DCN' FIELD IT_EDIDC-DOCNUM
CALL TRANSACTION 'WE05 AND SKIP FIRST SCREEN.
ENDCASE.
I hope this is what you want.
Shreekant
‎2007 May 16 8:08 PM
Hi,
You can use BDC
OR
You can use SUBMIT statement..
Thanks,
Naren
‎2007 May 16 8:13 PM
Hi,
Check this sample code
RANGES: r_date FOR sy-datum.
RANGES: r_idoc FOR edidc-docnum.
r_idoc-sign = 'I'.
r_idoc-option = 'EQ'.
r_idoc-low = '0000000000520144'.
APPEND r_idoc.
SUBMIT rse_idoc_listen WITH so_credt IN r_date
WITH so_docnu IN r_idoc
AND RETURN.
Thanks,
Naren
‎2007 May 16 8:17 PM
Hi,
Please make sure to reward points for helpful answers..
Thanks,
Naren