Localized symbols in keyword field in rules and queries

Hello!
Has anyone successful used localized symbols (not English ones) during rule or queries creating?
In User Guide I did not find any objection against it. I successfully created inspection rule. But when when I run a report on this rule it ends with PSOD.
Any help would be so great!
With best regards,
Maxim

Hi there.  I think you need to move the casting statement before you assign the transaction number.  So the code would be:
WA_ZHEADER TYPE table of ZTMW_HEADER_COM initial size 0
and i am using field symbols as header
field-symbols : <fs1_header> type ztmw_header_com
and then I am Assigning it
assign wa_zheader to <fs1_header> casting.
<fs1_header>-transaction_num = transaction_num.
append <fs1_header> to wa_zheader.
I hope this helps.
- April King

Similar Messages

  • Trying to create a Field Validation Expression and need help

    I have a picklist field and another field that are in question. I want to set some sort of rule that forces the second field to be populated only If specific values are selected from the picklist field.
    I was going the route of a field validation Rule, but everything i've tried so far does not produce the results i am trying to achieve.
    The first type of expression i tried was:
    ([<plProduction_Print_Account_Category_ITAG>] <> LookupValue("OCC_CUST_LOV_ACCOUNT_1", "No Production Print") AND ([<stSIC_Code_ITAG>] IS NULL))
    This is generating the field validation error message when i select any of the correct values from the picklist. the problem is still the second field, which will generate the error if a value is entered into the second field, regardless of the picklist value selected. Switching the "IS NULL" to "IS NOT NULL" only reverses the problem on the second field, causing the error to generate when the second field is updated to a NULL or blank value.
    I also tried :
    = 'No Production Print' AND [<stSIC_Code_ITAG>] IS NOT NULL
    and got similar results.
    ([<plProduction_Print_Account_Category_ITAG>] = LookupValue("OCC_CUST_LOV_ACCOUNT_1", "No Production Print"))
    Similar results as well.
    Does this need to be an IIF statement? Do I need to make this a workflow expression instead? i could really use some help as I have tried everything i can think of and admit, i'm not the expression guru!!!. Any assistance would be appreciated.
    TeknoMan

    Yes we have the same request and we used the following expression. Example we have a field "Método de pago" ( [<plMtodo_de_pago_ITAG<]), it's values are "CHEQUE and DEPOSITO" if we select DEPOSITO three more fields were requiered Route, Sucursal de banco and Clabe so we have to put this validation in the four fields including Metodo de pago.
    [<plMtodo_de_pago_ITAG>] <> "DEPOSITO" OR ([<Route>] IS NOT NULL AND [<nSucursal_de_banco_ITAG>] IS NOT NULL AND [<stCLABE_ITAG>] IS NOT NULL)
    well in the field CLABE we put the following [<plMtodo_de_pago_ITAG>] <> "DEPOSITO" OR ([<Route>] IS NOT NULL AND [<nSucursal_de_banco_ITAG>] IS NOT NULL AND [<stCLABE_ITAG>] IS NOT NULL AND Len([<stCLABE_ITAG>])=18) this was because the len of the value must be 18 characters.
    I hope this works for you
    Regards Catalina Valadez
    Edited by: CatalinaV on 12/03/2009 10:54 AM
    Edited by: CatalinaV on 12/03/2009 10:55 AM

  • Script to insert file name into keywords field of same file

    Hello,
    search a solution, a Script or another, which writes the file name into keywords field of same file (Metadata: Description/Keywords) in "photoshop", "bridge" or better in "Lightroom" .
    I found this topic from Mike Hale http://www.ps-scripts.com/bb/viewtopic.php?t=1330
    It's possible this script to change this in such a way that it does this:
    "script to insert file name into keywords field of same file"
    Thanks and best greetings
    Wolfgang

    This works in CS2:-
    #target bridge
       if( BridgeTalk.appName == "bridge" ) {
    nameDescription = MenuElement.create("command", "AddName to Description", "at the beginning of Thumbnail");
    nameDescription .onSelect = function () {
         nameToDescription();
    function nameToDescription(){
    var items = app.document.selections;
          for (var i = 0; i < items.length; ++i) {
             var item = items[i];   
    var m = item.synchronousMetadata;
    filenameToDesc(m, item.name.slice(0,-4));
    function filenameToDesc(metadata, Description) {
    var strTmpl = "name2Desc";
    var strUser = Folder.userData.absoluteURI;
    var filTmpl = new File(strUser + "/Adobe/XMP/Metadata Templates/" + strTmpl + ".xmp");
    var fResult = false;
    try
    { if (filTmpl.exists)
    filTmpl.remove();
    fResult = filTmpl.open("w");
    if (fResult) {
    filTmpl.writeln("<x:xmpmeta xmlns:x=\"adobe:ns:meta/\" x:xmptk=\"3.1.2-113\">");
    filTmpl.writeln(" <rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">");
    filTmpl.writeln(" <rdf:Description rdf:about=\"\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\">");
    filTmpl.writeln("<dc:description>");
    filTmpl.writeln("<rdf:Alt>");
    filTmpl.writeln("<rdf:li xml:lang=\"x-default\">"+Description+"</rdf:li>");
    filTmpl.writeln("</rdf:Alt>");
    filTmpl.writeln("</dc:description>");
    filTmpl.writeln(" </rdf:Description>");
    filTmpl.writeln(" </rdf:RDF>");
    filTmpl.writeln("</x:xmpmeta>");
    fResult = filTmpl.close();
    metadata.applyMetadataTemplate(strTmpl, "replace");
    filTmpl.remove();
    catch(e)
    { fResult = false; }
    return fResult;

  • Synchronizing rules and signatures in an IMAP account?

    Hi,
    I have several rules in Mail that control where emails from certain people are stored. How do I apply these rules to my IMAP account so that when I login through my browser based webmail interface, I see an identical file structure?
    Also, how do I use signatures if I'm not checking email through Mail. Is this possible?
    Thank you!

    neither of these is possible. Mail rules and signatures are stored locally and are only usable in Mail.app.

  • What is Field Label ? and  where do we use it .

    What is Field Label ? and  where do we use it .

    Hi,
    You can assign text information to a data element with the field labels.
    The field labels are used to display a screen field. You can copy structure components and table fields from the ABAP Dictionary to the input template when you define a screen in the Screen Painter (Get from Dict. function). You can also assign a field a field label that is derived from the data element of the field.
    The text of the field label can be translated centrally with the translation tools. The text is then displayed in the input template in the user’s logon language.
    Short, Medium and Long Field Labels
    Keywords of different lengths for identifying screen fields. Since the space available for such texts depends on the input template, you can define the text information in three different lengths.
    A maximum length must be assigned for each field label. It is the upper limit for the lengths of all translations of the given text. The maximum length of the field label therefore should be somewhat longer than the given text in the original language.
    Headers
    This text is used as a column header when you output the contents of fields as a list in the Data Browser. It can also be assigned to a field in the Screen Painter.
    A maximum length must also be assigned for the header. It is the upper limit for the lengths of all translations of the header. Choose the maximum length of the header to be somewhat longer than the given text in the original language. Also note that the header is often displayed above the corresponding column when preparing list output. The length of the header therefore should not exceed the length of the data element.
    Short Field Label
    Definition
    One of the following:
    - Short field label
    - Medium field label
    - Long field label
    Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
    A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
    Medium Field Label
    Definition
    One of the following:
    - Short field label
    - Medium field label
    - Long field label
    Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
    A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
    Long Field Label
    Definition
    One of the following:
    - Short field label
    - Medium field label
    - Long field label
    Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
    A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
    Heading
    Definition
    One of the following:
    - Short field label
    - Medium field label
    - Long field label
    Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
    A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
    Thanks,
    Reward If Helpful.

  • Unofficial Forum Rules and Guidelines

    I realize there is an official Community Guidelines thread, but I feel it should cover more topics than it does.  So here is my attempt to have a thread I can point new users to, if they are unsure how forum etiquette works.
    Before Posting a Question
    Many posts have been made on the forums over the years and many topics have been covered.  You are likely not the first person to attempt something, or having difficulty.  Search the forums first for the question you would like to ask.  NI's forum search works well but feel free to use Google to search the forums.  Try searching with alternate terms, like "System Tray" instead of "Icon Tray".
    Posting a Question
    When posting a question you should first follow the guidelines linked earlier.  In addition to those points I'd like to mention a few more:
    Not everyone on the forums speaks English.  If English is not your native language feel free to post questions in your first language, but be aware that there are several non-English speaking sub-forums.  If you post a non-English question in the English forum, you may or may not get people who speak your language.  Stick to forum for that language to ensure you get the help you need.
    Post in the right sub-forum.  Language is the first sub-forum to consider, but topic is another.  If you are asking a question about LabVIEW exams, it is better to post in the Certification board, rather than the LabVIEW board.  If you posted in the wrong forum ask a moderator to move it to the appropriate section.
    Have a useful title.  The title of your question should never be "labview" for "fpga".  Your title should also not be a paragraph.  It should be a quick summary of the topics your post is going to discuss.
    Do not use caps lock unless you are really yelling.  It would be rude for me to ask a question by yelling and the same goes for the forums.  This goes for the title and the post.
    Do not beg for help using words like URGENT, or LIFE AND DEATH.  This is again rude, we are largely volunteers that like to help, but not when we are being yelled at.
    Use words not letters "NEED hlp Plz R U labview xpert?"  Use full English sentences.  If you have trouble with this please refer back to speaking in your native language, or go back and take English class.
    There is rarely a need to change the font size, color or style from the default settings.  You are wasting your time, and likely making your post harder to read.  Stick with the default font styles.
    Try giving as much information about the conditions of your question.  Things like: What version of LabVIEW are you using? What operating system are you using?  What hardware are you using? and What sensors are you using? are a few common ones.
    If you want to ask the same question on another LabVIEW board like LAVA, feel free to do so.  One thing that helps collaborate efforts is to provide a link in your post back to the other place where the question was asked.  This way someone on the NI forums can see what has already been said on another forum.
    When posting code post the actual code not a screenshot.  You wouldn't take a screenshot of a text file and post it on a text language forum.  Upload the actual VI, or zip several files and upload the zip.  The exception to this rule is when uploading a VI Snippet.  This is an image with the VI embedded in it, so the source is still intact.
    When you don't get the help you want
    If you posted a question and didn't get any response, or didn't understand the responses you got, do not make a new thread on the same topic.  Doing this will fragment the conversation and you will have two groups of people working on the same problem.
    Don't simply BUMP a thread with a new post without more information.  This is a sign that you don't want to put in any effort and are simply nagging others to help you.  If a thread goes dry and you want more help, try getting more information on the subject, or try something and reply to the thread with this new information.  This shows you are willing to work towards your goal, and aren't just looking for others to do your work for you.
    When you get the help you want
    Volunteers put in effort to help you and they want to know they are appreciated.  The forums have several ways to say "Thank You" to those that have helped.  Here are the preferred methods.
    Kudos
    You can thanks a person on the forum by giving them a Kudo.  A user on the forums can Kudo a post by another user once, but multiple users can Kudo the same post which can highlight posts that a collection of users find useful.
    Here is a thread discussion when users choose to give Kudos.
    Marking Solutions
    Any reply to a post can be marked as a solution to the post, if the sub-forum supports marking solutions.  This is helpful because the thread will get a green check mark showing a solution to the question has been found.  Threads can have multiple posts marked as a solution, but it is best to limit the number of posts that are the solution.  Mark the posts that answer the question, not just helpful posts.  A helpful post can be Kudo'd, but doesn't need to be marked as a solution.
    Things Not To Do
    Do not send private messages to a user asking a question.  Forums exist so we can work to solve a problem as a group.  Contacting someone privately causes that to not work.
    Do not post personal information.  This includes Email, or phone contact information.  Spam bots crawl forums like this looking for your information.  This also means don't make your user name an email address.
    Do not have huge signatures.  They waste space on the forum and can clutter the conversation.  Signatures are okay, but large ones are discouraged.
    Do not post homework assignments.  We are not going to do your homework for you.  You are welcome to ask specific questions about things you don't understand.  But don't post your homework and expect someone to do it for you.  You won't learn this way. 
    Do not resurrect old threads that have nothing to do with the new question.  A post from 2002 about how to setup a DAQ task will likely not be related to your question about reading a serial port.  Make a new thread asking your new question.
    Looking For Free Training
    Many times new users of NI hardware or software just don't know where to start.  They will ask a question but without knowing the terms, or the intended purpose, they will not be able to form a proper question.  Here are some free training tools primarily focused on LabVIEW and NI hardware.
    NI Learning Center
    NI Getting Started
    -Hardware Basics
    -LabVEW Basics
    -DAQ Application Tutorials
    3 Hour LabVIEW Introduction
    6 Hour LabVIEW Introduction
    Self Paced training for students
    Self Paced training beginner to advanced, SSP Required
    LabVIEW Wiki on Training
    More general forum etiquette tips can be found here.  Not all of these are relevant to the NI forums but there is very good advice in there.  There is also the How To Ask Questions The Smart Way.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

    When attaching code:
    Include all subVIs, typedefs, and global variables, etc.
    Remove all passwords from password protected VIs.
    Do NOT include anything from vi.lib or that is part of a standard LabVIEW installation.
    Do NOT include libraries from commercial third party drivers unless you suspect them to be the cause of the problem.
    If it is an entire project, zip everything up. (A "*.lvproj" file does NOT contain anything useful. All code referenced in the project needs to be included).
    If you attach more than one VI, tell us the name of the toplevel VI.
    Set all controls to typical values, then make them default before saving. Do not set indicators to new default values, especially e.g. graphs containing huge amounst of data.
    Ideally, all we should need to do is open and run the VI to see the problem.
    The default data should be typical and not biased in any way. If an input is a matrix, don't make it square or symmetric unless that is guranteed to always be the case.
    Tell us how to demonstrate the bug (e.g. Run A, set control B to X, Indicator C is now Y while I expect it to be be Z instead, etc.). Include these instruction as diagram comment on the toplevel VI.
    If the problems is with reading a file, include a sample file that demonstrates the problem.
    If you run the newest LabVIEW version, you might want to downconvert to a lower version before attaching (file...save for previous...). This way there are more people that can potentially help. (Of course if the suspected bug depends on the version, you should attach the version that demonstrates the bug.)
    If you make claims about speed or benchmarking:
    Tell us what you consider fast or slow. "Seconds" could be fast for one problem while "microseconds" could be considered slow for another.
    Include your benchmarking code.
    Make sure the speed test is sound and not polluted by debugging settings. Keep the front panels of subVIs closed, watch for code running in parallel, and avoid front panel updates.
    Make a distinction between slow code and slugginsh FP responsiveness.
    LabVIEW Champion . Do more with less code and in less time .

  • Pick last 2 char of a field using rule file

    Hi
    I may be missing out anything but i need some help on this.
    I have column with city and state : city<space>State
    the state is 2 character while city name is of varied length starting from two to ten characters.
    Now i need to pick up last two characters of state using rule file.
    example of data:
    Glendale WI
    NA NJ
    New York NY

    Check this i guess this is answered by one the Oracle Guru
    Pick last 2 char of a field using rule file
    Thanks,
    KKT

  • How to display icon symbols for a field in se38 program

    HI
    IAM VIJAY. PLS GIVE ME THE SOLUTION .
    how to display icon symbols for a field in se38 program.
    WITH REGARDS.
    VIJAY.

    Hi
    you cab use INCLUDE <ICON> and use standard icons provided by sap.
    Sample code:
    WRITE /20(2) ICON_DATE AS ICON.
    WRITE /20(2) ICON_TIME AS ICON.
    WRITE /20(2) ICON_ADDRESS AS ICON.
    Thanks!!

  • How to set standart fields in SHIPPING and SALES tables in items?

    Hello SDN!
    I need to fill some standart fields in CT_SHIPPING and CT_SALES tables (sorry, I don't know their real names, written names used commonly in BADI) for items. I've got a BADI for header (extends IF_EX_CRM_ISA_BASKET_HEAD) and item (extends IF_EX_CRM_ISA_BASKET_ITEM) with methods CHANGEHEAD_BEFORE_ORDER and CHANGEITEMS_BEFORE_ORDER correspondenly. In these methods I try to fill required fields. These fields filled OK for header, but when I tried to fill fields for item it still saved to header. In these tables REF_KIND sets 'B' for item, REF_GUID also sets properly... Can anybody give rules for filling these fields? What main fields (such as REF_KIND) must be set and which values must they have?
    version of subject is CRM 5.0 SP 11
    Help will be appreciated.
    Regards, Lev
    Edited by: Lev Kulaev on Sep 8, 2008 9:24 AM
    give a version of CRM and give more detailed description of problem

    Hello Lev,
    Yes, if you have a "fully loaded" order - I mean some good order that has all the business data (such as shipping, sales ord, schedline etc. available. Usually an order that has been created in CRM or downloaded from R/3 should do to understand the data structures.
    To start with, just give the Transaction Number as the onl;y input and execute. And read through the output - each set (ET_SHIPPING) etc you are interested in. The several GUID and REF_GUID and REF_KINDs can be better understood with an example than me providing the explanation and code.
    An equivalent counterpart to this report program is the CRM_ORDER_READ, which does the same thing but does not let you play with the maintain part. CRM_ORDER_MAINTAIN program allows you to try the ipdate / change / maintain.
    Well here is the help text  for CRM_ORDER_MAINTAIN
    <h5>Short text</h5>
    Test program for function module CRM_ORDER_MAINTAIN
    <h5>Purpose</h5>
    This program replaces the missing option to execute a single test for the function module CRM_ORDER_MAINTAIN.
    The usual single test function in transaction SE37 is not possible as sorted tables are used as import parameters. The module RS_COMPLEX_OBJECT_EDIT used from Basis for maintaining import parameters is only able to process standard tables.
    <h5>Features</h5>
    The report executes a test call of the function module CRM_ORDER_MAINTAIN and displays the result (the export parameters).
    In addition, it is possible to
    <li>Save the changed data on the database,
    <li>Delete the buffer afterwards,
    <li>And, by calling CRM_ORDER_READ, to read it again.
    <h5>Selection</h5>
    <li>Specify the transaction number, the transaction GUID or the item GUID for changing an existing transaction.
    <li>Specify how many headers or items are to be created for creating new transactions or items.
    <li>Select "Subobject to be maintained" for the subobjects that you wish to change or enter.
    <li>After, enter "Maintain input values", and maintain the interface for CRM_ORDER_MAINTAIN. This means you make an entery for the IT_X_COM parameter for subobject X, and make the required entries in the CT_INPUT_FIELDS table.
    <li>If you wish to save and initialize after the change, specify this.
    <li>If the transaction should be re-read in the buffer afterwards, specify this.
    <h5>Standard Variants</h5>
    You can save your entries as a variant. All entered data is then stored under a GUID in the INDX table, and can be recovered again by calling this variant.
    <h5>Output</h5>
    The output parameter for CRM_ORDER_MAINTAIN and, if necessary, for CRM_ORDER_SAVE, CRM_ORDER_INITIALIZE and CRM_ORDER_READ are issued.
    Easwar Ram
    http://www.parxlns.com

  • Difference between impelementation rules and business logc.

    Hi all,
    Please tell me what is the exact difference between implementation rules and business logic?And more importantly when and where they should be used?
    Thanks in advance.
    Regards,
    Jayant Gupta

    Hi vasu,
    from the point of view of possible transformation there are not differences.
    The great difference is the following:
    In Update Rules routines are defined for a single field for every key filed: for example you define the single routine for 0AMOUNT for every single Characteristic that define the key (0COSTCENTER - 0COSTELEMENT - ...). For every single DataField you can define a different routine also in terms of Key fields.
    In transfer roules every routine is for every field without any kind of relation to the other fields.
    Check also this doc:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/dc43c445-0d01-0010-23a1-ca348ff5f975">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/dc43c445-0d01-0010-23a1-ca348ff5f975</a>
    Ciao.
    Riccardo.
    Message was edited by: Riccardo Venturini

  • Udev rules and group / permission errors [solved] [outdated]

    Latest udev is a miracle to me. It ignores every group ore permission settings. Anyone else having same experiences?
    Last edited by Moo-Crumpus (2008-09-29 05:17:40)

    Let's assume that you have two files with udev rules. The basic udev.rules and 00.udev.rules (with custom rules).
    Udev first reads all rules from 00 file and then rules from the basic file.
    This means that if you have a custom rule for a given device you should copy all rules that apply to it from the basic file to the 00 file (not only lines with GROUP). This is because with OPTIONS="last_rule" udev will stop processing rules for this device.
    All rules are read and then applied in the order from the top to bottom except SUBSYTEM which is applied as the last rule (kind of held in a buffer). This is the reason why my cd burner /dev/hdc had permissions for disk group and not optical.
    This is my 00.udev.rules (it still needs some cosmetic changes but it works and of course I don't have all the devices):
    SUBSYSTEM="video4linux", GROUP="users"
    SUBSYSTEM="sound", GROUP="users"
    SUBSYSTEM="printer", GROUP="users"
    SUBSYSTEM="block", GROUP="disk"
    BUS="ide", KERNEL="hd[a-z]", PROGRAM="/etc/udev/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
    BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", SYMLINK="%c{1} %c{2}"
    BUS="ide", KERNEL="hdc", SYSFS{removable}="1", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom*", NAME="%k", GROUP="users", SYMLINK="nagrywarka dvd cdrw", OPTIONS="last_rule"
    BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom*", NAME="%k", GROUP="users", OPTIONS="last_rule"
    BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-floppy.sh %k", RESULT="floppy", NAME{all_partitions}="%k", GROUP="users", OPTIONS="last_rule"
    BUS="scsi", KERNEL="sr[0-9]*", PROGRAM="/etc/udev/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
    BUS="scsi", KERNEL="scd[0-9]*", PROGRAM="/etc/udev/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
    BUS="scsi", KERNEL="sr[0-9]*", SYSFS{type}="5", NAME="scd%n", GROUP="users", OPTIONS="last_rule"
    BUS="scsi", KERNEL="sg[0-9]*", SYSFS{type}="5", NAME="%k", GROUP="users", OPTIONS="last_rule"
    KERNEL="fd[0-9]*", NAME="fd%n", GROUP="users", SYMLINK="floppy/%n fd%nu1440 fd%nu720 fd%nh1200 fd%nu360", OPTIONS="last_rule"
    BUS="usb", SYSFS{serial}="CN16J1Q3HWSX", KERNEL="lp[0-9]*", NAME="usb/%k", GROUP="users", SYMLINK="drukarka_hp_845c drukarka", OPTIONS="last_rule"
    BUS="usb", KERNEL="sd*", PROGRAM="/etc/udev/usb-storage.sh %k", RESULT="1", NAME="%k", GROUP="users", OPTIONS="last_rule"
    KERNEL="rtc", NAME="misc/%k", SYMLINK="%k", GROUP="users", MODE="0664", OPTIONS="last_rule"
    KERNEL="agpgart", NAME="misc/%k", SYMLINK="%k" GROUP="users", OPTIONS="last_rule"
    KERNEL="nvidia*", GROUP="users", OPTIONS="last_rule"
    KERNEL="fb[0-9]*", NAME="fb/%n", GROUP="users", SYMLINK="%k", OPTIONS="last_rule"
    KERNEL="card[0-9]*", NAME="dri/%k", GROUP="users", OPTIONS="last_rule"
    KERNEL="3dfx*", NAME="%k", GROUP="users", OPTIONS="last_rule"
    KERNEL="dvb*", PROGRAM="/etc/udev/dvb.sh %k", NAME="%c", GROUP="users", OPTIONS="last_rule"
    KERNEL="video[0-9]*", NAME="v4l/video%n", GROUP="users", SYMLINK="%k", OPTIONS="last_rule"
    KERNEL="radio[0-9]*", NAME="v4l/radio%n", GROUP="users", SYMLINK="radio%e", OPTIONS="last_rule"
    KERNEL="vbi[0-9]*", NAME="v4l/vbi%n", GROUP="users", SYMLINK="%k", OPTIONS="last_rule"
    KERNEL="vtx[0-9]*", NAME="v4l/vtx%n", GROUP="users", SYMLINK="%k", OPTIONS="last_rule"
    KERNEL="controlC[0-9]*", NAME="snd/%k", OPTIONS="last_rule"
    KERNEL="hw[CD0-9]*", NAME="snd/%k", OPTIONS="last_rule"
    KERNEL="pcm[CD0-9cp]*", NAME="snd/%k", OPTIONS="last_rule"
    KERNEL="midi[CD0-9]*", NAME="snd/%k", OPTIONS="last_rule"
    KERNEL="timer", NAME="snd/%k", OPTIONS="last_rule"
    KERNEL="seq", NAME="snd/%k", OPTIONS="last_rule"
    KERNEL="audio*", NAME="sound/%k", SYMLINK="%k", OPTIONS="last_rule"
    KERNEL="dmmidi*", NAME="sound/%k", SYMLINK="%k", OPTIONS="last_rule"
    KERNEL="admmidi*", NAME="sound/%k", SYMLINK="%k", OPTIONS="last_rule"
    KERNEL="dsp*", NAME="sound/%k", SYMLINK="%k", OPTIONS="last_rule"
    KERNEL="adsp*", NAME="sound/%k", SYMLINK="%k", OPTIONS="last_rule"
    KERNEL="midi*", NAME="sound/%k", SYMLINK="%k", OPTIONS="last_rule"
    KERNEL="amidi*", NAME="sound/%k", SYMLINK="%k", OPTIONS="last_rule"
    KERNEL="mixer*", NAME="sound/%k", SYMLINK="%k", OPTIONS="last_rule"
    KERNEL="sequencer*", NAME="sound/%k", SYMLINK="%k", OPTIONS="last_rule"
    KERNEL="pktcdvd", NAME="pktcdvd/control", GROUP="users", MODE="0660", OPTIONS="last_rule"
    KERNEL="pktcdvd[0-9]*", NAME="pktcdvd/pktcdvd%n", GROUP="users", MODE="0660", OPTIONS="last_rule"
    The problem with /dev/hdc was that first udev (version 057) was reading a rule from my 00 file (BUS="ide", KERNEL="hdc"...) with GROUP=users. Then it was reading SUBSYSTEM="block", GROUP="disk" rule from the basic file (but it wasn't executed at that time). And then it was reading BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1"... with GROUP=optical. Then it was executing SUBSYTEM rule (hdc is a block device). That's why only disk group had an access to /dev/hdc (with OPTIONS="last_rule" in the basic file in the GROUP="optical" line it would ignore SUBSYSTEM rule).
    There are also other rules that you should add (IMO) to your custom rules if  you are changing something. In my case it's for example BUS="ide", KERNEL="hd[a-z]", PROGRAM="/etc/udev/cdsymlinks.sh %k"... which creates symlinks for cd drives. This rule must be above other rules (the number of the symlinks is now unlimited - previously it was 5 IIRC).
    So now the rules are mixed together in the lexical order (except SUBSYTEM rules which are executed at the end) unless OPTIONS="last_rule" is used or second (and other) rule has a NAME filed (only one rule for a given device can have NAME filed. Every other rule for the same device with NAME field is ignored IIRC). It also means you can now split rules for a device into several rules - only one of them can have NAME filed and the last should have OPTIONS="last_rule".
    Since in your case you have custom rules only for a well defined usb devices (not /dev/sd*) IMO it should work as you think (only add OPTIONS="last_rule").
    I hope it's now perfectly clear  8) 

  • Ss12u1 on linux: relocation R_X86_64_32 against `a local symbol' can not be

    hello all,
    i've installed SS12u1 on a Sun x2270 under Centos 5.4.
    We have to recompile a (veryhuge) scientific app that compiled fine on Solaris 10 amd64 with SS12u1, so the makefiles are identical between the two machines.
    But, we faced the following error:
    cd /mnt/PELICANS/PelicansTest/lib/octopus-CC/opt2/ ; \
    CC -G -o /mnt/PELICANS/PelicansTest/lib/octopus-CC/opt2//../libpel2.so  \
    -fast -m64  \
    -L/home/minjeaud/PELICANS/PelicansTest/lib/octopus-CC -R/home/minjeaud/PELICANS/PelicansTest/lib/octopus-CC  \
    -L/usr/local/UMFPACKv4.4/UMFPACK/Lib -R/usr/local/UMFPACKv4.4/UMFPACK/Lib  \
    -L/usr/local/UMFPACKv4.4/AMD/Lib -R/usr/local/UMFPACKv4.4/AMD/Lib  \
    -L/usr/include -R/usr/include    \
    PDE_0D_Q0_1node.o   PDE_1D_P0_1node.o   PDE_1D_P1_2nodes.o   PDE_1D_P2_3nodes.o   PDE_2D_P0_1node.o   PDE_2D_P0_1node_RefinerA.o   ...........................
    -lCstd -lCrun  -lumfpack -lamd -lsunperf -lz -lm
    /opt/sun/sunstudio12.1/prod/lib/amd64/ld: /opt/sun/sunstudio12.1/prod/lib/amd64/libmopt.a(f_atan2.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    /opt/sun/sunstudio12.1/prod/lib/amd64/libmopt.a: could not read symbols: Bad valueI'm surprised that the error relates to a file included in Sunperf
    The sunstudio is fully patched:
    rpm -qf /opt/sun/sunstudio12.1/prod/lib/amd64/libmopt.a
    sun-langx-12.1-3Is there a problem with this file?
    if i suppress "-lm" on the command line, it seems to link correctly, but:
    octopus:opt2> ldd ../libpel2.so
            libCstd.so.1 => /opt/sun/lib/rtlibs/amd64/libCstd.so.1 (0x00002b075804c000)
            libCrun.so.1 => /opt/sun/lib/rtlibs/amd64/libCrun.so.1 (0x00002b0758415000)
            libsunperf.so.3 => /opt/sun/sunstudio12.1/lib/amd64/libsunperf.so.3 (0x00002b075862c000)
            libc.so.6 => /lib64/libc.so.6 (0x00002b075b98c000)
            libm.so.6 => /lib64/libm.so.6 (0x00002b075bce3000)
            libfsu.so.1 => /opt/sun/sunstudio12.1/lib/amd64/libfsu.so.1 (0x00002b075bf67000)
            libfui.so.1 => /opt/sun/sunstudio12.1/lib/amd64/libfui.so.1 (0x00002b075c3d4000)
            /lib64/ld-linux-x86-64.so.2 (0x0000003fc5e00000)
            libmtsk.so.1 => not found
            libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b075c50e000) i notice that there is a libm in /usr/lib, is it better than libm from sunstudio?
    and why it doesn't find libmtsk? in solaris, libmtsk is in /usr/lib, i don't know if it exists in linux?
    A find shows me that it exists here:
    $ find /opt/sun/ -name libmtsk.so.1
    /opt/sun/sunstudio12.1/rtlibs/libmtsk.so.1
    /opt/sun/sunstudio12.1/rtlibs/amd64/libmtsk.so.1 Does it mean that i have to use LD_LIBRARY_PATH=/opt/sun/sunstudio12.1/rtlibs ?
    Does a documentation exist for this kind of usage on linux?
    Thanks in advance for help,
    gerard

    unfortunately, it doesn't work even with the -L -R flags:
    CC -G -o /mnt/PELICANS/PelicansTest/lib/octopus-CC/opt2//../libpel2.so  \
    -fast -xnolibmopt -O4 -KPIC -m64  \
    -L/home/minjeaud/PELICANS/PelicansTest/lib/octopus-CC -R/home/minjeaud/PELICANS/PelicansTest/lib/octopus-CC  \
    -L/usr/local/UMFPACKv4.4/UMFPACK/Lib -R/usr/local/UMFPACKv4.4/UMFPACK/Lib  \
    -L/usr/local/UMFPACKv4.4/AMD/Lib -R/usr/local/UMFPACKv4.4/AMD/Lib  \
    -L/usr/include -R/usr/include    \
    -L/opt/sun/sunstudio12.1/rtlibs/amd64 -R/opt/sun/sunstudio12.1/rtlibs/amd64 \
    PDE_0D_Q0_1node.o   PDE_1D_P0_1node.o   PDE_1D_P1_2nodes.o ...... \
    -lCstd -lCrun -lc -library=sunperf -lumfpack -lamd -lz
    ldd /mnt/PELICANS/PelicansTest/lib/octopus-CC/libpel2.so
            libCstd.so.1 => /opt/sun/sunstudio12.1/rtlibs/amd64/libCstd.so.1 (0x00002b560621a000)
            libCrun.so.1 => /opt/sun/sunstudio12.1/rtlibs/amd64/libCrun.so.1 (0x00002b56065e3000)
            libc.so.6 => /lib64/libc.so.6 (0x00002b56067fa000)
            libz.so.1 => /usr/lib64/libz.so.1 (0x00002b5606b52000)
            libsunperf.so.3 => /opt/sun/sunstudio12.1/lib/amd64/libsunperf.so.3 (0x00002b5606d66000)
            libfui.so.1 => /opt/sun/sunstudio12.1/lib/amd64/libfui.so.1 (0x00002b560a0c5000)
            libfsu.so.1 => /opt/sun/sunstudio12.1/lib/amd64/libfsu.so.1 (0x00002b560a1d6000)
            /lib64/ld-linux-x86-64.so.2 (0x0000003fc5e00000)
            libm.so.6 => /lib64/libm.so.6 (0x00002b560a643000)
            libmtsk.so.1 => not found
            libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b560a8f0000)but if i use LD_LIBRARY_PATH:
    ( setenv LD_LIBRARY_PATH /opt/sun/sunstudio12.1/rtlibs/amd64 ; ldd /mnt/PELICANS/PelicansTest/lib/octopus-CC/opt2//../libpel2.so )
            libCstd.so.1 => /opt/sun/sunstudio12.1/rtlibs/amd64/libCstd.so.1 (0x00002ba0c37a7000)
            libCrun.so.1 => /opt/sun/sunstudio12.1/rtlibs/amd64/libCrun.so.1 (0x00002ba0c3b70000)
            libc.so.6 => /lib64/libc.so.6 (0x00002ba0c3d87000)
            libz.so.1 => /usr/lib64/libz.so.1 (0x00002ba0c40df000)
            libsunperf.so.3 => /opt/sun/sunstudio12.1/lib/amd64/libsunperf.so.3 (0x00002ba0c42f3000)
            libfui.so.1 => /opt/sun/sunstudio12.1/lib/amd64/libfui.so.1 (0x00002ba0c7652000)
            libfsu.so.1 => /opt/sun/sunstudio12.1/lib/amd64/libfsu.so.1 (0x00002ba0c7763000)
            /lib64/ld-linux-x86-64.so.2 (0x0000003fc5e00000)
            libm.so.6 => /lib64/libm.so.6 (0x00002ba0c7bd0000)
            libmtsk.so.1 => /opt/sun/sunstudio12.1/rtlibs/amd64/libmtsk.so.1 (0x00002ba0c7e54000)
            libpthread.so.0 => /lib64/libpthread.so.0 (0x00002ba0c7fc5000)
            librt.so.1 => /lib64/librt.so.1 (0x00002ba0c81e0000)
            libdl.so.2 => /lib64/libdl.so.2 (0x00002ba0c83ea000)gerard

  • Update rule and comm_strucutre error.

    dear all,
    i want to read field 0material from my update rule and do some abap coding with it but i keep getting this error
    E:Field "COMM_STRUCTURE-COMPUTE_0MATERIAL" is unknown. It is neither in
    one of the specified tables nor defined by a "DATA" statement. "DATA"
    statement. "DATA" statement.
    i'm using a virtual infoprovider with direct access to the datasource via DTP. how can this be solve?

    got it, source_fields-material

  • Link between Rules and Organisation assigned in Rule Modeler

    Hi,
    Go to Transaction CRMC_BSP_ANALYZE,
    Give Application Name: CRMM_ERM_RULES
    It will go to Rule Modeler:
    In this just click GO button. You will get the Policies. Click on the Policy you will get different rules.
    When We drill down the rules and select a rule you can view ACTIONS tab.
    In ACTIONS tab you can see Organisation Object and Outgoing E-Mail Address assigned to a selected Rule.
    Can you please let me know what is table names and link to get the Organisation Object and Outgoing E-Mail Address.
    Thanks a lot in advance.
    Best Regards,
    Azaz Ali.

    Hi Azaz
    To find the Organizational Object go to Transaction PPOMA_CRM the details you need are under field "ID"
    The Outgoing Email address can be found under transaction CRMC_IC_FROMGRP.
    Hope this helps
    Regards
    Arden

  • LSMW-Allocation Rule and Table creation.

    Hi Team,
    I need to create Allocation Rule and Table by using LSMW. I tried it using Recording method.
    Here issue I am facing is, I need to define Header and Item structure. Upto creation of Header data everything works fine
    For Allocation Rule, we require to upload multiple Customer or Sites with Quota as an Item data against one Base Site group  as in below format.
          SBELN  EKORG  EKGRP  SVBEZ     ARTKL        FILKLP           VQUOT 
    H     0001   1000        A07       Test      246402648   DUMMYGRP
               FILNR   VQUOT 
    D        500055   0
    D        500103   0
    D        500201   206
    For Allocation table, we require to upload multiple customer/sites against single Article and same for next articles as in below format.
      AUFAR  EKORG  EKGRP   BEZCH VKSTP WEFDT     VKSTP  WVDAT       MATNR PMNGE FILKL ASTRA
    H ZNLV     1000     A09          Test     D          03012014  D         21022014 0
            MATNR PMNGE FILKL ASTRA
    D      1234     40         21
    D      1234    40         23
    D      12345  10        10
    Could you please let me know, what changes I need to make in LSMW code so that it will read all Item data and update same at once.
    Thank you in advance.
    Regards,
    Rahul

    I went to SM30. But I dont <b>what to do there to make the field come in SE16</b>.In sm30 when I clicked on No restrictions and display, the field which was missing not able to see. But when I click on restrictions and display, the field is there.

Maybe you are looking for

  • How do I get my application window back on my desktop?

    I use an extra LCD display with my G5 which I have temporarily disconnected. When I use Sorenson Squeeze 4.3 it usually appears on the second screen but since I have disconnected it, the application window has disappeared off-screen. I have made sure

  • PS CS6 HDR merge failed to output image.

    I started from Lightroom 4 and did a merge to HDR. All the images opened in Photoshop CS6 HDR. (Unlike CS5 there was only one tab called Untitled HDR) The HDR control panel opened up and I edited the highlights shadows and removed ghosts. I clicked t

  • Bdc is completed in background i have to sent email to the user how..?

    hi could anybody tel me bdc is completed in background i have to sent email to the user how..?

  • MPB overkill for me ? opinions appreciated

    Hello all, I'm buying my first Mac soon and keep bouncing between the mid priced MB or the 2.16 MBP, here is what I will use it for, do you feel the MBP will be overkill ? Also - I want to start with 1GB of memory and add more only if needed. Browse

  • How to get that fancy audio console

    Hi can somebody tell me how Can I get that nice audio console? I dl:ed the new drivers for my card and when installed I only have the basic audio console and I would like to get that nice which came with the cd... can someone help me? Thank you