Object could not be found in cache, key is null!

this is what I am getting when i tried to upload a file..the binary attribute is mapped to comp controller  attribute...
I dont understand the exact meaning of this message...
Please reply

Hi Amit
this is what I am doing.
In my view controller, I have a fileData of binary type, is mapped to comp controller attribute.
So when am calling compController.Populate() method from view doInit()...
Populate method
public void Populate( )
    //@@begin Populate()
  IWDAttributeInfo attInfo1 = wdContext.nodeSubmitElements().getNodeInfo().getAttribute (wdContext.currentSubmitElementsElement().INVOICE_DOC);
ISimpleTypeModifiable type = attInfo1.getModifiableSimpleType();
IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) type;
//end
I tried wdContext.createSubmitElementsElement().INVOICE_DOC also but still getting the same problem..
-vd

Similar Messages

  • Webdynpro - Object could not be found in cache, key is null

    Folks
    I am getting this marvelous exception for which I am not able to find any not in SAP Service Portal as well. Any insights shared will be highly appreciated.
    [EXCEPTION]
    com.sap.tc.webdynpro.services.sal.util.cache.ResourceNotFoundException: Object could not be found in cache, key is null!... [see details]
    EXCEPTION]
    com.sap.tc.webdynpro.services.sal.util.cache.ResourceNotFoundException: Object could not be found in cache, key is null!
    at com.sap.tc.webdynpro.services.sal.util.cache.WebResourceCache.getResource(WebResourceCache.java:108)
    at com.sap.tc.webdynpro.services.sal.util.cache.WebResourceCache.getResource(WebResourceCache.java:134)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.datatransport.DataTransportFactory.getOutputMassDatasource(DataTransportFactory.java:93)
    at com.sap.tc.webdynpro.services.sal.datatransport.core.InternalMassDataTransport.getOutputMassDatasource(InternalMassDataTransport.java:50)
    at com.sap.tc.webdynpro.progmodel.context.ModifiableBinaryType.parse(ModifiableBinaryType.java:133)
    at com.sap.tc.webdynpro.clientserver.data.DataContainer.doParse(DataContainer.java:1434)
    at com.sap.tc.webdynpro.clientserver.data.DataContainer.validatePendingUserInput(DataContainer.java:1324)
    at com.sap.tc.webdynpro.clientserver.data.DataContainer.validatePendingUserInput(DataContainer.java:681)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.validate(ClientComponent.java:715)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doValidate(WindowPhaseModel.java:326)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:120)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

    Is the system 6.40 release ? Have you referred to SAP Note 923694  ?
    Search in SAP Notes for 'Importing A Web Dynpro Hot Fix', find the one relevant for your SP level and make sure you have implemented those fixes if you find one for the SP.
    Hope this helps
    Regards,
    Snehal

  • File Upload Error : Object could not be found in cache, key is null!

    I am having this problem. when I attach a file and press submit button, it gave me
    "Object could not be found in cache, key is null !"
    In my ViewController context I have Invoice_DOC attribute (binary, fileupload)
    and that is mapped to ComponentContoller.attribute(INVOICE_DOC).
    here is wdDoInit() method of my view controller..
    public void wdDoInit()
        IWDAttributeInfo attInfo =
              wdThis.wdGetDemurrageCompController().wdGetContext ().nodeSubmitElements().getNodeInfo().getAttribute(IPrivateDemurrageComp.ISubmitElementsElement.INVOICE_DOC);
    IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) attInfo.getModifiableSimpleType();
    Any Idea why I am having this..
    I went through some tutorials, The controller node has cardinality of 1..1...

    Hi,
    Could you please try with the following code. Here I have an Action for file uploading.
    public void wdDoInit()
    //@@begin wdDoInit()
    // get attribute info for context attribute "FileResource"
    IWDAttributeInfo attributeInfo =
    wdContext.getNodeInfo().getAttribute(
    IPrivateFileUploadView.IContextElement.FILE_RESOURCE);
    // make the context attribute's simple type modifiable.
    // Only with this line of code the binary data (stored within the
    // context attribute) can be parsed. The Web Dynpro Runtime stores
    // the mime-object’s metadata within the attribute’s type metadata.
    attributeInfo.getModifiableSimpleType();
    // set the file details invisible
    wdContext.currentContextElement().setDetailsVisibility(
    WDVisibility.NONE);
    //@@end
    //Another method for File upload button
    public void onActionUploadFile(
    com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent) {
    //@@begin onActionUploadFile(ServerEvent)
    // get attribute info for context attribute 'FileResource'
    IWDAttributeInfo attributeInfo =
    wdContext.getNodeInfo().getAttribute(
    IPrivateFileUploadView.IContextElement.FILE_RESOURCE);
    // get modifiable binary type from the attribute info,
    // requires type cast.
    IWDModifiableBinaryType binaryType =
    (IWDModifiableBinaryType) attributeInfo.getModifiableSimpleType();
    IPrivateFileUploadView.IContextElement element =
    wdContext.currentContextElement();
    // if a file in the 'FileResource' attribute exists
    if (element.getFileResource() != null) {
    try {
    String mimeType = binaryType.getMimeType().toString();
    byte[] file = element.getFileResource();
    // get the size of the uploaded file
    element.setFileSize(this.getFileSize(file));
    // get the extension of the uploaded file
    element.setFileExtension(
    binaryType.getMimeType().getFileExtension());
    // NOTE: context attribute 'FileName' must not be set
    // because the FileUpload-UI-element property 'fileName'
    // is bound to it. Consequently the fileName is automatically
    // written to the context after file upload.
    // set the details visibility attribute
    element.setDetailsVisibility(WDVisibility.VISIBLE);
    // report success message
    wdComponentAPI.getMessageManager().reportMessage(
    IMessageFileUpDownloadComp.SF_UPLOAD,
    new Object[] { binaryType.getFileName()},
    false);
    } catch (Exception e) {
    throw new WDRuntimeException(e);
    // if no file in the 'FileResource' attribute exists
    else {
    // set the details visibility attribute, hide details
    element.setDetailsVisibility(WDVisibility.NONE);
    // report error message
    IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
    msgMgr.reportContextAttributeMessage(
    element,
    attributeInfo,
    IMessageFileUpDownloadComp.NO_FILE,
    new Object[] { "" },
    true);
    // clear the FileResource context value attribute
    element.setFileResource(null);
    //@@end
    Thanks
    Chandan

  • FileUplaod UI : Object could not be found in cache, key is null!

    Hi,
    I get problem using FileUpload UI Element.
    When I select a file (any file .) and push a button (uplaod bt), I get an error message below the FileUpload UI:
    ==>  Object could not be found in cache, key is null!
    There is something odd cause in the event linked to my upload button the function is completly emtpy. So it is not o Code error. And of course I've make the context attribute Modifiable :
    IWDModifiableBinaryType type = (IWDModifiableBinaryType) wdContext.getNodeInfo().getAttribute(IPrivateExternalOrderCompView.IContextElement.FILE_RESOURCE).getModifiableSimpleType();
    Any Idear ?
    Regards,

    Hi,
    Ok guys thanks for your answers, I fixed my problem.
    The thing was I missused simple modify type.
    So here is what I'm doing :
    In my context View :
    file type : Binary
    wdInit of the View :
    IWDAttributeInfo attInfo = wdContext.getNodeInfo().getAttribute(IPrivateExternalOrderCompView.IContextElement.FILE);
              ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
              IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) type;
    That's it !
    Everything goes good.
    Thanks
    Regards,

  • Have several ringtones in my itune. while synchronising 2 errors appear.1. several objects could not be found,2. an iphone was found but could not be indentified. iph.4s was new reset, ios 6

    have several ringtones in my itune. while synchronising 2 errors appear.1. several objects could not be found,2. an iphone was found but could not be indentified. iph.4s was new reset, ios 6

    Hi Grant,
    Here is what I did and so far seems it is wworking.
    1. I deleted oDesk and ShareFile. I removed them using MacKeeper (I found this application very usefull for uninstalling applications as MacKeeper looks for them all over the computer: cache, preferences, application support etc.) While for oDesk is simple as I can look myself for oDesk in any file names, whith ShareFile was a little tricky to amke it amnually as MacKeeper find files that contain Citrix name then ShareFile. I will not guess unless I would search the internet on how to manually remove sharefile from my system.
    2. I manually delete all cahe files and folders from ~Library and ~User/Library.
    3. After reboot I installed Onyx and order maintanance where I checked all its options, including but not limited to DNS caches, fonts caches, everything.
    4. After I reboot computer, I went in Disk Utility and Repaired permissions.
    Reboot again. Now seems to work fine. At least odesk Team is working properly. I will have a second thought for installing ShareFile.
    Some romanian mac users suggested to check my router connectivity and change some DNS in it. Looks like that was also a problem on some MACs. I recall the few weeks ago I had an issue with TP Link router. My computer wasn't connected to internet, though router showed that there is internet connection. I ping router from my computer and I received answer from ping. I ping google from computer, nothing. I ping google from router, was wroking. I connected the computer directly to internet without router, was wroking. When connected back through router, nothing. I contacted the guys from TP Link and they suggested to use google DNS instead of those my ISP provided. But since then I had not experienced any issue with router and internet, until now. The DNS are still those from google.
    I will keep you updated if any issues are appear again. So far, it is working perfectly as it supposed to work.
    Warm regards,
    Sebastian

  • "The attempted operation failed. An object could not be found" error when double clicking on an ics file

    Operation System: Windows 8 Pro
    System Type: 64-bit Operating System
    Office: MS Office Professional Plus 2013
    I am getting "The attempted operation failed. An object could not be found" error when I double click on an .ics file to an appointment to my calender. My outlook.com account's data file is set as default and this error only occurs if
    that is the default data file. I thought that maybe my profile is corrupted. So, I opened up a new profile with the below steps and only add my outlook.com account there:
    1-) Open up the Control Panel and go to Mail section
    2-) Click "Show Profiles"
    3-) Click "Add" and give a name to your profile.
    4-) Configure your outlook.com account (with Auto Account setup, not manual steps)
    5-) Finally, set that profile to be used always.
    Then, I opened up the Outlook 2013 and clicked on the .ics file to add that appointment but got the same error.
    Is this a known issue or specific to me?
    Thanks!

    yes, I have the same problem.
    The workaround of saving the ICS file and then importing it into the current calendar
    works, 
    but the ICS calendar
     displays in other section, NOT in the section of my old events.
    why  ??

  • Account 'Cost elem. for settlmt AuC to CO objects' could not be found for

    Hi All,
    I am facing one error massage at the time of CWIP Asset settled in Cost centre
    Account 'Cost elem. for settlmt AuC to CO objects' could not be found for area 01
    Message no. AU133
    Which G/L Account (cost element) we have to assing there in Account determinati A090.
    What is empact this our G/L Account.
    Please help me to resolve this issue.
    Thanks & Regards,
    juhis

    Hi AP,
    Thanks for your reply,
    We find one element there assgin but that is not a G/L account what we do we can assgin that element in the Account determination in that asset account determination OR we have to create new G/L Account.
    When we create new G/L Account in which Account head we have to create and what is impact that g/l account in our Balance sheet account.
    Please help me ot understand that Process.
    Edited by: juhis022 on Mar 2, 2012 10:15 AM

  • Account 'Cost elem. for settlmt AuC to CO objects' could not be found for a

    Hi All,
    we are facing one error massage at the time of settlment KO88.
    Account 'Cost elem. for settlmt AuC to CO objects' could not be found for area 01
    Message no. AU133
    Diagnosis
    When creating the accounting document, the system could not find account 'Cost elem. for settlmt AuC to CO objects' in depreciation area 01 for company code CSEB.
    Procedure
    Enter this account in the account determination for Asset Accounting.
    Thanks & Regards,
    juhi

    Hi Juhi...
    Please check the below procedure....
    If you are using the Internal order process, then
    KO01 - IO Creation
    ME21N - PO creation with IO as Account assignement
    MIGO
    MIRO
    1. IO to AUC Settlement
    Define the Settlement Rule iin IO - KO02   (AUC Asset)
    KO88
    Settlement type is  "Automatic"
    For Cost analysis....you can refer to KOB1   or    KO03 -> EXtras -> Cost Analysis
    2. AUC to Fixed Asset or Cost Center
    KO02 - Settlement Rule - Cost center   or   Fixed Asset
    KO88
    "Full Settlement"
    If the process is
    AIAB and AIBU
    Refer to
    AW01N
    Hope it gives some idea
    Thanks

  • When you try to send or to receive email in Outlook 2010, you may receive one of these error messages: 0x8004010F: Outlook data file cannot be accessed. or 0x8004010F: The operation failed. An object could not be found.

    0x8004010F: The operation failed. An object could not be found.
    1. reviewed Profile instructions
    2. Ran SytTools thinking it would fix the error. NO although I could send received I ended up with a giant pst 
    3. Back to Profile Instructions.
    4. Set up new profile with my email address. email address tested well. Run Outlook. loads as outlook data PST
    and  gmail address PST.  Deleted all the Gmail subscriptions to improve speed. Original error was gone but have two GIGANIC PST FILES.
    5. Set up another new profile with my email address and a named pst.  Run Outlook under that Profile -
    comes up with newly named pst and the gmail addrress pst (although I can't figure out where that pst is located. Will not let me use email address as default Profile.  Tried different approaches and still ended up always with the gmail address pst.  Deleted
    all profiles but email address and comes   up.
    6. Should I just go ahead and use the gmail address pst  I need to import data or download data from gmail
    to get last years correspondence.e
    7. Outlook is my lifeblood, I am in communications and every submitted email gets moved to a file with an update.
    Help?
    8. One option is to merge psts but might make worse mess.
    Thanks.  Beautiful Beach weather here!

    To resolve error 0x8004010F , identify the current location of your default Outlook data file, and then create a new Outlook profile.
    Step 1- Locate the default Outlook data file
    Click Start, and then click Control Panel.
    In Control Panel, click Mail.
    In the Mail Setup - Outlook dialog box, click Show Profiles.
    Select your current Outlook profile, and then click Properties.
    In the Mail Setup - Outlook dialog box, click Data Files.
    Select the Data Files tab in the Account Settings dialog box, and then note the name and location of the default data file for your profile (a check mark will denote the default data file).
    Click Close.
    Step 2 - Create a new Outlook profile
    Step 3 - Configure your new Outlook profile as the default profile
    More detailed steps you can refer to this KB article:
    http://support.microsoft.com/kb/2659085

  • Remove-DfsnRootTarget - The requested object could not be found

    Hi,
    I just discovered that both target paths in a DFS root target is referenced by NetBIOS name, not FQDN (the names is generalized):
    Get-DfsnRootTarget -Path \\Contoso.local\AccountingSoftware| Format-List
    Path                  :
    \\Contoso.local\AccountingSoftware
    TargetPath            :
    \\Contoso-FS1\AccountingSoftware
    State                 : Online
    ReferralPriorityClass : sitecost-normal
    ReferralPriorityRank  : 0
    Path                  :
    \\Contoso.local\AccountingSoftware
    TargetPath            :
    \\Contoso-FS2\AccountingSoftware
    State                 : Online
    ReferralPriorityClass : sitecost-normal
    ReferralPriorityRank  : 0
    The goal is to remove and re-add the target paths one by one in order to use FQDN.
    When trying to remove one of the targets, I receive the following error:
    Remove-DfsnRootTarget -TargetPath "\\Contoso-FS2\AccountingSoftware" -Path "\\Contoso.local\AccountingSoftware"
    Remove-DfsnRootTarget : The requested object could not be found.
    What could be the reason for this? I get a similar error message both when using the DFS MMC tool and dfsutil.

    Hi,
    Based on your description, we can follow the article below to configure DFS to use fully qualified domain names in referrals.
    How to configure DFS to use fully qualified domain names in referrals
    http://support.microsoft.com/kb/244380/en-us
    Best regards,
    Frank Shen

  • The attempted operation failed. An object could not be found. Outlook 2010 error

    I am unable to search other mailbox in Outlook 2010, getting the following error: The attempted operation failed. An object could not be found. I removed both instances of
    KB2956128
    installed
    on 2/11/2015. It worked for a while and issue returned againa. Any suggestions?

    Hi,
    Thank you for your reporting. We have noticed this, and would like to collect more information for further investigation.
    Can you guys share your detailed system info? Also, if you have any log files about the issue, kindly share with us by sending them to this email account:
    [email protected] (please use the link of this thread as the subject).
    We appreciate your assistance with this.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs. Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Outlook 2010 / Exchange 2013: The operation failed. An object could not be found.

    Both KB2956128 and KB2956203 causing issue. Removing the patch fixes the issue. I need to know what the best way to remove the patch remotely is. Maybe a SCCM job with this:
    msiexec /I {90140000-0012-0000-0000-0000000FF1CE}MSIPATCHREMOVE={DEFF916D-4268-49CF-8FF3-E26253582E13}
    msiexec /i {90140000-001A-0409-0000-0000000FF1CE}MSIPATCHREMOVE={DEFF916D-4268-49CF-8FF3-E26253582E13}
    Please advise. Also looking for time frame for a fix to be published or these updates are rolled back/pulled by Microsoft. Thank you.
    Also this is being reported by multiple people with no resolution. Example:
    http://community.spiceworks.com/topic/790986-outlook-2010-bug-the-attempted-operation-failed-an-object-could-not?page=1

    Hi,
    Thank you for your feedback and apologize for the inconvenience caused.
    We have heard several reports regarding issues caused by KB2956128. We've escalated this issue, but we're not sure whether and when there will be an hotfix for this issue. Please look out for our official blog articles and install
    all available updates released.
    Thanks for your understanding and support.
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • The file aqq12s0m.sys could not be found during Win XP installation

    When I try to reinstall XP pro I receive message "The file aqq12s0m.sys could not be found. press any key to continue." and when I press it, comp restarts.
    Any clue about that file?

    Hi,
    is this the original recovery CD or a genuine Windows XP installation disk??
    Following reasons for that problem:
    - Disc is damaged or scratched or warped or simply not working
    - CD/DVD drive has some problem
    - Some piece of hardware does not work properly
    - Memory could be faulty
    Try to exclude these points and you will get the answer on that file.
    Usually, such problem appears (I mean with a non-working file) when the CD is scratched or the drive does not work like it should..
    Cheers

  • Getting an error " Atleast one entry could not be found in object buffer"

    Hi All,
    I m facing an peculiar problem while executing a custom Function Module.I have written a custom FM to create a service request and fetch the obj ID and return it back.When i tested the same in debugging mode everything is working fine. But when i execute it directly, It is giving me an error saying " Atleast one entry could not be found in object buffer" at the bottom of the screen and return parameters are not displayed.
    Any pointers on this would be of great help.
    Thanks,
    Eureka

    Hi Phani,
    PFB the source code. Please look in to this at your convenient time..
    FUNCTION ZSERVICE_TICKET_INC_EDIORDERS.
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(ZPROCESS_TYPE) TYPE  CRMT_PROCESS_TYPE
    *"  EXPORTING
    *"     REFERENCE(ZOBJECT_ID) TYPE  CRMT_OBJECT_ID_DB
    * PARAMETER QUANTITY TYPE CRMT_SCHEDLIN_QUAN.
    * DATA DECLARATION FOR LOCAL VARIABLES
      DATA : lv_header_guid        TYPE                   GUID_32,
             lv_header_guid16      type                   guid_16,
             lv_item_guid          TYPE                   guid_32,
             lv_sched_guid         TYPE                   guid_32,
             lt_header_guid16      type                   CRMT_OBJECT_GUID_TAB,
             wa_header_guid16      like line of           lt_header_guid16.
      DATA:  itab_header           TYPE STANDARD TABLE OF bapibus20001_header_ins,
             itab_created_process  TYPE STANDARD TABLE OF bapibus20001_header_ins,
             itab_objects_to_save  TYPE STANDARD TABLE OF bapibus20001_guid_dis,
             itab_partner          TYPE STANDARD TABLE OF bapibus20001_partner_ins,
             itab_input_fields     TYPE STANDARD TABLE OF bapibus20001_input_fields,
             itab_return           TYPE STANDARD TABLE OF bapiret2,
             lt_orderadm_h         type                   CRMT_ORDERADM_H_WRKT.
    * DATA DECLARATION WORKAREAS
    DATA:   wa_header             TYPE                   bapibus20001_header_ins,
             wa_partner            TYPE                   bapibus20001_partner_ins,
    *         wa_item               TYPE                   bapibus20001_item,
    *         WA_SCHEDLIN_I         TYPE                   BAPIBUS20001_SCHEDLIN,
             ls_inputfields        TYPE                   bapibus20001_input_fields,
             wa_objects_to_save    LIKE                   LINE OF itab_objects_to_save.
    *         wa_pricing            TYPE                   bapibus20001_pricing,
    *         wa_sales              TYPE                   bapibus20001_sales,
    *         wa_shipping           TYPE                   bapibus20001_shipping,
    *         wa_product_i          TYPE                   bapibus20001_product.
    *         wa_schedlin_i    LIKE LINE OF lt_schedlin_i,
    *         wa_schedlines   LIKE LINE OF lt_schedlines,
    DATA:   wa_created_process    LIKE LINE OF itab_created_process,
             itab_saved_objects    TYPE STANDARD TABLE OF bapibus20001_object_id,
             wa_saved_objects      LIKE LINE OF itab_saved_objects,
             gc_x TYPE c.
             gc_x = 'x'.
    * CREATION OF HEADER GUID
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_16 = lv_header_guid16
          ev_guid_32 = lv_header_guid.
      CLEAR : wa_header.
    data: temp type  CRMT_OBJECT_GUID_TAB.
    *temp = (CRMT_OBJECT_GUID_TAB)lv_header_guid16.
    * Passing the respective values from the Header table to internal table.
      wa_header-guid          =  lv_header_guid.
    *  zprocess_type           = 'ZSC'.
      wa_header-process_type  =  zprocess_type.
    *  wa_header-description = 'MY S2D ORDER'.
      APPEND wa_header TO itab_header.
    *Appending the values to the ITAB_HEADER.
    *      ls_inputfields-ref_guid =  LV_HEADER_GUID.
    *      ls_inputfields-REF_KIND = 'A'.
    *      ls_inputfields-objectname = 'ORDERADM_H'.
    **     ls_inputfields-logical_key = ' '.
    *      ls_inputfields-fieldname = 'PROCESS_TYPE'.
    *      APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
    *      CLEAR ls_inputfields.
    * HEADER PARTNER DETAILS
      wa_partner-ref_guid = lv_header_guid.
      wa_partner-ref_kind = 'A'.
      wa_partner-ref_partner_handle = '0001'.
      wa_partner-partner_fct = '00000001'.
      wa_partner-partner_no =  '1000007'.
      wa_partner-no_type = 'BP'.
      wa_partner-display_type  =  'BP'.
      APPEND wa_partner TO itab_partner.
    * APPENDING THE ITAB_PARTNER TO INPUT_FIELDS
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'REF_PARTNER_HANDLE'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    ****PARTNER_FCT*********************************
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'PARTNER_FCT'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    ****PARTNER_NO**********************************
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'PARTNER_NO'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    ****NO_TYPE*************************************
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'NO_TYPE'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    ****DISPLAY_TYPE********************************
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'DISPLAY_TYPE'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    *****KIND_OF_ENTRY*******************************
    *      ls_inputfields-ref_guid =  LV_HEADER_GUID.
    *      ls_inputfields-REF_KIND = 'A'.
    *      ls_inputfields-objectname = 'PARTNER'.
    *      ls_inputfields-logical_key = '0001'.
    *      ls_inputfields-fieldname = 'KIND_OF_ENTRY'.
    *      APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
    *      CLEAR ls_inputfields.
    *Calling a standard BAPI to create SALES OREDER using the filled internal tables.
      CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
        TABLES
              header          = itab_header
    *          item            = itab_item
              return          = itab_return
              partner         = itab_partner
              input_fields    = itab_input_fields
              created_process = itab_created_process.
    *         APPOINTMENT     = ITAB_APPOINTMENT
    *         TEXT            = ITAB_TEXT
    *          scheduleline    = lt_schedlin_i
    *         pricing         = itab_pricing
    *          sales           = itab_sales
    *          shipping        = itab_shipping
    *          product         = itab_product_i.
      READ TABLE itab_created_process INTO wa_created_process WITH KEY guid = lv_header_guid BINARY SEARCH.
      wa_objects_to_save-guid = wa_created_process-guid.
    * Appending the Guid of the SALES ORDER to be saved to the internal table
      APPEND wa_objects_to_save TO itab_objects_to_save.
    *   Calling standard BAPI to save the process.
      CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
        EXPORTING
          update_task_local = space
          save_frame_log    = gc_x
        TABLES
          objects_to_save   = itab_objects_to_save
          saved_objects     = itab_saved_objects
          return            = itab_return.
    * Calling the Standard BAPI to Commit the transcation.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    wa_header_guid16 = lv_header_guid16.
    append wa_header_guid16 to lt_header_guid16.
    * Calling CRM_ORDER_READ to get the object id and add line item to the order
    CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
         IT_HEADER_GUID                    =  lt_header_guid16
        IMPORTING
          ET_ORDERADM_H                     = lt_orderadm_h
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    data: object_id type CRMT_OBJECT_ID_DB,
          wa_orderadm_h like line of lt_orderadm_h.
    read table lt_orderadm_h into wa_orderadm_h WITH KEY guid = lv_header_guid.
    object_id = wa_orderadm_h-object_id.
    Zobject_id = wa_orderadm_h-object_id.
    WRITE: / 'Object ID: ',object_id.
    ENDFUNCTION.

  • AZURE The specified certificate could not be found in the LocalMachine certificate store,or the certificate does not have a private key.

    Hello,
    I try to make a HV website in Azure. It took me hours to figure out how to make a HV certificate with my own password. But I figured it out. With the HV application manager I uploaded the certificate to the HV platform. This worked fine. Then I created a
    c# project with also works well on my local machine.
    This is the code I use in the web.config
    <appSettings>
    <add key="ApplicationId" value="24ee15be-1497-4719-ad70-d1223adbf021" />
    <add key="ShellUrl" value="https://account.healthvault-ppe.co.uk/" />
    <add key="HealthServiceUrl" value="https://platform.healthvault-ppe.com/platform/" />
    <!-- when we call the SignOut() method on HealthServicePage, it redirects us to the page below -->
    <add key="NonProductionActionUrlRedirectOverride" value="Redirect.aspx" />
    <!-- The redirect page (specified above) uses these keys below to redirect to different
    pages based on the response from the shell -->
    <add key="WCPage_ActionHome" value="default.aspx" />
    <add key="WCPage_ActionAppAuthSuccess" value="default.aspx" />
    <add key="WCPage_ActionSignOut" value="SignedOut.aspx" />
    </appSettings>
    Next step is to deploy the site to Azure. I was able to upload the certicate to Azure.
    After deploy I get the following error:
    System.Security.SecurityException: The specified certificate, CN=WildcatApp-24ee15be-1497-4719-ad70-d1223adbf021, could not be found
    in the LocalMachine certificate store,or the certificate does not have a private key.
    I checked the certificate on another server with a different key in the web.config
    <add key="ApplicationCertificateFileName" value="c:\Zodos\website\WildcatApp-24ee15be-1497-4719-ad70-d1223adbf021.pfx"/>
    This gives me this error:
    Exception Details: System.Security.Cryptography.CryptographicException: The specified network password is
    not correct.
    So the procedure I followed definitely was not correct:
    It works on my local machine
    It doesn't work on another server or on Azure
    I can see that the procedure I follow is not correct, but what am I doing wrong?
    Wilfred

    I am having the same problem. I see I have updates thru the Mac App Store but when I try and run the System updates in the Mac App Store it errors out. But I can update third party apps.
    Have even tried going thru Terminal to check for software updates but still have same error claiming it can not find the hostname server.
    Jefre

Maybe you are looking for

  • Installing Webcam Live! on Windows Vista x64

    This will inform all of the poor consumers who bought a camera shortly before vista was released, only to realize that the camera would not work with thier operating system that they would soon update too. I was very frustrated trying to get my "Webc

  • Excel Documents in Google Docs Doesn't Work on FF 4.0

    I just did my recent updates of Firefox and now I cannot open any of my google doc excel files or even create a new one. I keep getting an error message that says "A browser error has occurred. Please hold the Shift key and click the Refresh button t

  • Java server faces submit button

    i'm running a java server faces example in tomcat.In that example i'm having a text field and a submit button, both are visible, but when i run the same example in JBoss app server the submit button is not visible ........whats the problem? Thanks in

  • I want /tmp in RAM

    Hi, I'm enjoying 1 Gb RAM, then I decided to allocate some RAM as temporary use. I set in my /etc/fstab /tmp /dev/shm tmpfs size=256m 0 0 But I'm not sure whether my /tmp is erased by boot procedures or because it's a real RAM. Is there some test, to

  • My ipod Songs are stuck on repeat.

    Hi there everytime i listen to a song and its over, it starts again likes its on repeat. It will not change to the next song unless i press the forward button to do it myself. any suggestions on where to turn off repeat???