Change Travel Request Is Not Working

Hi all,
I am getting one error for that i need your help.
I have created one  travel request ( I am using satandard ess application) , after
creatting travel request i am able to view the created trip , but when i select the created
trip and click on change button to change the request i am getting following error
500   Internal Server Error
SAP NetWeaver Application Server 7.00/Java AS 7.00
*Failed to process *
and in trace i got following error
Full Message Text
Exception occured during processing of Web Dynpro application sap.com/ess~tra/AllMyTrips.
The causing exception is nested.
[EXCEPTION]
com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException
at
com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFC
ModelClassExecutable.java:98)
at com.sap.xss.ser.xssmenu.fc.MenuLinks.getServiceLink(MenuLinks.java:232)
at
com.sap.xss.ser.xssmenu.fc.wdp.InternalMenuLinks.getServiceLink(InternalMenuLinks.java:365)
at com.sap.xss.ser.xssmenu.fc.FcXssMenu.getServiceLink(FcXssMenu.java:406)
at
com.sap.xss.ser.xssmenu.fc.wdp.InternalFcXssMenu.getServiceLink(InternalFcXssMenu.java:491)
at
com.sap.xss.ser.xssmenu.fc.FcXssMenuInterface.getServiceLink(FcXssMenuInterface.java:264)
at
com.sap.xss.ser.xssmenu.fc.wdp.InternalFcXssMenuInterface.getServiceLink(InternalFcXssMenuI
nterface.java:429)
at
com.sap.xss.ser.xssmenu.fc.wdp.InternalFcXssMenuInterface$External.getServiceLink(InternalF
cXssMenuInterface.java:586)
at
com.sap.pcuigp.xssutils.navi.FcNavigation.getNavigationTargetServiceWithKey1(FcNavigation.j
ava:524)
at
com.sap.pcuigp.xssutils.navi.wdp.InternalFcNavigation.getNavigationTargetServiceWithKey1(In
ternalFcNavigation.java:390)
at
com.sap.pcuigp.xssutils.navi.FcNavigationInterface.getNavigationTargetServiceWithKey1(FcNav
igationInterface.java:271)
at
com.sap.pcuigp.xssutils.navi.wdp.InternalFcNavigationInterface.getNavigationTargetServiceWi
thKey1(InternalFcNavigationInterface.java:182)
at
com.sap.pcuigp.xssutils.navi.wdp.InternalFcNavigationInterface$External.getNavigationTarget
ServiceWithKey1(InternalFcNavigationInterface.java:314)
at com.sap.xss.tra.fc.utils.FcTraUtils.startApplication(FcTraUtils.java:596)
at
com.sap.xss.tra.fc.utils.wdp.InternalFcTraUtils.startApplication(InternalFcTraUtils.java:32
9)
at
com.sap.xss.tra.fc.utils.FcTraUtilsInterface.startApplication(FcTraUtilsInterface.java:334)
at
com.sap.xss.tra.fc.utils.wdp.InternalFcTraUtilsInterface.startApplication(InternalFcTraUtil
sInterface.java:260)
at
com.sap.xss.tra.fc.utils.wdp.InternalFcTraUtilsInterface$External.startApplication(Internal
FcTraUtilsInterface.java:489)
at
com.sap.xss.tra.vc.allmytrips.VcTraAllMyTrips.tripComponentCreate(VcTraAllMyTrips.java:518)
at
com.sap.xss.tra.vc.allmytrips.wdp.InternalVcTraAllMyTrips.tripComponentCreate(InternalVcTra
AllMyTrips.java:438)
at
com.sap.xss.tra.vc.allmytrips.AllMyTrips.onActionCreateChangeExpRepFromRequest(AllMyTrips.j
ava:444)
at
com.sap.xss.tra.vc.allmytrips.wdp.InternalAllMyTrips.wdInvokeEventHandler(InternalAllMyTrip
s.java:628)
at
com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.
java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at
com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseMo
del.java:420)
at
com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.j
ava:132)
at
com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.jav
a:335)
at
com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at
com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSessio
n.java:319)
at
com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(Clien
tSession.java:733)
at
com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSessi
on.java:668)
at
com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250
at
com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:1
50)
at
com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHa
ndle.java:73)
at
com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionIntern
al(AbstractApplicationProxy.java:860)
at
com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(
LocalApplicationProxy.java:77)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1299)
at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:326)
at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:868)
at
com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseM
odel.java:755)
at
com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel
.java:717)
at
com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.j
ava:136)
at
com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.jav
a:335)
at
com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at
com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSessio
n.java:319)
at
com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(C
lientSession.java:713)
at
com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSessi
on.java:666)
at
com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250
at
com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:1
50)
at
com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.j
ava:62)
at
com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java
:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java
:401)
at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.j
ava:266)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java
:386)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java
:364)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalize
r.java:1039)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.pr
ocess(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFC_Fault_Exception: Fault
name: SERVICEKEY_INVALID, fault text: SERVICEKEY_INVALID
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1275)
at com.sap.aii.proxy.framework.core.JcoMarshaler.unmarshalException(JcoMarshaler.java:429)
at com.sap.aii.proxy.framework.core.JcoProxy.send(JcoProxy.java:78)
at
com.sap.aii.proxy.framework.core.AbstractProxy$JcoProxyHelper.send(AbstractProxy.java:173)
at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:141)
at
com.sap.pcuigp.xssutils.menu.model.MenuLinksModel.hrxss_Ser_Getservicelink(MenuLinksModel.j
ava:237)
at
com.sap.pcuigp.xssutils.menu.model.Hrxss_Ser_Getservicelink_Input.doExecute(Hrxss_Ser_Getse
rvicelink_Input.java:137)
at
com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFC
ModelClassExecutable.java:92)
... 66 more

Hi
Check the return message from bapi,what's it showing??Before executing the bapi,put a breakpoint in r/3 system & check what values r getting passed to bapi..
U can check this in transaction se37,go to ur function module & put external break point over there.
OR
Execute BAPI through SAP GUI. if its execute properly do the following steps.
1. Do you have any mandatory input parameters?.
(check are you setting mandatory input parameters properly)
2. If they changed BAPI structure(data type) after model generation you have to model re-import model again.
Thanks

Similar Messages

  • 'Get All New Data Request by Request' option not working Between DSO n Cube

    Hi BI's..
             Could anyone please tell me why the option ' Get one Request only' and  'Get All New Data Request by Request' is not working in DTP between Standard DSO and InfoCube.
    Scenario:
    I have done the data load by Yearwise say FY 2000 to FY 2009 in Infopackage and load it to Write-optimised DSO (10 requests) and again load Request by request to Standard DSO and activate each request. I have selected the option in DTP's to  'Get All New Data Request by Request' and its working fine between WDSO and SDSO. But not working between Cube and SDSO. While Execute DTP its taking as a single request from SDSO to Cube.( 10 request to single request).
    Regards,
    Sari.

    Hi,
    How does your DTP setting looks like from below options ? It should be change log, assuming you are not deleting change log data.
    Delta Init. Extraction from...
    - Active Table (with archive)
    - Active Table (without archive)
    - Archive ( full extraction only)
    - Change Log
    Also if you want to enable deltas, please do not delete change log. That could create issue while further update from DSO.
    Hope that helps.
    Regards
    Mr Kapadia
    *Assigning points is the way to say thanks*

  • My newly changed apple password is not working on my MacBook to help me change my password to log on?

    I just need help changing my password on my MacBook to log in. But my log in password and newly changed apple password are not working. Can I reset it or change the password another way or get a list of past password to try if those might be what the Mac thinks is my password still?

    You can reset it.
    For Snow Leopard and previous.
    http://support.apple.com/kb/ht1274
    For Lion and later.
    https://discussions.apple.com/docs/DOC-4101

  • How to save bloger password in firefox 3.6.6 ? common ways at internet such as changing nsLoginManager.js is not working because the notepad cant save the new file.

    how to save bloger password in firefox 3.6.6 ?
    common ways at internet such as changing nsLoginManager.js is not working because the notepad cant save the new file.
    == URL of affected sites ==
    http://blogger.com

    Some sites like PayPal, Yahoo, Windows Live and bank sites use ''autocomplete="off"'' to prevent Firefox from saving the name and the password.
    If a site uses ''autocomplete="off"'' then look at this article for a bookmarklet to remove that autocomplete attribute.
    http://kb.mozillazine.org/User_name_and_password_not_remembered (bookmarklet)
    http://kb.mozillazine.org/Password_Manager
    See also http://en.wikipedia.org/wiki/Bookmarklet

  • HT201303 Someone uses my apple ID to purchase, I have changed my password but not work . How can I disassociate my bank account with my APPLE ID?

    Someone uses my apple ID to purchase, I have changed my password but not work . How can I disassociate my bank account with my APPLE ID?

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
     Cheers, Tom

  • SAP JIT Inbound - The external status change you requested is not planned

    Hi All,
    I am getting an error as "The external status change you requested is not planned" while creating JIT call in JIT inbound.
    I have configured actions and external status.
    What would be the problem??
    Help me
    Thanks,
    Anbazhagan

    Hi Lakshmipathi,
    Thanks for your reply.
    I missed out some configuration. Now the issue is solved.
    Thanks,
    Anbazhagan E

  • Appropriation Request Workflow Not Working

    Dear Friends,
    I have been working on Workflow for Approval of Appropriation Request.
    Even after carrying out all the required configuration, the process is not working. Following are the symptoms:
    1) When appropriation request is submitted for Approval, I am maintaining Ser ids of approvers in the Partner field.The moment I set the For Approval status the Approve Button is deactivated.Even when I log in from the Approver's user ID the button is Deactivated. I believe that, it is so because once workflow is active one can not approve in master data transaction, approval has to be done thru workflow only.
    2) When I check the Business Workplace Inboxes of Approvers there are no Workflow related mails.
    3) I have also checked in IMA11 that the Work flow has been created.
    Ne suggestion on the would be of great value.
    Regards,
    Seemant

    I checked all these.
    Still there is no success.
    In the appropriation request I have maintained different users as partners ( excluding myself) partners. As per the Workflow the mail should go to inbox of these users. Work flow is getting activated but still its not geting updated in the inboxes of users.
    Are there any Basis settings that I may be ignoring.
    Also the object type BUS2104 is being used. In forum I have read that this object type is obsolete. May be I can change the object type to BUS2204 ( the new one). If I need to do the same, what are the settings I need to do?
    Regards,
    Seemant
    Edited by: Seemant Parth on Sep 4, 2008 10:44 AM

  • Powershell Name Change with If else not working as expected

    The script we've written below executes the if statement correctly and changes the name properly though the else condition is not working properly.  The example data file we  use for input is shown below and it's name is namechanges.csv
    Test,User,User1,1111,2222,[email protected]
    Test,Smith,User2,2222,3333,[email protected]
    Test,Jones,User3,3333,4444,[email protected]
    Test,Doe,User4,4444,5555,[email protected]
    Test,Example,User5,5555,7777,[email protected]
    The script shown below changes the name in Active Directory, home directory, and Exchange to a unique username and new last name (eg. maiden name needs changed to married name)
    $ADRoot = [ADSI]''
    $ADSearch = New-Object System.DirectoryServices.DirectorySearcher($ADRoot)
    add-PSSnapIn -name Microsoft.Exchange.Management.PowerShell.Admin
    Import-module ActiveDirectory
    Get-Content C:\New_Account\namechanges.csv |
    ForEach {
        $Fname = ($_ -split ',')[0]
        $nLname = ($_ -split ',')[1]
        $lname = ($_ -split ',')[2]
        $NUM = ($_ -split ',')[3]
        $ID = ($_ -split ',')[4]
        $requestor = ($_ -split ',')[5]
     $Counter = 0
    $Emp = Get-aduser -Filter {(employeeID -eq $ID)-and (EmployeeNumber -eq $NUM)}
    $SamAccount = (get-aduser -Filter {employeeID -eq $ID }).SamAccountName
    $SamAccount
    $FNAME = (get-aduser -Filter {employeeID -eq $ID }).GivenName
    $FNAME
    $LNAME = (get-aduser -Filter {employeeID -eq $ID }).Surname
    $LNAME
    $UserPrincipalName = (get-aduser -Filter {employeeID -eq $ID }).UserPrincipalName
    $UserPrincipalName
    Start-Sleep 2
    Set-ADUser $SamAccount -surname $nlname -DisplayName $FNAME" "$nlname
    Start-Sleep 2
    if ($Emp -ne $null)
          $Counter = 1
       $Counter
          Do
         $F = $Fname.remove($Counter)
         $newusername = $F + $nLname
         $ADSearch.Filter = "(&(objectClass=user)(sAMAccountName=$newusername))"
         $Result = $ADSearch.FindAll()
         $t = $result.Count          
                   if ($t -lt 1)
          $FoundUniqueUserName = $True
             Else
          $Counter = $Counter + 1
          $FoundUniqueUserName = $False
       While ($FoundUniqueUserName -eq $False)  
       $newusername 
    Start-Sleep 2
    rename-adobject -identity ((get-aduser $Emp).ObjectGUID) -NewName "$Fname $nLname"
    Start-Sleep 2
    Rename-Item \\secret.com\share\home\$SamAccount $newusername
    Start-Sleep 2
    Set-ADUser $SamAccount -surname $nlname -DisplayName $Fname" "$nlname
    Start-Sleep 2
    $newUPN = $newusername + "@secret.com"
    Start-Sleep 2
    Set-ADUser $SamAccount -SamAccountName $newusername -UserPrincipalName $newUPN
    Start-Sleep 5
    $Mailbox = Get-Mailbox -Identity $SamAccount
    $SMTPAddress = $Mailbox.PrimarySmtpAddress
    $Domain = $SMTPAddress.Domain
    Start-Sleep 5
    $emailaddress = "$newusername@$Domain"
    Start-Sleep 5
    Set-Mailbox $SamAccount -EmailAddressPolicyEnabled:$False -PrimarySmtpAddress $emailaddress -Alias $newusername
    Start-Sleep 5
    Set-Mailbox $emailaddress -EmailAddressPolicyEnabled:$true
    Start-Sleep 5
         $smtpServer = "mail.secret.com"
         $msg = new-object Net.Mail.MailMessage
         $smtp = new-object Net.Mail.SmtpClient($smtpServer)
         $msg.From = "[email protected]"
         $msg.To.Add($requestor)
         $msg.subject = "A name change request for $FNAME $LNAME was succesfull"
         $msg.body = "A name change request for $FNAME $LNAME was succesfull"
         $smtp.Send($msg)  
    Start-Sleep 8
    Else
         $smtpServer = "mail.secret.com"
         $msg = new-object Net.Mail.MailMessage
         $smtp = new-object Net.Mail.SmtpClient($smtpServer)
         $msg.From = "[email protected]"
         $msg.To.Add($requestor)
         $msg.subject = "A Name change request was received but the script failed to make the change."
         $msg.body = "A name change request for $FNAME $LNAME was requested with the employee id and number of $ID and $NUM. The request was not succesfull"
         $smtp.Send($msg)   
    Out-File C:\New_Account\name_change_log.txt -InputObject "At $([datetime]::now) there was a name change request for $Fname $lname-$nLname with ID of $ID and number of $NUM." -Append
    Start-Sleep 5
    #Remove-Item C:\New_Account\namechanges.csv
    Else {
    "Something went wrong"
    Can someone take a look at the code and see where I went wrong with the else statement?  Let's say hypothetically Test Smith is a common name and already exists in Active Directory in the same OU we attempt to make the username unique however if that
    fails I would like to receive the email and  update the name change in some other way.

    Well the code you presented has two issues that I can see
    You have the following
    While ($FoundUniqueUserName -eq $False)
    $newusername
    Start-Sleep 2
    rename-adobject -identity ((get-aduser $Emp).ObjectGUID) -NewName "$Fname $nLname"
    Start-Sleep 2
    Rename-Item \\secret.com\share\home\$SamAccount $newusername
    Start-Sleep 2
    Set-ADUser $SamAccount -surname $nlname -DisplayName $Fname" "$nlname
    Start-Sleep 2
    $newUPN = $newusername + "@secret.com"
    Start-Sleep 2
    Set-ADUser $SamAccount -SamAccountName $newusername -UserPrincipalName $newUPN
    Start-Sleep 5
    $Mailbox = Get-Mailbox -Identity $SamAccount
    $SMTPAddress = $Mailbox.PrimarySmtpAddress
    $Domain = $SMTPAddress.Domain
    Start-Sleep 5
    $emailaddress = "$newusername@$Domain"
    Start-Sleep 5
    Set-Mailbox $SamAccount -EmailAddressPolicyEnabled:$False -PrimarySmtpAddress $emailaddress -Alias $newusername
    Start-Sleep 5
    Set-Mailbox $emailaddress -EmailAddressPolicyEnabled:$true
    Start-Sleep 5
    $smtpServer = "mail.secret.com"
    $msg = new-object Net.Mail.MailMessage
    $smtp = new-object Net.Mail.SmtpClient($smtpServer)
    $msg.From = "[email protected]"
    $msg.To.Add($requestor)
    $msg.subject = "A name change request for $FNAME $LNAME was succesfull"
    $msg.body = "A name change request for $FNAME $LNAME was succesfull"
    $smtp.Send($msg)
    Start-Sleep 8
    Which has no open and closing brackets for the while loop, then at the end of the script you have
    #Remove-Item C:\New_Account\namechanges.csv
    Else
    "Something went wrong"
    That else has no opening If statement.....I would fix these issues first, straighten your code out a bit and see if it works then, as the no opening and closing brackets on the While loop and the extra else statement, may be giving you some issues.
    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
    Don't Retire Technet

  • Change of Status is not working in WebUI

    Hello All,
    Iam facing a problem in changing the status of the item in web UI requirement as follows.
    We need to set the item status from the To be Closed to Close.The status To be closed is set by an contract processor and schedules the Action .i.e Close item Once the contract approver execuets the action.It need to be change to Closed and the item end date need to be set to the date when the Action is execueted
    I have done my coding in the Execute method for the action Close item by using the FM CRM_ORDER_MAINTAIN
    to change the item enddate and CRM_STATUS_CHANGE_EXTERN to change the Status to Closed and the Commit Work .My code is working fine in GUI but this is not working in WebUI . I can only see it when i execute the action go to the edit mode.
    Can any one help me out in this regards.
    Thanks in Advance.
    Regards,
    Kiran Posanapalli.
    Edited by: posanapalli kiran on Feb 15, 2010 7:16 PM

    Hi Kiran,
    we're having the same issue that an opportunity is updated in the normal Gui but not in the WebUI when using FM CRM_ORDER_MAINTAIN.
    What coding did you use for fixing this?
    Kind regards,
    Roy Willems

  • Auto-Submit On Change in DropDown List not working properly!

    Hi all,
    I�ve got a problem with a drop down list an a table with some rows on my page. The property "Auto-Submit on Change" is set for the drop down because the valueChange-method has to do some work when the user selects another value from the drop down.
    The problem is that after selecting another item from the drop down, the table fields don�t keep their values, which I had entered before I selected another item in the drop down. But: When I select an item again, suddenly exactly these values are set.
    Here my code:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <ui:page binding="#{Page1.page1}" id="page1">
    <ui:html binding="#{Page1.html1}" id="html1">
    <ui:head binding="#{Page1.head1}" id="head1">
    <ui:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
    </ui:head>
    <ui:body binding="#{Page1.body1}" id="body1" style="-rave-layout: grid">
    <ui:form binding="#{Page1.form1}" id="form1">
    <ui:table binding="#{Page1.table1}" id="table1" style="height: 488px; left: 24px; top: 120px; position: absolute; width: 1376px"
    title="Table" width="1376">
    <ui:tableRowGroup binding="#{Page1.tableRowGroup1}" id="tableRowGroup1" rows="10" sourceData="#{SessionBean1.columnProvider}" sourceVar="currentRow">
    <ui:tableColumn binding="#{Page1.tableColumn1}" headerText="field1" id="tableColumn1" sort="field1">
    <ui:textField binding="#{Page1.textField1}" id="textField1" text="#{currentRow.value['field1']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn2}" headerText="field2" id="tableColumn2" sort="field2">
    <ui:textField binding="#{Page1.textField2}" id="textField2" text="#{currentRow.value['field2']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn3}" headerText="field3" id="tableColumn3" sort="field3">
    <ui:textField binding="#{Page1.textField3}" id="textField3" text="#{currentRow.value['field3']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn4}" headerText="field4" id="tableColumn4" sort="field4">
    <ui:textField binding="#{Page1.textField4}" id="textField4" text="#{currentRow.value['field4']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn5}" headerText="field5" id="tableColumn5" sort="field5">
    <ui:textField binding="#{Page1.textField5}" id="textField5" text="#{currentRow.value['field5']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn6}" headerText="field6" id="tableColumn6" sort="field6">
    <ui:textField binding="#{Page1.textField6}" id="textField6" text="#{currentRow.value['field6']}"/>
    </ui:tableColumn>
    </ui:tableRowGroup>
    </ui:table>
    <ui:dropDown binding="#{Page1.dropDown1}" id="dropDown1" items="#{Page1.dropDown1DefaultOptions.options}"
    onChange="common_timeoutSubmitForm(this.form, 'dropDown1');"
    style="position: absolute; left: 48px; top: 24px; width: 240px; height: 24px" valueChangeListener="#{Page1.dropDown1_processValueChange}"/>
    </ui:form>
    </ui:body>
    </ui:html>
    </ui:page>
    </f:view>
    </jsp:root>
    and the code of the valueChange-Method:
    public void dropDown1_processValueChange(ValueChangeEvent event) {
    getSessionBean1().getColumnProvider().commitChanges();
    List positions = getSessionBean1().getColumnProvider().getColumnList();
    Is there some explanation for this behavior or it�s really a bug in the way how the drop down is submitting the form? I would understand it when commitChanges is not working here because of auto submit on change (==immediate?). but once it works und once it doesn�t work!

    Hi There,
    Not sure what you mean. Have you tried Netbeans 6 yet. Do you see same behaviour in it as well?
    This might be of help to you
    http://www.netbeans.org/kb/55/dropdowncomp.html
    Thanks
    K

  • Illustrator CC Type "Change Case" keyboard shortcut not working

    In Illustrator CS6 I established a keyboard shortcut of Alt+Shift+Ctrl+= to the command Type-->Change Case-->UPPERCASE (and Alt+Shift+Ctrl+- to Type-->Change Case-->Title Case). In Illustrator CC, these two keyboard shortcuts are not working. They are displaying in the Type menu correctly, and the menu commands themselves work correctly, but the shortcuts do not work. Any ideas?

    Well, as I stated, the = worked fine in CS6 on Windows. I just tried to changing it to Alt+Shift+Ctrl+U and that one does work correctly. I would prefer that Adobe minimizes functionality regressions in new releases, even if there are conceivably workarounds that I could employ.
    Would somebody be willing to try Alt+Shift+Ctrl+= on a PC and see if they can get it to work on their system?

  • Equipmen dismantle, change plant, install does not work

    Hello experts,
    I have developed a function module which should execute the following steps:
    - dismantle an equipment from a functional location
    - change the plant of the equipment
    - install the equipment into a new functional location
    I therefor tried to use these three existing function modules:
    - Dismantle -> EQUIPMENT_DISMANTLE
    - Change Plant -> BAPI_EQUI_CHANGE
    - Install -> EQUIPMENT_INSTALL
    Now the problem occurs that the call of the BAPI_EQUI_CHANGE does not execute a commit so the changes are not directly written to the database and the following call of EQUIPMENT_INSTALL is not able to install the equipment into the new functional location.
    I tried to execute a BAPI_TRANSACTION_COMMIT after the BAPI_EQUI_CHANGE but still it does not work. In my dev system I can insert a "WAIT UP TO 1 SECONDS." call which work but this does not work in the testing env. Also this is a very bad approach.
    The curious thing is that everytime I debug my FM everything is working fine. So I bet there is a problem in the direct following call after the BAPI_EQUI_CHANGE and EQIPMENT_INSTALL.
    Here are the relevant calls:
    CALL FUNCTION 'EQUIPMENT_DISMANTLE'
        EXPORTING
    *     READ_SOBJ             = 'X'
    *     READ_ROBJ             = 'X'
    *     LOCK_SOBJ             = 'X'
    *     I_DATE                = SY-DATUM
    *     I_TIME                = SY-UZEIT
          i_inherit_flags       = p_i_inheritance_flags
          old_sequi             = p_i_ls_equi
    *     EXEC_MEAS             = ' '
          transmit_new          = 'X'
          direct_new            = 'X'
          commit_new            = 'S'
        CHANGING
          s_equi                = p_i_ls_equi
    *     R_EQUI                =
    *     R_IFLO                =
        EXCEPTIONS
          err_dismantle         = 1
          OTHERS                = 2
      p_rc = sy-subrc.
      IF sy-subrc NE 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait   = 'X'
          IMPORTING
            return = bapiret2.
      ENDIF.
      itob-maintplant   = p_target_swerk.
      itob-planplant    = p_target_iwerk.
      itobx-maintplant  = 'X'.
      itobx-planplant   = 'X'.
      CALL FUNCTION 'BAPI_EQUI_CHANGE'
        EXPORTING
          equipment               = p_ls_equi-equnr
          data_general            = itob
          data_generalx           = itobx
          data_specific           = itob_eq
          data_specificx          = itob_eqx
    *     VALID_DATE              = SY-DATUM
    *     VALID_TIME              = SY-UZEIT
        IMPORTING
    *     DATA_GENERAL_EXP        =
    *     DATA_SPECIFIC_EXP       =
          return                  = bapiret2
      IF bapiret2 IS INITIAL.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait   = 'X'
          IMPORTING
            return = bapiret2.
      ENDIF.
      CALL FUNCTION 'EQUIPMENT_INSTALL'
        EXPORTING
          read_sobj             = 'X'
    *     READ_ROBJ             = 'X'
    *     LOCK_SOBJ             = 'X'
    *     POSEQUI               =
    *     I_DATE                = SY-DATUM
    *     I_TIME                = SY-UZEIT
          i_inherit_flags       = p_i_inheritance_flags
    *     OLD_SEQUI             =
    *     EXEC_MEAS             = ' '
    *     CALL_EXIT             = ' '
    *     CHECK_NEW             = 'X'
          transmit_new          = 'X'
          direct_new            = ' '
          commit_new            = 'X'
        CHANGING
          s_equi                = p_ls_equi
          r_equi                = p_ls_equi_target
          r_iflo                = s_iflo
        EXCEPTIONS
          err_install           = 1
          OTHERS                = 2
    How can I enable this inside one function module?
    Please, any hints are welcome!
    Regards,
    Andreas

    So, what I have done now is the following:
    IF bapiret2-type EQ 'S'.
        COMMIT WORK AND WAIT.
    *   now check if changes are written to db
        DO.
          l_iwerk = 0.
          " get the latest item entry
          SELECT SINGLE iwerk FROM equz
            INTO l_iwerk
            WHERE equnr EQ p_ls_equi-equnr AND
                  datbi EQ '99991231'.
          IF l_iwerk EQ equitime-planplant.
            p_rc = 0.
            EXIT.                 " data written to db -> exit
          ELSE.
            WAIT UP TO 2 SECONDS. " wait and check in next loop
          ENDIF.
          IF sy-index EQ 10.
            p_rc = 1.             " set returncode to 1
            EXIT.                 " after 10 times -> exit
          ENDIF.
        ENDDO.
      ENDIF.
    This code checks if the respective entry in the db is already written and if not retry to read it with a delay of 2 seconds.
    Looks a little bit ugly but does the job.
    If anyone could get me to a "better" solution I would be happy to hear!

  • Prepare a binder for the service requests is not working

    Hi all I did migration from stellet 7.5 tp oracle cs 10gr3 but my component is not working well the problem is in getEnvironment I think can any body help
    thanks
    here is the code how can i fix it
    // prepare a binder for the service requests
    DataBinder serviceBinder = new DataBinder();
    serviceBinder.setEnvironment(SharedObjects.getEnvironment());

    What is Oracle CS 10gR3? Is this an E-business component? In that case this is not the appropriate forum...

  • Battery changed,but click wheel not working again

    i was changed the new battery for my ipod mini 4G 1 st gen, however the click wheel not working again. the ipod is chargeble, and can lock and unlock, but when the switch turn back to unlock, the ipod is restarting. does anyone who knows what problem i have, and how to fix it? thank you so much
    dell   Windows XP  

    very likely it is a hardware issue, if after restore to factory setting does not solve.
    it could be caused by poor contact or the faulty click wheel of the iPod, just like mine

  • Code to change JTable cell color not working

    My code below is supposed to change the color
    of a single JTable cell however its not working.
    Could anyone please tell me why?
    Here's the code:
    import java.awt.*;
    import javax.swing.table.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class ColorTable extends JTable {
    public ColorTable() {
    AbstractTableModel tableModel = new AbstractTableModel() {
    public Class getColumnClass(int column) { return Integer.class; }
    public int getColumnCount() { return 6; }
    public int getRowCount() { return 10;}
    public Object getValueAt(int row,int col) { return new Integer(row * col); }
    setModel(tableModel);
    setDefaultRenderer(Integer.class,new ColorRenderer(Color.cyan));
    this.setRowSelectionAllowed(false);
    this.setCellSelectionEnabled(true);
    addMouseListener(new MouseAdapter() {
    private ColorRenderer renderer;
    private JColorChooser chooser = new JColorChooser();
    public void mousePressed(MouseEvent e) {
    if(e.getModifiers() == MouseEvent.BUTTON3_MASK) {
    System.out.print("rowAtPoint(e.getPoint())=" +rowAtPoint(e.getPoint()));
    System.out.print( "columnAtPoint(e.getPoint()))=" + columnAtPoint(e.getPoint()));
    renderer = (ColorRenderer)getCellRenderer(rowAtPoint(e.getPoint()), columnAtPoint(e.getPoint()));
    // chooser.setColor(renderer.getColor());
    renderer.setColor(chooser.showDialog((Component)e.getSource(),"Choose Cell Color",chooser.getColor()));
    class ColorRenderer extends DefaultTableCellRenderer {
    private Color cellColor;
    public ColorRenderer(Color color) { cellColor = color; }
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
    System.out.print("row= " + row + "\n");
    System.out.print("column= " + column + "\n");
    System.out.print("OBJECT VALUE=" + value.toString());
    //Component comp = super.getTableCellRendererComponent(table,value,isSelected,hasFocus,row,column);
    super.getTableCellRendererComponent(table,value,isSelected,hasFocus,row,column);
    if (isSelected) {
    setOpaque(true);
    setBackground(cellColor);
    else {
    setBackground(Color.white);
    setForeground(Color.black);
    return this;
    public void setColor(Color color)
    cellColor = color;
    ColorTable.this.repaint();
    public Color getColor() { return cellColor; }
    public static void main(String[] args) {
    JFrame frame = new JFrame();
    JPanel panel = new JPanel();
    ColorTable table = new ColorTable();
    panel.add(table);
    frame.getContentPane().add(panel);
    frame.setSize(500,250);
    frame.setVisible(true);

    My code below is supposed to change the color
    of a single JTable cell however its not working.
    Could anyone please tell me why?
    Here's the code:
    import java.awt.*;
    import javax.swing.table.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class ColorTable extends JTable {
    public ColorTable() {
    AbstractTableModel tableModel = new AbstractTableModel() {
    public Class getColumnClass(int column) { return Integer.class; }
    public int getColumnCount() { return 6; }
    public int getRowCount() { return 10;}
    public Object getValueAt(int row,int col) { return new Integer(row * col); }
    setModel(tableModel);
    setDefaultRenderer(Integer.class,new ColorRenderer(Color.cyan));
    this.setRowSelectionAllowed(false);
    this.setCellSelectionEnabled(true);
    addMouseListener(new MouseAdapter() {
    private ColorRenderer renderer;
    private JColorChooser chooser = new JColorChooser();
    public void mousePressed(MouseEvent e) {
    if(e.getModifiers() == MouseEvent.BUTTON3_MASK) {
    System.out.print("rowAtPoint(e.getPoint())=" +rowAtPoint(e.getPoint()));
    System.out.print( "columnAtPoint(e.getPoint()))=" + columnAtPoint(e.getPoint()));
    renderer = (ColorRenderer)getCellRenderer(rowAtPoint(e.getPoint()), columnAtPoint(e.getPoint()));
    // chooser.setColor(renderer.getColor());
    renderer.setColor(chooser.showDialog((Component)e.getSource(),"Choose Cell Color",chooser.getColor()));
    class ColorRenderer extends DefaultTableCellRenderer {
    private Color cellColor;
    public ColorRenderer(Color color) { cellColor = color; }
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
    System.out.print("row= " + row + "\n");
    System.out.print("column= " + column + "\n");
    System.out.print("OBJECT VALUE=" + value.toString());
    //Component comp = super.getTableCellRendererComponent(table,value,isSelected,hasFocus,row,column);
    super.getTableCellRendererComponent(table,value,isSelected,hasFocus,row,column);
    if (isSelected) {
    setOpaque(true);
    setBackground(cellColor);
    else {
    setBackground(Color.white);
    setForeground(Color.black);
    return this;
    public void setColor(Color color)
    cellColor = color;
    ColorTable.this.repaint();
    public Color getColor() { return cellColor; }
    public static void main(String[] args) {
    JFrame frame = new JFrame();
    JPanel panel = new JPanel();
    ColorTable table = new ColorTable();
    panel.add(table);
    frame.getContentPane().add(panel);
    frame.setSize(500,250);
    frame.setVisible(true);

Maybe you are looking for

  • Cluster in a dialog box

    Hi, I am creating an application for a user to enter configuration data for running a test. I would like to have the user click on items on tree, and a dialog will pops up with a cluster control. Once they change settings in the cluster control and p

  • "Connection Failed"

    Previously, I had been having trouble setting up file sharing between my old Mac Pro (snow leopard) and my "new" MacBook Pro (Yosemite). I finally got it set to work somewhat. Until this morning, I was able to connect on the MacBook as a guest, altho

  • Saving contact information

    I just upgraded to the iphone 6. When I add a new contact it will appear and be saved. Once I go and add another contact, my previous contact is deleted. I also seem to be having this problem on the calendar. On certain dates when I add an event it w

  • Superstition Win7 x64 has stopped working

    In continuation of this thread on the beta forums: http://forums.adobe.com/message/4374218 This morning I tried to launch CS6 beta by double-clicking a Photoshop file (this is a file that was saved with CS5) and I'm again greeted with the Adoboe Phot

  • Photoshop CS6 Interface Background panel

    Hi  In CS5 I have the interface set up so that the  windows dock  but when there are no windows open  you can see the desktop. In CS6 there is this big ugly black panel on show all the time  Have tried to compare the setting  but cannot see any optio