Requirement in selct option
Hi All,
I have one requirement in my program's select option.
If i am entering starting three letters and star symbol then it should fetch all the possible values staring with that three letters
For example if I want to display the report for a group of plants then need to input like STE* then it will fetch all the values like
STE01, STE02, STE03.....
Is it possible with select option?
How can I implement "Include functionality " in Select option?
Thanks in advance.
Amba.
Hi,
The functionality that you are asking for is in-built in the select-option. Check the following code. Please note that your input in the select-options is case-sensitive. If your database has entries in caps, then give your input in caps.
TABLES: KNA1.
DATA: BEGIN OF T_NAME1 OCCURS 0,
NAME1 TYPE KNA1-NAME1,
END OF T_NAME1.
SELECTION-SCREEN BEGIN OF BLOCK B1.
SELECT-OPTIONS: S_NAME1 FOR KNA1-NAME1.
SELECTION-SCREEN END OF BLOCK B1.
START-OF-SELECTION.
SELECT NAME1
FROM KNA1
INTO TABLE T_NAME1
WHERE NAME1 IN S_NAME1.
IF SY-SUBRC NE 0.
WRITE: 'Failure'.
ELSE.
WRITE: 'Success'.
ENDIF.
Input -> so* retrieves different values.
SO* retrives different values.
Similar Messages
-
Drop down required for select-options
drop down required for select-options as displayed in VT01N 'shipment type'.
Hi
Check out..this example
data: i_value TYPE vrm_values,
wa_value LIKE LINE OF i_value.
PARAMETERS : p_field TYPE dd03l-fieldname AS LISTBOX
VISIBLE LENGTH 80 OBLIGATORY.
INITIALIZATION.
*-- Populate List Box
*-- TEMKSV - Legacy Value
wa_value-key = 'TEMKSV'.
wa_value-text = 'Legacy Key'.
APPEND wa_value TO i_value.
CLEAR: wa_value.
*-- Installation
wa_value-key = 'INSTLN'.
wa_value-text = 'Installation'.
APPEND wa_value TO i_value.
CLEAR: wa_value.
Setting the selection
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'P_FIELD'
values = i_value.
Patil -
Required PDP Setting option:EMPDP_SETTINGS_SUDO not available
Hi all.
In data guard installing process i have this problem in step destdirCreation.
Failed to launch process: Auth-PDP: Required PDP Setting option:EMPDP_SETTINGS_SUDO not availablesink operation skipped due to source operation failure
After, i'm turn on debug mode and retry all:
10:49:36 [TRACE] fileTransfer: validated parameters
10:49:36 [TRACE] fileTransfer: source file /home/oracle/app/oracle/product/11.2.0/dbhome_1/dbs/orcl_61/initorcl.ora
10:49:36 [TRACE] fileTransfer: destination file /home/oracle/app/oracle/product/11.2.0/dbhome_1/dbs/initorcl2.ora
10:49:36 [TRACE] fileTransfer: source command null
10:49:36 [TRACE] fileTransfer: destination command null
Google have only 3-4 result about this problem. There people speak about emd.properties file.
I will write in the end of this file this option, but it can't resolve problem.
EMPDP_SETTINGS_SUDO=/usr/bin/sudo -S -u oracleTry this:
https://support.oracle.com/epmos/faces/DocContentDisplay?_afrLoop=986528133794430&id=761863.1&_afrWindowMode=0&_adf.ctrl… -
Requirement Routines & Mandatory Option for condition type
Hi All,
A tax condition type is being setup as mandatory in the pricing proecdure.
It has a requirement routine associated to it. If the requirement routine is not satisfied, sy-subrc is 4 and hence, no tax is calculated for it but mandaotry setting demnds it to have some value. In such situations, will it over-ride the config. setting of mandatory condition type & if not so, how can I over-ride. It is compulsory to have the mandatory option ticked but its ok to over-ride it for some conditions specifed in the requirement routine.
Please advice.
Thank you,
ShivHi Shiv,
Any critial configuration related information is available in internal tables based on which standard SAP does validations. So mandatory property of the condition type as configured in the pricing procedure, would also be available in some internal table of KOMV (KOBLI is the field indicating whether it is mandatory or not)
So in your requirement routine you can code so as to make KOBLI blank whenever the tax condition type is being deactivated by setting SY-SUBRC to 4.
Please reward if helpful.
Regards,
KC -
Client Requirement: STO shortclose option
Hi Frens,
We have option of Short close the sales order in SD (Reason for Rejection field) to close the sales order remaining qty at Item level. This is to avoid the remaining qty to be delivered. Similarly, I was searching for some control to short close the remaining qty in STO line item. Can anyone help? It should be other than-
1) BLOCK THE LINE ITEM QTY
2) DELETE THE LINE ITEM QTY
3) CHANGE THE LINE ITEM QTY AND MAKE IT EQUAL TO DISPATCHED QTY (IN STO)
Hope I am Clear in my requirement?
Regrads
Vikas ChhabraU seems right...Let me test
I think you have cracked it sir...
Will revert to you for sure
Regards
Vikas Chhabra -
Selct Options in Module Pool screen.......
Hi Gurus,
We know the way to get the Select options on the Module -Pool screen as follows....
Create 2 separate fields in your screen layout - one for the low value and one for the high value. Insert an icon beside the high value which will call the multiple selections popup screen on user command. Use function module COMPLEX_SELECTIONS_DIALOG to achieve this.
I have tried the same as a test run for the FM. .but not returning meaningfull range......
Can any 1 clerify where the code containing the FM has to be included in the Screen flow (inside PAI, PBO or else) to get the range which can further be used inside the code for database selections or else..... .
Secondly, how is the inserted icon populated and used while coding........????
Thanks And Regards,
Abhi........Hi
Please find the below code u will get select options
dont create any screen fitst jus type of prog is 'M' and create a tcode with 100 screen
than execute u will get select options
TABLES:VBAP.
SELECTION-SCREEN BEGIN OF SCREEN 100 .
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS S_VBELN FOR VBAP-VBELN.
PARAMETER P_WERKS LIKE VBAP-WERKS.
SELECT-OPTIONS S_ERDAT FOR VBAP-ERDAT.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN END OF SCREEN 100.
Regards
Surendra -
Require Salary packaging option in ESS portal for India
Dear All,
We need Flexi Benefit Pay option in ESS portal for India.
We tried a lot for the same but could not get any break through....
We found Salary Packaging option in R3 under the Tcode P16B_admin...this is wrking fine in R3 but we want this option in portal so that employees can choose their own salary structure.
We tried to pull this tcode thru Iview but the R3 screen is giving an option for employee to input pernr no. ...so now any employee can input anybodys pernr no. and modify the salary structure.
also please letme know if this is a standard feature or we have to go for standard development.
Thanks & Regards,
JJ.Dear Somanna/Andy,
Please see below screen shot, how my Portal screen looks like after the changes as suggested by you--
I am supposed to get Time option here. Please correct me if I miss anything
Regards,
Nayak -
Only showing contacts for required (and / or optional) attendees on appointment
Hi,
Is there any, supported, way to only show contacts when you do the lookup on required attendees on appointment. As it is now it starts with accounts which rarely are a meeting participant at least in our customer's case. It would be nice to get the contact
view as the first choise when you open the lookup and to have contacts for the first ten that shows in the gui (which imho is pretty useless anyway, what are the odds that the ten shown out of 35000 contacts are the correct ones?)
Thanks.
Rickard Norström Developer CRM-Konsulterna
http://www.crmkonsulterna.se
Swedish Dynamics CRM Forum: http://www.crmforum.se
My Blog: http://rickardnorstrom.blogspot.seRickard,
I know it's unsupported but I checked the Xrm library and I don't think you can do this in a supported way.
This link also provides a solution. I looked for a supported way on Google, but didn't find one. If you want to search just look for the words 'change view default entity partylist...' (required attendees is an attribute of type partylist).
If you find one (but I think you wouldn't) , tell me :D
Hope it helps
Kind Regards -
OVS for two fields in the same selct Option?
Hi Experts,
I am using select options in my view. I am using OVS for one field. I would like to use same OVS for another field in the same select option.
I tried "case ovs_callback_object->context_attribute". Which return the field for which we press F4.
But IT did not work here probably because this we can use only for context attributes fields.
but But here I dont get the select option field.
But in my case I have select options which are not mapped to any context attribute.
How can I find , for which field in select options F4 help has been requested?
Regards,
Vishal.Hi,
You can find which field in select options F4 help has been requested using I_OVS_DATA-M_SELECTION_FIELD_ID.
CASE I_OVS_DATA-M_SELECTION_FIELD_ID .
WHEN 'PERNR'.
WHEN 'ENAME'.
WHEN OTHERS.
ENDCASE.
If you are using one OVS for more than one fileds, please remember that you need to provide different code for each fields at phase 0 (configuration) and phase 3 (apply result).
Regards, -
NI Industrial Communications for EtherCAT 2.4 requires FPGA deployment option?
I am using NI Industrial Communications for EtherCAT 2.4, along with PXI real time target and some third party EtherCAT devices.
When I right clicked on my third party slave device in the LabVIEW project tree and selected Online Device State it started searching for NiFpgaBitfileGet_all.vi, then put up a message Cannot display selected category. I have temporarily fixed it by installing the FPGA deployment option. Will the fix still work once the 30-day evaluation period is over? I shouldn't need FPGA deployment option so why is there a dependency?I do not have any NI slave devices. The third party device is a Micro-Epsilon confocalDT 2451 distance measurement probe. My controller is a NI PXI-8109, and I am using a PXI-8231 as the EtherCAT master. I am using LabVIEW 2011 with LabVIEW Real-Time 11.1. As an initial test setup I have just the one slave, as the attached project tree shows. I eventually want to have eight of these slaves, but that will need another thread. I have not had the opportunity to try "Revert to Default Personality" yet.
Paul
Attachments:
LV2.jpg 34 KB -
Required Password Reset options
Dear Sir,
Please provide the password reset option for my domain www.teamprotouch.com. We want to change the password at our side by control panel.I too have the same problem and exception.
I couldn't able to login (in ampassword) for all users under, ou=people,ou=aerospace,dc=abc,dc=com
But I could able to login and reset the password for all users under ou=people,dc=abc,dc=com
Has anybody faced this issue. Any suggestions will be of great help.
Thanks. -
How to restrict more than one 1 range in select option on selection screen.
Hi all,
I have a requirement where I need to restrict user from giving more than 1 range for a date selct option ..other all features of multiple selection will be as usual...
for eg we can do this if we disable / hide other cells if the user clicks on multiple ranges tab.. If only 1 cell is available to give the range user will not be able to give more than 1 range....
I was thinking if I could use select_options_restrict but how do i fill its parameters...
Can anyone send me the sample code or the same to achieve this functionality...I have used select_options_restrict to hide multiple ranges itself ... But here user will be able to give range but only 1....
Thanks and Regards
SwetaHI,
Please try the below logic.
SELECT-OPTIONS: so_addr FOR ADR6-SMTP_ADDR NO INTERVALS.
***********remove_range_for_select_option******************* .
DATA: ls_restrict TYPE SSCR_RESTRICT, "The type for SELECT_OPTIONS_RESTRICT
ls_opt_list TYPE SSCR_OPT_LIST, "One list of options
ls_asn TYPE SSCR_***. "One line of table associating selection screen
"object with opt. list
CLEAR: ls_restrict,
ls_opt_list,
ls_asn.
*Only EQ valid, discrete values, Include & Exclude
ls_opt_list-name = 'EQ'.
ls_opt_list-options-eq = 'X'.
APPEND ls_opt_list TO ls_RESTRICT-OPT_LIST_TAB.
LS_ASN-KIND = 'S'.
LS_ASN-NAME = 'SO_ADDR'. "Select Option
LS_ASN-SG_MAIN = 'I'.
LS_ASN-SG_ADDY = '*'.
LS_ASN-OP_MAIN = 'EQ'.
LS_ASN-OP_ADDY = ' '.
APPEND LS_ASN TO LS_RESTRICT-***_TAB.
*Make use of SELECT-OPTIONS easier on the selection screen
CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
EXPORTING
RESTRICTION = LS_RESTRICT
EXCEPTIONS
TOO_LATE = 1
REPEATED = 2
SELOPT_WITHOUT_OPTIONS = 3
SELOPT_WITHOUT_SIGNS = 4
INVALID_SIGN = 5
EMPTY_OPTION_LIST = 6
INVALID_KIND = 7
REPEATED_KIND_A = 8
OTHERS = 9.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Edited by: Rajasekhar Reddy P on Mar 16, 2009 2:03 PM -
No Video Backdrop Option with 24" iMac
I cannot get the video backdrop as an option in iChat. I know that there are system hardware requirements before this option will trigger, but theoretically I meet/exceed these conditions:
I have a iMac 24" with 2.8 GHz Intel Core 2 Duo and 4 GB 667 Mhz DDR2 SD RAM. Theoretically then I have a top-of-the line iMac (which I love).
I also just got Leopard and all software is up-to-date.
Nonetheless, for the life of me, I do not know how to get iChat to trigger video backdrop as an option. Any Ideas?We are talking about open and Video chat or Preview of yourself and going to the Video Menu and the Video Effects item ?
And then selecting the arrow bottom left and right to scroll through the Options ?
10:31 PM Sunday; March 2, 2008 -
Terms of payment made optional in account group configuration of customer
Hi Experts,
I have made terms of payment optional in account group configuration of customer master for one time customer but it is showing me mandatory when I am creating or changing customer.
Is any body has any idea why this is happening?
Thanks
Krushnakumar RathiHi
Select the Relevant account group
Double Click on the Company Code data under Field status you will get another screen
In that Screen Double click on the Payment Transactions under selection group and check the field "terms of payment" is Required entry or optional entry , mention Optional Entry
Same as Double Click on the Sales data under Field status you will get another screen
In that Screen Double click on the Billing under selection group and check the field "terms of payment" is Required entry or optional entry , mention Optional Entry
Regards,
Prasanna -
Can pricing requirement be used for manual header condition
I have a manual header condition ZCR1 which will be entered in a sales document with doc type ZAB1. When this sales document is copied into another sales document ZAB2, I want that the manual header condition ZCR1 is not determined. Can I do this via pricing requirement? Or should I use alternation formula for condition base value and make the value of condition ZCR1 to zero when the document is copied into ZAB2.
Both the document types are using the same pricing procedure. In copy control for all item categories from ZAB1 to ZAB2, pricing type G (Copy pricing elements unchanged and re-determine taxes). ZCR1 is a manual condition in the pricing procedure used.
Regards
JavedHi javed
If you want the ZCR1 manual header condition should not be determined then you need to change the pricing type in the copy control but if you assign a requirement in the pricing procedure for ZCR1 condition type then you cant enter the ZCR1 condition type manually also as you are not meeting your requirement.
Another option is you have to create a new requirement with the help of Technical consultant ans assign it to the header condition type in the pricing procedure requirement feild . giving inputs to your Technical consultant that The condition type should not be determined
Regards
Srinath
Maybe you are looking for
-
Error while running a portal component.
Hi, I am not able to access portal service from an abstract portal component that I created in the same project as the portal service. Here is the error I am getting: Portal runtime error. "An exception occurred while processing your request. Send th
-
Setting the header in http request object
I am facing a problem while trying to test a particular flow of my application.The details are given below: The controller servlet of my main application reads the header "Referer" from the request object and then based on this it forwards the reques
-
How to crate a spool number for the abap program
hi how to create a spool number for the abap program
-
How to use DMBS_LOCK ??
hi , can anyone tell me how to use DBMS_LOCK to restrict from accessing same procedure in same time by others? using oracle 10g database.. please help.. thanks..
-
First I tried using the installer to install the full version. I entered the correct serial number for Premiere Elements 12 and started it up, but I still had the watermark saying it was the trail version. Is there any way to remove it, or do I have