on 05-04-2007 11:33 AM
Hi All,
I am using DropdownbyIndex UI element in my application. I am getting values from backend. And i write to action OnSelect.
public void onActionOnSelectUser(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionOnSelectUser(ServerEvent)
wdContext.current__Arch__Arm_Project_Edit_InputElement().setIm_Project_Assignedto(wdContext.currentEx_User_ListElement().getUsername());
//@@end
}
Here i am using two different context elements. I am getting data from one context and assigning to another. My problem is here it is not updating values in backend.
Any Idea?
Thankx
Regards
RG
Ravi,
If the code is not giving any exception, then check you are executing model after putting input value in it.
i.e after this action you should execute model to store this value in backend
also using external debugging check if r3 is getting values or not(if you are exectuing model after setting its input value)
:(for external debugging goto transaction code se37, open your bapi->goto Utilities->Setting->Debugging->Here check if "Act" check box is activated or not), then put a break point in code and run application from WD.
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai,
public void onActionOnSelectUser(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionOnSelectUser(ServerEvent)
wdContext.current__Arch__Arm_Project_Edit_InputElement().setIm_Project_Assignedto(wdContext.currentEx_User_ListElement().getUsername());
<b>wdContext.current__Arch__Arm_Project_Edit_InputElement()..modelObject().exceute();</b>
//@@end
}
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
Check weather are you able to update data in R/3. Are you executing the RFC after setting the value???
Regards,
Jhansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.