2007 Jun 25 1:05 PM
Hi Experts,
Is there a syntax whereby we can call a Transaction Code by giving input parametres (say selecting a Radiobutton) and then skip the first screen to see d output. or we can use Submit <prog_nam> command and skip the first screen.
I want 2 call a transaction code with some input given at runtime and skip the frst screen to see the output.
kindly guide...
2007 Jun 25 1:10 PM
There will be a parameter id connected to the main field for all teh standard sap document eg., PO or RFQ
for finding the Parameter id , do a F1 help on the input field
eg.,
set parameter id 'ANF' field wa_rfq-ebeln.
call transaction 'ME43' and skip first screen.
Here ANF is Parameter id for RFQ and wa_rfq-ebeln is teh value i to use to call the transaction ME43
2007 Jun 25 1:08 PM
Hi Rohit,
Try this.
If Radio eq 'X'.
Call Transaction ME21N and Skip first screen.
Elseif...
......
Endif.
Thanks.
2007 Jun 25 1:10 PM
There will be a parameter id connected to the main field for all teh standard sap document eg., PO or RFQ
for finding the Parameter id , do a F1 help on the input field
eg.,
set parameter id 'ANF' field wa_rfq-ebeln.
call transaction 'ME43' and skip first screen.
Here ANF is Parameter id for RFQ and wa_rfq-ebeln is teh value i to use to call the transaction ME43
2007 Jun 25 1:10 PM
Hi
CASE r_ucomm.
WHEN 'PICK'. " Double click line
IF rs_selfield-fieldname = 'VBELN'.
READ TABLE t_disp_tab INTO wa_item_tab INDEX
rs_selfield-tabindex.
Set parameter ID for transaction screen field
SET PARAMETER ID 'VL' FIELD wa_item_tab-vbeln.
CALL TRANSACTION 'VL03N' AND SKIP FIRST SCREEN.
ENDIF.
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Jun 25 1:14 PM
Hi,
If the condition satisfies it want to enter this part....
Call Transaction TCODE> and Skip first screen.
It will automatically skips and displays the needed screen...
But if the previous screen when having anymandatory fields means we cant do this casually like this..we want to fill tht particaular value through BDC by coding and then only we want to proceed for this
REWARD IF USEFUL!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2007 Jun 25 1:43 PM
Thnx frnds for ur valuabl suggestns...
Qustn for Anji n Anish - my input is not som field bt it is the radiobutton of that particular called transcaction. (so hw to set parametr ID for a radiobttn???)
my scenario is:
I m cllng CRM_DNO_MONITOR tcode n wants the output to b shown on the basis of status being selected as 'not completed' or any radiobutton of that option...bt the user shudnt see this selection screen, he shud see the output directly aftr executing the frst tcode where i m cllng the secnd(CRM_DNO_MONITOR) tcode ...i hop i m nt confusng u guys... kindly explain...