Popup check box screen for fields selection using user structure
Hi all,
could you please help how can i get the popup screen in the program when the user wants to choose the wanted fields.
for ex: in the table after clicking the contents display the selection fields will be displayed. there in setting -> list format->choose, we can check the fields wanted to be displayed. The same functionality i needed with my own structure. can any one help me in this, it is urgent.
Thankyou.
Hai Ashok
Check the following Code
S_FIELDS-TABNAME = 'VBAP'.
S_FIELDS-FIELDNAME = 'ARKTX'.
S_FIELDS-VALUE = WC_VALUE.
APPEND S_FIELDS.
CALL FUNCTION 'POPUP_GET_VALUES'
EXPORTING
NO_VALUE_CHECK = ' '
POPUP_TITLE = 'Locate Material'
START_COLUMN = '5'
START_ROW = '5'
IMPORTING
RETURNCODE =
TABLES
FIELDS = S_FIELDS
EXCEPTIONS
ERROR_IN_FIELDS = 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.
ELSE.
READ TABLE S_FIELDS INDEX 1.
WC_VALUE = S_FIELDS-VALUE.
ENDIF.
Thanks & regards
Srenivasulu P
Similar Messages
-
Check box in SAP Query selection screen
I want to keep 2 check box in SAP Query selection screen.
could you please tell me any one.
regards,
kumarHi Vijay,
If these check boxes are the fields in the table you are using then you can do it in SQ01, otherwise you may required to make the changes in the standard code generated for that query.
You can find the name of the generated program of the query when you execute the query.
Reward points if useful.
Regards,
Atish -
SQ01 - Include a check box on ABAP query Selection screen
Hi Experts,
For my Abap Query, on the selection screen i am planning to include a check box such that if i click on the check box then a field will be displayed in the resulting output . On the other hand if i do not check on i should not be able the field in the output.
Please tell me how do i do this.
Thanks
Venkata Pradeep.In infoset, Extras code tab
Code section: At selection-screen output
Do something like below:
IF radiobutton1 = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'XXXX'. "XXX is the filed group name you want to hide., you have to find out what is it.
screen-input = '1'.
screen-invisible = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF screen-group1 = 'XXX'.
screen-input = '0'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF. -
My Airplay is delivering Audio but no Video (black screen). The drop down box has a new selection "use airplay to; it does not let me select 'Mirror my IMac', it is stuck on 'extend desktop' any suggestions appreciated.
here is fix! i tried only step 1 and then restarted my computer and now it works. Choose remove All Files
Hope it helps.
https://discussions.apple.com/thread/5952624?tstart=0 -
Extending Screens for Multi-Select in the LightSwitch HTML Client
Hi i
read Mike Droney's article of
Extending Screens for Multi-Select in the LightSwitch HTML Client
But i just want to understand the code, so what is the ‘__isSelected’ property? from where does it come?
why does the contentItem.value.details have an ‘__isSelected’ property?
is the value of the contentItem not the screen?
and also how can i implement the ‘Can Execute Code’ only if one or more check boxes are checked?
ThanksBut i just want to understand the code, so what is the ‘__isSelected’ property? from where does it come?
why does the contentItem.value.details have an ‘__isSelected’ property?
is the value of the contentItem not the screen?
and also how can i implement the ‘Can Execute Code’ only if one or more check boxes are checked?
The '__isSelected' property is a private member of the class msls.ContentItem related to the backing data for the selected item. That is to say, it would be a private member if JavaScript actually had encapsulation and information hiding like a typical
object-oriented language. I like to reference David Herman's description from his book
Effective JavaScript:
Often, JavaScript programmers resort to coding conventions rather than any absolute enforcement mechanism for private properties. For example, some programmers use naming conventions such as prefixing or suffixing private property names with an underscore
character (_). This does nothing to enforce information hiding, but it suggests to well-behaved users of an object that they should not inspect or modify the property so that the object can remain free to change its implementation.
...which means that it's generally not recommended to directly get or set backing data properties like __isSelected, instead working with the public property 'selectedItem', although it may work fine in certain cases like this one.
To make _canExecute fire only when an item in the list is selected to enable a button method, try:
return (screen.Contacts.selectedItem !== null); -
-------------------------------------------------------------------------------------------------------------------------------------------
How can I access the savestore.js contents if the command about:sessionrestore shows a blank box even for already succesfully used backups?
Is there a recent known problem with the about:sessionrestore command or is there any other way understandable to Firefox 29.0.1 through which recover the information stored in the sessionstore.js files.
It seems the command about:sessionrestore is not capable anymore to read the contents of the sessionstore.js file present in the user profile folder.
The box where windows and tabs should be listed is empty.
I tried to paste a few old sessionstore.js files in the user directory while the firefox.exe process was not active, then opened Firefox again and tried to launch the about:sessionrestore command without any result.
I think the files are not corrupted because I used most of them in other occasions and I stored them in folders not connected to the common use of any process.
Also, I already successfully used the about:sessionrestore command in Firefox 29.0.1 in a few other occasions.
I did a "clean reinstall" of Firefox 29.0.1 and the box contained in the tab where about:sessionrestore is executed is still empty even if the files themselves contain such information as tabs location and html addresses.
After this I recovered the profile data I had stored in another folder and this is what you can see attached to this question.
---------------------------------------------------------------------------------------------------------If I select the "show my windows and tabs from last time" option in the startup settings the contents of any savestore.js file i paste in the user profile folder are opened without any problem.
still, the box in the tab loaded by the about:sessionrestore command is blank and empty, so it's not possible to "de-select" any window or tab. it's necessary to find an editor to modify session backup files which may contain "bad addresses".
does such an editor already exists? -
Add a custom table for field selection while creating field catalog for LIS
Hi,
I have a requirement to add a Custom table to be available for field selection while creating a field catalog for LIS. Its required as there are many custom fields to be used for field catalog creation and adding them in one of the existing tables listed is not a feasible option for us. Please let me knw if its possible..?? If yes how to get it done..??
Regards,
Akash Sinhahi,
You need to add your field in the Data Dictionary first. For example, if
you want the new field in the Order Item field catalog do the following.
Look at structure MCVBAPUSR (SE11). If you already have a user structure
appended to this structure then you can add your new field to your existing
structure. If there is no structure already appended to MCVBAPUSR then you
must create a new structure with your field in it and then append the new
structure to this one.
If you look at structure MCVBAP you will see the data appended to the end
of it.
Now you should see it in the field catalog.
regards,
balajia -
Whats the check box good for?
Greetings!
I'm on a Monday roll. I got bit by a context menu so far so now lets try the check box.
I've always been under the impression that the check box was an include/exclude thing its either on or off.
Instance I was trying to burn a cd from a playlist and it went over. So I would un-check boxes for items in the list and try to re-burn the cd. Even after clearly it telling me I had less time and space itunes was still trying to burn the 'unchecked' items.
So .... what are the check boxes good for?? I'm sure I'm going to feel really dumb when the answer is presented.
Thanks for your time .. on a ridiculous question!
Dave*I guess I haven't put enough thought into creating a playlist to contain every song I would like to play at a given time.*
By checking/unchecking songs, you alreay are doing it, except instead of having them in a neat, tidy playlist or two, you have the whole library to go thru.
Here's how I do it.
It's very simple to get new music and my favorites onto the iPod, once set it up.
I have a few playlist I sync.
One is a regular playlist (iPod Music) with all the music I always want on my iPod.
I also create a smart playlist.
The criteria are.
Match all rules;
Playlist is not iPod music (this keeps from selecting songs I already have)
My rating is not 1 star (keeps off stuff I rate one star)
Have not heard in last two weeks (rotates older music)
Limit selection to 2GB by Random (the size is set to the iPod total size minus iPod music playlist size).
Then I select the iPod, click the Music tab.
Tick Sync music and choose Selected playlists in the drop down.
Tick the two playlists above.
I add/delete from the iPod Music playlist to always sync this music.
Once a week or so, depending on how much I have listened to the iPod, select the smart playlist.
Select all the songs and press Delete. Since it's a smart playlist, it will automatically fill up again with new music based on the criteria.
Then I sync the iPod.
(I really gotta start a blog with this info in it since I type it a bunch...) -
Hi,
I am customizing the bug workitem workflow.
I want ot select different lists, from the gllobal list, for fields basd upon user group
I am aware that I can use "when" clauses in the allowed/suggested values of the field.
My question is : how do I get the group(s) that the current user is in and how do use this to select different lists?Hi!
You can not do this through standard way. You must to create the custom work item control:
http://witcustomcontrols.codeplex.com/
And get the user group through IIdentityManagementService.
IIdentityManagementService IdentityService = _workItem.Store.TeamProjectCollection.GetService<IIdentityManagementService>();
TeamFoundationIdentity _curid = null;
_workItem.Store.TeamProjectCollection.GetAuthenticatedIdentity(out _curid);
string _group = "Admin";
var _gr = IdentityService.ReadIdentity(IdentitySearchFactor.AccountName, _group, MembershipQuery.Direct, ReadIdentityOptions.None);
if (_gr.Members.Where(s => s.Identifier == _curid.Descriptor.Identifier).Count() > 0) return true; -
Line Level DFF for a quote using user hook method
Hi ALL,
My requirement is to set default value in line level DFF for a quote using user hook method, so please suggest me how to achive this, i have checked the API "ASO_QUOTE_CUHK.update_quote_pre " but not successed please suggest.
ThanksHi Dipanjan,
Thanks for reply, do u have any idea how to achieve thsi through user hooks or any APIs so that i can place the default value to the corresponding DFF field.
Thanks
Edited by: user13424229 on Jan 22, 2012 11:52 PM -
I need to identify a series of single-response checkbox variables and display the ones selected (as a group) in a text field in an appended (comma, space) format. Last week, you provided a great little script for a similar need using List Box (multiple response) variables. This time I need to know how to formally identify the checkbox variables and, I presume, use a similar script to display the results in a comma, space format.
You've been of great help.
ThanksHere's the script adapted to this situation. It assumes there are ten check boxes named cb1, cb1, cb2, ...cb10.
// Custom Calculate script for text field
(function () {
// Initialize the string
var v, s = "";
// Loop through the check boxes to build up a string
for (var i = 1; i < 11; i++) {
// Get the value of the current check box
v = getField("cb" + i).value;
if (v !== "Off") {
if (s) s += ", "; // Add a comma and a space if needed
s += v; // Add the selected value
// Set this field value to the string
event.value = s;
You'll have to change the field name and starting/ending numbers to match your form. -
Multiple check boxes in an update form using php
I have a database of the membership of a club. One field in the database is input by checking multiple check boxes. When the insert member record is submitted and multiple check boxes are selected, the information becomes an array of text separated by commas. When the user goes back to the update form, the check boxes are not showing checked in the appropriate fields. Please go to my test site where you will be able to see the code that I have created so far: http://www.usreboot.com/phphelp.php. You will find the php code for the update form in a pdf file located there. You will need a user name and password to look at the update record page. Here you go: user name: wyane, password: wayne. I have submitted this request in the past and have not found success so far. Thanks for your help, Wayne Rowlands
I am so close. If a member has only one check box checked. I get the check box checked in the update form. Here is the updated code:
If the member has a number of check boxes checked, none of the check boxes are checked. I am so close. Maybe you can figure out what I am missing. Thanks, Wayne -
ADF Tree with Boolean Check Box: How to find selected items
Hi Experts,
ADF: 11.1.1.5.0
WLS: 10.3.6
I am using an ADF Tree which contains elements at two levels (say Departments and Employees). My requirement is to give provision for user to select Departments and Employees using the check boxes. User should be able to select what ever Departments he/she likes and what ever employees he/she likes. There should not be a provision to select Employee with out selecting the corresponding Department (root node in the tree).
I am facing the below issues while trying to implement this use case:
1. Always, only the first master record will be expanded by default (I am using "Display Row" property value as "default" and "ExpandAllEnabled" as "true"). My need is to expand all the master records by default. So that user need not explicitly expand each master record node and then select the associated child records.
2. Currently, I am using value change listener associated to af:selectBooleanCheckBox to identify the Departments and Employee records that have been selected. Since not all departments (masters) are expanded by default, if user selects the check box of department (master) and then expands the department node, automatically all the employees of that department are selected. But, this event is not triggering the value change listener for the employee records. Because of this, after a department node is selected and then expanded, all the child elements' check boxes are selected but the events are not generated. Hence, I am not able to capture the selection of employee records.
To summarize,
1. Please let me know how to expand all master nodes in af:Tree by default.
2. Please let me know the best approach to identify the selected items (both master and detail items) in the af:Tree component using af:selectBooleanCheckBox.
Thanks in advance,
RathnamHi,
Can you please elaborate the solution? I have a similar problem in
https://forums.oracle.com/thread/2579664 -
Adding a check box control for each row of data in a DataModel
Hi all,
I need to add a checkbox control for each row of data on a DataModel object.
I have a "commandButton" at the bottom of DataModel, and whenever someone checks some of the rows on that list of rows,
I need to get the selected dataModel(fragment of the list) in my backing bean.
How do I achieve this functionality in JSF?
Thanks,
Meghasyam.Hi all,
I need to add a checkbox control for each row of data
on a DataModel object.
I have a "commandButton" at the bottom of DataModel,
and whenever someone checks some of the rows on that
list of rows,
I need to get the selected dataModel(fragment of the
list) in my backing bean.
How do I achieve this functionality in JSF?
Thanks,
Meghasyam.You'll want to have a wrapper class as suggested above, which has a "selected" boolean in it. Then use the "binding" attribute of the h:selectBooleanCheckbox component to bind the checkbox to that property... Make the property public and specify the properties exact name in the binding... bindings do not append "get" to the EL.
Here is an example of what your table might look like... This code would display the list of names with a checkbox to the left of each name... When the check box is selected, the "selected" property of that wrapper class is set to true or false as needed. Then when the form is submitted, and you are inside your actionListener or action method call, you can look through your collection of wrapper classes asking each one if it was selected or not... Then do whatever you want with them... In this example, replace "myBackingBean" with the name of your backing bean, and "names" with the name of the method in your backing bean which returns the collection of wrapper classes... create a flag "public boolean selected" or similar in your wrapper class..
<h:dataTable id="namestable"
value="#{myBackingBean.names}"
var="aName">
<h:column>
<h:selectBooleanCheckbox binding="#{aName.selected}"/>
<h:outputText value="#{aName.nameText}"/>
</h:column>
</h:dataTable>
Let me know if that isn't clear enough and I'll see if I can find a better way to explain it...
-Garrett -
User Exit/Field Exit for Field Selection in MM01 & MM02
Dear All,
Please Tell if I want to make Field Purchasing group Mandatory in MM01 & MM02 in Purchasing view only.I dont want the data to be updated in MRP1 view. Please tell me is there any exit for the same.
Regards,
SandeepYou can customize
via
SPRO>Logistics - General>Material Master>Field Selection>
first from
Assign Fields to Field Selection Groups
you must assign MARC-EKGRP (Purchasing Group)
to a selection Group which will be mandatory.
Then from Maintain Field Selection for Data Screens
you must choose the Material Types which you want to make
Purchasing Group mandatory.
You must check Reqd Entry for the material types you want
Best Regards
Hope will help
Maybe you are looking for
-
LR 4 on OSX 10.8 does not recognize iPhone
Ever since upgrading my Macbook Pro to 10.8 LR 4 does not recognize my iPhone 4 (iOS 5.1.1) on the import menue. No problem with iTunes, same problem with iPhoto. Help anyone? Gabriel
-
What's wrong with Safari? (everything..?)
I have lots of issues with Safari in Leopard. Half of the tme, I can't access a website I could enter 10 minutes ago. (this happens way too much, the blue load meter just hangs somewhere in the middle) And let's say 50% of my downloads are corrupted.
-
New to Dreamweaver, Use dreamweaver to make a wordpress theme?
So im going to start this off by saying Im very new to all of this, web design and html language. I am planning on setting up a blog/forum type website for a hobby of mine and decided I should start learning the ins and outs of the language first, of
-
Customer Hierarchy modification
Hello all, I have customer hierarchy defined with 8 level . when i create sales order all the level get determined in order header , but every time i dont require all the partners/nodes in sales order . It is in display mode which i can not edit in s
-
One of my Application Team wants to Install SQL 2012 EE in Development Server for Sharepoint Application and they have got share point License for it. They are also having MSDN License. Now the Question is, Can I Instal SQL 2012 EE for Sharepoint app