Execute transction without selection screen
Hi,
I've created a transaction in SE93 and i use it with a variant for the selection screen. When i run the transaction, the selection screen is displayed and the values of my variant are setted into the fields.
I don't want to display the selection screen, I want to skip it and display directly the first dynpro of my program.
Does someone know how to do it ?
Thanks
Hi,
Instead of creating 2 transactions and creating a program to call the original transaction. I would suggest you create a program write a *SUBMIT USING SELECTION-SET vari *
So create just one original transaction which will call the program created above which will intrun submit the original program.
Program A is original with all the selection screen.
Create a variant for this program
Program B
Submit 'A' using selection-set vari.
Create T-code ZABC for program B.
regards,
Advait
Edited by: Advait Gode on Feb 2, 2009 3:02 PM
Similar Messages
-
How to create a variant for a program without selection screen
Hi All,
I've created one program which takes the data from 30 tables and loads into one final table.
This program is already moved to Production.
But while creating variant it's not allowing, since the program doesn't have the selection screen.
Is there anyway where I can create a variant in production without selection screen directly as the program code is already moved to production.
Thank You,
Regards,
Karthik.ChHi ,
Are you running this program in a process chain?? -
How to disable execute button in selection-screen
Hi,
I have already placed a execute button in selection screen but now I want to diable
1. All std buttons including F8
2. but excluding F1
regards
paulHi
Check this FM : RS_SET_SELSCREEN_STATUS
sample code :
DATA: BEGIN OF i_exc OCCURS 0,
code LIKE sy-ucomm,
END OF i_exc.
DATA: ws_repid like sy-repid.
CLEAR i_exc.
i_exc-code = 'ONLI'.
APPEND i_exc.
MOVE: sy-repid TO ws_repid .
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = ' '
p_program = ws_repid
TABLES
p_exclude = i_exc.
Laxman
Message was edited by: Laxmana Kumar -
Run alv report without selection screen in background
Hello Every body,
i programmed a ALV Report without selection screen, and i want to create a job for this alv report.
Any help?
Thank u.
Ouail.Hi Steve,
Can you tell me where i have to put your code?
this is my abap code:
START-OF-SELECTION.
p_filref = '\\SAPSERVER\f\SAFT\ivat\FI_Extract_1000_20140709_102346_910.XML'.
PERFORM copy_from_xml_to_itab TABLES it_ref_file
ref_xml_data
USING p_filref.
**Begin Extraction File
SUBMIT ZZ_FI_IVAT_EXTRACTOR
WITH p_bukrs EQ '1000'
WITH p_gjahr EQ '1998'
WITH filepath EQ '\\SAPSERVER\f\SAFT\iVAT_Extractie\'
WITH cldata eq space
AND RETURN.
DATA: FILE_TABLE TYPE TABLE OF SDOKPATH,
DIR_TABLE TYPE TABLE OF SDOKPATH.
CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
EXPORTING
DIRECTORY = '\\SAPSERVER\f\SAFT\iVAT_Extractie\'
FILTER = '*.*'
TABLES
FILE_TABLE = FILE_TABLE
DIR_TABLE = DIR_TABLE
EXCEPTIONS
CNTL_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
"get file name
LOOP AT FILE_TABLE INTO p_filref.
ENDLOOP.
CONCATENATE '\\SAPSERVER\f\SAFT\iVAT_Extractie\' p_filref INTO path.
PERFORM copy_from_xml_to_itab TABLES t_ext_file
ext_xml_data
USING path.
PERFORM fill_xml_tab_in .
perform build_fieldcatalog.
PERFORM compare_data_ref_ext.
PERFORM send_email.
perform display_alv_report.
PERFORM delete_extraction_file.
in the perform copy_from_xml_to_itab TABLES it_ref_file......, i use this code:
CREATE OBJECT gcl_xml.
*Upload XML File
CALL METHOD gcl_xml->import_from_file
EXPORTING
filename = p_filref
RECEIVING
retcode = gv_subrc.
IF gv_subrc = 0.
CALL METHOD gcl_xml->render_2_xstring
IMPORTING
retcode = gv_subrc
stream = gv_xml_string
size = gv_size.
IF gv_subrc = 0.
REFRESH gt_xml_data[].
* Convert XML to internal table
CALL FUNCTION 'SMUM_XML_PARSE'
EXPORTING
xml_input = gv_xml_string
TABLES
xml_table = gt_xml_data
return = gt_return.
ENDIF.
ENDIF. -
Without selection screen how can we featch the file.
Hi all,
without selection screen(parameter,select-options iam not using these both.) how can we featch the flat file what ever it may be (file format is xls.textor any thing) how ot do...plz it's urgent for me.
Regards,
Krishna,Hi varun,
this is my sample code.here we are geting selection screen.without selection screen hoe to get file from out internal table.
plz gothrough this code and replay to me varun.
tables:pa0002.
type-pools:truxs.
*data:W_TRUXS_T_TEXT_DATA TYPE TRUXS_T_TEXT_DATA ,
it_p0001 type standard table of pa0001.
TYPES: BEGIN OF it_p0002,
pernr like pa0002-pernr,
nachn like pa0002-nachn,
vorna like pa0002-vorna,
end of it_p0002.
DATA: t_p0002 type standard table of it_p0002,
wa_p0002 type It_p0002.
DATA: it_raw TYPE truxs_t_text_data.
SELECTION-SCREEN BEGIN OF BLOCK S_BLK WITH FRAME TITLE TEXT-000.
parameters: P_EXCEL TYPE RLGRAP-FILENAME.
SELECTION-SCREEN end OF BLOCK S_BLK.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_EXCEL.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_EXCEL'
IMPORTING
FILE_NAME = P_EXCEL .
START-OF-SELECTION.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
I_LINE_HEADER = 'X'
I_TAB_RAW_DATA = it_raw
I_FILENAME = p_excel
TABLES
I_TAB_CONVERTED_DATA = t_p0002[]
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
end-of-selection.
loop at t_p0002 into wa_p0002.
write:/ wa_p0002-pernr,
wa_p0002-nachn,
wa_p0002-vorna.
endloop. -
Execute icon on selection screen
Dear Experts,
I am new to module pool programming and i have my selection screen as seen below, but from this screen i cannot execute as that icon is missing.
How can i get it?
SELECTION-SCREEN BEGIN OF SCREEN 1100 AS SUBSCREEN NO INTERVALS.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-010.
PARAMETERS: file TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN END OF SCREEN 1100.
SELECTION-SCREEN BEGIN OF SCREEN 1200 AS SUBSCREEN NO INTERVALS.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-020.
PARAMETERS: p_po TYPE ekko-ebeln.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN END OF SCREEN 1200.
CONTROLS mytabstrip TYPE TABSTRIP.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR file .
START-OF-SELECTION.
mytabstrip-activetab = 'BUTTON1'.
CALL SCREEN 100.
(this screen displays and i can input the values. But after that no execute button.)Hi Anushka,
If i got it right you require to create custom selection screen look alike in your module pool.
So for this you need to call your selection screen inside your module pool.
BR
Sumeet -
Working with LDB without selection screen
can' we take input through file without any selection screen when we are working with LDB?
Please focus on this.
Regards
vamsi.Hi,
yes, u can make use of :
SET PARAMETER ID command.
SET PARAMETER ID pid FIELD dobj.
Effect:
This statement sets the content of the SPA/GPA parameter specified in pid to the content of the data object dobj. For pid, a flat character-type field is expected that can contain a maximum of 20 characters, which cannot be exclusively blank characters. pid is case-sensitive. For dobj, a flat, (as of release 6.10 character-type) field is expected, whose binary content is transferred in an unconverted format.
If the SPA/GPA parameter specified for the current user in pid does not yet exist in the SAP memory, it is created. If the SPA/GPA parameter has already been created for the current user, its value is overwritten.
In a program, SPA/GPA parameters can only be created or assigned values if a name exists for them in the table TPARA. The extended program check reports an error if it can statically determine that a name specified in pid is not contained in the database table TPARA. ist. -
Creation of spool request for a report without selection-screen.
Hi Experts ,
I need to create a spool request for ALV Grid report which is not having any selection-screen , after pressing F8 it will directly display the ALV Grid out put.
Can any one help me how to run the above report in background which is not having selection-screen?
Thank you & Regards.
Rajasekhar.PHI,
At transaction SE38 click Program -> Execute -> Background.
Regards
Sudheer -
Disable execute button on selection screen
Hi Experts,
I need to disable execute button on the selection screento restrict program to run in foreground and add another buttn which schedules a job in background. Kindly help.
Thanks in advance.TABLES: sscrfields.
include rsdbc1xx.
INITIALIZATION .
sscrfields-functxt_01 = 'Button1'.
SELECTION-SCREEN: FUNCTION KEY 1.
AT SELECTION-SCREEN OUTPUT.
append 'ONLI' to current_scr-excl.
AT SELECTION-SCREEN.
CASE sy-ucomm.
WHEN 'FC01'.
"* Here you write your logic for background job
ENDCASE.
I have the same problem. This works like a charm!
Thanks Dzed Maroz.
Edited by: Samanta Limbrada on Mar 30, 2011 6:29 AM -
Code for execute button on selection screen to get result
hi experts,
I need a help for writing a code for execution button on selection screen.Like in normal report on abap editor
we insert selection criteria like number and we get the result according that particular number on next screen.
same thing i am trying here also. So i am writing a code on button that when i press the button it will go to the next
screen according to the selection criteria.
Plz help me helpful answers are appriatiated !!!
Thanks & regards
Vipul Guptahi,
In the OnAction write :
1. get the values entered in selection criteria using :
DATA lo_nd_cn_check TYPE REF TO if_wd_context_node.
DATA lo_el_cn_check TYPE REF TO if_wd_context_element.
DATA ls_cn_check TYPE wd_this->element_cn_check.
DATA lv_ca_check LIKE ls_cn_check-ca_check.
navigate from <CONTEXT> to <CN_CHECK> via lead selection
lo_nd_cn_check = wd_context->get_child_node( name = wd_this->wdctx_cn_check ).
get element via lead selection
lo_el_cn_check = lo_nd_cn_check->get_element( ).
get single attribute
lo_el_cn_check->get_attribute(
EXPORTING
name = `CA_CHECK`
IMPORTING
value = lv_ca_check ).
Now lv_ca_check has your value entered in Selection criteria.
2. write the select query to fetch data according to selection criteria.
select * from <table> into correponding field of table <internl table>
where Field = lv_ca_check.
3. Now in the internal table <internl table> you have values according to search criteria.
4. Bind the internal table with node which is binded to table to show data.
lo_nd->bind_table( internaltable ).
I hope it is clear . -
Is it possible to create a variant without selection screen
Hi,
I would like to create a variant for a report(Standard report). It does not have selection screen. Could someone tell me is it possible to creste a varaint for it?
Is it possible to create a variant w/o selection screen? if yes, how?If some SELECT-OPTIONS are hidden or NO-DISPLAY, you should be able to create a variant for the report.
Rob -
Variants without Selection Screen
Hi,
if i have a normal Dynpro Screen, and no selection screen, how can i then use the Variants of SAP? I found some FM like RS_CREATE_VARIANT but this does not work. The coding of these Variant helpers always try to read out the fields from the report. But my report has no fields, because it is a dynpro screen and no selection screen.
Do you know if i can use variants for dynpros?
ThanksHi Johnny,
You can create Transaction Variants using SHD0 transaction.
Have a look at the below SAP link:-
[Transaction Variants and Screen Variants |http://help.sap.com/erp2005_ehp_03/helpdata/EN/5b/7bc3895d1111d295ad0000e82de14a/frameset.htm]
Also Have a look at the below wiki :-
[Creating variants for custom screens|Creating variants for custom screens;
<removed by moderator>
Regards
Abhii
Edited by: Thomas Zloch on Sep 1, 2010 5:56 PM - please leave this to the original poster -
Submit Program without Selection-Screen
Hi,
I am submitting the SAP Standard program, which contains selections screen.
i am passing values to standard program using via-selection screen.
Is there any way to suppress / skip the selection-screen what is appearing after submit
Thanks
UmaHi,
use like this...
call transacton 'Tcode' and skip first screen.
Regards
kiran -
Hi All,
In myalv report program zreport when i click on particular fields it calls the standard report 's_ahr_61015512' which is done by bdc program .
when i say back in 's_ahr_61015512' report it is again coming to 's_ahr_61015512' report's selection screen i want't to skip that selection-screen what can i do?.hi
Try creating a parameter transaction. Be sure to select 'Skip first screen'. And fill in the defaults for the selection screen.
chk this link:
http://help.sap.com/saphelp_nw04/helpdata/en/2b/d921f74b8a11d1894c0000e8323c4f/frameset.htm
regards
Satish -
Navigational attribute in selection screen gives no applicable data
Hi Gurus
In the report i am using the navigational attribute in the selection screen.e.g Brand (attribute of material)
My problem is whenevr i enter value in the navigational attribute (brand) in the selection screen and execute its says no data found.
If i do not fill this parameter and fill only the parent attribute (material) in the selection screen , then i can see the results and from its properties (drilling down )i can see the values of brand .
If the values of brand exist why via selection screen its not giving vales, However Via material i can drill down and see brand values.
I have done all the necessary steps to make this attribute as navigational.
On top of this i have this same navigation attributes as one of the characterisitc in the cube.
Thanks
DDHello,
I've the same problem... for new nav. attributes for 0Material.
Settings for nav. attibutes in BEx Q.D. are OK.
But in BEx Analyzer:
1- not display all values for this attributes. Some values are displayed, some don't.
I try display it with and without selection screen. The result is the same.
2- I try to display (normal) attributes - not nav. In this case everything is OK.
But I've 2 columns: normal attribute for all values and nav. attribute only with some values...
(the query is something like: 0Material + 0Material_NOTnav_attr + 0Material_NOTnav_attr)
It isn't a normal...
I don't know... Maybe it's depend of the time?
I can't clear all master data for 0Material, because they're used in some cubes. I had old characteristic without nav. attr. but with master data. I added nav. attr. in 0Material and activated it. Next I load master data (full method). Then I added nav. attr. in infocube, activated it, delete and load data into the cube (Init + Delta).
If I display data for the cube in RSA1, I can see nav. attr. for all records. I can't see it in BEx Analyzer...
Can U explain it?
Thx,
MSzN
Maybe you are looking for
-
Amavisd-new 2.4 seems to have hosed my mail server
Used BuildSmart this morning to update ClamAV and amavisd-new and now all mail is stuck in the queue with this message: host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=01286-15, partsdecodeext FAILED: parsing file(1 Killing the proc
-
Repeat same page on every even page
Hi, The customer printed his documents prepinted pages which has printed back side. I need to print same text(Terms and conditions) onto each page back side. This means I need to put fix page as every even page independently the main dynamic text. Is
-
Date Formatting, Converting from String to Timestamp
I am trying to convert a string date to timestamp. I have tried a couple of different ways to arrive at the end result. I am basically trying to convert a date in the "dd-MM-yyyy" format to a timestamp. If I use the following code, I get a date like
-
Hi I trying to optimise the query on a 6 table view. From looking at the way the view is queried and the columns that some tables provide (several tables only provide a single column in the view definition) I have created indexes for 3 of the tables
-
Printer prints in different language via e-Print
A strange thing happened. I sent - by email to the email address of my parents' printer - an Excel document in Dutch. The printer received it perfectly, and printed it immediately... in English ! Has that happened to anyone before ? This question was