Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Call Transaction with Input Parametres

Former Member
0 Likes
14,068

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...

1 ACCEPTED SOLUTION
Read only

former_member150733
Contributor
0 Likes
8,516

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

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...

5 REPLIES 5
Read only

Former Member
0 Likes
8,516

Hi Rohit,

Try this.

If Radio eq 'X'.

Call Transaction ME21N and Skip first screen.

Elseif...

......

Endif.

Thanks.

Read only

former_member150733
Contributor
0 Likes
8,517

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

Read only

Former Member
0 Likes
8,516

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

Read only

Former Member
0 Likes
8,516

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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Read only

Former Member
0 Likes
8,516

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...