Set field in enhacement doesnu00B4t work

Hello Collegues.
I´ve done a enhacement on ERP_H component.
I added a field to the view Headerdetail called "name", but when I set a value in UI, I haven´t read this field in abap code.
The SET method (SET_NAME) in the context node is ok, in debug I see that the method  current->set_property, is work fine.
I tried read the atributte with lr_entity->get_property_as_string( 'NAME' ), but doesn´t work.   When I read other "standard field", the statement is ok and it has value.
I added the field with a append to the structure "CRMST_ADMINH_ERPIL" and then  I assigned to the design layer "ERP" in BSP_WD_CMPWB transaction.
Best regards.

Hi,
Enter trx. SM34 -> view cluster CRMVC_SDESIGN_G then press maintain.
UI Object Type -> ERP
Reference Design Object-> ERPADMINH
In Design, Press new entries
Attribute Name -> zfield
Object -> ERPAdminH
Attribute -> zfield
Flag Standard radio button.
Best regards,
Caíque Escaler

Similar Messages

  • Setting form fields to required not working in Adobe Acrobat XI Pro

    This should be a simple matter. However, I'm stuck in a rut with it, and cannot seem to get out.
    I have created a form. All I need is for users to be prompted that they have to complete the form field when they try to tab or click out of that particular field where there needs to be information input. I have tried the following "on blur" java script code:
    if (!event.value) {
        app.alert("This field is required. Please enter a value.");
        event.target.setFocus();
    What continues to happen is when the user clicks out of that field, the error message comes up asking them to click "okay." The problem is that the error message does not go away after the user clicks it.
    What I've learned is that if you right click on a field and click "set as required field," it doesn't work in the way I need it to. In fact, it hasn't been working at all for me.
    Does anyone have a simple suggestion? I more than willing to try anything at this point.

    OK, so the custom calculate script for field B could be something like:
    (function () {
        // Get field values as strings
        var sA = getField("A").valueAsString;
        var sC = getField("C").valueAsString;
        var sD = getField("D").valueAsString;
        // Only perform the calculation if all fields are filled
        if (sA && sC && sD) {
            var sum = +sC + sD;
            event.value = sum;
            // Alert the user if the sum is more than A
            if (sum > +sA) {
                app.alert("Error message goes here");
        } else {
            // Blank this field if all fields are not filled in
            event.value = "";
    Instead of (or in addition to) an app.alert popup, you could place this message in a read-only form field, and clear it if there is no error condition.

  • Setting fields on html page from servlet

    I have a HTML Page1 on ServerA that calls a servlet on ServerB. I want the servlet to load Page2 on ServerA and set fields on Page2.
    I know I can do so by using Redirect and passing parameters in the URL that can be loaded in the onLoad event of Page2 but I was wondering if there is some way I can cause the servlet to set the fields directly.
    I have looked a getRequestDispatcher("url").forward but it seems to me that the page being called would have to be on ServerB (the servlet's server). Am I correct? If not how do I get this to work? I have tried getRequestDispatcher("Page2").forward() and getRequestDispatcher("/Page2").forward() but neither seem to work. I assume because the pages are expected to be found on the servlet's server?

    thank you!
    I do put a bounch of System.out.println statements in it. one is just before the out.println("<html>") statement. another is before response.sendRedirect(). My program can print out each of the System.out.println(). but stop after that.I really do not know why!
    Sean

  • How to set field type choice using csom (c#)

    I have a field type: Choice (menu to choose from) which is not multichoice. How do I set a value?
    I have found code for multiple choice but it doesn't seem to work for single choice.

    Hi,
    The following code snippet for your reference:
    newListItem["ChoiceFieldName"] = "ChoiceValue";
    newListItem.Update();
    clientContext.Load(newListItem);
    clientContext.ExecuteQuery();
    If you are assigning a Value which is not in the Choice Column, You need to create a choice value then assign it to the item.
    More information is here:
    http://sharepoint.stackexchange.com/questions/124999/how-to-set-field-type-choice-using-csom-c
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to set a PDF to expire (Working Script)

    Here is a little script I made up the other night. You can use it to allow a PDF to be opened only until a set date. I use this for when my employees go to service a customer. I want them to be able to see the customer's information, but only for 24 to 48 hours.<br /><br />CheckExpiration()<br /><br />function CheckExpiration()<br />{<br />/*-----START EDIT-----*/<br />var LastDay = 21<br />var LastMonth = 3<br />var LastYear = 2008<br />/*-----END EDIT-------*/<br /><br />/* DO NOT EDIT PAST HERE !!! */<br />var today = new Date();<br />var myDate=new Date();<br />LastMonth = LastMonth - 1<br />myDate.setFullYear(LastYear,LastMonth,LastDay);<br /><br />if (myDate<today)<br />  {<br />    this.closeDoc(1);<br />    app.alert("This files has expired.",1,0,"Expired");<br />  }<br />}

    Here's a slightly different method, but it works..... (and, there is certainly no 'work around' for anyone to get data you don't want them to get!)
    <br />
    <br />It uses the Action on Open (sorry, I don't know the 'official' name of this - I'll describe it below..) in the pdf to send the user to a server checking mechanism (in this case, a date checker - but you could do the same thing with lots of stuff...)
    <br />
    <br />Here's how I set it up and it works great!
    <br />
    <br />1. Start a new document that you can get a form field into (don't use LiveDesign for this - that's too fancy... - just make a document in Word that says ______ then print to pdf to get a nice simple pdf that you can edit directly in Acrobat)
    <br />
    <br />2. Do a 'Run Form Field Recognition' and Acrobat will find the blank as a field.
    <br />
    <br />3. Edit this field to have a "key" name (my example, I will use "today" which tells me this is the day that my document starts).
    <br />
    <br />4. Under the 'Options' tab, make a Default Value of today's date (this will be the 'test against' date - for my example I'm showing how to expire a document in 30 days from creation date, but you could use anything you like - it is simple to modify!)
    <br />
    <br />5. From the 'Format' tab, use the Select format category of Date. Use a date format you like (my example uses mm/dd/yyyy) Note that this MUST match the server side code described later).
    <br />
    <br />6. For a 'live' document, you may want to go to the General tab and make the field Hidden as well as other things to not see the 'false' page, but that is outside the scope of this example.
    <br />
    <br />OK, now on to setting up the document to automatically send this info to your server for testing...
    <br />
    <br />1. Go to the 'Pages' view (click on the icon at the top left)
    <br />2. right-click on the page, select Page Properties.
    <br />3. Under the 'Actions' tab, select "Page Open" and "Submit a form" from the drop down boxes.
    <br />4. Enter a URL to your web page (see below) that does the checking (like http://mytestdomain.com/Scripts/checkexpiredate.php so it is easy to remember)
    <br />5. Check the HTML radio button.
    <br />6. Check the 'Only these...' button and then 'Select fields'. Make sure your "key" field is checked as well as the 'Include Selected' button (sometimes, for me, these weren't - I don't know why, so check it!)
    <br />
    <br />Now, on to the server side...
    <br />
    <br />Here's the code that goes into the php server file;
    <br />
    <br /><?php<br />$day = date("d");<br />$month = date("m");<br />$year = date("Y");<br />$today = substr($_REQUEST["today"],3,2);<br />$tomonth = substr($_REQUEST["today"],0,2);<br />$toyear = substr($_REQUEST["today"],6,4);<br />  $tsp = mktime(0, 0, 0, $month, $day, $year);<br />  $tsd = mktime(0, 0, 0, $tomonth, $today, $toyear);<br />  $xdays = ($tsp - $tsd)/(24*60*60);  // as calculated from dates<br />$maxdays = 30; //set this to whatever your 'expire from today' date is<br />if ($xdays >= $maxdays)<br /> //do what you like to tell the user it is expired<br />else<br /> //show the info you want them to see<br />?>
    <br />
    <br />i (the info shown (or not) is outside the scope of this message, this is just a 'one way to make this work' example. In my system, I use a program called fpdf [http://fpdf.org] to create the pdf from 'scratch', building it to show the reader what I want them to see - whether it is a "Sorry, this is expired" document, or the data that they came for if the time hasn't expired.)
    <br />
    <br />THAT'S IT!!! It works great and you can use it to do tons of stuff - just set the "key" on the original document and make the server code check whatever it is you want!
    <br />
    <br />Pretty cool, I think! (and, it only took me, a novice programmer, about 3 hours to figure it all out!)
    <br />
    <br />Best of success with it - enjoy!

  • How to set field alignment in a table in jdev 11.1.2.3?

    hi,
    How to set field alignment in a table in jdev 11.1.2.3?
    eg: to diplay a number field in a table as right aligned.
    I have tried to set field(amount) VO UI Hint Format Type:Number; Format: 0000.00
    and jspx as flowing, but it doesnot work.
    Thanks.
    bao
    <af:column sortProperty="#{bindings.VO1.hints.Amount.name}"
    sortable="true"
    headerText="#{bindings.VO1.hints.Amount.label}"
    id="c44" width="60"
    align="center">
    <af:inputText value="#{row.bindings.Amount.inputValue}"
    label="#{bindings.VO1.hints.Amount.label}"
    required="#{bindings.VO1.hints.Amount.mandatory}"
    columns="#{bindings.VO1.hints.Amount.displayWidth}"
    maximumLength="#{bindings.VO1.hints.Amount.precision}"
    shortDesc="#{bindings.VO1.hints.Amount.tooltip}"
    id="it58"
    secret="false"
    inlineStyle="text-decoration:overline;">
    <f:validator binding="#{row.bindings.Amount.validator}"/>
    </af:inputText>
    </af:column>

    Works for me:
            <af:column sortProperty="#{bindings.EmployeesView1.hints.Salary.name}" sortable="false"
                       headerText="#{bindings.EmployeesView1.hints.Salary.label}" id="c7" align="right">
              <af:inputText value="#{row.bindings.Salary.inputValue}" label="#{bindings.EmployeesView1.hints.Salary.label}"
                            required="#{bindings.EmployeesView1.hints.Salary.mandatory}"
                            columns="#{bindings.EmployeesView1.hints.Salary.displayWidth}"
                            maximumLength="#{bindings.EmployeesView1.hints.Salary.precision}"
                            shortDesc="#{bindings.EmployeesView1.hints.Salary.tooltip}" id="it6">
                <f:validator binding="#{row.bindings.Salary.validator}"/>
              </af:inputText>
            </af:column>JDeveloper 11.1.2.3
    Salary is shown right-aligned.
    What happens if you get rid of your inlineStyle on the af:inputText

  • Field Exit is not working in QA but working in Development Server....

    Hi friends,
                         I have created Field Exit for data element EPOS_LGORT (Storage Location) .Which is using in ME21N transaction of MM. This Field Exit is proper
      working in Development Server but after transport in QA it is not working. I have checked code , it is same as well as exist in development Server. 
                  Abap/fieldexit parameter already has been set as ‘Yes’. But still it is not working.
    Following values has been set for Parameter ‘abap/fieldexit’ for QA .       
    Dflt value                no
    ProfileVal               YES
    Current value          YES
    SAP Release         4.71
                         Any other setting required for  parameter's . Please suggest me.
    Thanks.

    Hi Chandrasekhar,
                           Thanks . Default value of parameter abap/fieldexit is 'yes or no' . Basis person told me that abap/fieldexit either can be set yes or no , so where we have to set 'X'  value for abap/fieldexit parameter.
      After execution of Program RSPARAM , following values found for  QA Server.
    1.1 R/3 C kernel               no
    2.1 file                             no
    3.1 file                             YES
    3.2 program parameters    YES
    3.3 Replace $$ and $(..)    YES
    3.4 Generate file name      YES
    4.4 Value in SharedMemory      YES
          Any other setting's  we needed ?

  • How can I use dns-sd to set up a priner to work with AirPrint?

    How can I use dns-sd to set up a priner to work with AirPrint?
    The priner is an HP LaserJet 1200 connected to the network with an HP JetDirect.

    Some of the third-party apps like "handyPrint" are able to configre the HP JetDirect to work with AirPrint.
    I am trying to work up my own solution.
    SyBB

  • I'm trying to set up an iPad for work and the apple id I was trying to use came back expired. I set a new password and then it said it was invalid. Now I'm locked out for too many tries answering security questions that I don't remember setting up. Help!

    I seem to be stuck in apple ID ****. First the password was expired only two minutes after I finished setting up the account and then the new password was invalid.  I don't know what to try next but this is making me crazy.  And I'm locked out for eight hours for too many attempts at answering questions that I never set up in the first place. I don't know what gives but something is way off. I need to set up this iPad for work but I can't get past the login.

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased. Some glitch occured and you have to restore/erse the iPod. Y will have to restore from an existing backup if y ohave one.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • I have an ipod touch it is either a second or third edition and i have just had to restore it to factory setting as it was not working and now the wifi on the device is no longer working. Is there anything i can do about this?

    i have an ipod touch it is either a second or third edition and i have just had to restore it to factory setting as it was not working and now the wifi on the device is no longer working. Is there anything i can do about this?

    Is it this:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    One user reported that placing the iPod in the freezer fixed the problem. A trick that works frequently with iPhones:
    Settings > AirPlane Mode ON, Do Not Disturb ON
    Power down and wait 5-10 minutes
    Power up
    Settings > AirPlane Mode OFF, Do Not Disturb OFF
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar
    Otherwise:
    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • The RAW setting in Bridge is not working. When I open Bridge I can see only icons, no images. The RA

    The RAW setting in Bridge is not working. When I open Bridge I can see only icons, no images. The RAW tool icon is grey, not active. I am going on a trip Tomorrow and I need Bridge to be working. It was working earlier.

    I never notied that icon before, and I've been using Bridge for 7 years.
    Usually, when you have no image previews for raw files, this means that your Camera Raw plug-in is older than your camera. People always come across this problem when they use a new camera with older software.
    To be sure, we need to know which camera you are using, and which version of Camera Raw. To save typing this out for the three-thousandth time, please follow this page which I wrote earlier:
    http://yphotography.co.uk/articles/get-adobe-camera-raw-acr-open-photos/
    This covers the subject, which is by far the most commonly asked question about opening raw files by a country mile.
    If everything checks out fine, let us know. If not, give us more information and we may be able to fix this for you.
    PS. Please just open one discussion per problem. There are three threads on this now. It makes it difficult to follow.

  • My iphone 5 stopped syncing photos to FB. I've tried all the set up directions but none work.

    Iphone stopped syncing photos with Face Book. I've tried all the set up directions but none work, or don't follow what is said they will follow (no directions pop up when I select syned from iphone in pictures)

    Thanks! I called Apple, and we did a software update. While the phone now will light up and work for about 30 seconds before going dark again, the representative said I would probably get a replacement phone if I took it in. You are right - probably a hardware failure!

  • Setting Fields value via reflection

    I'm starting from a c# code:
              internal void RefreshFromObject(object objFromUpdate)
                   if (this.GetType()==objFromUpdate.GetType())
                        PropertyInfo[] fieldsFrom = objFromUpdate.GetType().GetProperties();
                        PropertyInfo[] fieldsThis = this.GetType().GetProperties();
                        for(int idxProp=0; idxProp<fieldsFrom.Length;idxProp++)
                             if (fieldsThis[idxProp].CanWrite && fieldsFrom[idxProp].CanRead)
                                  fieldsThis[idxProp].SetValue(this, fieldsFrom[idxProp].GetValue(objFromUpdate,null),null);
                   else
                        throw new ObjectTypeNotValidException("Object type from which update current instance not valid. Use same type.");
    Now I have to translate it in Java:
    Class clazz = objFromUpdate.getClass();
    Class thisClazz = this.getClass();
    do {
         Field[] fieldsFrom = clazz.getDeclaredFields();
         Field[] fieldsThis = thisClazz.getDeclaredFields();
         try {
              fieldsThis[idxProp].set(thisClazz, fieldsFrom[idxProp].get(clazz));
         catch (IllegalAccessException iaccEx) {
              System.out.println("IllegalAccessException");
         catch (IllegalArgumentException iaccEx) {
              System.out.println("IllegalArgumentException");
    clazz = clazz.getSuperclass();
    thisClazz = thisClazz.getSuperclass();
    } while (clazz != null && clazz != Object.class);
    My problem is that I don't know if the field type is one of primitive, for which I should use the particular setters and getters.
    My questions are:
    1) is there in Java a more elegant way to set fields values via reflection?
    2) how can I know if a field i changable (equivalent to the method CanWrite of c#?
    Thanks a lot to each one that will answer me.
    Marco

    Hi georgemc,
    thanks for replying. I-m new with java forum, so I don't know if it is correct the code tags...
    Anyway... the problem is that the Field of reflected object could be both of Object types or primitive types. So I cannot use the general method "set" when changing Field's value.
    Maybe somebody else had the same problem...
    Seems in C# it is a very easy thing... not in java :(
    Marco
    Class clazz = objFromUpdate.getClass();
    Class thisClazz = this.getClass();
    do {
    Field[] fieldsFrom = clazz.getDeclaredFields();
    Field[] fieldsThis = thisClazz.getDeclaredFields();
    try {
    fieldsThis[idxProp].set(thisClazz, fieldsFrom[idxProp].get(clazz));
    catch (IllegalAccessException iaccEx) {
    System.out.println("IllegalAccessException");
    catch (IllegalArgumentException iaccEx) {
    System.out.println("IllegalArgumentException");
    clazz = clazz.getSuperclass();
    thisClazz = thisClazz.getSuperclass();
    } while (clazz != null && clazz != Object.class);

  • When working on document in numbers and saving it I then try to open on iPad. It is not syncing what do I have to do after using on Mac to then be able to upload on iPad.  I have set cloud up and it works with keynote

    When working on document in numbers and saving it I then try to open on iPad. It is not syncing what do I have to do after using on Mac to then be able to upload on iPad.  I have set cloud up and it works with keynote

    Welcome to the Apple Community.
    I have seen previous versions mentioned in a pop up message before on iCloud.com, but I'm not really sure at all how it would help, as I couldn't get it to do anything.
    The best advice I have at this time is to back up your work on your iOS device by regularly saving it to iTunes, if anything goes wrong you can then either load it into the numbers app again on the device or recover it via iTunes on your computer.
    My syncs are immediate, I never get chance to see if it works in the background, sorry.

  • When I use Mail and want to paste an emailadress with a right mouse click in the adres field this doesn't work, ofcourse cmd V  works. How can I solve this

    when I use Mail and want to paste an emailadress with a right mouse click in the adres field this doesn't work, ofcourse cmd V  works. How can I solve this

    YAY!  That did it.
    Thank you so much.
    And a Very Happy and Prosperous New Year to you!
    bonnie

Maybe you are looking for

  • Report generation in windows

    Hi There,  When i am using report generation in my mac it is working fine but when i make an exe file of my vi and use it on windows report generation is not working. Is there a way to save the report in a file or see it as html in browser in windows

  • Need to Add a button in ALV Tool Bar

    Hi, I have a requirement where in i need to add a button to a standard ALV report. Its using the class CL_GUI_ALV_GRID. There is a Badi for the report. The Report is co05n and the Badi is WORKORDER_INFOSYSTEM . I am getting the handle of CL_GUI_ALV_G

  • Error starting OAS 10.1.3.1 (Windows XP)

    I installed OAS 10.1.3.1 yesterday and all was well for a while. After configuring a new JMS data source and connector for a database topic, I restarted OAS and everything still looked fine. Then I shut down and when I restarted, nothing worked. I tr

  • How to download  a games in

    i want to download games in my iphone

  • BC - Word-Processing in the SAPscript Editor

    Hi, Could anyone tell me how the Link functionality in the SAPscript Editor is working? Regards, Morten