Query error - with filtering records

Hi. I have a gallery that shows 9 records at a time, which
you can then move on to subsequent pages. I added filters to narrow
down the record search, however, I am receiving query errors. This
is my code:
<!----- This is setting the initial defaults for the filter
variables ---->
<cfparam name="form.ART_CATEGORY_ID" default="">
<cfparam name="form.ART_TYPE_ID" default="">
<cfparam name="form.FINE_ART_CLASS_ID" default="">
<cfparam name="form.searchfield" default="">
<!----- Populate the CATEGORIES filter drop-down ---->
<cfquery name="categories" datasource="nancy">
SELECT *
FROM CATEGORIES
ORDER BY ART_CATEGORY_ID
</cfquery>
<!----- Populate the TYPES filter drop-down ---->
<cfquery name="types" datasource="nancy">
SELECT *
FROM TYPE
ORDER BY ART_TYPE_ID
</cfquery>
<!----- Populate the CLASS filter drop-down ---->
<cfquery name="class" datasource="nancy">
SELECT *
FROM CLASS
ORDER BY FINE_ART_CLASS_ID
</cfquery>
<!----- Create the filter drop-down selections ---->
<form method="post" action="root_fineart.cfm">
<select name="ART_TYPE_ID">
<option value="" <cfif trim(form.ART_TYPE_ID) eq
"">selected
</cfif>> All </option>
<cfoutput query="types">
<option value="#ART_TYPE_ID#"
<cfif form.ART_TYPE_ID eq
types.ART_TYPE_ID>selected</cfif>>#ART_TYPE#</option>
</cfoutput>
</select>
<select name="ART_CATEGORY_ID">
<option value="" <cfif trim(form.ART_CATEGORY_ID) eq
"">selected
</cfif>> All </option>
<cfoutput query="categories">
<option value="#ART_CATEGORY_ID#"
<cfif form.ART_CATEGORY_ID eq
categories.ART_CATEGORY_ID>selected</cfif>>#ART_CATEGORY#</option>
</cfoutput>
</select>
<select name="FINE_ART_CLASS_ID">
<option value="" <cfif trim(form.FINE_ART_CLASS_ID) eq
"">selected
</cfif>> All </option>
<cfoutput query="class">
<option value="#FINE_ART_CLASS_ID#"
<cfif form.FINE_ART_CLASS_ID eq
class.FINE_ART_CLASS_ID>selected</cfif>>#FINE_ART_CLASS#</option>
</cfoutput>
</select>
<!----- This also creates a SEARCH capability ---->
<input name="searchfield" type="text" size="10"
value="#form.searchfield#" /></cfoutput> </label>
<input name="submit" type="submit" value="Submit" />
<!----- I got this part of the code from a site, that allows
me to display the 9 records at a time in my gallery ---->
<cfparam name="start" type="numeric" default="1">
<cfparam name="step" type="numeric" default="9">
<!----- My query to retrieve the records... This may be where
I have something wrong... ---->
<cfquery datasource="nancy" cachedwithin=".01"
name="queryResults">
SELECT *
FROM ART
WHERE 1 = 1
<cfif val(form.ART_CATEGORY_ID) GT 0>
AND ART_CATEGORY_ID = <cfqueryparam
value="#form.ART_CATEGORY_ID#" cfsqltype="cf_sql_integer">
</cfif>
<cfif val(form.ART_TYPE_ID) GT 0>
AND r.ART_TYPE_ID = <cfqueryparam
value="#form.ART_TYPE_ID#" cfsqltype="cf_sql_integer">
</cfif>
<cfif val(form.FINE_ART_CLASS_ID) GT 0>
AND i.FINE_ART_CLASS_ID = <cfqueryparam
value="#form.FINE_ART_CLASS_ID#" cfsqltype="cf_sql_integer">
</cfif>
<cfif trim(form.searchfield) neq "">
AND ART_TITLE LIKE '%#form.searchfield#%'
</cfif>
ORDER BY ART_TITLE ASC
</cfquery>
<!----- This is also code I got somewhere else to display the
gallery ---->
<cfif queryResults.recordcount gt 0>
<cfoutput>
<p class="style1">
<!--- if past start --->
<cfif (start-step-step) gt 1>
<a href="#cgi.SCRIPT_NAME#?start=1"><img
src="images/Beginning_blue.png" alt="Beginning" width="31"
height="21" align="absbottom" /></a>
</cfif>
<cfif start gt 1>
<a href="#cgi.SCRIPT_NAME#?start=#start-step#"><img
src="images/previous_blue.png" alt="Previous" align="absbottom"
/></a>
</cfif>
<strong>#start# - #iif(start * 3 + step gt
queryResults.recordcount,queryResults.recordcount,start + step-1)#
of #queryResults.recordcount# records</strong>
<!--- if still some not displayed --->
<cfif (start + step) lte queryResults.recordcount>
<a href="#cgi.SCRIPT_NAME#?start=#start+step#"><img
src="images/next_blue.png" alt="Next" align="absbottom"
/></a>
</cfif>
<cfif (start+step+step) lte queryResults.recordcount>
<a
href="#cgi.SCRIPT_NAME#?start=#queryResults.recordcount-step+1#"><img
src="images/end_blue.png" alt="End" align="absbottom"
/></a>
</cfif>
</p>
</cfoutput>
</cfif>
<cfloop query="queryResults" startrow="#start#"
endrow="#start + step/3-1#">
<table width="100%" border="1" bordercolor="#FFFFFF"
cellspacing="0" cellpadding="2">
<tr> <cfoutput query="queryResults"
startrow="#start#" maxrows="3">
<td width="33%"
class="style1">#queryResults.ART_TITLE#</td>
</cfoutput>
<cfset #start# = #start# + 3>
</tr>
</table>
</cfloop>
</td>
</tr>
</table></form>
It seems that the CATEGORIES filter is the only one that does
not return a ERROR EXECUTING DATABASE QUERY error. However, it does
not filter all the records... it only seems to filter and return
the first 4 or 5 records.
Any thoughts?

your queryResults query selects only from ART table, while in
the WHERE
clause you are apparently using other tables whihc are not in
your FROM
clause...
you need to use JOIN/INNER JOIN/LEFT JOIN/RIGHT JOIN in your
FROM clause
to link the other tables. check your db manual for proper
usage of those
operators.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

Similar Messages

  • How to isolate error with a record/segment in IDOC with multiple records

    I have an IDOC with multiple records/segments (typically 1000 records/segments). Sometime XI can not process the IDOC because of some control characters in data.
    1. How can I pre-processed the IDOC to remove those control characters?
    Can I use XPATH expression/Java class to do it? How can I configure the XPATH expression/Java class in XI to pre-process the file?
    2. Until I have answer to 1st question. I would like to find out the error is exactly for which record? What configuration can I do in XI to isolate the error is with which record/segment in IDOC?
    Thanks in advance.

    Split the IDoc.
    with in the UDF, after the validations if every thing fine, pass as successful records to success_MT and pass it to target system using Branching in BPM.
    if errors found in the record, then store the error records in Hash table with in UDF, get the IDoc number, frame as a string and raise alert.
    U have to do this in the context of IDoc.
    If U wanna get the IDoc Number, Segment Name and field name for every failure, U can pass the expected error field name as constant to UDF, frame the sentence in the UDF like -> <b>IDoc 1234321 segment – SEG001 – field – FLD03 has a special character ‘*’</b>.
    If U wanna pass this string to source/target, U can do in error messages branch in BPM.
    U must use BPM for splitting the IDoc, since it is multi-mapping.
    reg.,
    Yallabandi.

  • Javascript error with insert record. Please help!

    I  contacted Adobe  support today and they said to get on these forums as  they cant help  with coding errors.
    When i try to  insert a Record I  get the following error:
    while executing onLoad in  InsertRecord.htm, the  following JavaScript error(s) occurred:
    At  line 665 of file  "C:\Program Files\Adobe   DreamweaverCS4\Configaration\ServerBehaviours\PHP_MySQL\InsertRecord.js":
    name    has no properties
    Line 655
          if (columnName.toUpperCase() ==   name.toUpperCase())
    Im running Win 7 64bit
    I contacted  Adobe  support today and they said to get on these forums as they cant  help  with coding errors.
    I have formatted my Pc and reinstalled and the  same error  comes up. If I try to edit and existing insert record it  works fine,  when I create a new page and then try to add a new insert  recordset i  get this erro again.
    i have since reinstalled Windows & 32Bit  to see if  that helped, nope. I have installed no extensions its a  clean install.
    Any  help  after spending a small fortune on this software.

    I think you are trying to run the program but you don't have the required class POP3Session.class or it's .java file which you can compile.
    Another example for pop3 and smtp is on the following link..check if it helps you..
    http://www.cs.umu.se/~hed/java/ch11.htm

  • Query performance with filters

    Hi there,
    I've noticed that when I run a query in Answers, if the query has a filter which is not in the displayed columns, the query runs very slowly. However, if I run the same query WITH the filtering column in the displayed columns, the query will return the results almost immediately.
    Take the example of a sales report. If I run a query of [Store Number] vs. [Sales Amount] and ctrl-click filter it with the [Region] dimension column equal to 'North America'. The query will take about 5 to 10 minutes to run. However, if I include the [Region] column in the display columns (i.e. [Region], [Store Number] vs. [Sales Amount]) or the "Excluded" columns in Answers, then the query will take less than a minute to run.
    I am using Oracle BI to connect to a MS Analysis Services cube by the way.
    Any ideas or suggestions on how to improve the performance? I don't want to include the filtering columns in the select query because when users use the dashboard filters, they just want to filter the results by different dimension values instead of seeing them in the report.
    Thanks.

    Thanks.
    However, when I run a similar query in the backend (MS Analysis Services), the performance is very good. Only when I try to run the query through Oracle BI, the performance suffers. I know that it has something to do with the way Oracle constructs its query to send back to the Analysis Services.
    The main thing about my issue is that in Answers, queries with the filtering columns in both the select and where clauses run much faster than queries with the filtering columns ONLY in the where clause. Why is that, and how to speed it up?

  • QUERY ERROR WITH WILD CARD ON FORM WHEN NO DATA WWC-49102

    Portal 30985 ; database 9014 on sun solaris
    Same server : two databases 9014 : db1 with portal and db2(used here as remote database);
    Step1 ; Create public database link; db_link on db1 through Portal interface;
    Step2 ; create public synonym emp_syn for table emp@db_link through Portal interface;
    Step3 :create form based on emp_syn;
    the form is generated OK and also is behaving OK when Insert,Update,Delete from
    underlying table ;but when I am quering for 758% into the empno field I've got the same error:
    Error: An unexpected error occurred: ORA-00000: normal, successful completion (WWV-16016)
    No conversion performed for type NUMBER, value 758%. (WWC-49102) INSTEAD OF RETURNING EMPTY FORM(NO ROWS)
    I have tryed to query on other fields ;
    querying on a numeric field will give the above message;
    querying on a varchar or date field with or without wild card will raise the following error:Error: An unexpected error occurred: ORA-00000: normal, successful completion (WWV-16016)
    An unexpected error occurred: ORA-00000: normal,successful completion (WWV-16016).
    Lawrence

    Hi Mike,
    You can actually just check for the existence of the cell:
    var l_Cell = $x(pId);
    if (l_Cell)
    rest of the code to hide the column
    }As long as l_Cell refers to a valid page item, then the if test passes and the rest of your code can run.
    Andy

  • Error with ESS-Record working Time

    While trying to create record for timesheet thorugh CATS on ESS > Record working time I get the following error : Could any one guide me the same please.
    08.07.2013: Counting rule 1/07/030 does not exist
    Erroneous records exist. Navigation is not possible
    Regards,
    Ayesha

    Hi,
    Some more issues .
    1: I am not able to view any Attendance type/Absence type in Timesheet page , though i have selected it as an input field.
    2: I needed an additional field with free text, so selected additional field as an input but not getting this also in ESS.
    3: I got these fields  Project and Project subobject, but these are disabled ones, with no LOV or free text option. I want to know how do i get values here , is there any PA or OM infotypes ,where i can assign Project details and then fetch it here ?
    4: Task Type , Level and Component.
    Type
    Level
    Component
    1
    A
    A1
    A2
    2
    B
    B1
    B2
    This appears correctly, but my issue is when I select type 1 , in Level I can view A and B, also all the component are appearing, if you select level A.
    I want to restrict this. When I select type 1, I should be able to view only Level A. Is this possible in Stanndard ? Same for Level and component asignment.
    Regards,
    Ayesha

  • Error with re-recording on Adobe Captivate 4

    Hi,
    When i try to create a software simulation using automatic recording mode, get the error below:
    Unable to locate the element in the application being recorded. Check if the action was performed outside the browser window.
    A breakpoint has occurred at script index 2
    Click 'Switch To Manual Mode' to continue performing manual actions. Press the designated key to resume automatic re-recording from the next item in the re-recording script.
    To skip this action, click 'Continue from next element'.
    I am trying to do a simple test using notepad file.
    I can create the original project and script file ok.
    The problem is when i browse to the saved script file i get the error above.
    I am running XP tablet edition service pack 3.
    Can anyone help?
    Thanks

    Thanks for the reply Rick,
    I understood that captivate could be used to re-record actions in software automatically.
    I want to record a demonstration of a software application and then repeat in numerous languages using the re-record function.
    There is no mention in the user manual that this function is exclusive to internet explorer, (however i do notice the message pop up saying only ie6 is supported).
    Any advice would be welcome

  • Query erroring with OutOfMemory exception

    Hi,
    When I run this query:
    SELECT VENDPACKINGSLIPTRANS.COSTLEDGERVOUCHER, VENDPACKINGSLIPTRANS.ITEMID, VENDPACKINGSLIPTRANS.INVENTTRANSID,VENDPACKINGSLIPJOUR.PURCHID, VENDPACKINGSLIPTRANS.NAME, VENDPACKINGSLIPTRANS.QTY
    FROM VENDPACKINGSLIPTRANS INNER JOIN
    VENDPACKINGSLIPJOUR ON VENDPACKINGSLIPTRANS.PACKINGSLIPID = VENDPACKINGSLIPJOUR.PACKINGSLIPID
    WHERE (VENDPACKINGSLIPTRANS.DATAAREAID = 'agl')
    it returns the results in about 12 seconds.
    This one however runs for about 12 minutes before crashing.
    SELECT VENDPACKINGSLIPTRANS.COSTLEDGERVOUCHER, VENDPACKINGSLIPTRANS.ITEMID, VENDPACKINGSLIPTRANS.INVENTTRANSID,VENDPACKINGSLIPJOUR.PURCHID, VENDPACKINGSLIPTRANS.NAME, VENDPACKINGSLIPTRANS.QTY
    FROM VENDPACKINGSLIPTRANS INNER JOIN
    VENDPACKINGSLIPJOUR ON VENDPACKINGSLIPTRANS.PACKINGSLIPID = VENDPACKINGSLIPJOUR.PACKINGSLIPID
    WHERE (VENDPACKINGSLIPTRANS.DATAAREAID = 'agp')
    As it runs I can see that file C:\Users\carronp\AppData\Local\Temp\2\tmp55B3.tmp grows to over 4GB.
    When it crashes it throws the following error:
    An error occurred while executing batch. Error message is: Exception of type 'System.OutOfMemoryException' was thrown.
    My The data file of my database is on D:\ and the log file is on L:\ so I can't see why C:\ would be getting filled.
    Has anybody seen an issue like this before?
    Cheers
    Paul

    Paul 
    What if you create a procedure that accepts parameters , for  example
    CREATE PROCEDURE sp1
    @Par VARCHAR(5)
    AS
    SELECT VENDPACKINGSLIPTRANS.COSTLEDGERVOUCHER, VENDPACKINGSLIPTRANS.ITEMID, VENDPACKINGSLIPTRANS.INVENTTRANSID,VENDPACKINGSLIPJOUR.PURCHID, VENDPACKINGSLIPTRANS.NAME, VENDPACKINGSLIPTRANS.QTY
    FROM VENDPACKINGSLIPTRANS INNER JOIN
    VENDPACKINGSLIPJOUR ON VENDPACKINGSLIPTRANS.PACKINGSLIPID = VENDPACKINGSLIPJOUR.PACKINGSLIPID
    WHERE (VENDPACKINGSLIPTRANS.DATAAREAID = @Par)
    EXEC sp1 @Par='agp'
    EXEC sp1 @Par='agl'
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Padding query results with dummy records

    I have a dashboard report that has one group and subsequest detail rows.  The detail rows consist of a string representation of a date and 6 indicators which go with that date.  My user would like to have a consistent number of records (e.g. the last 12 months) show for each group.  If there is no data available for a given period he wants to display blank indicators in the color gray.
    I am interested in any feedback for the best way to do this or if this is even possible.
    Using Crystal Xi sp2.
    Thaks in advance,
    Don

    Crystal is driven by the data it gets from the database.  It is far, far easier (IMHO) to make the database return the data to make the Crystal report straight forward than to try to force Crystal to do things driven by logic.
    Is it impossible to do in another way?  Probably not.  Is it rational to try?  Probably not! 
    BTW, I don't think there's anything in my sample SQL that wouldn't work in Oracle (but it's been a while since I used Oracle, so I could be wrong).
    HTH,
    Carl

  • Errors with querying a query table using non-QoQ query and QoQ query

    HELP ! ! !  Going into testing soon. I need this to work to get correct report results ! ! ! !
    My issue seems similar to the one just answered about Query of Queries RunTime Error
    and the reply from lawhite01 caught my eye.
    This is a 2 parter. The second part is the QoQ part, but the 1st part has a line in the query that is similar to the QoQ one and it uses the same data. Part 1 also throws an error.
    PART # 1.
    I'm trying to use a query table created through QueryNew and then query it.
    I need multiple columns in the query table I create:
    <cfscript>
            tot_AllCurrentDraftListing = QueryNew("AnnounceNum, JP_PDLoc, JP_JS_Title, JP_JS, JP_KW_1, JP_JobTitle, JP_Open, JP_Close, JP_CloseType, JP_CloseName, JP_PosNeed, JP_DirectHire, JP_Desc, JP_Draft, JP_Archived, JP_State, JP_AreaName, JP_AreaID, JP_AreaAlias, JP_Fac_SU, JP_Fac_Facility, JP_FAC_ID, JP_Grade1, JP_sal_low1, JP_sal_high1, JP_Grade2, JP_sal_low2, JP_sal_high2, JP_Grade3, JP_sal_low3, JP_sal_high3, JP_Grade4, JP_sal_low4, JP_sal_high4, JP_Grade5, JP_sal_low5, JP_sal_high5, JP_Posted, JP_TypeHire, JP_HRemail");
        </cfscript>
    Then I populate all the cells of the query table.
    Then I set up to use the created query table.
    I do this first:
        <cfquery name="qAltPostID" datasource="#at_datasource#">
             SELECT AltPoster, fk_Job_AnnounceNum
             from JOB_JPContacts
             Where AltJPContactType = 'AltPosterID'
             and AltPoster = '#session.IHSUID#'
             </cfquery>
    Then, in my first query using the created query, I expect to need to choose from multiple values, so I'm using this line in the query (this is NOT a QoQ query):
                and AnnounceNum IN (<cfqueryparam cfsqltype="CF_SQL_varchar" value="#ValueList(qAltPostID.fk_Job_AnnounceNum)#">)
    I've also tried:
                   and AnnounceNum IN (#ValueList(qAltPostID.fk_Job_AnnounceNum)#)   
    and:
                   and JOB_AnnounceNum IN
                    SELECT fk_Job_AnnounceNum
                    from JOB_JPContacts
                    Where AltJPContactType = 'AltPosterID'
                    and AltPoster = '#session.IHSUID#'
    ERROR is: one record should return. I get 0.
    PART # 2: Here's the QoQ part.
    I get the error:
    Query Of Queries runtime error.
    Comparison exception while executing IN.
    Unsupported Type Comparison Exception: The IN operator does not support comparison between the following types:
    Left hand side expression type = "LONG".
    Right hand side expression type = "STRING".
    A tutorial I found gave an example using only one column for this part of the fix:
         tot_AllCurrentDraftListing = QueryNew("AnnounceNum", "CF_SQL_VARCHAR")
    How would I set up the query with the datatype when I'm using multiple columns:
    <cfscript>
            tot_AllCurrentDraftListing = QueryNew("AnnounceNum, JP_PDLoc, JP_JS_Title, JP_JS, JP_KW_1, JP_JobTitle, JP_Open, JP_Close, JP_CloseType, JP_CloseName, JP_PosNeed, JP_DirectHire, JP_Desc, JP_Draft, JP_Archived, JP_State, JP_AreaName, JP_AreaID, JP_AreaAlias, JP_Fac_SU, JP_Fac_Facility, JP_FAC_ID, JP_Grade1, JP_sal_low1, JP_sal_high1, JP_Grade2, JP_sal_low2, JP_sal_high2, JP_Grade3, JP_sal_low3, JP_sal_high3, JP_Grade4, JP_sal_low4, JP_sal_high4, JP_Grade5, JP_sal_low5, JP_sal_high5, JP_Posted, JP_TypeHire, JP_HRemail");
        </cfscript>
    I used this code after all the cells contained values and before running my QoQ query:
            <cfloop index="intID" from="1" to="#tot_AllCurrentDraftListing.recordcount#" step="1">
                <cfset tot_AllCurrentDraftListing["AnnounceNum"] [intID] = JavaCast("string", intID) />
            </cfloop>
              Is that correct?
    Thanks.
    Whoever can help me with this should be awarded extra points ! ! ! !

                and AnnounceNum IN (<cfqueryparam cfsqltype="CF_SQL_varchar" value="#ValueList(qAltPostID.fk_Job_AnnounceNum)#">)
    If you're passing a list as a param, you need to tell <cfqueryparam> it's a list.  Read:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_p-q_18.html#1102474
    ERROR is: one record should return. I get 0.
    It's a bit hard to comment on this sort of thing without knowing the data involved.
    A tutorial I found gave an example using only one column for this part of the fix:     tot_AllCurrentDraftListing = QueryNew("AnnounceNum", "CF_SQL_VARCHAR")
    How would I set up the query with the datatype when I'm using multiple columns:
    Again, this is a matter of reading the relevant docs:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/functions_m-r_19.html#292759
    As a general rule, if you're having trouble with the syntax of a CFML statement, look it up in the docs.
    Adam

  • Error on running reports with filters/security

    Post Author: mishel
    CA Forum: Publishing
    Hi,    I am trying to run a report with filters/security defined via Business View.  When I run the report as administrator, I am able to view successfully.  However, when I login as test/dummy account which filters my parameters, I am getting such error - "A request was cancelled.  The necessary security privileges could not be verified.  This indicates a problem with the security server."  Appreciate all the help I can get.Thank you,Michelle

    Hi onizga,
    According to your description that you are migrating SSRS 2008 R2 reports to SSRS 2012 SP2, after migration you got some error like “The Uri string is too long” which only occurred when accessing the drill-through actions, right?
    Usually, the issue can be caused when you try to pass some parameters that cause the URL length to exceed 65,520 characters for a Microsoft SQL Server 2012 Reporting Services (SSRS 2012), you cannot render the report, and you may receive the following error
    message:
    The value of parameter 'param' is not valid. (rsInvalidParameter).Invalid URI: The Uri string is too long.
    This is an known issue and already have the hotfix SQL Server 2012 Service Pack1 Cumulative Update 9 (CU9) as you know, you can try to reinstall this hotfix to fixed this issue:
    http://support.microsoft.com/kb/2916827 .Any issue after applying the update, please post it on the following thread or you can submit an feedback:
    http://connect.microsoft.com/SQLServer/feedback/details/788964/ssrs-2012-invalid-uri-the-uri-string-is-too-long 
    Similar threads for your reference:
    SSRS - The value of parameter 'param' is
    not valid. ---> System.UriFormatException: Invalid URI: The Uri string is too long.
    Microsoft.ReportingServices.Diagnostics.Utilities.InvalidParameterException:
    The value of parameter 'pSetOfScopes' is not valid. ---> System.UriFormatException: Invalid URI: The Uri string is too long
    If you still have any question, please feel free to ask
    Regards
    Vicky Liu
    If you have any feedback on our support, please click here

  • A/R Invoice Draft failed with error - "no matching records met ......."

    Hi Guys,
    For the past one week I have been struggling to import draft A/R invoices into SAP Business One 9.0 PL 07. The database to which i'm doing this import continually returns the error "no matching records met ........." during simulation and also import stage.
    Interestingly, I noticed that import picks draft invoices with only one row detail leaving out the ones with more than one row details. I desperately need a solution to this issue as my client is scheduled to go live coming Monday.
    A sample of the structure of the data is below for your review and advice:
    ODRF
    DocEntry
    DocNum
    DocType
    DocDate
    DocDueDate
    CardCode
    CardName
    DocCurrency
    DocObjectCode
    DocEntry
    DocNum
    DocType
    DocDate
    DocDueDate
    CardCode
    CardName
    DocCur
    ObjType
    1
    1
    dDocument_Items
    20140122
    20140122
    GH-XX-001
    Customer A
    GHS
    13
    2
    2
    dDocument_Items
    20140122
    20140122
    GH-XX-002
    Customer B
    GHS
    13
    3
    3
    dDocument_Items
    20140122
    20140122
    GH-XX-003
    Customer C
    GHS
    13
    DRF1:
    ParentKey
    LineNum
    ItemCode
    Quantity
    Price
    WarehouseCode
    VatGroup
    DocNum
    LineNum
    ItemCode
    Quantity
    Price
    WhsCode
    VatGroup
    1
    0
    AB-0003
    2
    34.7018
    01
    VP
    1
    1
    LC-0002
    1
    27.0245
    01
    VP
    1
    2
    TW-0002
    1
    26.8469
    01
    VP
    1
    3
    DG-0002
    5
    28.161
    01
    VP
    1
    4
    FLI-075
    25
    7.83
    01
    VP
    2
    0
    AB-0003
    27
    31.5478
    01
    VP
    2
    1
    DG-0002
    8
    25.6
    01
    VP
    2
    2
    TW-0002
    5
    23.9652
    01
    VP
    2
    3
    KW-0002
    8
    27.7913
    01
    VP
    2
    4
    LC-0002
    10
    24.1249
    01
    VP
    2
    5
    FLI-075
    35
    7.8261
    01
    VP
    2
    6
    FLI-075
    2
    7.8261
    01
    VP
    3
    0
    AB-0003
    6
    31.5478
    01
    VP
    3
    1
    DG-0002
    40
    25.6
    01
    VP
    3
    2
    LC-0002
    20
    24.1249
    01
    VP
    3
    3
    KW-0002
    15
    27.7913
    01
    VP
    3
    4
    FLI-075
    5
    7.83
    01
    VP
    Please advice on how i can work at transferring this data into SAP Business One. Thanks for your help in advance.
    Regards
    John

    Hi,
    You may check this SAP note for service type invoice. Follow instruction and apply for above conditions.
    1135341 - How to import service invoices for foreign customers
    Thanks & Regards,
    Nagarajan

  • Keeping getting an error with-in the App Store. Error 100 saying that my payment can't be received at the time. I updated to Mountain Lion to download the new Logic Pro X. Now left with now recording software and it's not letting me buy the new one.

    Keeping getting an error with-in the App Store. Error 100 saying that my payment can't be received at the time. I updated to Mountain Lion to download the new Logic Pro X. Now left with now recording software and it's not letting me buy the new one.
    iMac, OS X Mountain Lion (10.8.4), trying to get Logic Pro X

    Hello jst84,
    The following article may be helpful in getting your purchase to complete.
    Mac App Store: "An unknown error occurred (100)" when purchasing
    http://support.apple.com/kb/TS3637
    Cheers,
    Allen

  • File to RFC with multiple records using BPM Scenario Error...!!!

    Hello Guru's,
      I have done the File to RFC with multiple records using BPM scenario as per the Materiel available in the sdn.sap. This involves BAPI (BAPI_MATERIEL_AVAILABILITY). I have done exactly the same what is their in the materiel. SXI_CACHE is also giving return value " 0 ". File is getting deleted from the source directory, but no file in target directory. SXMB_MONI is also showing no error (black Flag). BPM is also error free. Checked the interfaces also.
    Can any one tell me what mistake would i have done.
    Thanks in advance.

    Hi,
    There is one similar discussion I found,
    FTP TO RFC using BPM
    Thanks
    Swarup

  • Replication Error with Vendor Master Records

    Hello,
    We are trying to replicate vendor master records from R/3 to SRM via BBPGETVD.  When we go to SLG1, there is an error stating Business Partner XXXX: Invalid Value 0003 for field Authorization Group.
    Currently, the AP dept. maintains the field Authorization Group in the Vendor Master Record 'Control' screen with a fixed value of 0003 (LFA1-BEGRU).  When the replication occurs, SRM complains that this field value does not exist in a SRM customizing table or is a fixed value.
    Do we need to implement the BBP_TRANSDATA_PREP BAdI to pass this value as a fixed value to replicate vendors?
    -regards
    Shaz Khan

    I'm planning to implement bbp_transdata_prep. Wondering if either one of you can help. I've also opened another thread with my specific questions.
    Replication Error with Vendor Master Records

Maybe you are looking for

  • Qosmio X305 will only boot in safe mode or when the graphics card disabled

    Hi All I am having a very concerning issue with my laptop (Toshiba Qosmio X305). It will only boot in safe mode or if I disable the graphics card. Awhile back I upgraded the drivers for the nVidia 9800M GTX from the nVidia website, it worked fine for

  • Table Field of Opening Balance & Closing Balance

    Hi, I want the table field of Opening Balance & Closing Balance for G/L Account Balance (ref. t. code FS10N)..... From where i can get these field... Thanks

  • Upgrading RAM

    I own a MacBook 13-inch 4th Generation / 2.1 GHz Intel Core 2 Duo. I am wanting to upgrade from the 1GB 667 MHz DDR2 SDRAM to 4GB 667 MHz PC2-5300 DDR2. I know that I need to find the same RAM to put into both slots, but I was told that I should put

  • Acrobat XI... Bought it, Can't Download It.

    I had similar problems with Adobe's magnificently inefficient customer support system, eight years ago, which prompted me to trash the entire "Creative Suite" which I had purchased for megabucks. Lately I had a PDF project I needed Acrobat (unfortuna

  • Problems with interest-based ads

    I use Firefox 9.0.1 and BT Yahoo mail. The ads in BT Yahoo are totally inappropriate for me and are driving me mad, but when I try to change them using Yahoo's interest-based ad chioces they say my browser does not support interest-based ad chioces.