Skip to Content
author's profile photo Former Member
Former Member

model object is not getting executed

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 05:10 AM

    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();

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.