Can't pass parameter's to a transaction in a new win and skip first screen.
Dear experts,
I'm trying to open a transaction('CV04N') in a new window from a screen that has input box and a pushbutton. I'm trying to pass parameter(DOKNR/'CV1') into the new transaction and skip the first selection-screen. I tried to use Get/Set parameter and that didn't work.
Also i tried to passing values with batch input and that did pass my values but without skipping the first screen and also it froze the transaction.
Is there anything I can do to fix this problem?
Hi Gershon Osmolovski,
Alvaro is right, CV04N needs to press Execute button. So you need to use Batch Input. If it doesn't work, there must be an error in your code, what messages are returned by SAP? I have tested right now, SAP leaves immediately after the selection screen because there is a code that stops the program if it detects it runs using batch input (SY-BINPT system field). So, you should run CALL TRANSACTION with OPTIONS FROM structured data object (data type CTU_PARAMS, see ABAP documentation for more information), with component NOBINPT='X'. Be careful as an ALV grid is then displayed, you can only simulate the buttons so I advise you to indicate the exaction selection in the selection screen, then press "select all", and execute the function you want.
If you need more help, paste your code, only useful part.
BR
Sandra
Similar Messages
-
Call transaction CJIC using bdcdata and skip first screen
I want to call transaction CJIC and skip first screen. I have set parameters for fields for which I need to pass data. But one field namely display variant has no parameter id. How can I pass value to it and also skip first screen?
I have tried passing its value in bdcdata and also passing ONLI. But it does not run in mode "N". What can be the solution?Hi frnd,
fortunately transaction CJIC is selection-screen of an executable program RKPEP012.......so u don hav to use call transaction and instead u can use SUBMIT statement................
submit RKPEP012 WITH SELECTION-TABLE rspar
Effect
If you specify this addition, parameters and selection criteria on the selection screen are supplied from an internal table rspar. You must specify an internal table with the row type RSPARAMS for rspar. The structured data type RSPARAMS is defined in the ABAP Dictionary and has the following components, all of which are data type CHAR:
SELNAME (length 8),
KIND (length 1),
SIGN (length 1),
OPTION (length 2),
LOW (length 45),
HIGH (length 45).
To supply parameters and selection criteria for the selection screen with specific values, the lines in the internal table rspar must contain the following values:
SELNAME must contain the name of a parameter or selection criterion for the selection screen in block capitals
KIND must contain the type of selection screen component (P for parameters, S for selection criteria)
SIGN, OPTION, LOW, and HIGH must contain the values specified for the selection table columns that have the same names as the selection criteria; in the case of parameters, the value must be specified in LOW and all other components are ignored.
If the name of a selection criterion is repeated in rspar, this defines a selection table containing several lines and passes it on to the selection criterion. If parameter names occur several times, the last value is passed on to the parameter.
The contents of the parameters or selection tables for the current program can be entered in the table by the function module RS_REFRESH_FROM_SELECTOPTIONS.
Notes
In contrast to selection tables, the data types of the components LOW and HIGH in table rspar are always of type CHAR and are converted to the type of the parameter or selection criterion during transfer, if necessary.
When entering values, you must ensure that these are entered in the internal format of the ABAP values, and not in the output format of the screen display.
Revert back for queries.
Cheers,
Will. -
Call Transaction and skip first screen on workflow task
Hello, I'm developing a workflow with a user decison step, where the user should fill some data in transaction FD02.
When the user presses the button in the workitem, the wf goes to a step where i should call transaction FD02.
I'm using SET PARAMETER ID: 'KUN' FIELD customer. to fill the customer field and CALL TRANSACTION 'FD02' AND SKIP FIRST SCREEN.
But when I press the button in the workitem nothing happens. I tested the same in a report and it works. Can anybody help me?
Thanks a lot.Hi,
try below code
data: fcode type FCODE value 'ANTRAGAEN',
customer type kunner,
bukrs type bukrs.
SET PARAMETER ID 'KUN' FIELD customer. " to fill the customer field
SET PARAMETER ID 'BUK' FIELD companycoder. " to fill the company code
SET PARAMETER ID 'TTC' FIELD fcoder. " to fill Function code for enter " it may be other than TTC please check.
CALL TRANSACTION 'FD02' AND SKIP FIRST SCREEN. -
Call Transaction and skip first screen in SE37
Hi All,
I want call transaction SE37 and skip first screen of it. Is it possible through the statemen Call transaction 'SE37' and skip first screen ?.
Of course I have populated the parameter id 'LIB' before this statement but it is not working. Though I have found several posts with this solution but it's not working for me. Could anyone please let me know if this can be done using this statement or there are any other additions required along with this statement or it is not at all possible to achieve this functionality.
Thanks in advance !!.Solved! without a solution? very funny.
In somewhere of second screen related bdcdata, intensionlly make a mistake to force the system throws the error and the call the trasnaction with mode 'E'. This will solve the issue.
perform bdc_field using 'BDC_CURSO' " I removed letter R in 'BDC_CURSO'
'ISEG-ERFMG(01)'.
CALL TRANSACTION 'XXXX' USING BDCDATA MODE 'E'.
Thanks.
Suresh Yerra. -
CALL TRANSACTION 'MIR6' AND SKIP FIRST SCREEN .
Hi all,
i hope there is someone that can help me.
My problem is: in an ABAP custom report in a FORM user-command my code is
CASE ls_selfield-sel_tab_field.
WHEN 'ITAB-BELNR'.
IF NOT ls_selfield-value IS INITIAL.
SET PARAMETER ID 'RBN' FIELD ls_selfield-value.
CALL TRANSACTION 'MIR6' AND SKIP FIRST SCREEN .
ENDCASE.
When i click on output field of my report, not skip first screen but only call MIR6!!!
How can i solve this problem?
Regards.Hi,
First of all Please don't use all Caps for Subject Line
Test Following Sample Code it will solve out your problem,
DATA: it_bdcdata TYPE TABLE OF bdcdata,
wa_it_bdcdata LIKE LINE OF it_bdcdata,
belnr(10).
belnr = '100'. " Give Document Number here
DATA opt TYPE ctu_params.
CLEAR wa_it_bdcdata.
wa_it_bdcdata-program = 'SAPMM08N'.
wa_it_bdcdata-dynpro = '100'.
wa_it_bdcdata-dynbegin = 'X'.
APPEND wa_it_bdcdata TO it_bdcdata.
CLEAR wa_it_bdcdata.
wa_it_bdcdata-fnam = 'BDC_CURSOR'.
wa_it_bdcdata-fval = 'SO_BELNR-LOW'.
APPEND wa_it_bdcdata TO it_bdcdata.
CLEAR wa_it_bdcdata.
wa_it_bdcdata-fnam = 'SO_BELNR-LOW'.
wa_it_bdcdata-fval = BELNR.
APPEND wa_it_bdcdata TO it_bdcdata.
CLEAR wa_it_bdcdata.
wa_it_bdcdata-fnam = 'BDC_OKCODE'.
wa_it_bdcdata-fval = '=CRET'.
APPEND wa_it_bdcdata TO it_bdcdata.
opt-dismode = 'E'.
CALL TRANSACTION 'MIR6' USING it_bdcdata OPTIONS FROM opt.
Please Reply if any Issue,
Best Regards,
Faisal -
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
Hi,
i'm using this in an report.
SET PARAMETER ID 'BES' FIELD WA_ITAB-EBELN.
SET PARAMETER ID 'BSP' FIELD WA_ITAB-EBELP.
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
It works OK.
Is there any parameter ID to go in a sprecial part of an PO, for example
direct to materialdata or konditions?.
thanks.
Regards, DieterHi,
I think u can do that by using BDC as used in this code please refer to this code.
FORM get_user_command USING cr_ucomm LIKE sy-ucomm "#EC *
cr_selfield TYPE slis_selfield.
CLEAR wa_final.
DATA BEGIN OF bdcdata OCCURS 10.
INCLUDE STRUCTURE bdcdata.
DATA END OF bdcdata.
CASE cr_ucomm.
WHEN '&IC1'.
READ TABLE it_final INTO wa_final
INDEX cr_selfield-tabindex.
IF cr_selfield-fieldname = 'MATNR'.
IF sy-subrc IS INITIAL.
SET PARAMETER ID 'MXX' FIELD 'E'.
SET PARAMETER ID 'MAT' FIELD wa_final-matnr.
SET PARAMETER ID 'WRK' FIELD wa_final-werks.
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
ENDIF.
ELSEIF cr_selfield-fieldname = 'LIFNR'.
IF sy-subrc IS INITIAL.
CLEAR bdcdata.
bdcdata-program = 'SAPMF02K'.
bdcdata-dynpro = '0101'.
bdcdata-dynbegin = 'X'.
APPEND bdcdata.
CLEAR bdcdata.
bdcdata-fnam = 'RF02K-LIFNR'.
bdcdata-fval = wa_final-lifnr.
APPEND bdcdata.
CLEAR bdcdata.
bdcdata-fnam = 'RF02K-EKORG '.
bdcdata-fval = wa_final-ekorg.
APPEND bdcdata.
CLEAR bdcdata.
bdcdata-fnam = 'RF02K-D0310'.
bdcdata-fval = 'X'.
APPEND bdcdata.
CLEAR bdcdata.
bdcdata-fnam = 'WRF02K-D0320'.
bdcdata-fval = 'X'.
APPEND bdcdata.
CLEAR bdcdata.
bdcdata-fnam = 'BDC_OKCODE'.
bdcdata-fval = '/00'.
APPEND bdcdata.
CLEAR bdcdata.
bdcdata-program = 'SAPMF02K'.
bdcdata-dynpro = '0110'.
bdcdata-dynbegin = 'X'.
APPEND bdcdata.
CALL TRANSACTION 'XK03' USING bdcdata MODE 'E'.
ENDIF.
ENDIF.
ENDCASE.
ENDFORM. " get_user_command
regards,
sudha -
CALL TRANSACTION AND SKIP FIRST SCREEN to specified tab in TCODE 'IW32'
Hi,
I am using CALL TRANSACTION AND SKIP FIRST SCREEN in ALV Grid Report to call IW32 tcode and it goes to tcode skipping the first screen. But it goes to the default header tab in the tab control. Whereas I wish to go to the specified tab 'OPERATIONS'.
Can any one help me, as to how to resolve this issue ?
Thanks in advance.Sridher,
I have the similar requirement. but in my case its COSTS tab. Could you please provide the code you have used for this to work?
I used standard "call transaction with mode 'E' ". This seems to be working but I am not pleased by my effort. Is there any proper way that you might have followed ?
Greatly appreciated your help.
Regards,
Reddy -
Call transaction 'LS33' and skip first screen.
This doesn't work:
set parameter id 'LEN' field '04018091'.
call transaction 'LS33' and skip first screen.
I've found this:
<a href="https://www.sdn.sap.com/irj/sdn/message?messageID=3715690">https://www.sdn.sap.com/irj/sdn/message?messageID=3715690</a>
but I'm not sure about the exact meaning (wouldn't know where to put the *)
nor even about if it applies.
Thanks in advance.Sorry, I mistook this forum for that of ABAP General.
Anyway, the answer is in
Call transaction 'LS33' and skip first screen. -
CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN?
Hi, Gurus:
In my program, after I call 'CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.' in the va02, user maybe do some change and save
then I want to get those change as the dollowing:
select single uvall into c_complete_flag from vbuk
where vbeln = lv_vbeln.
why I can't get the latest change.
Thanks,VA02 usese the asynchronus update mehtod so, it gives you the message like "Order 1111 was saved" but the database update is still going on.
So, you need to wait for some time before facthing the data from the database.
You can use like:
WAIT UP TO 10 SECONDS.
But this statement will force you to wait for atleast 10 seconds before doing any thing.
Regards,
Naimesh Patel -
Call transaction and skip first screen
Hi,
I have a little but I think difficult problem
I have a selection screen and after that I call my dnypro. In this dynpro I can open a dynpro which looks like a popup where I have the possibility to call the same transaction with other input paramters.
the problem is when I make call transaction and want to go back I see the pop up dynpro which calls the transaction. so how can I close this popup dynpro by calling again transaction?I think I can't eyplain it.
Following. I have:
call transaction trans: selection screen calls dynpro 100, in dynpro 100 button with dynpro 200 with starting parameters.
dynpro 200 calls again transaction trans with skip first screen.
now I have displayed again dynpro 100 with new values. When I now want to go back I can see dynpro 200 which called the transaction. So how can I achieve this that dynpro 200 isn't shown when I go back ? -
CALL TRANSACTION VK13 AND SKIP FIRST SCREEN
Hi,
I'm using ALV report and i want to call the the Tcode VK13 from alv and skip the screens.
I have declared form user_command and calling from the "REUSE_ALV_LIST_DISPLAY".
The actual issue is how to select the radio button in the pop up window and also skip the next screen to go the condition records screen when calling tcode VK13 by passing parameters.
CALL TRANSACTION VK13 .
Help is highly appreciated.
Thanks,
KashHello,
As per the requirement I understood that you have to skip more than one screen in VK13 transaction.
For this purpose, write a BDC (Upto the screen you want ) and use it in a call transaction .
You have to do a partial BDC to the transaction VK13, providing all the data that is required to get to the screen you want and use the statement
Call transaction 'VA03' using it_bdcdata mode 'E'...
(IT_BDCDATA should have the information that is necessary to fill in the screens of VA03.)
Eg:
DATA: bdcdata_wa TYPE bdcdata,
bdcdata_tab TYPE TABLE OF bdcdata.
CLEAR bdcdata_wa.
bdcdata_wa-program = 'SAPLSEOD'. "Pass pgm name
bdcdata_wa-dynpro = '1000'. "Pass your screen you want to call
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa. "Optional
bdcdata_wa-fnam = 'BDC_CURSOR'. "Optional
bdcdata_wa-fval = 'SEOCLASS-CLSNAME'. "Optional
APPEND bdcdata_wa TO bdcdata_tab. "Optional
CALL TRANSACTION 'VK13' USING bdcdata_tab
MODE 'E'
UPDATE 'A'
MESSAGES INTO g_t_bdcmsgcoll.
Regards,
Lijo -
Call transaction VA01 or VA03 and skip first screen using Web dynpro
Hello Experts,
I am calling the standard transactions using Web dynpro via ITS.
I am able to reach to the initial screen of the standard transactions say VA03 and populate the sales order number through Web dynpro.
My requirement is to skip the first screen of the transaction.
I tried passing the screen number in the URL link but still it is showing the initial screen.
Please suggest me solution for this.
Thanks and Regards,
Rahul SinhaHello Rahul,
Did you follow the ITS Wiki article?
https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=22375
Edgar -
How to skip first screen while calling transaction
Hi all,
I am using interactive alv.
if i select one line and press details
that must go to another screen.
In that i must skip first screen and directly go to the details of that first screen.
suppose i am using the code as follows
call transaction mm01 and skip first screen
this is giving me error.
how to solve the problem.
thanks and regards,
giri.hi giri,
For ur requirement, u can use SKIP FIRST SCREEN addition for CALL TRANSACTION Command.
Before this, u have to use SET PARAMETER ID Command to pass the required values for transaction.
Example, In transaction VA01, we have to set parameter AUN to pass the sale order number to the transaction.
<b>
AT LINE-SELECTION .
SET PARAMETER ID 'AUN' FIELD w_vbeln.
CALL TRANSACTION 'VA01' AND SKIP FIRST SCREEN .</b>
where w_vbeln contains the sale ordre number. Now VA01 runs for this sale order number..... And AUN is the PARAMETER to be set before calling VA01 TCODE.
similarly, check the PARAMETER associated with MM01 Tcode and initialize that parameter and call the code in the similar way.
To check parameter Id of MM01,
1) Enter MM01 Transaction
2) Press F1 on Material Field
3) Select Technical Info
4) u can find Parameter ID associated with this field.
check these links for full details.
call transaction...
http://help.sap.com/saphelp_47x200/helpdata/en/78/21761c51ce11d189570000e829fbbd/frameset.htm
at line selection,
http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba2c435c111d1829f0000e829fbfe/frameset.htm
get/set parameter:
http://help.sap.com/saphelp_nw04/helpdata/en/5b/7bc3775d1111d295ad0000e82de14a/frameset.htm
Reward me if useful........
Harimanjesh AN -
Problem with CALL TRANSACTION SKIP FIRST SCREEN
Hi Experts,
I am having a functionality where in if i click the hotspot i go the specified transaction..I am able to do that using --
CALL TRANSACTION 'CAA3' AND SKIP FIRST SCREEN
Now if i press the back button on the standard transaction i am coming to the first screen of the CAA3 transaction..
Can i come back to my original ALV display instead of coming to the first screen of the CAA3 transaction which i have skipped while going there..
I have searched in all forums. But i couldn't get the proper solution.
Please Help me !!!
Regards,
RajeshHi friends,
What do you think the results?
I used alv hotspot.
FORM user USING r_ucomm LIKE sy-ucomm rs_selfield
TYPE slis_selfield .
READ TABLE gt_alv INTO gs_alv INDEX rs_selfield-tabindex.
IF rs_selfield-fieldname EQ 'BELGE'.
SET PARAMETER ID '80B' FIELD gs_alv-belge.
CALL TRANSACTION 'FPE3' AND SKIP FIRST SCREEN.
ELSEIF rs_selfield-fieldname EQ 'GPART'.
SET PARAMETER ID 'BPA' FIELD gs_alv-gpart.
CALL TRANSACTION 'FPP3' AND SKIP FIRST SCREEN.
ELSEIF rs_selfield-fieldname EQ 'VKONT'.
SET PARAMETER ID 'KT0' FIELD gs_alv-vkont.
CALL TRANSACTION 'CAA3' AND SKIP FIRST SCREEN.
ENDIF.
FPE3 and FPP3 is running. But CAA3 is incorrect.
is the correct answer enhancement ? -
Problems with SKIP FIRST Screen when calling a transaction variant
Hi,
I have a transaction variant of VA02 that suppresses the display of the pricing button on the conditions screen. I have created a variant transaction for called ZA02 which calls this variant of VA02.
In my program I have coded the following :-
SET PARAMETER ID 'AUN' FIELD VBELN.
SET PARAMETER ID 'VPO' FIELD POSNR.
CALL TRANSACTION 'ZA02' AND SKIP FIRST SCREEN.
I would have expected the program to display the second screen of VA02 but it displays the first screen and when I hit return key the second screen is then displayed.
I don't think I need VPO setting but when I code
SET PARAMETER ID 'AUN' FIELD VBELN.
SET PARAMETER ID 'VPO' FIELD POSNR.
CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
VA02's second screen is displayed
Any help as to how to Skip this first screen with ZA02 would be greatly appreciated
Thanks
RousYes you are right Reg thanks for that.
But it appears that VA02 doesn't require it setting anyway. I changed the PID to APO and indeed I've even commented the line out, but my program goes to the second screen when calling VA02 but stays on the first screen when calling ZA02 .
Maybe you are looking for
-
Use of Letter of credit for purchase through R/3
Hi Any body can tell me how to use the facility of payment Guaranty - Documentary payment (Letter of Credit) in purchase. Create a letter of credit Link the Letter of credit with PO Track the Letter of credit with materials receipt Retire the letter
-
Flash Player installation problems with Windows Embedded (WES/XPe)
I've deployed 13 HP T5740 Thin Clients at my office, each have Windows Embedded Standard (WES/XPe) and with Internet Explorer 7. With limitations on VMWare servers and sound, users need to view webinars on their local client. When I try to install an
-
Safari crashing often, mostly when idle
Hi. Since the Safari 5 update, my safari is crashing often. I notice it especially when Safari is idle. I've read the forum posts here so I have tried a lot to narrow down the problem, without any luck. So far I: reinstalled Safari (after deleting pl
-
HT201081 Can't get rid of "Family" in calendar
I want to get rid of "Family" in my iCal. I'm willing to get rid of family sharing if that will do it. I looked of settings/icloud/family on my phone as shown on an Apple article, but that must be for an earlier version of IOS. Actually, I'd li
-
Synchronous Inbound Proxy: Request Responce Type
Hi, I am new to ABAP and i have to work on a inbound proxy which is synchronous ie a request-responce scenario has to be implemented. Can some one guide me how to initiate. Regards, vickey Any replys will be highly appreciated and rewarded.