How to update a baen property through javascript?

I am creating a shuttle listbox component where i copy a value from one listbox(source) to another listbox(target) onclick of a button using javascript.
when i click on the submit button i want the setter property of the target listbox to be updated using javascript.
i dont want to use ajax.
is there an option how i can achieve this?
please help me...

It sounds like this is more of a JavaScript question than a Java question. The JavaScript source code available here may help.

Similar Messages

  • How to update FSCM Credit Management through SD in R3.

    Hi,
        I have a follwowing requirement.
        When SD documents such as Sales orders, Delivery Documents, Billing Documents are created, the commitment of that new transaction goes through the same PI interface to update FSCM Credit Management.
       I guess, SAP has already provided standard interfaces in PI for this. Please let know how can I trigger those interface through SD transactions like VA01, VL01N.
    Thanks in advance.
    Punit

    Punit,
    I know about Tcode ukm_bp to check credit eligibility of business partner. Likewise there can be different T codes. Please post in respective FSCM forum with details requirement to get more info on that...
    Coming to developement, you could use SAP pre defined content from SAP FINBASIS and APPL and develop scenarios.
    If your ERP and FSCM are on the same box, use the same business systems else use seperate one for each.
    Venkat.

  • How to update Integrator's property that was created by api

    bne_integrator_utils.create_integrator(p_application_id => 20023, --CUX
    p_object_code => l_object_code,
    p_integrator_user_name => l_inte_user_name, --
    p_language => 'ZHS',
    p_source_language => 'US',
    p_user_id => -1,
    p_integrator_code => x_integrator_code --
    bne_integrator_utils.create_interface_for_api(p_application_id => 20023,
    p_object_code => l_object_code,
    p_integrator_code => x_integrator_code,
    p_api_package_name => l_package_name, --API
    p_api_procedure_name => l_procedure_name, --API
    p_interface_user_name => l_object_code || '_INTF', -
    p_param_list_name => l_object_code || '_INTF', --
    p_api_type => 'PROCEDURE', --API
    p_upload_type => 5,
    p_language => 'ZHS',
    p_source_lang => 'US',
    p_user_id => -1,
    p_param_list_code => x_param_list_code, -
    p_interface_code => x_interface_code --
    I use above code to create Integrator, it was going well,but after I finished the set ,I realized there was something wrong.
    So I want to use 'Manager Integrator' to update Integrator's property,but it was read only,
    so any one can tell me,how to update the Integrator's property just like coloum type and so on.
    ths for advice

    Hi,
    Use the below update statement.
    update bne_integrators_b
    set source='C'
    where integrator_code='Your Integrator code'
    then commit..
    Now u will be able to update the integrator from front end.
    Regards,
    Sreekanth.S

  • HT4623 how to update my iphone 3g through itune to 4.2.1?

    my phone 3g is version 4. i want to update 4.2.1 through itunes. how should i do it?

    READ  the article from which the question was posted and follow the relevant instructions.

  • How to update a list item through Sharepoint Designer Workflow?

    Hi,
    I have a created a list, in which "Completion date" column is there.
    Now I want to update column "Completion Date" through SPD, specifies value(date) after 10 days of created date of a record in list.
    Please help.
    Thanks in advance

    Hi,
    You can use the "Build Dynamic String" action to convert the date field to a string,
    And use string comparison to determine if the date is blank
    For more information, please refer to
    http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!498.entry
    Hope this helps
    Thanks!
    Stanfford

  • Very Urgent.......How to update the database values through OAF pages ??

    Hi All,
    I am developeing some self service application thru Oracle Application Framework(OAF). There I am fetching 5 attributes from the database and displaying those attributes in my main page Table Region. Now my requirement is i want to edit that exising values & again i want to store it in the databse while clicking the update button. so first i have created one VO for fetching the values from the database & i make one Table Region in my main page along with 5 MessageTextInput field.. & i mapped that VO's attributes to my textbox.Now i can able to fetch & display the values inside the text box while rendering the page.
    But I dont know how to update the values in the database. Caz in my VO I have only select query. So anyone plz send me the code for update. And also plz let me know where to insert that code..whether (CO or AM or EO)..it is very urgent.
    Thanks
    srini

    David,
    Note that the default JavaBean datacontrol does not allow create/remove and transaction operations. These apis are not implemented for the JavaBean datacontrol.
    You may re-initialize the rowsetiterator, by calling ((oracle.adf.model.generic.DCRowSetIteratorImpl)iteratorBinding.getRowSetIterator()).clearCurrentData().
    This will force the RSI to refresh it's data via the named-accessor again.

  • How to update OID oblogintrycout attribute through java code

    Hi Team,
    As per my requirement ,i need to update OID oblogintrycout attribute through java code. could you please help me on this.
    where can i get the java code.
    Regards,
    Ravi.

    As always, Google is your friend.
    Follow the bouncing link.
    http://www.google.com/search?hl=en&q=VisualSourceSafe+%2B+Java+API
    PS.

  • How to update an object property located in an array of objects

    Hello all,
    I have a script that creates custom objects and populates them and saves them into an array. This array of objects is later converted to a CSV file for reuse later on. On a subsequent need to run the script and to save time and avoid recollecting
    data I have previously amassed, I read in the contents of the csv file and put this data into an arryOfObjects.
    I need to manipulate the data in specific objects but I can't figure out how to accomplish that task.
    I can identify the correct object within the array with the following command. I have been trying to pipe that result into either set-variable or set-itemproperty without success.
    $arrayOfObjects | select-object | where HostName -like $_.'name'
    This works, I can see my desired object and the data fields contained within it.
    I now need to modify one of the property fields. (Alias).
    I have been trying the following as a line of thought, but so far without success. It doesn't fail/error out, but it doesn't update the data either.
    $arrayOfObjects | select-object | where HostName -like $_.'name' | set-itemproperty -name Alias -value "newAlias"
    I'm wondering if I need to specify something for the -path argument, but since the array is in memory and not a registry location or a file I am not sure what I should use, if this is the problem at all.
    Any suggestions would be appreciated.
    Thanks
    Smitty

    yes, I have redacted things, and obscured other things because I can not go around posting critical infrastructure information out on the internet.
    Here is the first three lines of my .csv file
    "OrigIP","AL_HostName","AL_Found","AL_Enabled","AL_Status","N_HostName","InREDACTED","N_Found","Delta","IsStale","Ping","InDNS","InAD","Location","Alias","IsServer","HostType","OS","ApplianceName","FQDN","ChatterValue"
    "10.24.11.4","ABCD","yes","yes","never","abcd.domain.com","yes","yes","*","*","Y","Y","N","TEST","*","*","eventlog","","","ABCD.DOMAIN.COM","*"
    "10.24.12.18","EFGH","yes","yes","Dec 30 2014 09:15:00","efgh.domain.com","yes","yes","-25","No","Y","Y","Y","TEST","*","yes","eventlog","xxxxxx","","EFGH.DOMAIN.COM","*"
    When I import this file I create a new custom object (objectCurrent) which I populate with the data from the csv file. I then store this object into an array of objects (objectCollection).
    All of the data is present.
    I then read in a new csv file that would contain most of the same hosts, but possibly additional new ones. upon importing the second csv file I loop through the entries.
     I have a conditional statement that checks to see if the host name from the second csv file, if it isn't then treat it like a new object and go fill in all of the details of the object using my various functions, etc.
    Import-CSV$currentALReport-Delimiter","|ForEach-Object
         if($objectCollection.N_HostName
    -notcontains$_.'name')
            # then create a new currentObject and go populate the properties of the object 
         elseif ($objectCollection.N_HostName -contains $_.'name') {
              # copy this object and update the object's AL_Status (which is the last reported message date info)
                  # send that to the function that will parse it, compare Julian dates and see if it falls within my
                  # criteria as being stale.  if so set the IsStale property to Yes, but reguardless set the AL_Status
                  # newest last reported message data
    JRV states that "The "select object" does nothing at all unless you have a column in your CSV called "object".  The where clause will do nothing because it is syntatctically wrong and illogical. "
    I beg to differ.  Using the above command :   with the script running and the current focus ($_.'name') equals "abcd.domain.com"
     $arrayOfObjects | select-object | where N_HostName -like $_.'name'
    It obtain a single object within my array of objects similar to this:
    IP: 1.2.3.4
    N_HostName: abcd.domain.com
    IsStale: No
    LastMsgDate: Dec 30 2014 09:15:00
    Delta: 1
    Ping: Yes
    InDNS: Yes
    InAD: Yes
    Alias: *
    (other fields omitted for brevity) I could get any of my existing objects if I match the hostname
    If I used only the command "  $objectCollection | Select-Object "    it returns every object in my array.
    So to narrow down the selection to a single object I add the " | where N_HostName -like $_.'name'  "
    which gives me the exact object I am searching for.
    My only question is how can I modify the contents of the object that I have specified within the array of object???

  • How to update values in ztable through hyperlink

    Hi Gurus,
    The Problem is I want to send sales order in mail to any id and mail should have two links
    like Accept or decline and when user clicks on this link there sholud be some process to update z table.
    Pls help how to achive this.
    Should i use some services or webdynpro or there is some another mehod by which i can get values inside SAP.
    Thanks
    Pooja

    Hi Uma
    workflow is not configured in my company..
    Please suggest some other option..
    I am able to send data through mail but how to capture the links pressed outside and update tables in sap.
    Please guide
    thanks
    Pooja

  • How to Update Fields in ES20 through EC70

    Hi,
    I have displayed some customer fileds in accelarated move-in/Out transaction EC70.Once i create move in through EC70 these customer fields are updated in EC70 also it creates contarct in background.
    My requirement is to display the same customer fields in ES20 as well and same is to be filled with values from EC70 when contarct gets created.
    Can anyone please tell me how to acheve this is there any EXIT or BADI for the same or any case it cab be achieved through MASTER DATA generator.
    Thanks & Regards

    Hi rushikesh,
    PLEASE do NEVER use ES20 to create a contract, please do always use EC50E or something alike. You can CHANGE any contract you like with ES21, but never create one with ES20.
    As for the customer fields - please see note 152498 - it describes a bit the user exists within the contract and how to use those.
    KR
    Uwe

  • How to call a bean method through javascript?

    Hi,
    i want to call a bean method using the javascript.
    thansk in advance.

    hi
    i want to call a backing bean method thought javscript on the button click.
    i am inplementing addition of textbox at runtime.i wrote method and i am calling that on the button click.but the textbox is not created.
    the code is bleow
    public String doAction() {
         tryStuff1();
    return "samplejsf";
    public void tryStuff1()
    System.out.println("Enter the trystuff method");
         FacesContext facesContext = FacesContext.getCurrentInstance();
    UIViewRoot uIViewRoot = facesContext.getViewRoot();
    Application application = facesContext.getApplication();
    UIComponent formComp=uIViewRoot.findComponent("subbody:form1");
    HtmlPanelGrid grid= new HtmlPanelGrid();
    grid.setId("panelgrid2");
    grid.setColumns(2);
    grid.setBorder(2);
    //UIComponent panelGridComp=formComp.findComponent("subbody:panelgrid1");
    //UIComponent panelGroupComp=panelGridComp.findComponent("panelgroup2");
         HtmlOutputText output = new HtmlOutputText();
    output.setValue("dynamic jsf text2");
    System.out.println("hello output text2");
    output.setRendered(true);
    grid.getChildren().add(output);
    HtmlInputText input = new HtmlInputText();
    input.setSize(40);
    input.setValueBinding("value", (ValueBinding) application.createValueBinding("#{sample.text2}"));
    input.setRendered(true);
    grid.getChildren().add(input);
    System.out.println("hello output text1");
    grid.setRendered(true);
    formComp.getChildren().add(grid);
    System.out.println("hello output text3:");
    formComp.getRendersChildren();
    formComp.setRendered(true);
    public boolean getRendersChildren() {
         return true;
    jsp code is
    <h:form id="form1">
    <h:panelGrid columns="2" binding="#{sample.formElements}">
    </h:panelGrid>
    <h:panelGrid id="panelgrid1" columns="1">
    <h:panelGroup id="panelgroup1">
    <h:outputText value="hardcoded jsf text1"/>
    <h:inputText value="#{sample.text1}"/>
    </h:panelGroup>
    </h:panelGrid>
    <h:commandButton id="add" action="#{sample.doAction}" value="add" type="SUBMIT"/>
    </h:form>
    when i click on the button its going into the method and diaplying s.o.p but the text box is not updated to the page.
    why is it so.
    i thought there may be a problem in calling the method directly thru button. i want to try thru javascript calling the bean method.
    why is the page not updated.
    can u help me out
    thanks in advance
    sree

  • How to update an Excel Sheet through a WebService

    Dear All,
    Please help me with this query.
    Kindly could you guide me on updating an Excel Sheet which is saved on my local server through a WebService which is deployed on the WebApp Server. The Server is located locally too. I have developed the WebService on the NWDS.
    I have tried using POI and ODBC for updating the sheet. But it appears to me that the server is unable to fetch the excel sheet.
    Please could you provide your valuable suggestions on this.
    Regards,
    Suyukti B N

    Hi,
    Thanks for your reply.  Below are more details regarding my question. I am trying to achieve the requirement with :
    Java WebDynpro (Front End) <--> WebService (Middle Tier) <->ODBC <---> Microsoft Excel (Back End)
    1) I am Using the Java perspective to create the service method. The method has to read and update the excel sheet. I have created a ODBC DataSource on my local machine. I also have the SAP WebApp Server on my local machine. Below is the method I am using for "reading" the excel :
    public String read(){
    Connection connection = null;
    String columnValue = "";
            try {
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         Connection con = DriverManager.getConnection   ("jdbc:odbc:DS");
                    Statement st = con.createStatement();
         ResultSet rs = st.executeQuery("Select * from [Sheet1$]");
         ResultSetMetaData rsmd = rs.getMetaData();
         int numberOfColumns = rsmd.getColumnCount();
         while (rs.next()) {
         for (int i = 1; i <= numberOfColumns; i++) {
             if (i > 1)                           System.out.print(", ");                columnValue = rs.getString(i);
         System.out.println("value is" + columnValue);
         st.close();
         con.close();
              } catch (Exception ex) {
              System.err.print("Exception: ");
              System.err.println(ex.getMessage());
              return "false" + ex.toString();
         return "true";
    This code works perfectly fine and provides me the values that are present on the Excel Sheet.
    2) I now switch over from the Java Perspective to the WebService Perspective on my NetWeaver Developer Studio. I create a new WebService for the above Java method.
    3) I then create an Ear file and deploy on the Server.
    4) Now when I click on Test WebService, the values that are returned from the Excel are "null". It shows return String as False and an SQL Exception. java.sql.SQLException: General error.
    Hence I concluded that after deploying the Service on the Server, the Excel Sheet is not being fetched or read.
    Please could you provide your thoughts on this.
    Thank You Very Much,
    Warm Regards,
    Suyukti B N

  • How to read size of swf through javascript

    According to the swf documentation from Adobe, you should be
    able to read the individual bytes of a swf to calculate the files
    size, file dimensions (width and height), version and file type
    (swf or swc).
    I am using javascript to read in the individual bytes and
    converting them to human readable information but I am running into
    problems when it comes to file dimensions.
    My question is has any one been able to get the file
    dimensions of a swf file using any language? I am using javascript
    but I would think that the byte order would be the same in any
    language.
    Here is the out put that I am working with:
    Hex pulled from file:
    78 9C 8C 7C 05 58 55 4B DB F6
    First five bytes = 01111 = read 15 bytes for each value
    dimension 1 = 000100111001000
    2504 twips
    50080 pixels (should be 0)
    dimension 2 = 110001111100000
    25568 twips
    511360 pixels (should be 300)
    dimension 3 = 001010101100001
    5473 twips
    109460 pixels (should be 0)
    dimension 4 = 010101010010111
    10903 twips
    218060 pixels (should be 250)
    The formula I am using for twips -> pixels is px = twips *
    20.
    Is there something that I am missing?
    The raw hex of the beginning of the file is below:
    43 57 53 08 EE A4 00 00 78 9C 8C 7C 05 58 55 4B
    DB F6 DA 9B 2E C9 4D 49 4B 77 48 48 87 20 21 CD
    26 A4 BB BB 41 52 90 0E 29 A5 BB 1B 24 04 24 94
    16 44 24 04 A4 91 90 90 0E C9 7F 6F D4 73 CE FB
    BD E7 FF FE 7F 5D D7 9A FD AC 79 EE B9 E7 99 59
    D3 6B 66 3B 01 18 CD 00 90 21 0E 10 83 80 87 B8
    00 EC 92 02 DF DC DC 00 C8 62 08 2F 40 00 10 EE
    07 60 01 66 C6 EA A6 C6 76 E6 80 BD B1 B5 83 A1
    Thanks

    I get the same twip values as you from the record, but the
    twip->pixel conversions are different (pixels = twips / 20)
    XMin = 000100111001000
    2504 twips
    125.2 pixels
    XMax = 110001111100000
    25568 twips
    1278.4 pixels
    YMin = 001010101100001
    5473 twips
    273.5 pixels
    YMax = 010101010010111
    10903 twips
    545.15 pixels
    I just read the spec, and I am wondering about the remaining
    7 bits until the next byte alignment (1011011). According to my
    interpretation the spec, they should be all zero values.

  • How to update campaign pricing discount through coding

    Hi ,
    I have a requirement where I need to maintain campaign Discount through coding.
    Generally , we create the condition record by clicking on 'New' button on Discount assignment block . Then its shows pop-up to choose the Condition type combination. When we click on it , it redirects to Edit list View component and we maintain there only.
    But here I need to maintain directly Discount assignment button through coding.
    Please help me out here.
    Thanks,
    Satya

    Hello,
    when creating the condions manually in a campaign or auto generate the conditions in a trade promotion this calls function module /SAPCND/MNT_MAINTAIN_OW. You can try to use that one to generate the conditions.
    Two remarks:
    you will need to take care of the correct input parameter when calling that function
    you will need to make sure that the conditions are saved afterwards
    I hope this helps to solve the issue.
    best regards,
    Johannes

  • How to Validate a Expression dynamically through javascript or code behind?

    Hi
    I have a requirement like, when i enter value in textbox it should calculate whether it is a valid experssion or not.
    For Ex if i give expression like ((2*3+(5*2)-240  In this statement i have missed a {(} close bracket.  On textbox change event i have to alert a user like Your expresion is not valid..Because user will give this expression dynamically.
    Please do needful.Thanx in advance.
    Regards
    Manikandan

    Problem solved.
    For validation type, I still specify it as
    Item in Expression 1 is contained in Expression 2
    Validation Expression 1:
    P5_PORTABLE
    Validation Expression 2
    No
    but in condition type, I can only use
    Value of Item in Expression 1= Expression 2
    Expression 1:
    P5_FUNDING_TYPE
    Expression 2
    Capital
    A bit confusing, but it works. There is no needs to loop through array for radio group here. APEX does it for you. Thanks Shutt for your hint

Maybe you are looking for

  • I-Photo keeps coming up with the following error -Your photo library is either in use by another application or has become unreadable.

    Your photo library is either in use by another application or has become unreadable. The solution suggested is restart and hold option/command down. I have done this and the options given make sense but when I try to run any of the suggested solution

  • Platform services PCI 6733

    Bonjour, Après avoir installé un carte PCI 6733,sous Measurement and Automation, je peux faire l'auto test de la carte (résultat OK), je peux accéder au panneau de test et l'utiliser avec succès, je peux  créer une tache type génération de tension su

  • Automatic notification containing the report output

    Hi, I need to send an automatic notification containing the report output and a link to the SAP screen containing the report output to sap inbox. The notification contains a link to the report output screen. When user clicks on it(link), it takes him

  • My usb 5 button mouse isn't working properly need help please

    I tried to change my xorg  to use usb but I couldn't boot if I changed anything to do with my mouse my mouse used to work and light up like it was supposed to.  anyways this is the errors from my error log May 30 18:20:16 Shadowfire usb 1-1: device n

  • IQ506 does not recognize DVD+RW Drive

    I have been messing around with this problem for a couple months now and I'm about ready to give up.  For some strange reason my IQ506 decides when I have a DVD drive and when I do not.  I'd say about 90% of the time the computer does not recognize t