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

Similar Messages

  • 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

  • Issue with Saving the Query output data in Excel format

    Hi,
    Recnetly we had upgraded from 4.6c to ECC 6.0.
    In ECc 6.0 environment, when user try to export the query output , we are getting only XML option to save the data.
    But user want to save the data in EXcel format, he was able to do that in 4.6C.
    pleas eprovide some inputs, on this issue.
    Thanks,
    Sanketh.

    I cannot for the life of me imagine, why a link to a post in the 'Business One Forum' where one uses ODBC to transfer query-data to MicroSoft Excel is of relevance to the OPs question, even if the same is not a security issue.
    Never mind. [note 40155|https://service.sap.com/sap/support/notes/402155] deals with various symptoms in the ALV-Excel combination as as of release 4.6C. There are various others, mostly in components BC-SRV-ALV and BC-ABA-LI - also: I remember that when we upgraded from 4.5B to 4.7C there was an issue with Excel-templates -> the solution was in the release notes somewhere. So, in addition to SMP you might want to check the release notes and/or upgrade guide for solutions.
    And yes, moderators ... this is not a security issue, this should go to ECC-Applications/Upgrade.

  • Multiprovider Mapping Issue  # Values in the query output

    Q . I am getting # values for the free chars and no values for some of the KPIs
    I have created this report on top of a multiprovider which has a huge number of cubes ( exceeding 10 ) , four DSOs and a couple of infosets , and the query which i am creating should get values from 3 cubes only .
    1.I have placed Global Restrictions ( Char Restrictions ) on top of the query with 3 cubes
    2.had restricted the KPIs with the relevent infoproviders .
    3.I have mapped all the chars and key figures used in this query with relevent infoprovider restrictions
    But Still when i execute the Query  i see the following formatt of my Output
    Free Char          KPI1            KPI2
           filed3                                  10
           field2                                  09
           field1                                  07
           field0                                  06
    Not assigned       12.00              0
    Not assigned       12.00              0
    Not assigned       12.00              0
    Please provide me input for why i am getting this kind of out put with Not assigned values  and indifferent values for KPIs and what should be done to solve this problem .

    Hi,
    You mention that there are several InfoProviders underlying your MultiProvider. Check the characteristics and free chars you are using in your query - all of these should be present in all the underlying InfoProviders. For example, if you are using 0COMP_CODE in your query, and 0COMP_CODE is not present in one of the underlying DSOs, then they Key Figure values coming from that DSO will be shown against # (Not Assigned) value for 0COMP_CODE.
    Easy way to find out - go to LISTCUBE and enter your MP name. Display all the chars and free chars that are present in your query. Also display the INFOPROVIDER field. Look at the data, and see if there are any characteristics that are blank for all records for any particular InfoProvider. If you find any such chars, then that may be the reason behind your problem.
    To avoid this sort of problem, you can use Constant Selection http://help.sap.com/saphelp_nw70/helpdata/en/46/91f0f090ea13e8e10000000a155369/content.htm
    Regards,
    suhas

  • Dear Community, i recently bought a macbook pro with retina display and i have been seeing some issues lately regarding the headphones output , even though the headphones are plugged in the output shifts to external speakers again again , help needed

    i need help or a working solution , apple call here

    Luckily I reinstalled the software and the problem just disappeared , and now for all those facing the same problem after reinstalling mountain lion don't update to 10.8.1 , cause only after that update earlier was when the problem started showing up , along with that don't reinstall lion using your recovery on your harddrive it takes 23 hours to install because it downloads the software first and then does all the installation so just download the app for mountain lion from the AppStore first and then make a bootable USB installation disk out of it , I'm sure you'll find a tutorial on google on how to make a recovery USB out of it , as for your data and stuff I moved all my stuff to an external hard drive and then performed a reinstall I recommend you do the same . The steps are simple after making the USB insert it and then reboot when the computer turns itself on press the alt/option key and then their will be a list of options there you will see your mt lion USB boot into it , select disk utility and then your Macintosh HD , WARNING IN THIS STEP YOU WILL ERASE YOUR HARD DRIVE COMPLETELY MAKE SURE YOU BACKUP ALL YOU DATA BEFORE PERFORMING THIS STEP I WON'T BE RESPONSIBLE FOR ANY DATA LOSS DO THIS AT YOUR OWN RISK, so choose your drive , go to the erase tab choose Mac os extended journaled usually the first option from the drop down menu and name it Macintosh HD again click on erase and then after thats done close the utility , now select the option to install mt lions copy from the first menu and then chose your Macintosh HD that we erased eirlier and install, it takes about 20-40 mins depending on your Mac and then viola the problem will disappear , well at least it did for me . Here is the link on HOW TO MAKE A LION RECOVERY USB
    http://gigaom.com/apple/quick-tip-create-a-usb-installer-for-mountain-lion/
    Hope This Would Definetly Work For you =D...........

  • When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb.But the output records is originally 4000 records. When copy to new excel it is showing 3.5 mb only. Does anyone knows the answer for this issue?

    When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb. The records contained in excel file is 4000 records. When taking the excel records and copy to new excel file the excel file size is 3.5 mb only.Why does the oracle software generates 20mb file?
    Does any one knows the answer please advice?

    Hello,
    This issue is because the Excel output from BI Publisher is MHTML (XML Publisher generates XHTML) not binary .xls.
    MHTML and XHTML are more verbose formats than binary .xls.
    It will be large because the current Excel output is just an HTML and not compressed like PDF. Please use the workaround (save it as .xls file).  This is a known limitation of RTF layout templates.
    BI Publisher Enterprise has a new feature True Excel Templates. The layouts generate binary Excel output.
    Excel Output File Size Generated By BI Publisher is Very Large (Doc ID 760437.1)
    Bogdan

  • Problem while publishing the models - it is taking much time

    Hi,
    I am facing one issue while publishing the models.Previously when Re-publishing the models in Configurator processing pending publications usually took 3 to 5 minutes per model. Currently it is taking 15-20 minutes per model to process. Please suggest me the possiblities to identify the root cause of the issue.
    Thanks in advance.
    Regards,
    Purushoth

    You'll probably want to gather a trace for the Process a Single Publication concurrent request. You can turn this on by selecting ' enable trace' on the program definition. You'll need your dba to review the trace to identify which parts of the program are taking the longest.
    If you haven't run CZ Purge for awhile, try running it. Also find out how often stats are gathered for the CZ schema.
    Thanks,
    Jason

  • Webdynpro : How to SKIP the values of the Model Node.

    Hi
    i imported a WSDL into my WDJ application.
    where on context mapping, i mapped the MODEL with my CONTROLLER.
    I would like to SKIP couple of Attributes and Model node
    In WEBSERVICE navigator, i have the check box as SKIP, so using that i can skip in Navigator ,
    But how to do the same in WEBDYNPRO Coding.
    Say for Example
    Context
    ----------ModelNode1
    ----------ModelNode2
    ----------ModelNode3
    ----------======ModelAttribute1      NULL
    ----------======ModelAttribute2      SKIP
    ----------======ModelAttribute3      SKIP
    i know how to set the value if it need to set it to null
    wdcontext.nodelModelNode3.currentModelNode3element.setModelAttribute1("null")
    similaraly  can anyone tell me how to set the SKIP for other 2 attributes......
    Thanks

    Hi Chintan
    Thanks for your response....
    fine ... i understood your solution....
    but , my problem goes and makes me dizzzy
    i have 10 mandatory filed in my Webservice..
    i passed all the 10 mandatoy fileds and get perfect Response In WEBSERVICE Navigator....
    i tried passing the same value via WDJ application as show below
    since i have a node element with cardinalith 0..n
    I set the value those i passed in Webservice Navigator.....
    wdContext.nodeRequest_getSubmitRequest().
                     nodeRequestDetails().nodeRoles().invalidate();
           IPrivateOne_AppView.IRolesElement RoleE = wdContext.createRolesElement(new ComplexType_RoleData());
         RoleE.setRoleId("BASIC");
         RoleE.setSysId("R3");
         wdContext.nodeRequest_getSubmitRequest().
                   nodeRequestDetails().nodeRoles().addElement(RoleE);
    But Here ,I get a Error Message Saying  :Error in Submiting Request :  No role seleced for the request.
    so , i even checked whether the node is populated with rite value by printing them after executing the WSDL.
         wdContext.currentRequest_getSubmitRequestElement().modelObject().execute();
              MsgManger.reportSuccess( "After Push_execute_WSDL");
    MsgManger.reportSuccess( " COntroller getRoleId -- "+wdContext.nodeRequest_getSubmitRequest()
                        .nodeRequestDetails().nodeRoles().currentRolesElement().getRoleId().toString());
              MsgManger.reportSuccess( " COntroller getSysId -- "+wdContext.nodeRequest_getSubmitRequest()
                        .nodeRequestDetails().nodeRoles().currentRolesElement().getSysId().toString());
    Output
    After Push_execute_WSDL
    COntroller getRoleId -- BASIC
    COntroller getSysId -- R3
    Kindly let me know wat could be wrong........
    The MOST wired thing is
    if i didnt set and Role , SysId in webservice navigator , then Error thrown at Webservice Navigator is
    Error in Submiting Request : RoleId is mandatory,SysId is mandatory null
    on following same thing , if i didnt set Role and SysID in WebDynpro then, i get error as
    Error in Submiting Request :  No role seleced for the request.
    How is this possible....
    any help on this would be appreciated...
    Thanks

  • Issues with using the output redirection character with newer NXOS versions?

    Has anyone seen any issues with using the output redirection character with newer NXOS versions?
    Am receiving "Error 0x40870004 while copying."
    Simply copying a file from bootflash to tftp is ok.
    This occurs for both 3CDaemon and Tftpd32 softwares.
    Have tried it on multiple switches - same issue.
    Any known bugs?
    thanks!
    The following is an example of bad (NXOS4.1.1b) and good (SANOS3.2.1a)
    MDS2# sho ver | inc system
      system:    version 4.1(1b)
      system image file is:    bootflash:///m9200-s2ek9-mz.4.1.1b.bin
      system compile time:     10/7/2008 13:00:00 [10/11/2008 09:52:55]
    MDS2# sh int br > tftp://10.73.54.194
    Trying to connect to tftp server......
    Connection to server Established. Copying Started.....
    TFTP put operation failed:Access violation
    Error 0x40870004 while copying tftp://10.73.54.194/
    MDS2# copy bootflash:cpu_logfile tftp://10.73.54.194
    Trying to connect to tftp server......
    Connection to server Established. Copying Started.....
    |
    TFTP put operation was successful
    MDS2#
    ck-ci9216-001# sho ver | inc system
      system:    version 3.2(1a)
      system image file is:    bootflash:/m9200-ek9-mz.3.2.1a.bin
      system compile time:     9/25/2007 18:00:00 [10/06/2007 06:46:51]
    ck-ci9216-001# sh int br > tftp://10.73.54.194
    Trying to connect to tftp server......
    |
    TFTP put operation was successful

    Please check with new version of TFTPD 32 server. The error may be due to older version of TFPT server, the new version available solved this error. Files are getting uploaded with no issues.
    1. Download tftpd32b.zip from:
    http://tftpd32.jounin.net/tftpd32_download.html
    2. Copy the tftpd32b.zip file into an empty directory and extract it.
    3. Copy the file you want to transver into the directory containing tftpd32.exe.
    4. Run tftpd32.exe from that directory. The "Base Directory" field should show the path to the directory containing the file you want to transfer.
    At this point, the tftpserver is ready to begin serving files. As devices request files, the main tftpd32 window will log the requests.
    Best Regards...

  • Issue while downloading the alv report output in spreadsheet format .

    Hi,
    I have a report output, whenever I try to download it in the spreadsheet format to my desktop,
    I get the following issue:
    Say the correct material number is 10833340001218999 or 10030000063207001
    (This appears in the report output)
    But in the excel file the number is displayed as 10833340001218900 and 10030000063207000.
    Please help.
    Regards,
    Sucharita.

    Hi Sucharita,
    The reason for your problem could be that in excel 2007, characters more that 15 are replaced with 0.
    Or you can try downloading the data using FM 'GUI_DOWNLOAD' , if currently you are using stadard SAP functionality of data downloading.
    Best Regards,
    Vishal.

  • Performance Issue-;How to restrict the total output of the report.

    Hi Experts
    I need your advise to resolve one performance issue in my BI Publisher report.
    My report query is extracting more than 80000 records at once. To load these records into the report template it is taking all most 14 to 15 hours. Unfortunately i cannot change my logic to put some more filter to restrict the query output, as this is the requirement from the client.
    Is there any way i can restrict my report so that it will extract the first 1000 record and on the event of pressing next it will extract the next 1000 record and so on from the point when it left in last time.
    Kindly let me know if you have any solution for this.
    Thanks in advance.
    Regards
    Srikant

    Hi experts...
    Any update on this...

  • How can I create an element in the model node?

    Hi, Experts,
    I create a model node that name is containerNode in the contxt. Cadinility is: 1..n
    I write the code in the method:
      private String getDataForOutputTable( IWDNode wageTypePayslip, IWDNode containerNode ){
           String betrgSumStr = "";
         int index = 0;
         Vector containerVector = new Vector();
         int size = wageTypePayslip.size();
         IWDNodeElement element = containerNode.createElement();// The system report error when I run the application.
         BigDecimal betrgSum = new BigDecimal( 0 );
    I try to create a element in the containerNode, But the system report error when I run the application.
    java.lang.IllegalArgumentException: model object must not be null
         at com.sap.tc.webdynpro.progmodel.context.ModelNodeElement.<init>(ModelNodeElement.java:66)
         at besuretech.com.wdp.IPrivatePayDataDispView$IOContainerElement.<init>(IPrivatePayDataDispView.java:1537)
         at besuretech.com.wdp.IPrivatePayDataDispView$IContextNode.doCreateElement(IPrivatePayDataDispView.java:88)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.createElement(NodeInfo.java:884)
         at com.sap.tc.webdynpro.progmodel.context.Node.createElementInternal(Node.java:1351)
         at com.sap.tc.webdynpro.progmodel.context.Node.createElement(Node.java:1370)
         at besuretech.com.PayDataDispView.getDataForOutputTable(PayDataDispView.java:251)
         at besuretech.com.PayDataDispView.getAllData(PayDataDispView.java:196)
         at besuretech.com.PayDataDispView.onPlugPayListViewIn(PayDataDispView.java:154)
         at besuretech.com.wdp.InternalPayDataDispView.wdInvokeEventHandler(InternalPayDataDispView.java:391)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
    How can I create an element in the model node ?
    Best regards,
    tao

    Hi,
    You need to execute the model before creating the element.
    Regards
    Ayyapparaj

  • How to get the data from the model node like a table ?

    I want to get the data from the model node  once a record ,and the node  is bound to a internal table in the RFM which I called in the R/3 system. Who can give me some advice to achive it?Thank you!!

    Hi,
    To get the data from the node:
    wdContext.node[your node name].current[node name]_InputElement().get[specific element in the node];
    or you van use:
    wdContext.current[your node]Element().get[your element in the node];
    examples:
    wdContext.nodeZ_Mepro_Po_Detail_Stock_Distri_Input().currentZ_Mepro_Po_Detail_Stock_Distri_InputElement().getUcpd_Flag();
    wdContext.currentT_Delv_ReqsElement().getShelflife();
    regards,

  • How to set the Model Class for a newly created Model Node ?

    Hello All,
      I am trying to map a Model node from SourceA to DestinationB.
      To do so, I created a model node for Destination B in the interface controller (set the isInputElement to true). However why I try to map the node, I get an error saying that "Both context nodes have to be bound to a model class". Upon a closer look, I realised that the model node that I created in DestinationB has no entries under the properties.
      Does anyone knows/advise how I can add the model class entry to the model node that I have created as I am not able to do so. Or otherwise, is there a way to map a model node to another model node across different components ? Thank you very much.
    from
    Kwok Wei
    from
    Kwok Wei

    Hello Pascal
      The instructioons that you gave are for mapping the model between the view controller and the component controller within the same component is that right ?
      I am tryng to map a model node in the component controller of SourceA to another model node that belongs to another Component. I do believe that in this case I will need to create a model node in the interface controller of DestinationB and map that to the component controller of SourceA. However, by creating my own model node, how do I change the property modelClass in the context ?
      Thanks !
    from
    Kwok Wei

  • Problems in Instantiating the Model Node

    Hi All,
    I Have a problem with creating the instance of a Model Node  which needs an urgent solution, This is the Scenario:
    I Have created a WebDynpro Project using NetWeaver CE Environment and Java EE 5.0 where i am using an Adaptive WebService Model. I have successfully created the model using the WSDL files and have also added to the Controller,
    But when I try to create an Instance of the Request Node in my controller ie after writing this line:
    Request_MI_Nwce007_AS_SOAPReq objReq = null;
    objReq = new Request_MI_Nwce007_AS_SOAPReq();
    This is the Request Structure from the WSDL - Request_MI_Nwce007_AS_SOAPReq
    it gives me an Error saying The constructor Request_MI_Nwce007_AS_SOAPReq() is undefined.
    Please let me know the exact problem and also the way to overcome this problem.
    Its Quite URGENT!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Points Rewarded for helpful answers.
    Regards,
    Poojith MV

    Hi Poojitha,
    If your imported Webservice has any structure like  this Request_MI_Nwce007_AS_SOAPReq_Input then instantiate the input structure.
    else
    Try instantiating along with the package name, for example if your package name is: com.sdn then try this:
    "com.sdn.*Request_MI_Nwce007_AS_SOAPReq objReq = null;
    objReq = new com.sdn.Request_MI_Nwce007_AS_SOAPReq();
    Hope this solves your problem.
    Thanks n Regards,
    Jhansi Miryala

Maybe you are looking for