Report to screen
Anybody can help ?
I send a report to screen and I want to turn off the print button and the menu file.
How can I do it ? what parameter should I pass ?
Thank.
Thank fine. I found it.
DISABLEPRINT
DISABLEMAIL
DISABLEFILE
DISABLENEW
Similar Messages
-
'Save layout' button missing in the ALV report layout screen
Hi Friends,
In one of our ALV report the 'save layout' button is missing in the report output screen.i have used the OO concept for creating the ALV output and not the function module.I have attached the code below used for creating the ALV grid.
CREATE OBJECT alv_grid
EXPORTING i_parent = g_container_2.
CALL METHOD alv_grid->set_table_for_first_display
exporting
i_structure_name = 'PA0002'
is_layout =
CHANGING
it_outtab = gt_outtab
it_fieldcatalog = wa_fieldcat.
But i'm not able to trace why the 'save layout' button is missing in the output.Can anyone of you help me in sorting out this problem.
Thanks and Regards,
Vadivel.Pass <u><i><b>A to I_SAVE</b></i></u> parameter. That will give the options to the user to save the layout outs.
I_SAVE = SPACE
Layouts cannot be saved.
I_SAVE = 'U'
Only user-defined layouts can be saved.
I_SAVE = 'X'
Only global layouts can be saved.
I_SAVE = 'A'
Both user-defined and global layouts can be saved.
Regards,
Ravi
Note : Please mark all the helpful answers
Message was edited by: Ravikumar Allampallam -
Hiding Screen fields in a Report selection screen
Hi Experts,
I have a requirement to hide/disable screen fields in a report selection screen when the user clicks on some radio buttons .
Here is the scenario,
1) There are 4 radio buttons four radiobuttons in one group on the selection screen:--
Block no:1
PARAMETER: r_not TYPE c RADIOBUTTON GROUP a1 DEFAULT 'X'.
PARAMETER: r_prgs TYPE c RADIOBUTTON GROUP a1.
PARAMETER: r_remv TYPE c RADIOBUTTON GROUP a1.
PARAMETER: r_noresp TYPE c RADIOBUTTON GROUP a1.
2) Based on the user clicking/selecting the radio buttons no.2,3 nad 4 i need to hide some fields in the other selection block
in the selection screen.The parameters are as follows:
Block no:2( These fields need to be hidden/disabled)
PARAMETER: r_occ(3) TYPE c OBLIGATORY DEFAULT '1'.
PARAMETER: r_and TYPE c RADIOBUTTON GROUP g1.
PARAMETER: r_or TYPE c RADIOBUTTON GROUP g1.
PARAMETER: r_days(3) TYPE c OBLIGATORY DEFAULT '1'.
ThanksContd.....
AT SELECTION-SCREEN.
CASE SSCRFIELDS-UCOMM.
"When Customer button is clicked set flag 1
WHEN 'FC01'.
L_FLAG = '1'.
"When Sales Order button is clicked set flag 2
WHEN 'FC02'. "Sales order
L_FLAG = '2'.
"When Execute button is clicked set flag 4
WHEN OTHERS.
L_FLAG = '4'.
ENDCASE.
AT SELECTION-SCREEN OUTPUT.
CASE L_FLAG.
WHEN '1'. "When Customer button is clicked
LOOP AT SCREEN.
"Set the Production and Customer Block as inactive
IF SCREEN-GROUP1 = 'BL1' OR SCREEN-GROUP1 = 'BL3'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN '2'. "When Sales Order button is clicked
LOOP AT SCREEN.
"Set the Production and Customer Block as inactive
IF SCREEN-GROUP1 = 'BL1' OR SCREEN-GROUP1 = 'BL2'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN '3'. "When Refresh button is clicked
LOOP AT SCREEN.
"Set the all Blocks as active
IF SCREEN-GROUP1 = 'BL2' OR SCREEN-GROUP1 = 'BL3' OR SCREEN-GROUP1 = 'BL1'.
SCREEN-ACTIVE = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN OTHERS."When Execute button is clicked
"Set the Sales order and Customer Block as inactive
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'BL2' OR SCREEN-GROUP1 = 'BL3'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDCASE.
ENDFORM. -
How can we read the screen field values from the report selection screen wi
Hi expart,
How can we read the screen field values from the report selection screen with out having an ENTER button pressed .
Regards
Razzuse this code...
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
**Read the Values of the SCREEN FIELDs
CALL FUNCTION 'DYNP_VALUES_READ' -
Add a button in report selection screen
Hi Experts,
I want to add a userdefined button in report selection screen....so far i have written code like this,...
TABLES : sscrfields.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-010.
PARAMETERS: P_ID LIKE ZBAPITABLE-ID,
P_NM LIKE ZBAPITABLE-NAME.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-020.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (11) TEXT-001 FOR FIELD R1.
PARAMETERS: R1 RADIOBUTTON GROUP G1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (10) TEXT-002 FOR FIELD R1.
PARAMETERS: R2 RADIOBUTTON GROUP G1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (10) TEXT-003 FOR FIELD R1.
PARAMETERS: R3 RADIOBUTTON GROUP G1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (10) TEXT-004 FOR FIELD R1.
PARAMETERS: R4 RADIOBUTTON GROUP G1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B2.
SELECTION-SCREEN: FUNCTION KEY 1.
MOVE 'SAVE' TO sscrfields-functxt_01.
If i use code like this button was added in application tool bar
but in my selection screen i have two blocks ....in first block i have input fields, and in second there is set of radio buttons...Just below that i want to put one button ....how it is possible...
can anyone plz help me?
Regards,
veena.Here's th docu link:
[Pushbuttons on the Selection Screen|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba81635c111d1829f0000e829fbfe/frameset.htm]
Regards,
Clemens -
Add Custom fields in Report Incident Screen in EHSM
Hello experts,
I want to add custom fields like Notification No. and division in Report Incident screen in EHSM.
I have added two fields.
Business Object: EHHSS_INCIDENT
Node: BASIC_INFO_ALL
Structure: INCL_EEW_EHHSS_INC_BINFA_D (added two fields using append structure)
Now how can i link with my screen and how to fetch notification data (standard F4 help)?
and when i save data, where it will save?
Can you guide me with proper steps for it as i am new in it.
Thanks in advance.Hi Jayvin,
To add the above fields on the screen, open the component configuration of the required screen.
Enhance the same and add the fields from the respective Node.
You did not worry about saving the data, once the fields are placed on the screen it will get save on click of save/ on event of save.
Regards,
Sanket. -
Object text not coming in report selection screen
Hi,
i have an object task type for which text has been loaded.this is included in one reports selection screen.But in F4 only kee is displayed and not text.If check button is pressed text is displayed besides key.Also text doesnt come after report is executed.
please help.
Thanks,
Prasanna N.Hi Prasanna,
In the Query Designer goto the properties of the required object that you want to display key and text for it, Select the Key and Text Display option. Then you can see in report key and text for that object.
Hope this helps.
Veerendra. -
Problen in report selection screen
Hi ,
I had a problem in the report.In the report selection screen user asking to keep page no option.So when they select the page no in the selection screen,so from that page number report out put should display.
how to do this.
Thanks,If you generating the LIST using the classical approch you cah use the SCROLL LIST keyword for this purpose.
Like:
DATA: L_PAGENO TYPE I.
L_PAGENO = 3.
START-OF-SELECTION.
DO 100 TIMES.
WRITE: / SY-ABCDE.
ENDDO.
SCROLL LIST INDEX 0 TO: PAGE L_PAGENO.
TOP-OF-PAGE.
WRITE: 'Top-of-page'.
Regards,
Naimesh Patel -
ECCS : custom characteristics into standard report selection screen
Hello guys,
I have added a custom characteristic which is also a subasignment to the EC-CS module.
This field now appears into the standard report selection screen as expected.
I want to define this field as a mandatory selection field, do you know if this is possible? (exemple of standard report CX34A)
Thank you in advance for your help
best regards
Pascal.Hi Thereza,
This field is already flaged
I have found the following solution : create a variant and assign it to the standard transcation with transaction SE93..
Best regards -
Call report selection screen in module pool program with tab strip control
Hi,
Could anyone explain in detail to call report selection screen in module pool program with tab strip control.
Thanks
ManoHi,
Refer std program:
demo_sel_screen_in_tabstrip.
demo_sel_screen_with_tabstrip.
Call your program with SUBMIT stmt form module program.
Reward points if this Helps.
Manish -
TO SER FIELS BOX IN REPORT LIST SCREEN
i WANT TO SET 2 RADIO BUTTON AND 2 FIELD BOX IN THE REPORT LIST SCREEN WHERE I WANT TO ENTER DATA MANUALLY IN THE FIELD BOX. AND I WANT TO SET ONE PUSH BUTTON .I WANT TO SET ALL THERE IN LIST SCREEN NOT IN SELECTION SCREEN.
CAN ANYBODY SUGGEST ME.
THANKShi check this..
REPORT Z_TEST7 .
*Table declaration
tables: vbak,vbap.
*internal table
data: begin of i_sales occurs 0,
vbeln like vbak-vbeln,
erdat like vbak-erdat,
audat like vbak-audat,
kunnr like vbak-kunnr,
vkorg like vbak-vkorg,
matnr like vbap-matnr,
netpr like vbap-netpr,
check type c, "checkbox
end of i_sales.
type-pools: slis.
data: v_fieldcat type slis_fieldcat_alv,
gt_fieldcat type slis_t_fieldcat_alv,
gt_layout type slis_layout_alv,
gt_sort type slis_sortinfo_alv,
fieldcat like line of gt_fieldcat.
*Selection screen
parameters: p_vkorg like vbak-vkorg.
select-options: s_vbeln for vbak-vbeln.
*start of selection.
start-of-selection.
perform get_data.
perform fill_fieldcatalog.
perform write_data.
FORM get_data .
select avbeln aerdat aaudat akunnr avkorg bmatnr b~netpr into
corresponding fields of table i_sales from vbak
as a inner join vbap as b on avbeln = bvbeln
where a~vkorg = p_vkorg and
a~vbeln in s_vbeln.
ENDFORM. " get_data
FORM write_data .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = sy-repid
IS_LAYOUT = gt_layout
IT_FIELDCAT = gt_fieldcat
TABLES
T_OUTTAB = i_sales .
ENDFORM. " write_data
FORM fill_fieldcatalog .
sort i_sales by vbeln.
clear v_fieldcat.
"for check box
v_fieldcat-col_pos = 1.
v_fieldcat-fieldname = 'CHECK'.
v_fieldcat-seltext_m = 'chek'.
v_fieldcat-checkbox = 'X'.
v_fieldcat-input = 'X'.
v_fieldcat-edit = 'X'.
append v_fieldcat to gt_fieldcat.
clear v_fieldcat.
v_fieldcat-col_pos = 2.
v_fieldcat-fieldname = 'VBELN'.
v_fieldcat-seltext_m = 'Sales Document'.
append v_fieldcat to gt_fieldcat.
clear v_fieldcat.
v_fieldcat-col_pos = 3.
v_fieldcat-fieldname = 'ERDAT'.
v_fieldcat-seltext_m = 'Creation Date'.
append v_fieldcat to gt_fieldcat.
clear v_fieldcat.
v_fieldcat-col_pos = 4.
v_fieldcat-fieldname = 'AUDAT'.
v_fieldcat-seltext_m = 'Document Date'.
append v_fieldcat to gt_fieldcat.
clear v_fieldcat.
v_fieldcat-col_pos = 5.
v_fieldcat-fieldname = 'KUNNR'.
v_fieldcat-seltext_m = 'Customer'.
append v_fieldcat to gt_fieldcat.
clear v_fieldcat.
v_fieldcat-col_pos = 6.
v_fieldcat-fieldname = 'VKORG'.
v_fieldcat-seltext_m = 'Sales Organization'.
append v_fieldcat to gt_fieldcat.
clear v_fieldcat.
v_fieldcat-col_pos = 7.
v_fieldcat-fieldname = 'MATNR'.
v_fieldcat-seltext_m = 'Material'.
append v_fieldcat to gt_fieldcat.
clear v_fieldcat.
v_fieldcat-col_pos = 8.
v_fieldcat-fieldname = 'NETPR'.
v_fieldcat-seltext_m = 'Net Value'.
append v_fieldcat to gt_fieldcat.
clear v_fieldcat.
endform. -
Is it possible to enter "Input Control" values on the report prompts screen? How?
Our report users are used to enter their parameters on the prompt.
I have created a new report on WEBI XI 3.1. and this report has some prompts and also input controls.
That means, when the user wants to run the report they have to enter their parameters on the report prompt and then they have to navigate to the input control and select the values.
That makes them feel like they are entering parameters twice for a report.
Is there any way the initial value for an input control can be entered on a report prompt screen?
So, the user enters the values of the prompt and the initial values of the input controls together only once at the prompt screen?Thank you very much for the confirmation Amit.
Yes, I considered adding a prompt instead of an input control but this input control selects data based on a custom calculation performed in a variable at the report level. To create a prompt on the query I would have to make the calculation at the universe level.
Anyway, it seems 'Input Control" may be a useful tool for our reports, so we decided to get our report users accustomed to the input control tool.
Thanks again for the help.
Francisco -
BEx web report selection screen entries retain when closing and opening the report again
Hello all,
please help me in the below query.
Till last month the entries we made in BEx web report selection screen are retained in the selection screen even when we close the web report and open it again from portal without logging off. But recently this functionality is missing and the entries in selection screen are not remembered when we close and open the same report again. It is a good feature for the users. Have you come across this issue?No...I think i can reframe the question very clearly......For ex: we are opening a Bex Web report...so initally we would be prompted by the variable selection screen...in which we have to give the entries(Values) for those variables like Cal month, Sales org, Company code, etc.....Later on the report will get open based on the values we have given......
Now if we close the particular report without logging off then if i try to open the same report that selected values are missing.....earlier it used to remember the values we have given until we log off....But now that functionality is missing....It was very useful feature.....Can you please tel me what can be done to resolve this??
I hope the explanation would be clear now. -
Period and Fiscal Year in a report selction screen (3.1 I version of SAP.)
Hi Team,
I have a requirement on a Zreport. Suppose if we are executing a report in the month of March (3)-fiscal year 2011 and if I select a variant and the varinat should populate period as Feb (2 period) and fiscal year as last year (2010).
In Nut shull if i am executing the report todays date the period and fiscal year in the selection screen should be 2 and 2010.
Also please note that i am working on 3.1 I version of SAP.
Your inputs are highly appreciated.
Thank you
Venkatesh BillaHi,
Generatlly while saing the variant for the report selection screen you can use the dynamic date calculation , where the last period and last fiscal year options are available.
Also you can choose the option of calculating the period and fiscal year in your program and can default the same on the selection screen. But I think you should check in ABAP forum for this, whether there anything in coding also.
Regards,
Gaurav -
Report Selection screen variable validation
Hi
I have three customer selection on my report input screen. My requirement is I need to check uniqueness of those there customers during input itself.
i.e. input for cust 1 != cust 2 != cust3. those must be distinct.
How can I do. Please help.
Regards
DollyCASE i_step.
WHEN 3.
data: wa_cust1(10), "assuming 10 is the size of customer.
wa_cust2(10),
wa_cust3(10).
READ TABLE i_t_var_range INTO wa_i_t_var_range WITH KEY vnam = 'VAR1'. "First Variable
wa_cust1 = wa_i_t_var_range-low.
READ TABLE i_t_var_range INTO wa_i_t_var_range WITH KEY vnam = 'VAR2'. "2nd Variable
wa_cust2 = wa_i_t_var_range-low.
READ TABLE i_t_var_range INTO wa_i_t_var_range WITH KEY vnam = 'VAR3'. "3rd Variable
wa_cust3 = wa_i_t_var_range-low.
IF wa_cust1 = wa_cust2 OR wa_cust1 = wa_cust3 OR wa_cust2 = wa_cust3.
CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
EXPORTING
i_class = 'CD'
i_type = 'E'
i_number = '121'
i_msgv1 = 'Please enter 3 different customers'
EXCEPTIONS
dummy = 0
OTHERS = 0.
RAISE no_processing.
ELSE.
EXIT.
ENDIF.
ENDCASE.
please use this code as it is and put ur customer size in declaration and 3 varaibles as shown above..
Maybe you are looking for
-
[SOLVED] Create local repository
Hello everyone! First of all, I'd like to apologize for the terminology. I'm still not sure about what are the names I should use. That said, here's my problem: I want to set up a local repository to place all the packages I've ever built with makepk
-
Dump in REUSE_ALV_LIST_DISPLAY after Upgrade
Hi All We have gone for upgrade from 4.7 to ECC 6.0 An ALV list report works fine in 4.7 , but its going for Dump in ECC 6.0. Runtime Errors DYN_TABLE_ILL_COMP_VAL Except. CX_SY_DYN_TABLE_ILL_COMP_VAL Date and Time 17.
-
How to check summarized item status
I have a control block having 12 testitems as summarized of 12 months(of data block) My form validation is if total less than 100 then just alert the user Iwant to alert the user only for the respective month when the value is changed in the total. I
-
My iPHoto app won't open, also my bookstore app as well
I purchased a game from the app store, it played at first but now won't open. I also downloaded the free iPad manual book but it now won't open either. My iPhoto app worked at first but now I can't open it. Help please.
-
Is there a default password???