on 09-06-2007 11:18 PM
I am trying to read the model data. There are two import parameters in the BAPI to search the record.
I have set them in my wdDoInt() (and tried also in onActionSearch)
but the modelObject().execute statement in OnActionSearch is not getting recoginized. It has invalid syntax red wiggly line under it.
When I hover over it it says "unhandled WDDynamicRFCExecuteException". The intellisense is finding all objects.
<b>wdContext.currentZ_Opts_Masterdata_Details_InputElement().modelObject().execute();</b>
wdContext.nodeOutput().invalidate();
Why is it not recognizing the objects.
Thanks
try
{
wdContext.currentZ_Opts_Masterdata_Details_InputElement().modelObject().execute();
wdContext.nodeOutput().invalidate();
}
catch(WDDynamicRFCExecuteException e)
{
//report exception using message manager
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Maksim.
The unhandled error makes sense now.
I did not realize you have to use try catch block for that to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.