To access the value of the fields in selection screen
Hi,
I have used PNP Logical database in the report and also I have created a Report category with organizational unit,begin date and end date.so in my selection screen,I have these three fields.
Now i need to get the value of those fields in the program..so I need to how to get the value of these fields.
Regards,
Kiruthi
Hi Kiruthi,
Goto SM31 -> V_T599F.
Write down your report category.
There u'll see the technical names of the selection screen fields.
You can use PNPXXXX name in your report.
Best regards,
Dilek
Similar Messages
-
Adding the field in selection screen
Hi Guru's,
how can i add the field in selection screen of t code qa33.
can any one help me pls.
Thanks & Best Regards,
Rakhi.You can enhance the standard program RQEEAL10 using implicit enhancement points.
Click the spiral (Enhance) button (Shift + F4)
Go to Edit -> Enhancement operations -> Show Implicit Enhancement Poitns
Create an Enhancement Implementation and include your code there.
See the following link -> Source Code Enhancements - Part 5 of the Series on the New Enhancement Framework
Hope it helps
Neeraj -
Error message disble the Fields in Selection Screen
Hi,
In my Report i am validating some fields as mandatory.
If the field is initial then one Error message should be display in the screen and user has to modify the selection screen.
But after displaying the errro message my selection screen is input disable except the mandatory field.
I want all the fields should be input enable.
Sample code for Error message,
MESSAGE E018 WITH 'Enter Plant'.
Please provide the code for this.Performing checks on SELECTION-SCREEN
- if the check uses only one independent field (e.g.: value exist in a table) use a[ AT SELECTION-SCREEN ON <field>|http://help.sap.com/abapdocu/en/ABAPAT_SELECTION-SCREEN_EVENTS.htm#!ABAP_ALTERNATIVE_2@2@], the field will be editable when error is raised
- if the check uses some fields, group them using [SELECTION-SCREEN BEGIN OF BLOCK <block>/END OF BLOCK <block>|http://help.sap.com/abapdocu/en/ABAPSELECTION-SCREEN_BLOCK.htm] and then [AT SELECTION-SCREEN ON BLOCK <block>|http://help.sap.com/abapdocu/en/ABAPAT_SELECTION-SCREEN_EVENTS.htm#!ABAP_ALTERNATIVE_4@4@], each field of the block will be editable when error is raised
So, if you really want that each and every field be editable when an error is raised, declare every parameter and select-options in a big block, and perform the check in a unique AT SELECTION-SCREEN ON BLOCK xxx.
Use Error message, Warning and Information don't break the flow of the report.
Regards,
Raymond -
How gray out the fields in selection screen with parameters
Hi,
Can any one help me how to gray out the selection screen fields
Start-of-selection----
Parameters : p_status TYPE edids-status MODIF ID xyz DEFAULT co_51.
End-of-selection----
i want to grayed out the field p_status.
except At selection-screeen output, can any one suggest the other method of gray out the above field.
Thank u
B Ravi Kumar -
At selection-screen. - message - go back to the field on selection-screen
At selection-screen.
If the user enter the wrong profitcenter .
just I need to issue a message saying the user to "enter the correct profit center "
and cursor should go back to the profit center field on the selection screen.
How to code this ?Hello Sam
Here a more detail code sample:
*& Report ZUS_SDN_RETURN_TO_SELSCREEN
REPORT zus_sdn_return_to_selscreen.
PARAMETERS:
p_bukrs TYPE bukrs DEFAULT '1000'.
SELECTION-SCREEN BEGIN OF BLOCK profit WITH FRAME TITLE text-bl1.
* text-bl1 = 'Profit Center Selection'
PARAMETERS:
p_prctr TYPE prctr OBLIGATORY.
SELECTION-SCREEN END OF BLOCK profit.
AT SELECTION-SCREEN ON BLOCK profit.
IF ( p_prctr BETWEEN '0000001000' AND '0000002000' ).
ELSE.
* IF condition only used to trigger either error message
IF ( p_prctr BETWEEN '0000002001' AND '0000003000' ).
MESSAGE 'Invalid profit center' TYPE 'E'.
ELSE.
* or
MESSAGE e398(00) WITH 'Profit Center' p_prctr 'invalid' .
ENDIF.
ENDIF.
START-OF-SELECTION.
* do something...
END-OF-SELECTION.
Regards
Uwe -
Project system: CJE2 tcode.. Add the field to selction screen
Hi,
GM ALL
I would like to add the field to selection screen for a dynamic report one which is using in CJE2 T.CODE. I am trying to add the field through se36 [logical data base level] but its not helping.
Need to add below field to selection-screen
CJDB_SELIDS
Field: SELID_PR
Please let me know,if any one know the solution..
Regards
KK
Edited by: kirankumar2129 on Oct 18, 2011 10:03 AMYou need to have the SAP access key to modify the screen and add the field which already been added in VBAP using the Append structure in SE11
Thanks,
Babu Kilari -
How to reset values in fileds of a selection screen?
I have a selection screen ,can you please tell me how to reset the values of the fields in selection screen.
Hi,
SELECTION-SCREEN: begin of block blk,
SELECT-OPTIONS FL_DATE FOR SBOOK_WA-FLDATE.
SELECTION-SCREEN: End of block blk,
INITIALIZATION.
REFRESH FL_DATE.
Please Note: Always search SCN before posting.
Hope it helps you,
Regards,
Abhijit G. Borkar -
Field Validation for Authorization Object field on selection screen
Hi Experts,
We have included a new field u2018Authorization Objectu2019 in the selection screen which should be reflected in the field Authorization Object of the spool property. Please let us know how we can provide F4 help for this field and also validate it in the code.
The data element "RSPOAUTH" is used for the field on selection screen parameter. However, as there is no value table attached to the domain, we are unable to provide any F4 help and hence cannot validate the field in the code.
Looking forward for your valuable reply.
Thanks in advance.
--Warm Regards,
Prajakta Kanitkar.Hi Prajakta,
You can refer the following code for getting F4 help.
TYPES: BEGIN OF stru_btc,
zesgbtc TYPE zhr_del_btc,
END OF stru_btc.
DATA: it_btc TYPE STANDARD TABLE OF stru_btc
SELECT-OPTIONS: s_zzbtc FOR pa0001-zzbtc NO INTERVALS.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_zzbtc-low.
SELECT * FROM zbtc INTO CORRESPONDING FIELDS OF TABLE it_btc.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BTC'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'S_ZZBTC'
value_org = 'S'
TABLES
value_tab = it_btc
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Hope this will help you.
Thanks & Regards.
Aniruddha -
Add custom fields on selection screen and ouput in Transaction QM11
Hi All,
i have the requirement to enhance the transaction qm11( Report : RQMELL10) to add the custom fields on the report selection screen and in the report output.
i tried to add the fields on selection screen by copy the standard program RQMELL10 to custom one. and tried to add the fields above to the coding tab but i am not able to display the text for those fields of select-options. can any one help me is it the right way to copy the standard program to custom program and adding the custom fields and how to get the text element for the custom fields which we are going to add it. i tried to add the text element in program text elements but it is not appering on the report.
please requeting the help asap if it is possible.Have a glance in below thread.
Enhancing transaction QM10
Also, there are some more threads available in enhancing the QM10 / QM11. Please search those as well. -
Providing F4 help for the same field on selection screen
Hello Experts,
My requirement is :
There are 2 radio buttons and a parameter "p_file" on my selection scree.
1. rb_appl
2. rb_pres
If the radio button rb_appl = 'X', I need to place the logic of F4 help of application server for the field p_file. Else if the rb_pres = 'X', then I need to place the logic of F4 help of presentation server for the same field p_file.
I have written the code in the below manner
PARAMETERS: rb_appl RADIOBUTTON GROUP rad DEFAULT 'X',
rb_pres RADIOBUTTON GROUP rad ,
p_file TYPE ibipparms-path.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
IF rb_appl = 'X'.
PERFORM f_applictn_server_filenm.
ELSEIF rb_pres = 'X'.
PERFORM f_presentation_filenm.
ENDIF.
But I am getting the F4 help for only the radio button for which i have placed the default value in the parameters.
So please let me know how to define the F4 help for the same field based on the radio buttons.Hi,
You can acheive the same by the addition of [USER-COMMAND fcode].
RADIOBUTTON GROUP group [USER-COMMAND fcode] - The addition USER-COMMAND can be used to assign a function code fcode to the first parameter in a radio button group. The function code fcode must be specified directly, and have a maximum length of 20 characters. When the user selects any radio button of the radio button group on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and transfers the function code fcode to the component ucomm of the interface work area sscrfields.
So you code should be altered as
PARAMETERS: rb_appl RADIOBUTTON GROUP rad
USER-COMMAND radclick "Addition which you have to make.
DEFAULT 'X',
rb_pres RADIOBUTTON GROUP rad ,
p_file TYPE ibipparms-path.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
IF rb_appl = 'X'.
PERFORM f_applictn_server_filenm.
ELSEIF rb_pres = 'X'.
PERFORM f_presentation_filenm.
ENDIF.
Thanks & Regards,
Harish -
PDF forms have problems displaying text and only appears when the field is selected
Hello,
I created some pdf forms to distribute to the company clients. But we are having some people complaining about the text visibility. When they have work in team, the pdf that they receive from a third person often appears unfill or without text, the text is only visible when the field is selected. I need to find a solution for this because our company products are base on this forms.
If there is any addition information that I should add to understand what is happening and how to fix it, I'll be happy to write it.
In the company, we all have mac and the forms where created innitially in Adobe acrobat 9 pro, but we have now Adobe acropabt XI pro.
The users have both Mac and Windows systems.
Thank you,This is usually caused by the form being filled-in and saved by a Mac user who is using the Preview application to view the PDF. More information is here: http://kb2.adobe.com/community/publishing/885/cpsid_88564.html
It is a good idea to inform your users that Adobe Reader (or Acrobat) should be used to work with the forms. -
Regarding the event AT SELECTION-SCREEN ON FIELD ..
Hi experts,
Can u plz tell the real advantage of the event AT SELECTION-SCREEN ON FIELD than
AT SELECTION-SCREEN ..
in which type of situations AT SELECTION-SCREEN ON FIELD is needed??
Thanks & Regards,
sathish.Hi,
when we are going to do two are more field validations at a time
we can use AT SELECTION-SCREEN ON <fieldname>.
if it is there single field we can use AT SELECTION-SCREEN.
have a look.
select-options: s_vbeln like vbak-vbeln,
s_vkorg like vbak-vkorg,
s_vtweg like vbak-vtweg,
s_matnr like vbap-matnr.
AT SELECTION-SCREEN ON s_vbeln.
select----
if sy-subrc <> 0.
error message.
endif.
AT SELECTION-SCREEN ON s_vkorg.
select----
if sy-subrc <> 0.
error message.
endif.
AT SELECTION-SCREEN ON s_vtweg.
select----
if sy-subrc <> 0.
error message.
endif.
AT SELECTION-SCREEN ON s_matnr.
select----
if sy-subrc <> 0.
error message.
endif.
Regards.
sriram. -
Setting only the TO field on the Created on Field in Selection screen to Current date
Hello,
We have a requirement to Set only the To date in the Created on Field in Selection screen to the Current date, I have tried through Dynamic variable option to set the Date calculation but I am able to see Options to set the Current date to From or From and To Created on Date fields instead of setting the Current date only to To created on Field.
We are in 4.7 and are not supported with user defined variables, Appreciate your inputs on this.
Thanks and Regards
Mohammed Roshan>
sunitha j wrote:
> Hi ,
>
> It would br gr8..if u could give some more info about the usage of this class..i mean if i hav to implement it in my program....wat is the necessary data that needs to b copied...
>
> Thanx,
> Sunitha
what Text field you want to change.
Since you are working with Dynpros , you have to split the screen in two parts, and one for the Showing differenet fonts and other your normal Dynpro information.
you need to use the Method ADD_TEXT Did you check the program DD_STYLE_TABLE. -
Display all the fields in one screen shot
Hi all,
I am having 20 fields in the grid.
but few fields are displaying in the grid and the scroll bar is existing to display other fields
where as i need all the fields in on screen shot.
let me know it .Hi ,
One option would be to reduce the width of the fields in the catalog or manually after the data is displayed.
Regards:
Arun -
Can't access the top of my screen on macbook
Dragged my screen by using the lower right corner but can not access the top of my screen. When the scroll bar is at the top, it's partly hidden underneath the grey bar with the buttons to close the window, iconize the window or go full screen.
Please take a screenshot and post the output in your reply.
Maybe you are looking for
-
Shared Computer Licensing on Windows Server 2012 R2
Hello All, I've installed Office 365 onto our Windows Server 2012 R2 server. Everything went through fine. I used the following configuration file: <Configuration> <Add SourcePath="location it's saved" OfficeClientEdition="32"> <Product ID="O36
-
Hi as a new member with little computer experience I appeal for help. I recently had a computer crash which resulted in a rebuild of motherboard, processor and hard drive with the usual reloading of software and peripherals. All went well until I rel
-
Anyone know of a good OLAP DML/DDL tutorial? (and NOT reference guide)
In addition to Analytic Workspace, I am trying to learn how to build cubes using just the OLAP DML / DDL language. Oracle and others have published a great deal of reference material on the language of OLAP DML / DDL but I can't find any real tutoria
-
Having trouble downloading a song? Keeps saying download failed.
Having trouble downloading a song that's already been bought? Keeps saying downlaod failed.
-
Tomcat Manager Portal in BlazeDS Turnkey Server
Hi all, Im pretty new to blazeds, and liking what i have experienced thus far. Could anyone please tell me how to access the Tomcat Manager Portal within the BlazeDS Turnkey Server Installation. Like in know it runs on port 8400 by default. So runnin