BSP Exception: Missing reference when converting data object ZZxx

Hi there,
I have created these new Z fields and tried to include them in a field group. These fields did appear, but they are highlighted with a red box, with the above text in the tool tip.
Does anyone know what it means??
Thanks

I believe they were generated by EEWB - or could've been added manually to the CRMD_CUSTOMER_H. This error only occurs on the Currency fields...something to do with reference field but I just can't find what is wrong with this. I searched up SAP notes and found the following the closest match: -
<b>Symptom</b>
when trying to scroll down in the result list in the F4 for the Ibase the error error "BSP exception : Missing reference when converting data object amount.  Correct the entry" occurs.
<b>Other terms</b>
CRMT_BSP_IBASE_TREE_NF, data object amount
<b>Reason and Prerequisites</b>
This happens due to inconsistancy in structure
<b>Solution</b>
Please follow the below steps manually.
1. Go to tx:SE11
2. Select data type "CRMT_BSP_IBASE_TREE_NF" in change mode
3. Select component AMOUNT in 'Components' tab
4. Go to "Currency/quantity fields" tab
5. Replace 'Reference table' entry from 'CRMT_BSP_IBASE_DETAIL'
   to 'CRMT_BSP_IBASE_TREE_NF'
6. Save and activate

Similar Messages

  • Error "Conversion failed when converting date and/or time from character string" to execute one query in sql 2008 r2, run ok in 2005.

    I have  a table-valued function that run in sql 2005 and when try to execute in sql 2008 r2, return the next "Conversion failed when converting date and/or time from character string".
    USE [Runtime]
    GO
    /****** Object:  UserDefinedFunction [dbo].[f_Pinto_Graf_P_Opt]    Script Date: 06/11/2013 08:47:47 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE   FUNCTION [dbo].[f_Pinto_Graf_P_Opt] (@fechaInicio datetime, @fechaFin datetime)  
    -- Declaramos la tabla "@Produc_Opt" que será devuelta por la funcion
    RETURNS @Produc_Opt table ( Hora datetime,NSACOS int, NSACOS_opt int)
    AS  
    BEGIN 
    -- Crea el Cursor
    DECLARE cursorHora CURSOR
    READ_ONLY
    FOR SELECT DateTime, Value FROM f_PP_Graficas ('Pinto_CON_SACOS',@fechaInicio, @fechaFin,'Pinto_PRODUCTO')
    -- Declaracion de variables locales
    DECLARE @produc_opt_hora int
    DECLARE @produc_opt_parc int
    DECLARE @nsacos int
    DECLARE @time_parc datetime
    -- Inicializamos VARIABLES
    SET @produc_opt_hora = (SELECT * FROM f_Valor (@fechaFin,'Pinto_PRODUC_OPT'))
    -- Abre y se crea el conjunto del cursor
    OPEN cursorHora
    -- Comenzamos los calculos 
    FETCH NEXT FROM cursorHora INTO @time_parc,@nsacos
    /************  BUCLE WHILE QUE SE VA A MOVER A TRAVES DEL CURSOR  ************/
    WHILE (@@fetch_status <> -1)
    BEGIN
    IF (@@fetch_status = -2)
    BEGIN
    -- Terminamos la ejecucion 
    BREAK
    END
    -- REALIZAMOS CÁLCULOS
    SET @produc_opt_parc = (SELECT dbo.f_P_Opt_Parc (@fechaInicio,@time_parc,@produc_opt_hora))
    -- INSERTAMOS VALORES EN LA TABLA
    INSERT @Produc_Opt VALUES (@time_parc,@nsacos, @produc_opt_parc)
    -- Avanzamos el cursor
    FETCH NEXT FROM cursorHora INTO @time_parc,@nsacos
    END
    /************  FIN DEL BUCLE QUE SE MUEVE A TRAVES DEL CURSOR  ***************/
    -- Cerramos el cursor
    CLOSE cursorHora
    -- Liberamos  los cursores
    DEALLOCATE cursorHora
    RETURN 
    END

    You can search the forums for that error message and find previous discussions - they all boil down to the same problem.  Somewhere in your query that calls this function, the code invoked implicitly converts from string to date/datetime.  In general,
    this works in any version of sql server if the runtime settings are correct for the format of the string data.  The fact that it works in one server and not in another server suggests that the query executes with different settings - and I'll assume for
    the moment that the format of the data involved in this conversion is consistent within the database/resultset and consistent between the 2 servers. 
    I suggest you read Tibor's guide to the datetime datatype (via the link to his site below) first - then go find the actual code that performs this conversion.  It may not be in the function you posted, since that function also executes other functions. 
    You also did not post the query that calls this function, so this function may not, in fact, be the source of the problem at all. 
    Tibor's site

  • Conversion failed when converting date and/or time from character string

    Hi experts,
    I'm trying running a query in Microsoft Query but it gives the following error message:
    "conversion failed when converting date and/or time from character string"
    when asks me the data I'm inserting 31-01-2014
    i've copy the query form the forum:
    SELECT T1.CardCode, T1.CardName, T1.CreditLine, T0.RefDate, T0.Ref1 'Document Number',
         CASE  WHEN T0.TransType=13 THEN 'Invoice'
              WHEN T0.TransType=14 THEN 'Credit Note'
              WHEN T0.TransType=30 THEN 'Journal'
              WHEN T0.TransType=24 THEN 'Receipt'
              END AS 'Document Type',
         T0.DueDate, (T0.Debit- T0.Credit) 'Balance'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')<=-1),0) 'Future'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>=0 and DateDiff(day, T0.DueDate,'[%1]')<=30),0) 'Current'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>30 and DateDiff(day, T0.DueDate,'[%1]')<=60),0) '31-60 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>60 and DateDiff(day, T0.DueDate,'[%1]')<=90),0) '61-90 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>90 and DateDiff(day, T0.DueDate,'[%1]')<=120),0) '91-120 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>=121),0) '121+ Days'
    FROM JDT1 T0 INNER JOIN OCRD T1 ON T0.ShortName = T1.CardCode
    WHERE (T0.MthDate IS NULL OR T0.MthDate > ?) AND T0.RefDate <= ? AND T1.CardType = 'C'
    ORDER BY T1.CardCode, T0.DueDate, T0.Ref1

    Hi,
    The above error appears due to date format is differnt from SAP query generator and SQL server.
    So you need convert all date in above query to SQL server required format.
    Try to convert..let me know if not possible.
    Thanks & Regards,
    Nagarajan

  • SAP query error - 1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting date and/or time from character string.  'Received Alerts' (OAIB)

    SAP query error - 1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting date and/or time from character string.  'Received Alerts' (OAIB)
    SELECT    
    CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
    WHEN T0.DocStatus = 'C' THEN 'CLOSED'  END  AS 'Document Status',
    T0.DocDate AS 'Posting Date',
    T0.DocNum AS 'Doc.No',
    T0.NumAtCard,
    T0.TransId AS 'Trans. No.',
    T0.Comments AS 'Remarks',
    T0.CardCode AS 'Offset Acct',
    T0.CardName AS 'Offset Acct Name',
    sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
    T3.DueDate AS 'Cheque Date',
    T3.CheckSum AS 'Amount'
    FROM         ODPO AS T0 LEFT OUTER JOIN
                          VPM2 AS T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
         OVPM AS T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
                          VPM1 AS T3 ON T2.DocEntry = T3.DocNum
    where T0.DocDate>='[%0]' and T0.DocDate<='[%1]'

    Hi,
    Try this:
    SELECT   
    CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
    WHEN T0.DocStatus = 'C' THEN 'CLOSED'  END  AS 'Document Status',
    T0.DocDate AS 'Posting Date',
    T0.DocNum AS 'Doc.No',
    T0.NumAtCard,
    T0.TransId AS 'Trans. No.',
    T0.Comments AS 'Remarks',
    T0.CardCode AS 'Offset Acct',
    T0.CardName AS 'Offset Acct Name',
    sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
    T3.DueDate AS 'Cheque Date',
    T3.CheckSum AS 'Amount'
    FROM         ODPO  T0 LEFT OUTER JOIN
                          VPM2  T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry
    LEFT OUTER JOIN
         OVPM  T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
                          VPM1  T3 ON T2.DocEntry = T3.DocNum
    where T0.DocDate >= '[%0]' and T0.DocDate <='[%1]'
    group by T0.DocStatus,T0.DocDate ,
    T0.DocNum ,
    T0.NumAtCard,
    T0.TransId ,
    T0.Comments ,
    T0.CardCode,
    T0.CardName ,
    T0.WTSum ,
    T3.DueDate ,
    T3.CheckSum
    Thanks & Regards,
    Nagarajan

  • Convert Date Object to Calendar object

    Hi,
    I have a Date field in my webdynpro application, I need to to read this from my current context and convert the same to a Calendar field and pass it to my model.
    Calendar date = CalendarConverter.parseDate(req_date.toString());
    The above code gives me a null pointer exception.
    Can anyone suggest me the right way of converting a Date object to Calendar object?
    Ashwini.

    Ashwini,
    try to use the following code snippet:
    // get calendar and set your date object
    Calendar c = Calendar.getInstance();
    c.setTime( <YOUR_DATE_OBJECT> );
    // to manipulate the fields use this
    c.set(Calendar.MONTH, 1);
    // to manipulate retrieve a fields use this
    c.get(Calendar.MONTH);
    Hope that helps you.
    Sebastian Voss

  • LSMW - inforecord / material master - syntax error when converting data

    Hi all,
    I used LSMW for classification uploads (material master, vendor master) so far - it was easy :-). But..I tried to create/update inforecords by object 0060, method 0000, program RM06IBI0. I declared source structure, source fields, field mappings and conversion rules (in my batch input I use only fields which we defined as required for infrecs.), files etc. LSMW reads the data but when I try Convert data - the is syntax error in program /1CADMC/SAP_LSMW_CONV_00000018 and dump with message "For type "C", a maximum length specification of 65535 is allowed." When I tried to create material master (object 0020, method 0000), Convert data command worked the same.
    Any help would be appreciated. (? sample from your batch input file which works well to compare)
    Tomas

    Hi Tomas,
    Please do me a favor. In the initial screen of LSMW, there is a pushbutton for 'Personal Menu'. Once you press that it will pop-up a screen with a bunch of checkboxes. Select the checkbox for 'Display Conversion Program' and press enter. Now you should see the 'Display Conversion Program' option in your initial screen. Select that and go into the conversion program. Put a break-point in the conversion program on the statement 'perform execute_data_conversion.'.
    Debug it and find out exactly where the error is occuring. Perhaps that will help you figure out what the error is, if not, let the forum know where you hit the error. Even looking at the dump, you should get more information.
    Srinivas

  • Missing images when converting Words 2010 to PDF (Acrobat 9.0)

    Hi,
    I tried to convert documents from docx (2010) to pfd, but some images went missing. When I tried to convert using CutePDF, other images were 'discoloured'!!
    Anyone with the same problem?

    They are missing.. for example, i have this graphics with a few circles within a circle (different tones of blue). The pdf document only shows the 'outer' circle, whereas the inner circles are gone. Another is that I have a blue/grey graphic against a white background, with a text box with words on top of it. When printed, the text box is 'under' the graphic instead (I can see part of the text box on the white background)

  • How to convert date object format to new?

    Hi,
    I have data object and I want to convert it to this format.
    DD MMM YYYY
    eg: 23 MAR 2003
    I am looking for exact line of code please.
    Thanks,
    Kavans.

    You should check out the Javadoc for java.text.DateFormat and java.text.SimpleDateFormat.
    As for the exact line of code then this would be close:
    Date date = ...; // wherever your date comes from
    DateFormat dateFormat = new SimpleDateFormat("dd MMM yyyy");
    String dateAsString = dateFormat.format(date);Remember to check out those Javadocs, though, 'cos they'll tell you the various formatting options available.
    Hope this helps.

  • Converting Date Object

    plz help me,
    I want Date in simple format as dd/mm/yyyy.
    I am retrieving date from database (oracle) and now i want to convert that date to simple "dd/mm/yyyy"
    e.g : date_from_oracle=Wed Feb 01 09:10:59 GMT+05:30 1950
    converted_date=1/2/1950 (and this should be date object and not String)
    System.out.println("converted date:" + converted_date);
    above line should print : converted date:1/2/1950
    if u r clear with my question then plz help me
    Thanks

    No my problem is that i am developping J2EE
    application where i am getting date values in EJB
    that i want to display on JSP page.
    For this i am using struts and passing collection of
    data values to it.That shouldn't make the solution any different.
    My oracle date format is 01-Jan-2005 (dd/mmm/yyyy).
    In my ejb there is one attribute named "date_display"
    of type Date. In Struts Action i retrieved collection
    of all dates from database that i want to display on
    JSP page as it is without any parsing. Then you should not bother about the format.
    If i iterate above collection in JSP page it displays
    date along with GMT and Time format. I dont want
    this. I want to set "date_display" in such a way that
    it should contain date values but in simple format as
    "1-Jan-2005 OR 1/1/2005". Important thing is that the
    Setter Method for date_display accepts parameter of
    Date type. So even SimpleDateFormat also not useful.If it is not useful, write your own method. <_<
    please help me out as i am stuck there.
    System.out.println(new SimpleDateFormat("dd/MM/yyyy").format(new Date()));

  • 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

  • How to Convert Date Object at Universe Level with out Timestamp

    Hi,
    I have a Object  called "PCREGISTERDATE" at universe where the data type is date .but the dates are coming in the following format:9/26/2007 9:48:40 PM but i want to show the date as with out time stamp.
    how can i create a object by at universelevel which shoul show only date with out Time Stamp.
    please help me on this ASAP.
    Thanks & Regards,
    Kumar

    Please try below date fucntion:
    select convert(varchar(10),getdate(),101)  - this is for sybase
    syntex will change based on your source database.
    Thanks
    Ponnarasu .K

  • Missing Audio when Converting from MPEG1 Muxed to Ipod using QT Pro 7

    I just got my video iPod over Christmas. After reading up on QT Pro 7, I purchased it over the weekend, and have attempted unsuccessfully the past two nights to convert home videos (taken with my Sony digital camera) to iPod format. My home movies play fine when I open them in Quicktime; however, when I export to the iPod format (and also when I export to mpeg4 format), I only get the video and not the audio.
    I've confirmed that my key for QT Pro 7 is successfully loaded, so that's not the issue.
    I've also confirmed that the format of the original video taken from my camera is "MPEG1 Muxed". Several internet discussion boards seem to indicate that missing audio is a common problem for people using Sony cameras and Quicktime. If this is the case, I'd prefer to simply refund my money and buy one of the other video to iPod converters available on the web.
    So, either help me solve this problem, or help me get a refund. I'm fine either way.
    -- Chief1Pat

    QT does not export the sound when exporting from muxed mpegs (mpeg-1 or mpeg-2). QT Mpeg Limitations
    You should be able to export both sound and video with this Windows freeware:
    http://www.videora.com/en-us/Converter/iPod/

  • Database exception: undefined error when uploading personalized object

    I have an object I've extended based on the article at the Oracle Application Hack website. [Oracle Application Hack|http://oracle-hack.blogspot.com/2009/05/how-to-extend-view-object-in-oa.html]
    However, when I try making the call locally to import my newly created .jpx file to my Oracle server (which I should add is a remote server), the code throws an Unhandled Exception when trying to connect to the database.
    I'm calling the function as follows:
    C:\jdeveloper\jdevbin\oaext\bin\jpximport C:\jdeveloper\jdevhome\jdev\myclasses\ORAR12DEV.jpx -username username -password password -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myserver.mycompany.com)(PORT=1523))(CONNECT_DATA=(DEV)))"
    Am I doing something wrong?
    I've read there's a way to import these personalizations on the middle tier. Does anyone know how to do this? (This is my first time personalizing an Oracle object)

    Hi,
    The code I'm running to try to run the import is:
    java oracle.jrad.tools.xml.importer.jpximporter C:\jdeveloper\jdevhome\jdev\myclasses\ORAR12DEV.jpx -username username -password password -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mydb.mycompany.com)(PORT=1523))(CONNECT_DATA=(SID=DEV)))"
    I run this from the Unix box changing the path to JAVA_TOP and the username/password parameters to the appropriate values.

  • Getting error " Conversion failed when converting date and/or time from character string."

    Hello Experts,
    I am getting the above error, when i try to execute the query. 
    DECLARE @START AS DATETIME
    DECLARE @END AS DATETIME
    SET @START = CONVERT(VARCHAR(10), GETDATE()-1,101) + '00:00:00'
    SET @END = CONVERT(VARCHAR(10), GETDATE()-1,101) + '23:59:59'
    Any suggestions as to how to get out of this error.
    Appreciate any help/suggestions.
    Thanks!
    Rahman

    Thanks Latheesh,
    I am able to execute the above query, but when i implement the same in my query, i am getting another error.
    Invalid column name 'DATETIME'.
    Invalid column name 'DATETIME'.
    Invalid column name 'DATETIME'.
    Invalid column name 'DATETIME'.
    DECLARE @START AS DATETIME
    DECLARE @END AS DATETIME
    SET @START = CONVERT(VARCHAR(10), GETDATE()-1,101) + ' 00:00:00'
    SET @END = CONVERT(VARCHAR(10), GETDATE()-1,101) + ' 23:59:59'
    SELECT
    SUBSTRING(A1.TGT,2,4) SATC,
    SUBSTRING(DGT,2,4) COFS,
    (CASE WHEN SG.S_G_E_NM LIKE '%S%' THEN 'SALES' WHEN SG.S_G_E_NM LIKE '%U%' THEN 'SUPPORT' WHEN SG.S_G_E_NM LIKE '%S%' THEN 'CUSTSERV' ELSE 'UNKNOWN' END) SKILL,
    COUNT(*) TOTAL,
    AVG(T1.NET) AS A,
    AVG(T1.TALK + T1.HOLD + T1.WORK) AVGHTIME
    FROM
    SELECT * FROM TABLE WHERE (1=1)
    AND DATETIME >= @START
    AND DATETIME <=@END
    AND PERIPH_ID IN (1111,2222,3333)
    AND TGT_ID NOT IN (12457)
    ANDSEQ_NBR IN (2)
    AND DGT LIKE '8%2400'
    AND TALK > 0
    ) AS T1
    Any guesses as to what could be going wrong here?
    Rahman

  • SSIS Lookup Conversion failed when converting date and/or time from character string

    Hi all,
    I'm trying to do a lookup by passing a date, however (i'm guessing) one of the dates is in a bad format and is failing the component.  How do I find the suspect row?  I set both lookup outputs to flat file but it is just erroring and not outputting
    anything.  The date being passed in is in datetime format and destination is the same data type.

    Thanks for your suggestions.  I have used ISDATE and MIN, MAX to find the maximum ranges.  ISDATE is not returning 0 in both Source and Destination (so it looks like they're all valid).  it looks like there are some null dates in from date
    column.  Would these throw a conversion error?  I'm still a bit stumped as to why i'm getting a conversion error, 1900-01-01 00:00:00.000 is still a valid date even if it's basically null.
    -- SOURCE MIN DATE = 2009-12-21 00:00:00.000
    -- SOURCE MAX DATE = 2015-06-08 00:00:00.000
    -- DESTINATION MIN FROM DATE = 1900-01-01 00:00:00.000
    -- DESTINATION MIN TO DATE = 2005-01-15 00:00:00.000
    -- DESTINATION MAX FROM DATE = 2015-10-18 00:00:00.000
    -- DESTINATION MAX TO DATE = 2145-12-31 00:00:00.000
    I will also try JAKUB's suggestion to see if the package completes with a few rows.

Maybe you are looking for