Regarding the restricting the value using the keyboard
Hi,
In our organisation, I've implemented the Barcode system. I've a case, where user wants that the value in a field has to be taken from the scanner. The other requirement is I've to restrict the user from entering the valu using keaboard in that field.
Can any one help me in this regard.
Thanks in advance.
Regards,
did you have the docs of the barcode scanner? Look, which kind of remote interaction you can do. Via OLE2, C, RFC, ...
Similar Messages
-
How to have the BIND variables value using the TKPROF utility.
WE have a JAVA application and Oracle 9i database.We need to figure out what all select/update/insert sql staements are firing if i am doing one complete processing in my JAVA front application.
Initally I have planned for using TKPROF utility after makeing AUTO_TRCE=TRUE in the database.But the problem is that all select/insert/update sql statements are using the BIND variables in the JAVA code and same is coming/printing on the trace file also.
can we print out the BIND variables values also,while making the TRACE ON?
eg: trace is generaitng the all insert statements like below.
insert into TEST(Column1,Column2) values(:1,:2);
I want to know the value of :1 and :2 bind variables.
If you have any cluse about it please let me know.
Mitesh ShahThanks Guys,
I got the BIND variable values in the TRACE file.Previously i was searching on the OUtputfile.
I am pasting the same trce file format.Can you please verify it.Is i am looking the correct file and corect location.
PARSING IN CURSOR #2 len=1571 dep=0 uid=66 oct=3 lid=66 tim=18446744071740803342 hv=1462188955 ad='123434f0'
SELECT PARENTIDKEY,CONTRACTKEY,COMPANYKEY,BACKENDKEY,DATAREP,BANKHOLDINGID,BANKID,CARRIERPARTYID,PRODUCTID,ID,PREMIUMINDEXRATE,ILLUSTRATEDMATURITYLOW,ILLUSTRATEDMATURITYHIGH,SPECIALHANDLING,CARRIERCOMMCODE,MONEYTRANSFERTYPE,FIRSTBILLSKIPMONTH,CONTESTABILITYENDDATE,DEDUCTIONDATE,MARKETVALADJUSTIND,FREEAVAILABLEAMT,ADVANCINGREJECTEDIND,RATEDIND,OTHERINSUREDIND,ENDORSEMENTIND,BENEFICIARYIND,CASECONTROLNUMBERASSUMING,OWNERLEGALNAME,STAMPDUTY,COMMISSIONANNUALIZEDIND,NONSTDCOMMTAKEN,LAPSETAXABLEGAIN,GOVTALLOTMENTSUSPENSEACCTAMT,LASTNOGOODCHECKREASON,LASTNOGOODCHECKDATE,LASTCOIDATE,LASTDEDUCTEDEXPENSECHARGES,LASTDEDUCTEDCOICHARGES,STATEMENTBASIS,LASTNOTICETYPE,LASTNOTICEDATE,PAYMENTDUEDATE,LASTBANKCHANGEDATE,EFTENDDATE,BANKBRANCHNAME,BANKNAME,PAYMENTDRAFTDAY,BANKACCTTYPE,CREDITCARDTYPE,CREDITCARDEXPDATE,ACCTHOLDERNAME,ROUTINGNUMBER,ACCOUNTNUMBER,PAYMENTMETHOD,ANNUALPAYMENTAMT,PAYMENTAMT,PAYMENTMODE,LASTCOIANNIVDATE,BILLINGSTOPDATE,BILLEDTODATE,FINALPAYMENTDATE,GRACEPERIODENDDATE,PAIDTODATE,STATUSCHANGEDATE,REINSTATEMENTDATE,TERMDATE,ISSUEDATE,EFFDATE,DOWNLOADDATE,DURATION,POLFEE,POLICYVALUE,COMMISSIONROLLOVERPCT,COMMISSIONOPTIONSELECTED,REPLACEMENTTYPE,CUSIPNUM,CONVERTTOPRIVATEIND,PORTABILITYIND,REINSURANCEIND,BILLNUMBER,JURISDICTION,ISSUETYPE,ISSUENATION,STATUSREASON,PRIORPOLICYSTATUS,POLICYSTATUS,SHORTNAME,ADMINISTERINGCARRIERCODE,PLANNAME,FILEDFORMNUMBER,FORMNO,CARRIERCODE,PRODUCTCODE,PRODUCTTYPE,LINEOFBUSINESS,CERTIFICATENO,POLNUMBER,CARRIERADMINSYSTEM FROM "POLICY" WHERE PARENTIDKEY = :1 AND CONTRACTKEY = :2 AND COMPANYKEY = :3 AND BACKENDKEY = :4
END OF STMT
PARSE #2:c=0,e=1298,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=0,tim=18446744071740803336
BINDS #2:
bind 0: dty=1 mxl=4000(4000) mal=00 scl=00 pre=00 oacflg=01 oacfl2=0 size=4000 offset=0
bfp=082a5a9c bln=4000 avl=09 flg=05
value="Holding_1"
bind 1: dty=1 mxl=4000(4000) mal=00 scl=00 pre=00 oacflg=01 oacfl2=0 size=4000 offset=0
bfp=082a4af0 bln=4000 avl=10 flg=05
value="DUL001138U"
bind 2: dty=1 mxl=4000(4000) mal=00 scl=00 pre=00 oacflg=01 oacfl2=0 size=4000 offset=0
bfp=069bb890 bln=4000 avl=02 flg=05
value="00"
bind 3: dty=1 mxl=4000(4000) mal=00 scl=00 pre=00 oacflg=01 oacfl2=0 size=4000 offset=0
bfp=069ba8e4 bln=4000 avl=04 flg=05
value="CLIF"
********************************************************************************** -
Restrict WERKS values in the output of simple ALV(using REUSE_GRID_DISPLAY
Hi ,
I have one requirement as follows:-
--> I want to restrict WERKS values in the output of simple ALV(using REUSE_GRID_DISPLAY).
currently the values ae displayed from standard search-help.
I want to fields WERKS(MRP Type) values from table T001W with field VKFLZ = 'B'.
Now the fieltered values should be displaeyd in ALV output.
I was thinking of using the event, but i cannot find appropriate event where i can code my changes...please suggest
Thanks in Advance.Hi Sandeep,
I have the events in IT_EVENTS table.
None of them i find suitable event for restrcition of F4 vaues in field werks.
CALLER_EXIT
USER_COMMAND
TOP_OF_PAGE
TOP_OF_COVERPAGE
END_OF_COVERPAGE
FOREIGN_TOP_OF_PAG
FOREIGN_END_OF_PAG
PF_STATUS_SET
LIST_MODIFY
TOP_OF_LIST
END_OF_PAGE
END_OF_LIST
AFTER_LINE_OUTPUT
BEFORE_LINE_OUTPUT
REPREP_SEL_MODIFY
SUBTOTAL_TEXT
GROUPLEVEL_CHANGE.
Please suggest, what other options we can have on this.
Thanks in Advance. -
Return all the column values using the F4IF_INT_TABLE_VALUE_REQUEST
Hi,
How to return all the column values using the F4IF_INT_TABLE_VALUE_REQUEST?
For example : if the row has 3 columns then after selecting the particular row, the RETURN_TAB internal table should contain all the three column values.
Regards,
RaghuHi,
Try the following...
DATA : it_fields like help_value occurs 1 with header line.
data: begin of w_vbap,
vbeln like vbap-vbeln,
posnr like vbap-posnr,
werks like vbap-werks,
end of w_vbap.
data: i_vbap like w_vbap occurs 0 with header line,
w_fields type help_value,
i_dfies type table of dfies,
i_return_tab type table of ddshretval with header line,
i_field type dfies.
select vbeln posnr werks
from vbap into table i_vbap up to 5 rows.
if sy-subrc = 0.
sort i_vbap by vbeln.
endif.
clear it_fields[] , it_fields.
it_fields-tabname = c_vbap.
it_fields-fieldname = 'VBELN'.
it_fields-selectflag = c_on.
append it_fields.
it_fields-tabname = c_vbap.
it_fields-fieldname = 'POSNR'.
it_fields-selectflag = space.
append it_fields.
it_fields-tabname = c_vbap.
it_fields-fieldname = 'WERKS'.
it_fields-selectflag = space.
append it_fields.
loop at it_fields into w_fields.
i_field-tabname = w_fields-tabname.
i_field-fieldname = w_fields-fieldname.
i_field-keyflag = w_fields-selectflag.
append i_field to i_dfies.
endloop.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'VBELN'
window_title = 'Select'
tables
value_tab = i_vbap
field_tab = i_dfies
return_tab = i_return_tab
exceptions
parameter_error = 1
no_values_found = 2
others = 3
read table i_return_tab into w_return_tab index 1.
if sy-subrc = 0.
endif.
Regards,
Srini. -
Restrict permissions to use the groups/users/roles in User Administration
Hello gurus,
I want to find out if there is a way we can restrict permissions to use the GROUPS in User administration. We want to assign the user administration role to the users, but do not want the users to have permissions to DELETE groups from User administration page.
Please also let me know, if we can just have users use the NWA to do the user administration instead of from the Portal?
Thank you,
~~MKHi MariaKutty,
Koti is right, you need to create custom User administration role from standard role and restric the access in the custom role and assgined to the users.
>Please also let me know, if we can just have users use the NWA to do the user administration instead of from the Portal?
Then can to do from NWA also, if the user not required to have the portal access.
Hope it helps
Regards
Arun -
Delete the transferred values using the transaction for changing old assets
how to Delete the transferred values using the transaction for changing old assets.
i want delete the my asset.
Thank you
AnilDear Anil,
AS06 Delete Asset Record/Mark for Delet.
AS26 Mark group asset for deletion
Hope this will help.
Regards,
Naveen. -
How to use the same column value in the casecadeing parameter in ssrs report?
Hi frnz,
I have a table site contains one filed SiteCode
Now i have fields like below using the below quries
SThe above are the two results sets coming from the single table ,now i will use these two results /Query in my ssrs Casecade report
1.First result set/Query will use for the first dataset and use these values in the paramet1 selection as PrimaryCodes
2.Second result set/Query will use for the second Dataset and use these values in the parameter2 as SecondayCodes
3.Using these two datsets and create a Casecadeing paramet in ssrs report.
4.so using this information how can i create the Casecade report ,I have tried different ways but i didnt get the soluction
I have done the follw but ididnt get the o/p.
I have created two parameter and mapped to the results but while paramter selection i will able to see only the first paramet(PrimaryCodes) ,and i will not see the second paramter(SecondaryCodes) it could not show me the second paramter values in the drop
down list.
Note:Here i will use the Single Table to get the all the sitecodes
Can some one please help me out for this report.
Thanks.Hi,
Try below links for your reference:
http://blogs.msdn.com/b/sqlforum/archive/2011/05/26/ssrs-cascading-parameter-with-optional-select-all-in-sql-reporting-services-report.aspx
http://msdn.microsoft.com/en-us/library/dd255197.aspx
http://blogs.msdn.com/b/psssql/archive/2010/01/29/how-to-have-a-select-all-multi-value-cascading-parameter.aspx
sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **. -
Hi,
I want to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part like mentioned below:
http://server/pages/Default.aspx?Title=Arup&Title=Ratan
But it always return those items whose "Title" value is "Arup". It is not returned any items whose "Title" is "Ratan".
I have followed the
http://office.microsoft.com/en-us/sharepointserver/HA102509991033.aspx#1
Please suggest me.
Thanks | Arup
THanks! Arup R(MCTS)
SucCeSS DoEs NOT MatTer.Hi DH, sorry for not being clear.
It works when I create the connection from that web part that you want to be connected with the Query String Filter Web part. So let's say you created a web part page. Then you could connect a parameterized Excel Workbook to an Excel Web Access Web Part
(or a Performance Point Dashboard etc.) and you insert it into your page and add
a Query String Filter Web Part . Then you can connect them by editing the Query String Filter Web Part but also by editing the Excel Web Access Web Part. And only when I created from the latter it worked
with multiple values for one parameter. If you have any more questions let me know. See you, Ingo -
Extracting a distinct list of values using the Index formula
In Xcelsius, I am trying to retrieve a distinct list of values from data imported using the Reporting Services button.
In the spreadsheet I am using the following formula:
=INDEX($A2:$A831,MATCH(0,COUNTIF($B$2:B2,$A2:$A831),0))
The above formula works correctly in Xcelsius, but when I select the preview button the values change to #N/A.
Please could you advise on why this does not work?
Many thanks,
NatalieHi Natalie,
First, you have to be aware of the fact that Xcelsius "simulates" an Excel function. When you are in design mode, the actual "Excel" (MS code) functions are executed. But when you are in preview mode (or export to a swf), all Excel functions are simulated (Xcelsius code).
The fact that your function works in design mode but not in preview/export may point to a bug.
But there are also certain assumptions (to address speed/efficiency) on the Xcelsius code which may cause the preview to fail. One such assumption is that on the VLOOKUP function, Xcelsius does not recalculate formulas in the index column of the VLOOKUP table array - if the index column contains formulas, the index column will always remain in the initial state (will not dynamically recalculate).
Also, not all features on a supported Excel function works. For example, array formulas are not supported.
Bobby -
To coerce passed values, use the In Range and Coerce function.
-" Device Number for Card 1 uses data range coercion, which now only applies to data entry; values will not be coerced when passed to subVIs. To coerce passed values, use the In Range and Coerce function."
Hi,
I had program runnning fine in labview version 5.0, Recently i updated to labview version 6.0, but when i opened file i will see many warnings like above.
I saved the file as 6.0, all the warnings are gone and program compiles as well but i am not sure saving as 6.0 eliminate those problems like..."value will not be coereced when passed to subvis"It means that some of your controls use coercion to alter data if it is not within a range. In LV 5.0 this worked for either typing the data into the control or passing it through the connector as a sub-vi. In 6.0 the data won't be coerced if it has been passed through the connector as a sub-vi, only if it is entered on the front panel. If your sub-vis relied on this coercion to operate properly then you will need to add the "In Range and Coerce" function to your block diagram to manipulate these values. If the coercion wasn't important then disregard the warning.
Hope this helps
Brian -
When I am editing information is there a keyboard shortcut to advance to the next song without using the mouse to click "next"?
Thank you so much. I've been trying to find a way to do this for a long time!
Paul -
Is there a way to move to the previous folder by using the keyboard?
Is there a way to move to the previous folder by using the keyboard? Just the same as clicking the left arrow at the top left of the Finder window? I know how to do this in Windows (press and hold the Alt key and press the left arrow key.)
Is this possible in MacOSX?
Thanks,
JeffCommand-Up Arrow is not the same as the left arrow button in the tool bar. Command-Up Arrow moves up one folder in the file system hierarchy. To go back, use Command-[.
-
What is the best practice for using the Calendar control with the Dispatcher?
It seems as if the Dispatcher is restricting access to the Query Builder (/bin/querybuilder.json) as a best practice regarding security. However, the Calendar relies on this endpoint to build the events for the calendar. On Author / Publish this works fine but once we place the Dispatcher in front, the Calendar no longer works. We've noticed the same behavior on the Geometrixx site.
What is the best practice for using the Calendar control with Dispatcher?
Thanks in advance.
ScottNot sure what exactly you are asking but Muse handles the different orientations nicely without having to do anything.
Example: http://www.cariboowoodshop.com/wood-shop.html -
How can we transfer the header fiedl value to the item
we have add the "storage location" field to the sales order head and item, now we need to batch change the item's storage location when we change the head's storage fields ,
we have use the function module in 'crmc_map' transcation, but with some problems, when we change the head's field, we can't triger the item's 'SET' event, so we can't change's the item's fields(through the screen is changed, but when we use 'CRM_ORDERADM_I_READ_OW' to get the value, it stand still);
we also tried to when we change the head's field, we use head's set event to change to item's value, but we can't get item's guid, so Now I have no idea to deal with it.
Any body can help me?
Thanks a lot!Hi,
Using the set method in this scenario is not reliable. The set methods are triggered only for displayed items, whereas you need to change the value for, I presume, all the items. In the code where you change the header field value, write the code to change values for items as well. The approach will differ depending on whether you are using the BOL method or directly call the maintain APIs.
Regards,
Arun Prakash -
Hi,
How should I understand the parameters/argument values in the {} and [] right after a function?
For instance the {[Name="control"]}[Content] part in the
control=Excel.CurrentWorkbook(){[Name="control"]}[Content]
and also the [Control]{0} part in the periodctrl=control[Control]{0}.
Thanks.
Regards,The "[]" operator in M is like the "." operator in C-like languages, if that helps. It takes an aggregate value with named components and it selects one of those components. In the case of the record "Foo", "Foo[Bar]"
returns the field named Bar. In the case of the table "Baz", "Baz[Quux]" returns the column named Quux.
Similarly, the "{}" operator in M does subscripting of lists -- like the "[]" operator in C-like languages. If "Foo" is a list, then "Foo{0}" returns the first element of the list, "Foo{1}" returns the second
element of the list, and so on.
In the case of tables, it's also possible to use "{}" with a record argument, in which case it will return the row which matches the record criteria -- provided there is exactly one. So if "Foo" is a table, then "Foo{[Bar = 1]}"
will return the row for which the Bar column has a value of 1.
Many of the data access functions in Power Query return what we call "navigation tables". Sql.Database, for instance, returns a table with columns named Name, Schema, Object, Kind and Data. Each table in the database has a single entry in this
navigation table. When we index into the table with "table{[Schema="dbo", Object="table"]}", we're selecting the single row that matches those criteria. This gives us a record. We then want to pick the "Data" field of
that record, which contains the actual table data. That's why there's typically a "[Data]" at the end of expressions which fetch data from the SQL table. -
Mismatch in the local time when using the RWTime.
Hi All,
RWTime is showing +1 Hr excess for the local time.
Compared the time with the ouput of unix date command as well.
$ cat time.cc
#include <iostream>
#include <ctime>
// Roguewave headers
#include <rw/rwtime.h>
#include <rw/rwdate.h>
#include <rw/zone.h>
int main()
// current date/time based on current system
time_t now = time(0);
// convert now to string form
char* dt = ctime(&now);
std::cout << "\nThe local date and time is: " << dt << std::endl;
// convert now to tm struct for UTC
tm *gmtm = gmtime(&now);
dt = asctime(gmtm);
std::cout << "The UTC date and time is:"<< dt << std::endl;
std::cout << "-----------------------------------------------" << std::endl;
// Roguewave counterparts
RWTime t;
std::cout << "\n[RW] The local date and time is: " <<
t.asString() << std::endl;
std::cout << "\n[RW] The UTC date and time is : " <<
t.asString((char)NULL, RWZone::utc()) << std::endl;
std::cout << std::endl;
return 0;
$ CC -m32 -g -library=rwtools7_std -o test time.cc
$ ./test ; date
The local date and time is: Fri Jul 1 14:55:18 2011
The UTC date and time is:Fri Jul 1 09:25:18 2011
[RW] The local date and time is: 07/01/11 15:55:18
[RW] The UTC date and time is : 07/01/11 09:25:18
Fri Jul 1 14:55:18 IST 2011
$The header rwdate.h has following definition for default constructor.
RWTime() : sec(RWTime::currentTime()) {;} // current timeSeems like a bug in RWTIme::currentTime() functionality.
Could someone conform the same (or) am i using RWTime wrongly ?
Thanks & Regards,
SreekarI tried your code using the same compiler on OEL 5.4, which is based on RHEL 5.4. I got correct answers for my time zone -- US-Pacific with Daylight Savings Time.
What time zone are you in (GMT+1 or GMT+2), and is DST supposed to be in effect?
The likely sources of the problem are that your machine does not set DST correctly, or that you are in an area for which RW Tools.h++ cannot provide a correct answer. (There are some places where the local rules can't be expressed in the limited representations of time zones and DST in Tools.h++)
What is the value of environment variable TZ?
Edited by: Steve_Clamage on Jul 5, 2011 9:31 AM
Maybe you are looking for
-
Adobe Creative Cloud app can't update any application
Hello I have a problem wit update all the installed programs by Adobe Creative Cloud app. After installing all the programs, the have always status up to date (green icon), but that is not true. For another computer that have higher version. Adobe Cr
-
After updating to iOS 8.0.2 my iPhone won't vibrate
Hi, After I updated to iOS 8.0.2, vibration completely stopped working on my iPhone 6 16GB. It does not work for messages, notifications, calls, when I plug in the charger, with or without silent mode, etc. Some solutions I've tried: I've checked
-
Depricated code on lines 8, 9, and 10, but its only a warning on line 8
Line 8 gets a warning but lines 9 and 10 cause errors. Anyone see a quick fix? Thanks Here is the code: import java.io.*; import java.net.*; public class TimeWaster { public static void main(String[] args) String url = URLEncoder.encode(args[0]); Str
-
I have been dealing with Customer Service for a couple of weeks now. My situation supposedly has been escalated from the supervisor level and I was told I would get a call within 2-24 hours. The "notes" written by the customer service rep were comp
-
when i want to export my data from owner data base i can't export blob any table found attribute blob can't export it , help me what's the solution ???