Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Syntax error getting data from R3 BAPI

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

Former Member
replied
try
{
wdContext.currentZ_Opts_Masterdata_Details_InputElement().modelObject().execute();
 
wdContext.nodeOutput().invalidate();
}
catch(WDDynamicRFCExecuteException e)
{
//report exception using message manager
}
0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question