Source is not a permitted variable data objects

Hi SCN,
So we transported queries. Collected in manually and gouped by necessary objects. We're having a problem with our variables that holds a replacement path setting for clearing date, net due date and posting date.
Replacement path for key using 0DPM_AV1.
When we're trying to run the queries in QAS this is the error we're getting: 'Source is not a permitted variable for (infoobject date)."
Are we missing a step on how are we collecting our queries for transport. Any suggestion so we can overcome this problem?
Thanks.

Hi Karl,
Assumed as query/target related info objects transport to qua without any issues.
Even at Qua, target level, try to see the loaded requests, Whether they have reporting symbol or not.
Can you try to run your query at dev system and check it.
if there is no error from dev then again collect your query into transport from RSA1-->transport connection.
Use grouping option as only necessary.
Once you drag query from middle pane to right pane at RSA1-->transport connection, Expand the query which you collected into right pane.
Below you may see all related objects of your query like CKF,RKF,Variables..etc.
Select them all and collect into transport.
Release and import Qua system.
Later try to run query at Qua and see the results.
Thanks

Similar Messages

  • [E039(R9E)] Errors: Source 0P_RMA_CPER is not a permitted variable for targ

    Hi,gurus here.
    When I saved Query, it reported an error:
    [E039(R9E)] Errors: Source 0P_RMA_CPER is not a permitted variable for target Current Year Period.
    I never used 0P_RMA_CPER in query. How to find it and make it up?
    Thanks.

    Hi,
    Please log out  and login again.
    I had the same issue. above solution worked for me.

  • Error message is 'TYPE' is not a component of data object 'PAYLOAD'.

    Hello,
    I have sceanrio  where file->Synchronus bapi ->File.
    For this I have defined a  bpm.
    Text file inut will be read and converted using sender FCC.
    Bpm will call a synchronus bapi from r/3 and collect response. I need to create a success or error response file from the status of bapi response. I have used switch step to do that.
    But here when I give condtion as this XPath SOResonse./p1:Z_BAPI_SALESORDER_CREATEFROM3.Response/RETURN1/TYPE = S, SXI_CACHE gives status of bpm as 99 and error message is 'TYPE' is not a component of data object 'PAYLOAD'.
    At the same time if i just put a condition of simple type container variable (SuccessCounter = 0), it  gives status 0 in SXI_CACHE.
    Pl can anyone suggest on this as its urgent.
    thanks in advance,
    Sharada

    Thanks for quick response.
    Yes BAPI response has TYPE field.
    Pl cehck this response xml
    <?xml version="1.0" encoding="UTF-8" ?>
    - <rfc:Z_BAPI_SALESORDER_CREATEFROM3.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <RETURN1>
      <TYPE>E</TYPE>
      <ID>V4</ID>
      <NUMBER>115</NUMBER>
      <MESSAGE>Purchase order number in document number: 304928 already exists</MESSAGE>
      <LOG_NO />
      <LOG_MSG_NO>000000</LOG_MSG_NO>
      <MESSAGE_V1>304928</MESSAGE_V1>
      <MESSAGE_V2 />
      <MESSAGE_V3 />
      <MESSAGE_V4 />
      <PARAMETER>SALES_HEADER_IN</PARAMETER>
      <ROW>0</ROW>
      <FIELD />
      <SYSTEM>DEV200</SYSTEM>
      </RETURN1>
      <SALESDOCUMENT />
    - <EXTENSIONIN>
    - <item>
      <STRUCTURE>BAPE_VBAK</STRUCTURE>
      <VALUEPART1>X</VALUEPART1>
      <VALUEPART2 />
      <VALUEPART3 />
      <VALUEPART4 />
      </item>
      </EXTENSIONIN>
      <ORDER_CCARD />
      <ORDER_CFGS_BLOB />
      <ORDER_CFGS_INST />
      <ORDER_CFGS_PART_OF />
      <ORDER_CFGS_REF />
      <ORDER_CFGS_REFINST />
      <ORDER_CFGS_VALUE />
      <ORDER_CFGS_VK />
      <ORDER_CONDITIONS_IN />
      <ORDER_CONDITIONS_INX />
      <ORDER_ITEMS_IN />
      <ORDER_ITEMS_INX />
    - <ORDER_KEYS>
    - <item>
      <REFOBJTYP />
      <REFOBJECT>HEADER</REFOBJECT>
      <REFOBJKEY />
      <REFLOGSYS />
      <DOC_NUMBER />
      <ITM_NUMBER>000000</ITM_NUMBER>
      <SCHED_LIN>0000</SCHED_LIN>
      <COND_NO />
      <CONDITEMNO>000000</CONDITEMNO>
      <COND_ST_NO>000</COND_ST_NO>
      <COND_COUNT>00</COND_COUNT>
      <COND_TYPE />
      <STATUS />
      <TINDEX>000000</TINDEX>
      <ADDRESS />
      <ABRLI>0000</ABRLI>
      <ABART />
      </item>
    - <item>
      <REFOBJTYP />
      <REFOBJECT>ADDRESS</REFOBJECT>
      <REFOBJKEY />
      <REFLOGSYS />
      <DOC_NUMBER />
      <ITM_NUMBER>000000</ITM_NUMBER>
      <SCHED_LIN>0000</SCHED_LIN>
      <COND_NO />
      <CONDITEMNO>000000</CONDITEMNO>
      <COND_ST_NO>000</COND_ST_NO>
      <COND_COUNT>00</COND_COUNT>
      <COND_TYPE />
      <STATUS />
      <TINDEX>000001</TINDEX>
      <ADDRESS />
      <ABRLI>0000</ABRLI>
      <ABART />
      </item>
    - <item>
      <REFOBJTYP />
      <REFOBJECT>ADDRESS</REFOBJECT>
      <REFOBJKEY />
      <REFLOGSYS />
      <DOC_NUMBER />
      <ITM_NUMBER>000000</ITM_NUMBER>
      <SCHED_LIN>0000</SCHED_LIN>
      <COND_NO />
      <CONDITEMNO>000000</CONDITEMNO>
      <COND_ST_NO>000</COND_ST_NO>
      <COND_COUNT>00</COND_COUNT>
      <COND_TYPE />
      <STATUS />
      <TINDEX>000002</TINDEX>
      <ADDRESS />
      <ABRLI>0000</ABRLI>
      <ABART />
      </item>
    - <item>
      <REFOBJTYP />
      <REFOBJECT>ADDRESS</REFOBJECT>
      <REFOBJKEY />
      <REFLOGSYS />
      <DOC_NUMBER />
      <ITM_NUMBER>000000</ITM_NUMBER>
      <SCHED_LIN>0000</SCHED_LIN>
      <COND_NO />
      <CONDITEMNO>000000</CONDITEMNO>
      <COND_ST_NO>000</COND_ST_NO>
      <COND_COUNT>00</COND_COUNT>
      <COND_TYPE />
      <STATUS />
      <TINDEX>000003</TINDEX>
      <ADDRESS />
      <ABRLI>0000</ABRLI>
      <ABART />
      </item>
    - <item>
      <REFOBJTYP />
      <REFOBJECT>ADDRESS</REFOBJECT>
      <REFOBJKEY />
      <REFLOGSYS />
      <DOC_NUMBER />
      <ITM_NUMBER>000000</ITM_NUMBER>
      <SCHED_LIN>0000</SCHED_LIN>
      <COND_NO />
      <CONDITEMNO>000000</CONDITEMNO>
      <COND_ST_NO>000</COND_ST_NO>
      <COND_COUNT>00</COND_COUNT>
      <COND_TYPE />
      <STATUS />
      <TINDEX>000004</TINDEX>
      <ADDRESS />
      <ABRLI>0000</ABRLI>
      <ABART />
      </item>
      </ORDER_KEYS>
    - <ORDER_PARTNERS>
    - <item>
      <PARTN_ROLE>RE</PARTN_ROLE>
      <PARTN_NUMB>LS-RETAIL</PARTN_NUMB>
      <ITM_NUMBER>000000</ITM_NUMBER>
      <TITLE />
      <NAME />
      <NAME_2 />
      <NAME_3 />
      <NAME_4 />
      <STREET />
      <COUNTRY />
      <COUNTR_ISO />
      <POSTL_CODE />
      <POBX_PCD />
      <POBX_CTY />
      <CITY />
      <DISTRICT />
      <REGION />
      <PO_BOX />
      <TELEPHONE />
      <TELEPHONE2 />
      <TELEBOX />
      <FAX_NUMBER />
      <TELETEX_NO />
      <TELEX_NO />
      <LANGU />
      <LANGU_ISO />
      <UNLOAD_PT />
      <TRANSPZONE />
      <TAXJURCODE />
      <ADDRESS />
      <PRIV_ADDR />
      <ADDR_TYPE />
      <ADDR_ORIG />
      <ADDR_LINK>0001</ADDR_LINK>
      <REFOBJTYPE />
      <REFOBJKEY />
      <REFLOGSYS />
      </item>
    - <item>
      <PARTN_ROLE>WE</PARTN_ROLE>
      <PARTN_NUMB>LS-RETAIL</PARTN_NUMB>
      <ITM_NUMBER>000000</ITM_NUMBER>
      <TITLE />
      <NAME />
      <NAME_2 />
      <NAME_3 />
      <NAME_4 />
      <STREET />
      <COUNTRY />
      <COUNTR_ISO />
      <POSTL_CODE />
      <POBX_PCD />
      <POBX_CTY />
      <CITY />
      <DISTRICT />
      <REGION />
      <PO_BOX />
      <TELEPHONE />
      <TELEPHONE2 />
      <TELEBOX />
      <FAX_NUMBER />
      <TELETEX_NO />
      <TELEX_NO />
      <LANGU />
      <LANGU_ISO />
      <UNLOAD_PT />
      <TRANSPZONE />
      <TAXJURCODE />
      <ADDRESS />
      <PRIV_ADDR />
      <ADDR_TYPE />
      <ADDR_ORIG />
      <ADDR_LINK>0002</ADDR_LINK>
      <REFOBJTYPE />
      <REFOBJKEY />
      <REFLOGSYS />
      </item>
    - <item>
      <PARTN_ROLE>Z1</PARTN_ROLE>
      <PARTN_NUMB>LS-RETAIL</PARTN_NUMB>
      <ITM_NUMBER>000000</ITM_NUMBER>
      <TITLE />
      <NAME />
      <NAME_2 />
      <NAME_3 />
      <NAME_4 />
      <STREET />
      <COUNTRY />
      <COUNTR_ISO />
      <POSTL_CODE />
      <POBX_PCD />
      <POBX_CTY />
      <CITY />
      <DISTRICT />
      <REGION />
      <PO_BOX />
      <TELEPHONE />
      <TELEPHONE2 />
      <TELEBOX />
      <FAX_NUMBER />
      <TELETEX_NO />
      <TELEX_NO />
      <LANGU />
      <LANGU_ISO />
      <UNLOAD_PT />
      <TRANSPZONE />
      <TAXJURCODE />
      <ADDRESS />
      <PRIV_ADDR />
      <ADDR_TYPE />
      <ADDR_ORIG />
      <ADDR_LINK>0003</ADDR_LINK>
      <REFOBJTYPE />
      <REFOBJKEY />
      <REFLOGSYS />
      </item>
    - <item>
      <PARTN_ROLE>AG</PARTN_ROLE>
      <PARTN_NUMB>LS-RETAIL</PARTN_NUMB>
      <ITM_NUMBER>000000</ITM_NUMBER>
      <TITLE />
      <NAME />
      <NAME_2 />
      <NAME_3 />
      <NAME_4 />
      <STREET />
      <COUNTRY />
      <COUNTR_ISO />
      <POSTL_CODE />
      <POBX_PCD />
      <POBX_CTY />
      <CITY />
      <DISTRICT />
      <REGION />
      <PO_BOX />
      <TELEPHONE />
      <TELEPHONE2 />
      <TELEBOX />
      <FAX_NUMBER />
      <TELETEX_NO />
      <TELEX_NO />
      <LANGU />
      <LANGU_ISO />
      <UNLOAD_PT />
      <TRANSPZONE />
      <TAXJURCODE />
      <ADDRESS />
      <PRIV_ADDR />
      <ADDR_TYPE />
      <ADDR_ORIG />
      <ADDR_LINK />
      <REFOBJTYPE />
      <REFOBJKEY />
      <REFLOGSYS />
      </item>
      </ORDER_PARTNERS>
      <ORDER_SCHEDULES_IN />
      <ORDER_SCHEDULES_INX />
    - <ORDER_TEXT>
    - <item>
      <DOC_NUMBER />
      <ITM_NUMBER>000020</ITM_NUMBER>
      <TEXT_ID>Z001</TEXT_ID>
      <LANGU>E</LANGU>
      <LANGU_ISO />
      <FORMAT_COL />
      <TEXT_LINE />
      <FUNCTION />
      </item>
    - <item>
      <DOC_NUMBER />
      <ITM_NUMBER>000030</ITM_NUMBER>
      <TEXT_ID>Z001</TEXT_ID>
      <LANGU>E</LANGU>
      <LANGU_ISO />
      <FORMAT_COL />
      <TEXT_LINE />
      <FUNCTION />
      </item>
    - <item>
      <DOC_NUMBER />
      <ITM_NUMBER>000040</ITM_NUMBER>
      <TEXT_ID>Z001</TEXT_ID>
      <LANGU>E</LANGU>
      <LANGU_ISO />
      <FORMAT_COL />
      <TEXT_LINE />
      <FUNCTION />
      </item>
    - <item>
      <DOC_NUMBER />
      <ITM_NUMBER>000050</ITM_NUMBER>
      <TEXT_ID>Z001</TEXT_ID>
      <LANGU>E</LANGU>
      <LANGU_ISO />
      <FORMAT_COL />
      <TEXT_LINE />
      <FUNCTION />
      </item>
    - <item>
      <DOC_NUMBER />
      <ITM_NUMBER>000020</ITM_NUMBER>
      <TEXT_ID>Z001</TEXT_ID>
      <LANGU>E</LANGU>
      <LANGU_ISO />
      <FORMAT_COL />
      <TEXT_LINE />
      <FUNCTION />
      </item>
    - <item>
      <DOC_NUMBER />
      <ITM_NUMBER>000030</ITM_NUMBER>
      <TEXT_ID>Z001</TEXT_ID>
      <LANGU>E</LANGU>
      <LANGU_ISO />
      <FORMAT_COL />
      <TEXT_LINE />
      <FUNCTION />
      </item>
    - <item>
      <DOC_NUMBER />
      <ITM_NUMBER>000040</ITM_NUMBER>
      <TEXT_ID>Z001</TEXT_ID>
      <LANGU>E</LANGU>
      <LANGU_ISO />
      <FORMAT_COL />
      <TEXT_LINE />
      <FUNCTION />
      </item>
    - <item>
      <DOC_NUMBER />
      <ITM_NUMBER>000050</ITM_NUMBER>
      <TEXT_ID>Z001</TEXT_ID>
      <LANGU>E</LANGU>
      <LANGU_ISO />
      <FORMAT_COL />
      <TEXT_LINE />
      <FUNCTION />
      </item>
      </ORDER_TEXT>
    - <PARTNERADDRESSES>
    - <item>
      <ADDR_NO>0001</ADDR_NO>
      <FORMOFADDR />
      <NAME />
      <NAME_2 />
      <NAME_3 />
      <NAME_4 />
      <C_O_NAME />
      <CITY />
      <DISTRICT />
      <CITY_NO />
      <POSTL_COD1 />
      <POSTL_COD2 />
      <POSTL_COD3 />
      <PO_BOX />
      <PO_BOX_CIT />
      <DELIV_DIS />
      <STREET />
      <STREET_NO />
      <STR_ABBR />
      <HOUSE_NO />
      <STR_SUPPL1 />
      <STR_SUPPL2 />
      <LOCATION />
      <BUILDING />
      <FLOOR />
      <ROOM_NO />
      <COUNTRY />
      <LANGU />
      <REGION />
      <SORT1 />
      <SORT2 />
      <TIME_ZONE />
      <TAXJURCODE />
      <ADR_NOTES />
      <COMM_TYPE />
      <TEL1_NUMBR />
      <TEL1_EXT />
      <FAX_NUMBER />
      <FAX_EXTENS />
      <STREET_LNG />
      <DISTRCT_NO />
      <CHCKSTATUS />
      <PBOXCIT_NO />
      <TRANSPZONE />
      <HOUSE_NO2 />
      <E_MAIL />
      <STR_SUPPL3 />
      <TITLE />
      <COUNTRYISO />
      <LANGU_ISO />
      <BUILD_LONG />
      <REGIOGROUP />
      <HOME_CITY />
      <HOMECITYNO />
      <PCODE1_EXT />
      <PCODE2_EXT />
      <PCODE3_EXT />
      <PO_W_O_NO />
      <PO_BOX_REG />
      <POBOX_CTRY />
      <PO_CTRYISO />
      <HOMEPAGE />
      <DONT_USE_S />
      <DONT_USE_P />
      <HOUSE_NO3 />
      <LANGU_CR />
      <LANGUCRISO />
      </item>
    - <item>
      <ADDR_NO>0002</ADDR_NO>
      <FORMOFADDR />
      <NAME>SUPERIOR SELECTED STONE</NAME>
      <NAME_2 />
      <NAME_3>33-53 10TH STREET</NAME_3>
      <NAME_4 />
      <C_O_NAME />
      <CITY />
      <DISTRICT />
      <CITY_NO />
      <POSTL_COD1 />
      <POSTL_COD2 />
      <POSTL_COD3 />
      <PO_BOX />
      <PO_BOX_CIT />
      <DELIV_DIS />
      <STREET />
      <STREET_NO />
      <STR_ABBR />
      <HOUSE_NO />
      <STR_SUPPL1 />
      <STR_SUPPL2 />
      <LOCATION />
      <BUILDING />
      <FLOOR />
      <ROOM_NO />
      <COUNTRY />
      <LANGU />
      <REGION />
      <SORT1 />
      <SORT2 />
      <TIME_ZONE />
      <TAXJURCODE />
      <ADR_NOTES />
      <COMM_TYPE />
      <TEL1_NUMBR />
      <TEL1_EXT />
      <FAX_NUMBER />
      <FAX_EXTENS />
      <STREET_LNG />
      <DISTRCT_NO />
      <CHCKSTATUS />
      <PBOXCIT_NO />
      <TRANSPZONE />
      <HOUSE_NO2 />
      <E_MAIL />
      <STR_SUPPL3 />
      <TITLE />
      <COUNTRYISO />
      <LANGU_ISO />
      <BUILD_LONG />
      <REGIOGROUP />
      <HOME_CITY />
      <HOMECITYNO />
      <PCODE1_EXT />
      <PCODE2_EXT />
      <PCODE3_EXT />
      <PO_W_O_NO />
      <PO_BOX_REG />
      <POBOX_CTRY />
      <PO_CTRYISO />
      <HOMEPAGE />
      <DONT_USE_S />
      <DONT_USE_P />
      <HOUSE_NO3 />
      <LANGU_CR />
      <LANGUCRISO />
      </item>
    - <item>
      <ADDR_NO>0003</ADDR_NO>
      <FORMOFADDR />
      <NAME>Langenscheidt Publishers Inc.</NAME>
      <NAME_2 />
      <NAME_3 />
      <NAME_4 />
      <C_O_NAME />
      <CITY />
      <DISTRICT />
      <CITY_NO />
      <POSTL_COD1 />
      <POSTL_COD2 />
      <POSTL_COD3 />
      <PO_BOX />
      <PO_BOX_CIT />
      <DELIV_DIS />
      <STREET />
      <STREET_NO />
      <STR_ABBR />
      <HOUSE_NO />
      <STR_SUPPL1 />
      <STR_SUPPL2 />
      <LOCATION />
      <BUILDING />
      <FLOOR />
      <ROOM_NO />
      <COUNTRY />
      <LANGU />
      <REGION />
      <SORT1 />
      <SORT2 />
      <TIME_ZONE />
      <TAXJURCODE />
      <ADR_NOTES />
      <COMM_TYPE />
      <TEL1_NUMBR />
      <TEL1_EXT />
      <FAX_NUMBER />
      <FAX_EXTENS />
      <STREET_LNG />
      <DISTRCT_NO />
      <CHCKSTATUS />
      <PBOXCIT_NO />
      <TRANSPZONE />
      <HOUSE_NO2 />
      <E_MAIL />
      <STR_SUPPL3 />
      <TITLE />
      <COUNTRYISO />
      <LANGU_ISO />
      <BUILD_LONG />
      <REGIOGROUP />
      <HOME_CITY />
      <HOMECITYNO />
      <PCODE1_EXT />
      <PCODE2_EXT />
      <PCODE3_EXT />
      <PO_W_O_NO />
      <PO_BOX_REG />
      <POBOX_CTRY />
      <PO_CTRYISO />
      <HOMEPAGE />
      <DONT_USE_S />
      <DONT_USE_P />
      <HOUSE_NO3 />
      <LANGU_CR />
      <LANGUCRISO />
      </item>
      </PARTNERADDRESSES>
    - <RETURN>
    - <item>
      <TYPE>E</TYPE>
      <ID>V4</ID>
      <NUMBER>115</NUMBER>
      <MESSAGE>Purchase order number in document number: 304928 already exists</MESSAGE>
      <LOG_NO />
      <LOG_MSG_NO>000000</LOG_MSG_NO>
      <MESSAGE_V1>304928</MESSAGE_V1>
      <MESSAGE_V2 />
      <MESSAGE_V3 />
      <MESSAGE_V4 />
      <PARAMETER>SALES_HEADER_IN</PARAMETER>
      <ROW>0</ROW>
      <FIELD />
      <SYSTEM>DEV200</SYSTEM>
      </item>
    - <item>
      <TYPE>E</TYPE>
      <ID>V4</ID>
      <NUMBER>219</NUMBER>
      <MESSAGE>Sales document was not changed</MESSAGE>
      <LOG_NO />
      <LOG_MSG_NO>000000</LOG_MSG_NO>
      <MESSAGE_V1 />
      <MESSAGE_V2 />
      <MESSAGE_V3 />
      <MESSAGE_V4 />
      <PARAMETER />
      <ROW>0</ROW>
      <FIELD />
      <SYSTEM>DEV200</SYSTEM>
      </item>
      </RETURN>
      </rfc:Z_BAPI_SALESORDER_CREATEFROM3.Response>

  • Item Cost Is not Updated when using Data Object OinventoryGenEntry in DTW

    Hello Everyone,               
    I'm using data transfer workbench (OInventoryGenEntry) to send the production to sap-bo. All The info that I entered in the layouts Documents.csv and Document_Lines.csv are correctly loaded, except the info related to the field "price". Do you know what changes should I apply to the layouts in order to make the DTW transfer the Item Price?
    (version: SAP Business One 2005A SP:01 PL:27)
    Thanks a lot
    Salomon Ponce
    Viniteck SA de CV
    Guadalajara, Jal. MEX

    Thank You Vincent. It works for finish goods that currently have cost in the sap-bo (taking std or avg) . Do you what should I do when the item is receiving the first-transation and it is an inventory entry coming from DTW ? Because when I test this conditions, the field "price" is ignored and when I check the inventory entry sent using dtw the recorded cost is "cero".
    Thank a lot
    Salomon Ponce

  • Comparing java.util.Date objects...

    Hi,
    I got a problem using the follwing code:
    // get current date
    Date currentDate = new Date();
    // first check if column 'Date Actions Plan' has a valid value
    if (dl.getDate("actionsplanneddate", i) instanceof Date) {
    // then check if current date is after 'Date Actions Plan'
    if (currentDate.compareTo(dl.getDate("actionsplanneddate", i)) > 0) {
    I'd like to compare two Date objects - the first one is the current date and the second one is from a database column. The Date object of the database column has the following format (for example):
    2004-08-23 00:00:00
    The important thing is just the date (hours, minutes and seconds are not important in that case - therefore it is 00:00:00).
    I'd like to format the currentDate object in the same manner, which means setting hours, minutes and seconds to 00:00:00, too.
    Best regards
    - Stephan

    Hi,
    I got a problem using the follwing code:
    // get current date
    Date currentDate = new Date();
    // first check if column 'Date Actions Plan' has a
    valid value
    if (dl.getDate("actionsplanneddate", i) instanceof
    Date) {Why the instanceof? How would getDate not return a Date? (I'm assuming this is JDBC.)
    // then check if current date is after 'Date Actions
    Plan'
    if
    (currentDate.compareTo(dl.getDate("actionsplanneddate",
    i)) > 0) {
    I'd like to compare two Date objects - the first one
    is the current date and the second one is from a
    database column. The Date object of the database
    column has the following format (for example):If you have a java.util.Date or a java.sql.Date then it doesn't have format. It just represents an instant in time. Whatever format the DB uses or you used to create the date is not present in the Date object.
    You can use compareTo. I think Date also has before() and after() or isBefore()/isAfter() or something like that. Look at the API.
    Or you could call getTime() and compare the longs. Not sure why you'd want to do this though--I'm sure the other two idioms do this under the covers anyway.
    2004-08-23 00:00:00
    The important thing is just the date (hours, minutes
    and seconds are not important in that case - therefore
    it is 00:00:00).
    I'd like to format the currentDate object in the same
    manner, which means setting hours, minutes and seconds
    to 00:00:00, too.Ah. Well, then just creating a java.sql.Date from your java.util.Date might take care of that for you--I think the time portion is supposed to always be zero. Write some code and try it, but remember, it's GMT based, so you might see a nonzero time component, but it shoud match your TZ offset.
    Otherwise you'll have to use java.util.Calendar (java.util.GregorianCalendar)

  • BAM - Read data object

    hi all,
    We are trying to implement BAM in our BPEL project, by creating a data object to hold Transaction ID and Status fields. We use upsert mode so the status is updated for the transaction ID as the flow goes through various stages.
    Can anyone advice us if we could write a real-time WS that can fetch the latest transaction status by passing in the transaction ID.
    Regards,
    Krishna

    I am using 10g.
    I am able to import the file , this is not overriding layout changes.
    I am not able to delete data object. I am getting
    ' Data Object is currently in use and cannot be edited at this time.'
    Oracle BAM Command Utility
    10g Release 3 (10.1.3.3.0) [Build 3 5 6008 0, ADC Version 1004.0]
    Copyright (c) 2002, 2008 Oracle.
    All rights reserved.
    Data Object "/PCG/ClaimsInventory" already exists, ID ignored.
    Data Object "/PCG/ClaimsInventory" already exists, "Layout" section ignored.
    No "Contents" section to import.
    Data Object "/PCG/ClaimsInventory" imported successfully (0 rows).
    1 items imported.
    Thanks
    Samatha

  • Binding a shared variable to a NI-PSP data object does not work

    Hi,
    I want to share data between a RT-target and one or more hosts (LV 8.6.1). The network shared variables are deployed to the RT-Target.  According to NI accessing shared variables from another project or host has to be done by defining a shared variable on the host and aliasing it to the NI-PSP data object on the target.
     I did that and the host shared variable generated an error (0x8BBB0011) during runtime.
    Next I aliased to a shared variable deployed on the host from another project. This did work.
    Another thing I tried was to bind the variable from the RT-target to a display element:
    This is working !!! And as you can see the path of the NI-PSP data object is exactly the same ! So what is the difference between binding a data object to a shared variable and to a display element?
    Is there a bug in the SVE or am I missing something here?
    The host project:
    The publisher VI
    Hope, someone has an answer.
    Regards
    Matthias Quade
    Solved!
    Go to Solution.
    Attachments:
    AliasTestWrite-RT.vi ‏8 KB
    AliasTestConsumer.vi ‏8 KB

    Dear Mr. Quade,
    thank you for posting at the National Instruments Forum. There is a known issue with the path of the bound variable with LabVIEW 8.6.1
    Please download the patch for LabVIEW 8.6.1, it should solve your problem:
    http://joule.ni.com/nidu/cds/view/p/id/1255/lang/de
    Best regards from Munich
    MarianO

  • Using a Variable in SSIS - Error - "Command text was not set for the command object.".

    Hi All,
    I am using a OLE DB Source in my dataflow component and want to select SQL Query from the master table  I have created variables v_Archivequery
    String packageLevel (to store the query).
    <Variable Name="V_Archivequery" DataType="String">
         SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
         FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
         ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
         Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)
        </Variable>
    I am assigning this query to the v_Archivequery variable, "SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
    FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
     ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
    Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)"
    Now in the OLE Db source, I have selected as Sql Command from Variable, and I am getting the variable, v_Archivequery .
    But when I am generating the package and when running I am getting bewlo errror
     Error at Data Flow Task [OLE DB Source [1]]: An OLE DB error has occurred. Error code: 0x80040E0C.
    An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80040E0C  Description: "Command text was not set for the command object.".
    Can Someone guide me whr am going wrong?
    Please let me know where am going wrong?
    Thanks in advance.
    Thankx & regards, Vipin jha MCP

    What happens if you hit Preview button in OLE DB Source Editor? Also you can use the same query by selecting SQL Command option and test.
    Could you try set the Delay Validation = True at Package and re-run ?
    If set the query in variable expression (not in value), then Set Evaluate As Expression = True.
    -Vaibhav Chaudhari

  • Default value for variable are not within permitted value range (precalc)

    Hello BW community
    Issue:
    I have created a variable (Characteristic Value/ Manual input-default value) and use the precalculated value set (details-basic settings). In the further variable definition I could select the  precalculated value set in 'Default values', which I have defined beforehand in the broadcaster..
    The precalculated value set in the broadcaster settings is just based on a master data query on 0CUSTOMER.
    Error:
    The variable gets the error E991/R9E Errors: Default values for variable 'XXX' are not within permitted value range.
    The detail description of the error is: You defined default values for variable 'Sold-to party precalc value set for manuel input' that are not appropriate for the variable type; for example, a range is defined as a default value for a variable that only permits a single value.
    So please has someone had the same issue and found out how to solve it? It would be excelent to get good solution for this issue.
    Best regards and thanks
    Christian
    PS-1: System BW 701 / SAPKW70105
    PS-2 : there has been a SDN entry with the same topic but not resolved too.
    link: /thread/980839 [original link is broken]

    Hello,
    Thanks for your response.
    I should have mentioned that in my post. I tried this very first time. I thought that this is the place where you provide default value. But I got following exception at that time, so I thought, may be this is used for something else.
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.faces.FacesException: javax.servlet.ServletException: OracleJSP error:
    oracle.jbo.NameClashException: JBO-25001: Object viewAllInd of type Control Binding Definition already exists.
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)Do I need handle something else when you put the default value?
    Thanks,
    Jai

  • Error trying to run SSIS Package via SQL Server Agent: DTExec: Could not set \Package.Variables[User::VarObjectDataSet].Properties[Value] value to System.Object

    Situation:
    SSIS Package designed in SQL Server 2012 - SQL Server Data Tools
    Windows 7 - 64 bit.
    The package (32 bit) extracts data from a SQL Server db to an Excel Output file, via an OLE DB connection.
    It uses 3 package variables:
    *) SQLCommand (String) to specify the SQL Statement to be executed by the package
    Property path: \Package.Variables[User::ExcelOutputFile].Properties[Value]
    Value: f:\Output Data.xls
    *) EXCELOutputFIle (String) to specify path and filename of the Excel output file
    Property path: \Package.Variables[User::SQLCommand].Properties[Value]
    Value: select * from CartOrder
    *) VarObjectDataSet (Object) to hold the data returned by SQL Server)
    Property path: \Package.Variables[User::VarObjectDataSet].Properties[Value]
    Value: System.Object
    It consists out of 2 components:
    *) Execute SQL Task: executes the SQL Statement passed on via a package variable. The resultng rows are stored in the package variable VarObjectDataSet
    *) Script Task: creates the physical output file and iterates VarObjectDataSet to populate the Excel file.
    Outcome and issue:The package runs perfectly fine both in SQL Server Data Tools itself and in DTEXECUI.
    However, whenever I run it via SQL Server Agent (with 32 bit runtime option set), it returns the errror message below.
    This package contains 3 package variables but the error stating that a package variable can not be set, pops up for the VarObjectDataSet only.  This makes me wonder if it is uberhaupt possible to set the value of a package variable
    of type Object.
    Can anybody help me on this please ?
    Message
    Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  6:40:20 PM  DTExec: Could
    not set \Package.Variables[User::VarObjectDataSet].Properties[Value] value to System.Object.  Started:  6:40:20 PM  Finished: 6:40:21 PM  Elapsed:  0.281 seconds.  The package execution failed.  The step failed.
    Thank you very much in advance
    Jurgen

    Hi Visakh,
    thank you for your reply.
    So, judging by your reply, not all package variables used inside a package need to be set a value for when run in DTEXEC ?
    I already tried that but my package ended up in error (something to do with "... invocation ...." and that error is anything but clearly documented. Judging by the error message itself, it looks like it could be just about anything. that is why I asked my
    first question about the object type package variable.
    Now, I will remove it from the 'set values' list and try another go cracking the unclear error-message " ... invocation ...". Does an error message about " ... invocation ..." ring any bells, now that we are talking about it here ?
    Thx in advance
    Jurgen
    Yes exactly
    You need to set values only forthem which needs to be controlled from outside the package
    Any variable which gets its value through expression set inside package or through a query inside execute sql task/script task can be ignored from DTExec
    Ok I've seen the invocation error mostly inside script task. This may be because some error inside script written in script task. If it appeared after you removed the variable then it may because some reference of variable existing within script task.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Not enough memory for Data Provider-Error while creating Data Source

    Hi,
    I am loading data into Master Data_Attribute InfoObject I am getting following error message while creating Data Source under "Proposal" Tab
    "Not enough memory for Data Provider"
    My Master Data InfoObject having 65 attributes
    My CSV file having 15,00000 records
    I am using BI 7.0 version
    If anybody faced this problem. Please share with me
    Thanks.

    Hi
    Here the problem with the space so plz contact ur BASIS people to increase the spae for particular object.

  • Error: The report source could not be retrieved from the state object.

    I have been trying to create a report in a JSF page. The relevant parts are below:
    Inside the JSP page, this is the code:
                  <jsp:useBean id="MyBean" class="com.nm.facade.rto.POJOViewerBean" scope="session" />
                    <jsp:setProperty name="MyBean" property="reportLocation" value="Report1.rpt" />
                   <v:reportPageViewer reportSource="#{MyBean.reportSource}"
                                           displayToolbarPrintButton="true"
                                           printMode="ActiveX"
                                           zoomPercentage="100"
                                           displayToolbarExportButton="true"
                                           displayToolbarRefreshButton="true"
                                           viewerName="My Viewer"
                   ></v:reportPageViewer>
    In the backing bean, this is the relevant code:
        public Object getReportSource() throws ReportSDKException
            if (propertiesChanged || reportSource == null)
                propertiesChanged = false;
                if (reportLocation == null)
                    throw new RuntimeException("The reportLocation property must be set before a report source is retrieved");
                ReportClientDocument rcd = new ReportClientDocument();
                rcd.setReportAppServer(ReportClientDocument.inprocConnectionString);
                rcd.open(reportLocation, 0);
                DatabaseController dbc = rcd.getDatabaseController();
                //Create the POJO collection and populate it with data
                ReportData[] data =
                  new ReportData("B.B.", "King", 6, new Date(25, 9, 16)),
                    new ReportData("Muddy", "Waters", 7, new Date(15, 4, 4)),
                    new ReportData("John Lee", "Hooker", 8, new Date(16, 8, 16)),
                    new ReportData("Otis", "Rush", 9, new Date(34, 4, 29)),
                    new ReportData("Buddy", "Guy", 10, new Date(36, 7, 30))
                //Create the result set from the collection of POJOs
                POJOResultSetFactory factory = new POJOResultSetFactory(ReportData.class);
                factory.setVerbose(true);
                POJOResultSet results = factory.createResultSet(data);
                ResultSetMetaData metaData = results.getMetaData();
                //Set the resultset as the report datasource
                      //Get the table name from the 'Set Datasource Location' dialog in the Crystal Reports designer
                String reportTable = "getReportDataDataSource";
                dbc.setDataSource(results, reportTable, reportTable);       
                IReportSource reportSource = rcd.getReportSource();
                if (reportSource == null)
                    throw new RuntimeException("Unable to get a report source.");
            return reportSource;
    In the CRConfig.xml, this is what is there:
    <?xml version="1.0" encoding="utf-8"?>
    <CrystalReportEngine-configuration>
        <reportlocation>../reports</reportlocation>
        <timeout>0</timeout>
        <ExternalFunctionLibraryClassNames>
             <classname></classname>
        </ExternalFunctionLibraryClassNames>
    </CrystalReportEngine-configuration>
    The report template 'Report1.rpt' is packaged under WEB-INF/reports in the war file.
    When I try to generate the report by accessing the JSF page, I am getting an error: "The report source could not be retrieved from the state object. "
    I am not sure what is wrong. Can someone help me in resolving this issue?
    Edited by: renshai on Jul 9, 2009 3:21 AM

    My formatting gets lost and the message looks unintelligible. After some experimentation, I found that if the message exceeds some length, the formatting is removed. Since I couldn't find any way to delete this post, I made another post with the same subject. Please ignore this post and help me to find a solution for the problem posted in the other thread with the same subject. Thanks in advance.

  • Data objects in a Unicode program are not convertible?what does this mean?

    hello,everyone,
    when I execute a smartform directly in the transaction smartforms.,the result can be seen just no data.
    when I execute program to transfer two internal tables from interface with data to the smartforms,and I use tcode st22,
    the error is : Data objects in a Unicode program are not convertible.
    the error analysis; The statement
       "MOVE src TO dst"
    requires the operands "dst" and "src" to be comvertible.
    the source code that error occurs is :LOOP AT I_SHIP_DETAIL INTO WA_DETAIL .
    and I know that the internal table have errors ,I defined the internal table refer to a structure created myself,and I set break-point in the smartforms ,can see the data in the internal table ,so why occurs such errors ,pls help me if you know .thank you in advance.

    hi
    good
    go through this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2dac69e-0e01-0010-e2b6-81c1e8e5ce50
    thanks
    mrutyun^

  • Linked Server [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Hi  I have SQL2012 installed on my local machine and have also installed MySQL 5.6.23 installed with a test database.
    I also have my SQL connector installed and MYSQL ODBC Driver 3.51.   
    Which happily connects to the Mysqldb.
    The Datasource Name : mySQL conn
    TCP/IP Server : localhost and Port :3306
    User root
    with pwd
    On the SQL side I have used the following
    EXEC master.dbo.sp_addlinkedserver
      @server = N'MYSQLSRV',
      @srvproduct=N'mySQL conn',
      @provider=N'MSDASQL',
      @datasrc=N'mySQL conn'
    However when I try to selet using open query
    SELECT * FROM OPENQUERY ( [MYSQLSRV], 'SELECT * FROM students' )
    it comes back with
    OLE DB provider "MSDASQL" for linked server "MYSQLSRV" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".
    Msg 7303, Level 16, State 1, Line 1
    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "MYSQLSRV".
    I cant understand what I have done wrong .   Any help in this would be great as Ive hit a bit of a brick wall

    Hi Robert3975,
    In addition to other post, please also note the following things.
    1. If you use the 32-bit driver on a 64-bit machine, please run the 32bit version of "odbcad32.exe" by running "c:\Windows\SysWOW64\odbcad32.exe"
     from Start/Run menu and
    create your ODBC DSN. However, for the 64-bit driver, use c:\windows\system32\odbcad32.exe to create your ODBC DSN. For more details, please review this similar
    thread.
    2. Expand the folder Providers under Linked server directory in SSMS and go to properties of MSDASQL provider and configure it properly as described in this blog:
    Creating Linked server to MYSQL from SQL Server.
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • EIS : Data source name not found and no default driver specified

    Hi
    I have Oracle Essbase installed in a x86_64 machine.
    I have configured odbc 64 bits how is indicated in SQL Interface Guide, but when try to create catalog the message "ODBC Error [DataDirect][ODBC lib] Data source name not found and no default driver specified"
    The is.sh script set these environment variables:
    #!/usr/bin/ksh
    export ISHOME=/u01/app/oracle/Middleware/EPMSystem11R1/products/Essbase/eis/server
    export EPM_ORACLE_HOME=/u01/app/oracle/Middleware/EPMSystem11R1
    export HYPERION_HOME=/u01/app/oracle/Middleware/EPMSystem11R1
    export ARBORPATH=$ISHOME
    export ESSBASEPATH=$ISHOME
    export ISLOADINFO=$ISHOME/loadinfo
    export ISODBC=$EPM_ORACLE_HOME/common/ODBC-64/Merant/6.0
    export ODBCINI=$EPM_ORACLE_HOME/common/ODBC-64/Merant/6.0/odbc.ini
    export TEMP=/tmp
    case `uname` in
    AIX)
    export JAVA_HOME=$EPM_ORACLE_HOME/../jdk160_11
    export LIBPATH=$ISHOME/esslib:$ISHOME/islib:$ISODBC/lib:$JAVA_HOME/lib:$LIBPATH;;
    HP-UX)
    export JAVA_HOME=$EPM_ORACLE_HOME/../jdk160_11
    export SHLIB_PATH=$ISHOME/esslib:$ISHOME/islib:$ISODBC/lib:$JAVA_HOME/lib:$SHLIB_PATH;;
    Linux)
    export JAVA_HOME=$EPM_ORACLE_HOME/../jdk160_11
    export LD_LIBRARY_PATH=$ISHOME/esslib:$ISHOME/islib:$ISODBC/lib:$JAVA_HOME/lib:$LD_LIBRARY_PATH ;;
    SunOS)
    export JAVA_HOME=$EPM_ORACLE_HOME/../jdk160_11
    export LD_LIBRARY_PATH=$ISHOME/esslib:$ISHOME/islib:$ISODBC/lib:$JAVA_HOME/lib:$LD_LIBRARY_PATH;;
    echo `uname -a`;;
    esac
    export CLASSPATH=$EPM_ORACLE_HOME/common/jlib/11.1.2.0/epm_j2se.jar
    export PATH=$JAVA_HOME/bin:$ISHOME/bin:$PATH

    Hi Andres, Can you please tell me how you resolved this issue? I'm getting the same error when I start EIS as windows services, but when I start from console it works fine.
    Updated................Issue resolved!!!
    OK. Upon researching other windows forums found that I had to add System DSN to ODBC administrator under "C:\Windows\*SysWOW64*\odbcad32.exe". This is because the server is a windows 64-bit machine.
    Thanks
    Edited by: U12345 on Dec 14, 2010 5:58 AM
    Edited by: U12345 on Dec 14, 2010 6:01 AM

Maybe you are looking for

  • Certificate not found Security BEA-090169

    <pre>HI</pre> I am trying to Access a External Webservice( which is a https... I am facing a lot of problem. Initially I was having ConnectException.. We found out that it was due to proxy setting on our end So We set the proxy setting in our SetDoma

  • Active corners with multiple monitors

    When second monitor is added, the primary one loses two of it's active corners. Is there any way to keep all active corners on the same monitor?

  • Using Data Services WSDL with Visual Studio 2008

    I am attempting to use the Data Services XI 3.1 WSDL (I think this Data Integrator v 12.1) in Visual Studio 2008 and I am having some difficulty. I am getting the wsdl from the following location: http://devserver:28080/DataServices/servlet/webservic

  • Error pages do not come up.

              Hi all,           I am using weblogic server 5.1 (Service Pack 5)           I have the following line in weblogic.properties           weblogic.httpd.errorPage.500=/errorPage.html           When the servlet returns an error using response.s

  • How can I ensure that the audio sample rare of my capture preset matches?

    Hi everyone When capturing tapes I get warning that the audio sample rate of one or more of captured files does not match the sample rate on my source tape. This may cause the vidio and audeo of the media files to be out of sync. How can I make sure