Why SQL queries are not saving in agentry editor for first publish?

Hello Experts,
     In the process of developing an agentry application i have defined SQL steps and saved in agentry editor with out any errors .When i have published definations for first time it is displaying error 'Invalid object some where' in back end SQL log file ,when i have seen in editor some times the query is not saved,some times even it is defined then also the same  error.So i have copied the steps and saved again.Now i have done a publish,it is working fine.This is happening only when i implement exchange mechanism(Showing error in ATE getfetch error).But with out exchange mechanism  it is working fine.Is this related to the installation of editor plig-in is not correct?. I have done preferences setting in my workspace correctly.
          Help me in this regared.Thanks in advance.
Thanks & Regard,
Sravanthi Polu

Sravanthi,
For your error: displaying error 'Invalid object some where' in back end SQL log file.. This is happening only when i implement exchange mechanism(Showing error in ATE getfetch error)
Two suggestions (My best suggestion is item 2 below - I think that is where you have the error)
Item 1: Are you using the right encoding? In your Eclipse Editor under the main menu Windows - Preference -> General -> Workspace. What is your Text file encoding set to? Cp1252? Try setting it to UTF-16.
There is a tutorial about this in:
https://service.sap.com/sap/bc/bsp/spn/esa_redirect/index.htm?gotocourse=X&courseid=70246375 (Enterprise Academy classes). The course is really a simple < 5 minutes discussion on different types of encoding and why they exist and how to change the Eclipse to what you wanted.  SQL is normally done in UTF-16 for 16 bit.
I am assuming that the encoding could be wrong.
Item 2: Another thing that could be wrong is how you specify the SDML (Flunky code). 
In your SQL Script: Anything that has the "<<" and ">>" open and close marker is an SDML (Data Markup Language) and needs to be pre-populated before the Agentry Server submits your SQL query to the backend. In essence, this is use to populate the SQL query with predefine information like your userID or location and when the SQL gets process it will populate the script with the correct information.
So if you are not properly using the flunky (ex: <<object.address>> where address is not a key ID in a Fetch step (Check manual for usage of SDML AgentryLanguageReference_6.0.0.0.pdf) then you may get invalid object.
When you do a SQL "Fetch" Client Exchange and Server Exchange Steps, you can select a few options:
For this discussion let us talk about these 2 items below.
1. Run Attribute: Run One Time
or
2. Run Attribute: Run Once Per Object.
When you select Run Once Per Object the only available Flunky or SDML commands you have are:
object.keyPropertyName
lastUpdate
fetch.messageNumber
The 3 above are your only options
If you try to do something like object.property1 where property1 is part of your object properties then it will not work for Run Once Per Object.
It may work for Run One time as fetch.propertyname.
From your symptoms where you are complaining about an issue in exchange steps, your error is a typo or a misused or a misunderstanding of how fetches and SDML works (documented in page 398 or 399 of AgentryLanguageReference_6.0.0.0.pdf).
See pictures just in case you don't have access to that pdf file (The picture below simply proves what SDML options is available for your Fetch Client Exchange Step).
Hope this helps.
Regards,
Mark Pe
SAP Senior Product Support Engineer

Similar Messages

  • Pop Up blocker exceptions are not saved in the browser for use, the next time the PC reboots. How do you save these exceptions for long term use?

    Pop Up blocker exceptions are not saved in the browser for use, the next time the PC reboots. How do you save these exceptions for long term use?

    In case you are using "Clear history when Firefox closes":
    *do not clear the Site Preferences
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/remove-browsing-search-and-download-history
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.
    If you have software like Advanced SystemCare (Surfing Protection feature) that might reset some files to older versions to protect these files against changes then check the settings or uninstall this software.

  • Recent calls made and received are not saving in call log for Z10

    all recent calls are not saving under call log in my Z10. where can i find the settings for call log?

    I have the exact same problem, the call list remains empty no matter what...

  • Sent messages from secondary account are not saved in Outlook 2011 for Mac

    We are using a shared email account added in Outlook 2011 for Mac.  It's not the default account but we send from it often.
    Whenever sending from this secondary mailbox, the message is not saved in sent items folder under the secondary mailbox or the default mailbox.  There seems to be no record of the sent item anywhere.
    I verified the message is sent and received.
    All microsoft updates have been applied and we are using Exchange 2010.

    Hello,
    Please first log into OWA and check if the email are saved in the Sent Items folder.
    We can tick the option "Save copies of messages in Sent Items folder" in Outlook 2010 and Outlook 2013 to save a copy of sent message, please check if you get such option in Outlook for Mac.
    In addition, in Outlook for Windows, we can change a registry key to force Outlook to save sent emails in the default or secondary mailbox, but I'm not sure if Outlook 2011 has such trick. See:
    http://www.msoutlook.info/question/278
    Since this forum is general questions and feedback related to Outlook for Windows, it's better to post your question to the forum for Mac:
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macoutlook?sort=lastreplydate&dir=desc&tab=Threads&status=&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&tm=1395990325271
    The reason why we recommend posting appropriately is
    you
    will
    get the most qualified pool of respondents,
    and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Preferences in Sql Datamodeler are not saved

    Hello all,
    I seem to do something wrong: I would like to change certain preferences, but they SDM does not save their status.
    As soon as I open the preference menu option again, the preferences are in their previous state.
    Saving the complete design (before anything else) does not make a difference.
    This is what i did:
    Click Tools/Preferences menu
    In my case all the perferences are in the Checked state
    I can UNcheck the preferences under:
    data modeler / model logical / relation cadinality: Source optional and Target optional
    data modeler / model logical / primary key option for identifying relationships Use and set first Unique key as Primary Key
    data modeler / model logical / FK Attribute name synchronisation: Keep as the name of the Originating attribute..
    Then press the "OK" button
    and then save the Design by File/Save
    and subsequently closing SDM.
    When starting SDM again and opening the same model, the preferences are in their previous (checked) state.
    Can someone tell me if this is a real bug or point out what I am doing wrong?
    Thanks in advance for your time and effort
    regards
    Wouter
    win 7
    Java 1.6.0_31
    SDM 3.1.0.700 (32 Bits)

    Hi Dimitar,
    Well,.. I have found the file : product-preferenxce.xml on my disk in
    <snip>..AppData\Roaming\Oracle SQL Developer Data Modeler\system3.1.0.700\o.datamodeler
    I have tried the same recipe as before. Now this is what happens:
    After changing the preferences and as soon as I have pressed OK (without leaving DM) I open the product-preferences file
    The OS-timestamp of the file matches the moment of saving so permissions on OS level seem no problem.
    In the file at line 504 to 510 I find:
    <hash n="OSDDM_ModelLogicalPP">
    <value n="keep_fk_names_syncronized" v="false"/>
    <value n="pk_identifying_relation" v="false"/>
    <value n="source_optional" v="false"/>
    <value n="target_optional" v="false"/>
    </hash>
    To me, that looks like the preferences are Unchecked.
    Now I close DM (no saving). The file's timestamp is still unchanged. and the preferences are still all "false"
    Next I open DM and read the preferences file: timstamp unchanged and preferences unchanged.
    When I open the Tools/Preference menu and look at Datamodeler/model/logical
    The preferences are checked again...
    As soon as I push the "OK" button the preferences file gets updated and the preferences read as follws:
    <hash n="OSDDM_ModelLogicalPP">
    <value n="keep_fk_names_syncronized" v="true"/>
    <value n="pk_identifying_relation" v="true"/>
    <value n="source_optional" v="true"/>
    <value n="target_optional" v="true"/>
    </hash>
    It still baffles me, but it does look like "opening the tools/preferences menu" resets the preferences.
    Can you make any sense of this story?
    regards
    Wouter
    (and again thx for your time and effort)

  • Why does Firefox 4 not load FCKEditor inline editor for Plone 3.x?

    Firefox 3.x loads FCKEditor inline editor fine when we use Plone content management system. Since upgrading to FF v 4, the editor will not load.

    When I load that page, I get a series of errors. I think they might all stem from this first one:
    <br>Error: Permission denied for <http://forums.chef2chef.net> to get property HTMLIFrameElement.width
    Source File: http://forums.chef2chef.net/plugins/fckeditor/editor/js/fckeditorcode_gecko.js
    Line: 31
    (''Line 31 is about 2 screens long...'')
    Since your script file is version 2.6.3 from 2008, you could try updating: http://ckeditor.com/download (see "FCKeditor 2.6.6, released on 15 February 2010"). Does that make any difference?
    Actually, that versions has problems as well. See these discussions of workarounds:
    [http://plone.org/products/fckeditor/issues/77 FCKeditor 2.6.6 not loading in Firefox 4 — Plone CMS: Open Source Content Management]
    [http://groups.google.com/group/plone-users/browse_thread/thread/ca96fd0f75c7d450 FCK not loading in FF 4 - Plone: General | Google Groups]

  • Text fields populated from lov mapping are not saved to database

    Hi Everyone,
    I'm having a wierd problem. My requirement is to autopopulate two text fields field 2 and field 3 when a value is selected from lov in field1 and save all the values to database on click of a submit button.
    Using lov mapping i'm able to populate field 2 and field 3 with corresponding values based on the value selected in field1. And also field2 and field3 should be in the readonly mode so that user cannot change the value.
    So to make the fields readonly i have changed the property of readonly to true for field2 and field3. But if I change the readonly property, the values for field2 and field3 are not being saved to database.
    The values are getting saved to database only when readonly = true for messageTextInput item type or if the item type is a form value.
    I also tried disable = true, which also didnt work.
    I tried to debug by writing some sop statements in PFR, but these statements also returned null for pageContext.getParameter("field2") etc;
    Can anyone please tell me how to solve this problem?
    Thanks
    Sunny

    Hi Gyan,
    I forgot to mention that , I also tried messageStyledText. Which also didn't work. I wanted to use vo.setAttribute as my last option, but i wanted to understand why the values are not saved to database when the text item is showing the values on the page.
    Thanks
    Sunny

  • Pictures taked with Camera are not saved.

    When taking pictures using my iPad Air the app functions normally but the pictures are not saved to the iPad.  Am I missing a setting somewhere in Settings?

    Yes, they are on the "Camera Roll".
    When I had iPad (the original) these are saved pictures from various apps (Facebook, Wikipedia, emails, ......)
    When I up graded to iPad Air everything transfered over.  Thus pictures are stored in "Camera Roll".
    This still does not explain why pictures taked on the iPad are not saved anywhere.
    Thanks for the response.

  • I have uploaded Material Master thr LSMW but Materials are not saved.

    Hi
    i have uploaded  Material Master through LSMW but unfortunetly Matreials are not saved in system.

    Hi
    Check first with one record you are able to create the material Manually by using tcode MM01.
    Or Rerun the batch Input in Foreground mode so that you can see the error or whether Materila no is created
    I do not think so any test mode in Batch Input session.
    Check the Log in SM35 for your session if you have any error messages.
    Hope it helps
    Karthik

  • When I close CS6 changes in settings are not saved.  Reverts to default settings on reopen.  Why?

    When I close CS6 changes in settings are not saved.  Reverts to default settings on reopen.  Why?

    Sorry Photoshop --  Problems solved -- I read the details -- turns out you need to make changes with no files open for the preferences to apply to all files.
    Thanks,  Al

  • Why is it, all of my itunes are not saved in the cloud?

    Why is it, all of my itunes are not saved in the cloud?

    If you mean that you have iTunes Match and wonder why not all songs go there, this should help:
    "Since there are more than 26 million songs in the iTunes Store, chances are your music is already in iCloud.  And for the few songs that aren't, iTunes uploads what it can't match ..."
    The above comes from here:
    http://www.apple.com/itunes/itunes-match/

  • When i make changers to my firefox settings and i close the browser, the changes are not saved, why?

    when i make changes in the options menu like - allow pop ups or never remember history, it works great but when i close the browser, the changes i made are not saved, this never happened on the previous version
    i have unistalled firefox4 and reinstalled it but this dows not help

    See:
    * http://kb.mozillazine.org/Preferences_not_saved

  • The messages sent with PC suite are not saved in m...

    I have a bluetooth device to connect my phone (Nokia 6233) to PC. When I'm trying to send a message everything goes perfect (the message is sent) only one problem appear: the message is not saved in my phone.
    Any ideas for this problem?
    Why the messages sent with PC suite are not saved in my phone?

    there may be differencies between phone models here (S60 devices or S40 devices, you have S40). Also if I recall right, it used to be so that some older versions of PC Suite did not save the PC sent sms's to phone.
    However, with my N95 the messages are saved. So make sure you have the latest Pc Suite and then try again. If it fails, then it might be that message saving is not supported with S40 phones (Anyone having a S40 phone could verify this)

  • Visio 2010 - Shape Data Fields Are Not Saving

    I am having a problem with a number of shape data fields which are not saving data that has been entered into it, whether by entering it through the "shape data" or "define shape data" dialog boxes, or by editing the "shape
    sheet". 
    All data fields appear to save normally while file is open, it remains as entered.  However, when file is closed and later reopened select data fields do not retaining data correctly.  Some retain nothing (null), or revert back to a "default"
    value, see below for a couple examples:
    Rack Units:  Want to enter data as 1U, 2U, etc. ... in some cases it will save it as entered while in other cases it reverts to "1 RU", "2U", etc.
    Room:  Enter the data as I want it stored, most of the time it appears to come back empty, there are some shapes which will retain as entered.
    Comments:  Fails to retain any data
    I have looked at a number of reasons to explain why, whether the problems occur with stencils is supplied by Microsoft, a vendor, or were custom created.   Looked into whether it might have to do with a particular vendor's stencils/drawings
    but I have a number of Cisco drawings where some save those fields as entered while others do not.  I believe it could be a setting within the stencil preventing it from saving the data as entered, enabled in some cases and not in others.
    I have checked "Protection" under the "Developer" tab, but nothing appears to be set to prevent editing/storing data entered. 
    Is there some setting(s) or field(s) somewhere that I can look at to allow this data to be saved as entered?
    Is there a GLOBAL setting that can be set once within a file?
    Thank you in advance for your time to assist me in fixing these problems. Have a great day!
    MJ_NWE
    MJ

    >Can I build logic so that they can't fill in a field unless the previous field has been filled in?
    It's theoretically possible to do this (e.g. each field has an action
    of removing read-only on the next). It's considered extremely bad form
    design, because people don't always fill in fields in the order
    specified. If you watch people with a form they fill in their name,
    address, other easy stuff; then they go back for the harder stuff.
    They may want to save a form because one piece of information needs
    research.
    What you might like to consider is a large splash "FORM INCOMPLETE" in
    Red or whatever, which vanishes when all the fields are completed.
    Aandi Inston

  • Web template changes are not saved.

    Hello Experts,
    I making a small change to an existing Web Template namely changing the tab page 1 to tab page 2 and  vice versa.
    I could see the message Changes are saved but at the end web template is same like as it was.
    Any idea why changes are not being saved and how to over come this will be of great help.
    Thanks in anticipation.
    Best Regards.

    Hi.
    The changes are not saved in WAD or has not affect when executing the WAD ?
    Regards.

Maybe you are looking for