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
Similar Messages
-
Adding customer field to selection screen of RFKORD11 - Customer Statement Printing Program:
Hello,
We are required to add an important customer field to selection screen of customer
statement printing program: RFKORD11 for our South African branch.
Please advise us regarding this matter,
is there a proper user-exit or a repair is needed?
Kind Regards.Enhancement
text
F050S001
FIDCMT, FIDCC1,
FIDCC2: Edit user-defined IDoc segment
F050S002
FIDCC1: Change
IDoc/do not send
F050S003
FIDCC2: Change
IDoc/do not send
F050S004
FIDCMT, FIDCC1,
FIDCC2: Change outbound IDoc/do not send
F050S005
FIDCMT, FIDCC1,
FIDCC2 Inbound IDoc: Change FI document
F050S006
FI Outgoing IDoc:
Reset Clearing in FI Document
F050S007
FIDCCH Outbound:
Influence on IDoc for Document Change
F180A001
Balance Sheet
Adjustment
FARC0001
Enhancements within
archiving (FI)
FARC0002
Additional Checks for
Archiving MM Vendor Master Data
FEDI0001
Function exits for
EDI in FI
FICT0001
Exits for
inter-company transactions
RFAVIS01
Customer Exit for
Changing Payment Advice Segment Text
RFBVX001
Enhancement for bank
directory transfer (Austria)
RFEPOS00
Line item display:
Checking of selection conditions
SAPLBANK
User exit: Bank data
SAPLF040
WF: Preliminary
posting (authorized for release)
SAPLF051
Workflow for FI
(pre-capture, release for payment)
SAPLFCPD
One-time account data
or different payee in booking
SAPLSSRV
User exit: Bank
account numbers
RFKORIEX
Automatic
correspondence
please check which one is better . -
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 -
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,
KiruthiHi 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 -
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 -
Adding one field in selection-screen in rfitemar
hi experts
1) I am converting the rfitemar to z or y program after that i have to add one field wbs element(projk) in selection screen.
2) The WBS Element values should be displayed in the output report ie one column which contain wbs element values .
Plz help me as soon as possibleHi,
In this report,
1. find out the final table for display.
2. add ur custom fields in that table using appending structure.
3. find out correct enchance spot or BADI,...etc...before diaply(befor calling FM REUSE_GRID_DISPLAY or method SET_TABLE_for_display or..etc).
4. in that enchance spot or badi u can write ur logic.
Regards,
Ramesh. -
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. -
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 -
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 -
Adding a BSEG field to the FB03 dynamic selection screen
Hello,
We have a requirement wherein we want to add a field from BSEG in the dynamic selection screen of FB03.
We found that the logical database behind this is BRF. So we created a u2018CUSu2019 selection view for the logical database and added the field from BSEG to the functional group
and checked the checkbox u201CPreselectu201D for it to appear automatically in the FB03 screen.
But we still couldnu2019t see the field in FB03 dynamic selection.
On analysis, we found that only tables are that are defined in the nodes (Extras Selection views) can be used to create the dynamic selection and BSEG was not available
as one of the node. So we added BSEG as one of the node by adding the below code to the SELECTION of the logical database.
SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE BSEG.
Even after that, we couldnu2019t see the field from BSEG in the dynamic selection.
Are we missing anything here?
I see many threads here on similar lines but no one has posted the exact step. Any help is highly appreciated.
Thanks a lot.
Regards,
SuganyaHi
If you want to take the line item details than you can refer these t-codes rather than customizing.
S_AC0_52000887 - Receivables: Profit Center
S_AC0_52000888 - Payables: Profit Center
S_ALR_87012332 - G/L Account Statements
Here by using the dynamic selection you can get the results. Use object list display and select the layout for more fields.
Thanks -
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 -
Adding f4-help to selection screen parameter field
Hi all.
I need to add search help to a parameter field on selection screen:
PARAMETERS:
p_reciv LIKE soos7-recnam.
What is the easiest way?
tia, regardsYou can give F4 help by two ways:
1. Using internal table
2. Refering db table field.
Following are e.gs:
F4 help using internal table example:
DATA: BEGIN OF LI_FABGRP OCCURS 0,
FABGRP LIKE ZAPO_FABGRP-FABGRP,
BEGDA LIKE ZAPO_FABGRP-BEGDA,
END OF LI_FABGRP.
DATA : T_RETURN TYPE STANDARD TABLE OF DDSHRETVAL WITH HEADER LINE,
L_RETFIELD TYPE DFIES-FIELDNAME.
parameters : S_FABGR like ZAPO_FABGRP-FABGRP.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_FABGR.
SELECT FABGRP BEGDA FROM ZAPO_FABGRP INTO table LI_FABGRP.
SORT LI_FABGRP BY FABGRP ASCENDING BEGDA DESCENDING.
Henter de mulige fabriksgrupper med nyeste BEGDA *indenfor hver
DELETE ADJACENT DUPLICATES FROM LI_FABGRP COMPARING FABGRP.
L_RETFIELD = 'FABGRP'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = L_RETFIELD
DYNPPROG = SY-REPID
DYNPNR = '1000'
DYNPROFIELD = 'S_FABGR'
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
TABLES
VALUE_TAB = LI_FABGRP
RETURN_TAB = T_RETURN
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
F4 help using field example:
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_FABGR.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = mara
fieldname = matnr
SEARCHHELP = ' '
SHLPPARAM = ' '
DYNPPROG = ' '
DYNPNR = ' '
DYNPROFIELD = ' '
STEPL = 0
VALUE = ' '
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
SUPPRESS_RECORDLIST = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
SELECTION_SCREEN = ' '
IMPORTING
USER_RESET =
TABLES
RETURN_TAB =
EXCEPTIONS
FIELD_NOT_FOUND = 1
NO_HELP_FOR_FIELD = 2
INCONSISTENT_HELP = 3
NO_VALUES_FOUND = 4
OTHERS = 5
Select-options: s_rcode FOR g_grund . "Reason code
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_rcode-low.
Validation for Reasoncode
PERFORM sub_get_F4_rcodehelp .
FORM sub_get_f4_rcodehelp .
STRUCTURES Declarations
TYPES: BEGIN OF ty_rcode ,
grund TYPE mb_grbew,
grtxt TYPE grtxt,
END OF ty_rcode.
*Internal Table declaration
DATA : li_rcode TYPE STANDARD TABLE OF ty_rcode WITH HEADER LINE.
SELECT grund grtxt
INTO TABLE li_rcode
FROM t157e
WHERE spras = sy-langu .
*Help functions for external use
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'fieldname'
dynpprog = 'programname
dynpnr = '1000'
dynprofield = 'S_PCODE'
value_org = 'S'
TABLES
value_tab = li_rcode
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.
ENDFORM. " sub_get_F4_rcodehelp -
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.
Maybe you are looking for
-
CAN I CHANGE AN OLD 3GS IPHONE TO A NEW ONE?
Can I change an old 3GS Iphone to a new one in the apple store in Germany?
-
Can any one pls tell me that how can i make the heading in a report with time and date to be displayed at the top with heading using alv.
-
Quicktime doesn't run smoothly the FullHD MP4 Videos
I have videos MP4 made with a phone FullHD 1080P that plays perfect in my MacBook Air is I use VLC or MplayerX but if I use Quicktime then doesn't play smoothly they stop for seconds each few seconds, I have same issue If I play the videos in IPhoto
-
Process chain doesn't even with errors in bacrground processes
Hi experts, I need your help again. My client is using a process chain to automate the consolidation process in SEM-BCS. This is done using variants of programs UCBATCH01 and UCBATCH11. The problem now is that the process chain doesnu2019t stop even
-
Table for storing Pre-Selection Activities
I want to run a report to display candidate names who have have received the activity Management Ranking. What table are the activities stored in?