cancel
Showing results for 
Search instead for 
Did you mean: 

model object is not getting executed

Former Member
0 Kudos

hi,

I have created a model and iam getting values from back end using RFC.The values are not retrieved in front end and found that my model object is not getting executed.how to rectify this problem.please help me out.

regards

Sharanya.R

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please psot your code for analysing, and also check whether it conforms to following coding:

// Create a new instance of the Bapi_Flight_Getlist_Input model object

bapiInput =Bapi_Flight_Getlist_Input();

// Create the structured input parameters required for this RFM

Bapisfldst destTo = new Bapisfldst();

Bapi_Flight_Getlist_Input bapiInput;

Bapisfldst destFrom = new Bapisfldst();

// Add the DESTINATION_TO and DESTINATION_FROM parameter objects to the

// model object representing the input side of the BAPI interface

bapiInput.setDestination_To(destTo);

bapiInput.setDestination_From(destFrom);

// Bind the model object instance to context model node

wdContext.nodeBapi_Flight_Getlist_Input().bind(bapiInput);

bapiInput.execute();

// If the execution is successful, then invalidate

// the corresponding output node

wdContext.nodeOutput().invalidate();

Former Member
0 Kudos

hai gangadharaya,

As the jco settings in sld was not working properly and the admin password expired i was having that problem.Thanks anyway

regards

Sharanya.R