How to skip first screen that is not selection screen.
Hi Experts
I am working on a module pool program where in I am required to call a transaction with skip first screen. the first screen of this transaction is self made screen with screen painter with input boxes and a submit button with an OK_CODE. now I am able to get all the input boxes filled during the call, however as the ok_code is missing it is not skipping first screen, neither does the PAI of first screen of called transaction is getting fired, is there any way to fire it?
I discovered that once I set the parameter of sy-ucomm and then called the transaction it worked. check the code if you need the help on same
ACTION = 'VW'.
value = 'V01'.
SET PARAMETER ID 'SPM' FIELD SPMON.
SET PARAMETER ID 'VRS' FIELD VRSIO.
SET PARAMETER ID 'VKB' FIELD WA_INDEX-L_VKBUR.
SET PARAMETER ID 'DFM' FIELD ZSDTPLANVRSIO-DAT_FRM.
SET PARAMETER ID 'DFT' FIELD ZSDTPLANVRSIO-DAT_TO.
set PARAMETER ID 'ACT' field action.
set PARAMETER ID 'OKC' field value.
call TRANSACTION 'ZPLAN_INT' AND SKIP FIRST SCREEN.{/code}
this OKC parameter id holds the value for sy-ucomm and the screen 100 of the called transaction has been skiped and ALV was displayed direct away.
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'ZAO_MAIN'.
SET TITLEBAR 'ZAO'.
if pass <> 1.
get PARAMETER ID 'ACT' FIELD action.
get PARAMETER ID 'SPM' FIELD SPMON.
get PARAMETER ID 'VRS' FIELD VRSIO.
get PARAMETER ID 'VKB' FIELD knvv-VKBUR.
get PARAMETER ID 'DFM' FIELD ZSDTPLANVRSIO-DAT_FRM.
get PARAMETER ID 'DFT' FIELD ZSDTPLANVRSIO-DAT_TO.
get PARAMETER ID 'OKC' field sy-ucomm.
set PARAMETER ID 'ACT' field action.
endif. {/code}
Similar Messages
-
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 -
How to skip first screen of XK03 in Webdynpro ABAP
Hello Experts,
I am working on one webdynpro application where I am displaying transaction XK03 based on Link to Action of the particular vendor. But my problem is that I wanted skip first screen of XK03 so that directely I can go to display mode. Plz help me out...
Thanks
Basanagoudasee the forum please: Web Dynpro ABAP
-
How to skip first screen in an LSMW
Hi All,
Can anyone please tell me, if its possible to skip a screen while doing a recording using an LSMW.
The following are the two options to achieve it:
1) Create a separate recording where that screen is not used
2) Is it possible to achieve this through some kind of coding.
Please help.
Thanks and Regards,
Arti DohareAarti,
Yes we need to choose Transaction with Parameters
While creating a t-code in SE93 after giving the short text for the tcode you will find START OBJECT where in you will get to see 4 options choose the "Transaction with Parameters(parameter transaction)
Then in the next screen you will get to see a sub screen at the bottom with text as DEFAULT VALUES,in the screen
give the OBJECT under the name of the screen field and in the value give the Object name and SubProject and its name.
Name of the screen field -
value
OBJECT----
ZXX
SUBPROJECT----
ZXX
K.Kiran. -
How to skip first screen in output
hello,
just look at standard report RM07MSAL then execute give any values a list comes then press cntrshiftf7 a new list comes.
i copy this programm into z program here i want c first screen which is come after press cntrshiftf7 means i want first screen skip.
regards amit.if you copied the program already then its yours and you can modify it. fine.
Create a transaktion for that programm, transaction type 'Program and dynpro'.
there you have to fill in a starting screen.
Use your second screen for that purpose. -
Transaction Variant do not commit skip first screen
When I am calling to transaction variant its open
bu not commit the skip first screen .
Does someone know how can i fix it ?Hi Kobi ,
as per my knowledge , there is no such command in SAP to skip first screen for transaction variants.Transaction variant is nothing but a transaction with some modifications.
but what u are talking abt is calling transaction , so this u have to call like this --->
<b>
call transaction 'MM03' and skip first screen.
</b>
Regards
Prabhu -
Call Transaction Skip First Screen does not work
I want to use 'Call Transaction' to execute the transaction /sapapo/scc_tl1 in Change Mode. I want to skip the first screen. I have added 'and skip first screen' to the CALL TRANSACTION but it still stops on the first screen. The first screen has three buttons: Display, Change and Create. The function key assigned to Change is F6. What is the code to select the F6 key so the first screen can be bypassed.
Thanks and best regards,
SandyTHE ONLY THINK U HAVE TO DO IS RECORD THE TRANSACTION FOR
CHANGE MODE. AND FILL INTERNAL TABLE OF TYPE BDCDATA AND CALL TRANSACTION.
EXAMPLE: I CALLED SE93 IN CHANGE MODE. COPY AND RUN THE FOLLOWING PROGRAM, U CAN UNDERSTAND WHAT IAM TELLING.
REPORT ZTESTH messAGE-ID ZV.
DATA: IBDCTAB TYPE TABLE OF BDCDATA WITH HEADER LINE.
IBDCTAB-PROGRAM = 'SAPLSEUK'.
IBDCTAB-DYNPRO = '390'.
IBDCTAB-DYNBEGIN = 'X'.
IBDCTAB-FNAM = 'BDC_OKCODE'.
IBDCTAB-FVAL = '=CHNG'.
APPEND IBDCTAB.
IBDCTAB-PROGRAM = 'SAPLSETX'.
IBDCTAB-DYNPRO = '0120'.
IBDCTAB-DYNBEGIN = 'X'.
IBDCTAB-FNAM = 'BDC_OKCODE'.
IBDCTAB-FVAL = '=NEXT'.
APPEND IBDCTAB.
CALL TRANSACTION 'SE93' USING IBDCTAB. -
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 -
Hi All,
I have a requirement in my custom program when I double click on vendor number it should navigate to the transaction XK03 by skipping first screen.I have done code for this using set parameter for vendor and compcode and purchasing organization but the problem is the program should select purchasing data checkbox also in the first screen before skipping that.So how to pass default check for purchasing data check box?
We tried to do this also using BDC but the problem is with modes since we have only 3 modes A,N,E.I want to skip the first sceen and go to the 2nd screen which is not possible in BDC.
Please suggest somebody how to do this?
Regards
Maheshdata : opt like CTU_PARAMS.
opt-DISMODE = 'E'.
CLEAR : it_bdc.
REFRESH : it_bdc.
PERFORM populate_bdc_data USING 'X' 'SAPMF02K' '0101'.
PERFORM populate_bdc_data USING space 'BDC_CURSOR'
'RF02K-LIFNR'.
PERFORM populate_bdc_data USING space 'BDC_OKCODE'
'/00'.
PERFORM populate_bdc_data USING space 'RF02K-LIFNR'
l_final-lifnr.
PERFORM populate_bdc_data USING space 'RF02K-BUKRS'
'1000'.
PERFORM populate_bdc_data USING space 'RF02K-EKORG'
l_final-ekorg.
PERFORM populate_bdc_data USING space 'RF02K-D0310' 'X'. <-- for checkbox ..
CALL TRANSACTION 'XK03' USING it_bdc OPTIONS FROM opt. -
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 '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 -
Skip first screen and return using BDC
Hi,
I am calling a Transaction from an ALV REPORT ,i wanted to set the material number in that transaction, i checked using f1 help and found the parameter id as 'MAT' .
But when i am calling the transaction,the material number is not being displayed,Hence i modified the code below..
My Previous code:
READ TABLE alv_stb INDEX i_selfield-tabindex.
IF sy-subrc = 0.
SET PARAMETER ID 'MAT' FIELD alv_stb-idnrk.
CALL TRANSACTION 'TCODE' .
ENDIF.
My CURRENT CODE :
PERFORM bdc_dynpro USING 'XXX_/2L3_BOM_XX'
'1000'.
PERFORM bdc_field USING 'BDC_CURSOR'
'PA_MATNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ONLI'.
PERFORM bdc_field USING 'PA_MATNR'
alv_stb-idnrk.
PERFORM bdc_field USING 'PA_STLAN'
alv_stb-xtlan .
CALL TRANSACTION 'TCODE '
USING bdcdata
MODE 'E'
UPDATE 'S' .
Requirement :
I need to skip the first screen ,This is working ( screen is skiped) Now when i want to come back from the Transaction to my alv report,by pressing back button..this first screen which i skipped is being displayed, which i dont need...how to skip that screen,when pressing F3 from transaction or back button.hi shafiq
*& Form zf_user_command
text
--> p1 text
<-- p2 text
FORM ZF_USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD .
CASE R_UCOMM. "FCODE
WHEN '&IC1'. "for hotspot with MATNR.
IF RS_SELFIELD-FIELDNAME = 'MATNR'.
SET PARAMETER ID 'MAT' FIELD RS_SELFIELD-VALUE.
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
RETURN.
MESSAGE I103 WITH RS_SELFIELD-VALUE .
ENDIF.
message - material no 'X' shown succesfully
ENDCASE.
ENDFORM. " zf_user_command
if it's not taking code..
delete form..endform..and call it again it might be giving a problem with the old form endform... just try if nothing else works
the above given logic is fine and working
reward poitns if helpful
Rohan -
Skip first screen of BD87 using call transaction with BDC_DATA option
hello all,
i am using call transaction with BDC_DATA option and i want to skip first screen, so can anyone please tell me how can i skip first screen of BD87 and get second screen that is output screen?
regards.Hi
Build a BDCDATA with following code..
T BD87
RBDMON00 1100 X
BDC_CURSOR SX_DOCNU-LOW
BDC_OKCODE =CRET
SX_DOCNU-LOW
SX_CRETI-LOW 00:00:00
SX_CRETI-HIGH 00:00:00
SX_UPDDA-LOW 05.02.2010
SX_UPDDA-HIGH 05.02.2010
SX_UPDTI-LOW 00:00:00
SX_UPDTI-HIGH 00:00:00
RBDMON00 0100 X
BDC_OKCODE =BACK
RBDMON00 1100 X
BDC_OKCODE /ECBAC
BDC_CURSOR SX_DOCNU-LOW -
While Pressing the button i want to skip first screen in standard screen.
Hello All,
I need to create a z Program and call a screen variant of a standard transaction in it.
I am calling a screen variant of transaction PA70 to hide some of the fields of the screen.
Also the first screen is supressed.
My requirement is while pressing back button it should not come on the first screen.
while if i am doing the same thing with Transaction PA20 it is not coming back to first screen.
How can i supress this first screen while coming back?
Regards.Hi,
Use:
"set al the field values on the initial screen of the transaction and then use
CALL TRANSACTION '<t-code>' AND SKIP FIRST SCREEN.
Now you will be navigated to second screen of the transaction, when you click, you will be navigated to your program selection screen.
Hope this helps you.
Regards,
Tarun -
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
-
Can I Use Wifey Upgrade Option to Get New iPhone Subsidized?
I'm not eligible until 12-29, but my wife's Blackberry 8800 is eligible now. She can't use either iPhone because of her job, so I just want to use her eligibility to get a subsidized iPhone 3G S and activate with my phone number which is now active o
-
TS1389 computer is no longer authorized for purchased items on my phone
My computer keeps saying the error messege that my phone is longer authorized for purchased items on my phone?
-
Inbound Idoc - Date fields not getting saved
Hello, I have created inbound idoc scenario in SAP. I receive Idoc from non SAP system to SAP system. then data from IDoc is saved into different tables, for that I have written one function module (attached to process code) One of the segments in ID
-
Hi, I have 2 ipod touch, and every thing was working ok till yesterday. As of this morning when i synced my ipod it removed all the songs from ipod and not i just cant get the songs back... My ituens and ipod S/W versions are current and i have trie
-
I need to create email and send it with all channels together the users are subscribed to, This is my source table: CREATE TABLE [dbo].[test_email]([email] [varchar](50) NOT NULL,[channel_id] [int] NOT NULL,CONSTRAINT [PK_test_email] PRIMARY KEY CLUS