RFC output node always empty

Hi Experts,
I created a web dynpro program and i've verified that the data i'm passing as input to the RFC is correct. however, no matter what input to the RFC though, the output node is always empty. What could I be missing that would cause the output node to be empty?
Cheers,
Alfonso

hi
  have you checked  in the backend by passing same input to the RFC  and is the RFC
  giving you the data in the output node. , check the mandatory parameters in the RFC
  and you can even ask your ABAPer to give the TEST data to pass to the RFC from the
  webdynpro .
try to hard code the data with data taken from abaper and check whether RFC is giving you the
data ,  even try to debug the application , provide a external debugging in the RFC and
and perform external debugging and check the data getting passed to all the mandatory parameter
and the output node .

Similar Messages

  • Output node empty for all new wdj apps

    Hi experts!!
    I am facing a weird problem.
    For some time now i 've been working on a project entirely made of WDJ apps with RFCs.
    Suddenly all of my new RFC output nodes  come empty. The apps already uploaded to the portal with iviews work just fine.
    What could be the problem??
    Any ideas??
    I ve checked all my context mappings, redid my JCos tested them and re-ran them.
    Thank u in advance!!!

    Could be many things,
    Maybe you didn´t bind the model to the node when executing the RFC
    Maybe the nodes aren´t linked through to the view.
    Are the RFCs working correctly in backend?
    And lastly: Are you sure the user has the correct authorizations? Check with SAP R/3 transaction ST01 (Run ST01, set the things you want to check (authorizations, RFC calls), turn on trace, run the webdynpro, end the trace, and to review) ==> Best to ask the help of someone knowledgeable in authorizations)
    Jeschael
    Edited by: J.V. Lebbink on Nov 16, 2008 10:27 AM

  • Re: output node of RFC not populated in WebDynpro

    Hi ,
    I m using RFC model in WebDynpro Applicaiton. Its having 2 inputs and two subnodes(each for one input) under output node of RFC. After executing model values are getting populated only in one of the node.what can be problem??
    Regards
    Kavita

    Hi Kavita,
                are you using bind table to bind values to the node from itab. if its so.. the type (or name) of the attributes of the node and fileds of the itab should be same, else it wont get binded. Attributes of your first node might be same as that of the itab you are trying to bind.
    it it doest solve your proble. loop the iteb and try binding to the node element by element.
    Regards
    Sarath
    Edited by: Sarath Satheesan on Jan 18, 2008 11:29 AM

  • Output node of RFC not populated in WebDynpro

    Hi ,
             I m using RFC model in WebDynpro Applicaiton. Its having 2 inputs and two subnodes(each for one input) under output node of RFC. After executing model values are getting populated only in one of the node.what can be problem??
    Regards
    Kavita

    Hi,
    Check st22 transcation in R/3 as well, whether RFC is throwing dump?
    If not the case, the only way is to debug,
    1) Go to rfc by using se37
    2) in Menu, settings, set external break point for user against whose id jco conncetions are set up.
    3)and debug

  • Issue in invalidating the model output node

    Hi All,
    I have a problem in invalidating the model output node. Below is the description of my approach and problem statement.
    REQUIREMENT: We have had the requirement to develop a custom WD java application in MSS which will fetch the appraisal data for each employee selection.
    APPROACH: To acheive the same, I have developed the custom WD java application and have associated it with the Standard Employee Search application. I have established the eventing between both the applications, such that on each employee selection in Employee Search, I get the PERNR for the selected employee.
                         I have mapped a local valude node to the UI elements of my custom application. I am having TWO RFCs; one to Read data based on PERNR and the other to Update/Save to R/3.
                         I read the RFC based on PERNR and save it to local value node which is binded to the UI elements. If the end user is editing the read data, I am passing the entire local value node to the Save RFC import parameter on click of Save button in my application.
                         Every thing is working as expected. I am able to Read and Save the data and its also updating the backend. But, in the same session, if I go back to the previously selected employee for whom the updation has happened, i am not able to see the new data.
                         Only when I refresh the session, I see the new data on employee selection. When I try to invalidate the Read Output Model node, on Save button, I do not see anything happening. The Read Output Model node always holds the old value.
                         I have currently binded the Read model output node to a table in the view to see what it holds in runtime. And what I see is , its always having the old record for the same employee, in the same session even after invalidating the same on Save button.
    I request you all to pleae try to understand the issue and let me know as how to get the new values in the same session.
    Regards
    DK

    Hi,
    When you are executing the read rfc ?? At the time of executing the read rfc try to bind the new object every time you execute and see what happens.
    Like..
    wdContext.node<READ_RFC_NODE>().bind(OBJECT of READ RFC);
    then execute it.
    Is there some kind of table which shows the employees and on selection you are showing the data? Can you give some more input on how you are reading the data?
    Best Wishes
    Idhaya R

  • XMLP5.6.2 - template LOV under Layout definition is always empty !

    hi,
    I installed XML Publisher 5.6.2 + XML Publisher destop.
    I created a RTF template with MS WORD.
    I try to create a new Report (following the differents steps described by User Guide). Under Layout node, I uploaded the RTF template I created with MS WORD then I tried to create a new layout. But, the LOV "General setting -> template" is always empty !!
    I don't understand what I did wrong.
    This is my very first use of XML Publisher. I have to evaluate the possibility of the product for one of my client.
    Can you help me?
    Thanks in advance,
    Cyryl

    SOLVED - it's my mistake.
    I did not have undertstand that I had to create the RTF template BEFORE the report !
    Cyryl

  • Java.lang.NullPointerException in RFC model node

    Hi All,
    I am calling one of RFC from CRM system but getting some NullPointerException in model node.
    Details:
    1. creating input node
    2. pass parameter and bind input node
    3. execute node
    4. invalidate output node
    I am getting this exception when I accessing attributes from output node.
    Why my output node is not invalidated / refresh.
    Please solve this problem.
    Thanks,
    Krishna.

    Hi Krishna,
    Before every BAPI call are you resetting the input param values if any??
    Pls Verify this.
    -Ashwini.

  • Binding input and Output node elements

    Hi all,
    Binding Input and Output nodes of a model node.
    Most of the time, we create a object of the input model node and then,
    bind that object with wdContext.
    Do we need to bind output node objects too in RFC Models?
    Regards
    Neha Singh

    Hi Neha,
    There is no need to create/bind the model node. you can execute a bapi using classes.
    To execute a bapi, you should do the following things.
    1. Import the RFC and create the model.
    2. Create an object of the input class of the bapi
    e.g. :
    Zbapi_Test_Input  commision_Input = new Zbapi_Testn_Input();
    3. Set the input
    commision_Input.setSpart(division);
    4. execute the bapi
    commision_Input.execute();
    5. Disconnect the model
    commision_Input.modelInstance().disconnectIfAlive();
    6. Get the output. Create an object for output class
    Zbapi_Test_Output output = commision_Input.getOutput();
    String commission = output.getCommision();
    Hope this helps you.

  • Invalidate on output node

    Hi guys,
    I try to delete all data from my table using the method invalidate on the output node.
    Nothing happens. If I do the same for the root node then all data get deleted as expected.
    My question: why does output node stay the same after applying invalide()?
    What is the source code for invalidate()?
    What does 'validate()'  do?
    By the way, to clean my table I just used  'removeElement()' on the root node.
    and then initialized my Bapi object
    thank you for your help, as always.
    Regards
    yuval

    Hi Yuval,
    Invalidate works in two different ways:
    1) In case of Model Node: It will reinitialize it to the initial data of the modeled node. It will not delete the data instead it will take it back to the initial state in whichmodel was execuated and it has some values.
    2) In case of Value Node. It will again reinitialize the data. However there was no data in the value node initially therefore it behaves as the delete functionality for the value node.
    Have a llok to the Java Doc as well:
       * With this method the node will be invalidated. It clears its element list
       * and calls the supply function again when asked for an element. A mapped
       * node passes this request to its origin and thus invalidates this one.
       * <p>
       * <b>Warning:</b> This method is not allowed within a supply function.
       * @throws WDRuntimeException when called from within a supply function.
    You can directly use node.invalidate() to remove the elements of the table if the node binded to the table is the value node. Reason is explained above.
    I hope this cleas the issue. If you have any further issues kindly revert back.
    Thanks nad Regards,
    Pravesh

  • Invalidate Model Output Node

    Hi,
      Soon after I execute the model in RFC, my Output nodes should get populated with values  returned from RFC. What would happen if I issue an Invalidate command on this Output model node right after the execute command.
    Will I still be able to access this Output model node ?
    Gandolf.

    Hi
    If you do not want to access the output model node
    inavalidate the context node of table first view table in the on action back of the second view
    something like this
    wdcontext.node<name of table node>().invalidate().
    so that it will refresh the table and get the current data.
    Or you can also Close all RFC connections using the Method - disconnectIfAlive of the Model Object.
    Or check the follwing URL may give you some information
    Error using Adaptive RFC model.
    Regards
    Abhijith YS

  • Apple told me that my iPhone 4 does not have the possibility to store sent e-mails. I can not believe that, but my iPhone has a box for sent mails that is always empty. How can my iPhone store sent e-mails?

    The Apple helpdesk told me that my iPhone 4 does not have the function to keep sent mails stored. I cannot believe that. My iPhone 4 has a Sent box, I have checked the Sent box in Configuratieo--> E-mail, ...Calender..,but the Sent box is always empty after I have sent an E-mail. I know that the E-mails arrive at their destinations. How can I activate the Sent box?

    lol the person you talked to at Apple was not very bright.
    Of course you can have sent items in your mail on the iPhone 4. I have mine there all the time.
    Sounds like you might have issues with the software.
    I recommend trying a reset, send email and see if that goes to the sent items directory
    If not do a restore.
    #1: Reset: http://support.apple.com/kb/HT1430
    #2: Restore: http://support.apple.com/kb/HT1414

  • Creative Cloud is always empty and I cannot update LR and PS and cannot open RAW files from my new camera!

    My Creative Cloud is always empty.  I've had this trouble for over a year.  I cannot update Lightroom because of it and Photoshop does not update properly.  I cannot open the RAW files from my new camera, a Nikon D750.  Each time I want to update, I have to talk to you and delete things and reinstall things but it doesn't fix it properly!
    I have contacted Adobe before and always have to go through a tedious delete stuff and reinstall, then next time it happens all over again.
    I'm really fed up with it and want to know how to fix it properly.  I am in the UK, if that makes any difference.

    This is an open forum with a mix of program users and Adobe staff, not Adobe support... you need Adobe support
    Adobe contact information - http://helpx.adobe.com/contact.html may help
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • Table error - Context Path Cannot Be Resolved (Last Node Is Empty)

    Hi All,
    I am dynamically building up a context node called PoList which is used to hold the contents of a table.
    My BAPI is called and a routine transfers the contents of the BAPI context node across into the POList context node. This is rendered correctly on the screen. There is a routine which filters the results based on a vendor. The code works fine when some records are found but when no records are found, I get the error "Context Path POLIST.EBELN Cannot Be Resolved (Last Node Is Empty) ".
    The cardinality of the PoList node is 0..N. This should mean that 0 records is valid.
    The ABAP which fills the context is pasted below :
    data:
        Node_Z_Bapi_Po_Combined             type ref to If_Wd_Context_Node,
        Node_Changing_Po                    type ref to If_Wd_Context_Node,
        Node_T_Header                       type ref to If_Wd_Context_Node,
        Elem_T_Header                       type ref to If_Wd_Context_Element,
        itab_C_T_Header    type If_Componentcontroller=>Elements_Polist,
       stru_C_T_Header    like line of itab_C_T_Header,
        Stru_T_Header                       type If_Componentcontroller=>Element_T_Header .
      data:
        Node_Polist                         type ref to If_Wd_Context_Node,
        Elem_Polist                         type ref to If_Wd_Context_Element,
        Stru_Polist                         type If_Componentcontroller=>Element_Polist.
      data:
    lri_Element    type ref to if_Wd_Context_Element,
    loa_Elements   type Wdr_Context_Element_Set.
    navigate from <CONTEXT> to <Z_BAPI_PO_COMBINED> via lead selection
      Node_Z_Bapi_Po_Combined = wd_Context->get_Child_Node( Name = IF_COMPONENTCONTROLLER=>wdctx_Z_Bapi_Po_Combined ).
    navigate from <Z_BAPI_PO_COMBINED> to <CHANGING_PO> via lead selection
      Node_Changing_Po = Node_Z_Bapi_Po_Combined->get_Child_Node( Name = IF_COMPONENTCONTROLLER=>wdctx_Changing_Po ).
    navigate from <CHANGING_PO> to <T_HEADER> via lead selection
      Node_T_Header = Node_Changing_Po->get_Child_Node( Name = IF_COMPONENTCONTROLLER=>wdctx_T_Header ).
    navigate from <CONTEXT> to <POLIST> via lead selection
      Node_Polist = wd_Context->get_Child_Node( Name = IF_COMPONENTCONTROLLER=>wdctx_Polist ).
      loa_Elements = node_T_Header->get_Elements( ).
      loop at loa_Elements[] into lri_Element.
        lri_Element->get_Static_Attributes(
          importing Static_Attributes = stru_C_T_Header ).
    Get the vendor number
        if i_lifnr is initial.
          insert  stru_C_T_Header into table itab_C_T_Header[].
        elseif i_lifnr = stru_c_t_header-lifnr.
          insert stru_C_T_Header into table itab_C_T_Header[].
        endif.
      endloop.
      data : W_LINES TYPE I.
      describe table itab_c_t_header lines w_lines.
      if w_lines eq 0.
        node_Polist->set_lead_selection_index( 0 ).
        CALL METHOD NODE_POLIST->INVALIDATE.
      else.
        node_Polist->bind_Table( itab_C_T_Header ).
        clear itab_C_T_Header[].
      endif.
    I would have though that invalidating the node would blank the context node and mean that the table is empty but instead I get an error.
    Please help.
    Richard

    Hi Richard,
    The problem here is that some UI element tries to bind against a node where the parent node is empty. You have to make sure that the last but one node has at least 1 element, otherwise you should hide the UI element (visibility = NONE).
    If the lead selection were empty, the corresponding error message would tell you this, but it explicitely says: "Last Node is Empty", and you can trust it.
    One possibility to have at least one element in the node is to change the cardinality to 1..n. If you have a supply function for this node, you have to make sure that there is at least 1 element (bind empty structure to the node), otherwise the framework creates the first element for you.
    Ciao, Regina

  • DMEE : how to make parent node disappear when child node is empty

    Hi Friends ,
    Currently i am working on DMEE , I have a problem . When Child node is empty I donot want the parent node to appear in the tree.Here I am uisng a field via exit function module for childnode. so not a fpay* strucutre field to write a condition.
    Is there any other way for this ?
    Please help.
    Komaravolu

    I'm not sure if this can be done in DMEE tree, but there is BADI DMEE_BADI_01 that can be implemented to perform any kind of postprocessing right before the file is created. I used it, for example, to replace separators with tabs. I believe this can also be used to eliminate the unneeded nodes.

  • What is the library section in the bookmarks toolbar used for now. I used to be able to organize my bookmarks here now the left pane in library under organize bookmarks is always empty.

    Used to be able to organize bookmarks in the library section (left pane) but since upgrade this pane is always empty even if i try to add a folder or bookmark. Is there another way to organize without having to do this in the library section.

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

Maybe you are looking for