Query on interface related to PP process

Hi,
We have IDOC postings for production order goods receipt from legacy system to SAP (inbond IDOC). This will be done through middleware software using flat file. We run batch job to post these IDOCs daily to SAP. once the IDOC posts successfully (status 53) this IDOC will not get reprocess again as per required.
But we observed in some cases or IDOCs, even after successfull posting of IDOC (status 53) the same IDOC restart to get reprocess within 2 secs and post the material document once again. This happens very rarely through batch job and i observed such cases only once in 3 months or 6months. I checked and found no parallel batch jobs or varaints are running on same program.
Can any one knows why this happens? Any possible causes if you know on thism if share it will be greatful.
Thank you in advance,
Sharat

Are you sure that GR is getting posted TWICE ??
Coz in some cases, an IDoc shows a status-53 even though it has some error inside & system does not post any document.
For example, if during IDoc posting from Legacy to SAP, if any Production Order is being processed in some other way, interface would not b in position to post GR. Even after this, system shows IDoc status as 53.
And then actual GR happens during re-processing of failed IDoc's.
Revert back.
REgards,
Anup

Similar Messages

  • Query on interface

    I am getting "The parameter name [startDate] in the query's selection criteria does not match any parameter name defined in the query" error when querying on interface using TopLink 11g (11.1.3). The interface is implemented by many classes MyImplementationClass being one of them. The query works in TopLink 10g. Is this a bug in 11g? Thanks.
    Here is my code:
    +// subquery+
    ExpressionBuilder subqueryBuilder = new ExpressionBuilder();
    ReportQuery subQuery = new ReportQuery(MySubQueryClass.class, subqueryBuilder);
    +// Main read query+
    ReadAllQuery namedQuery1 = new ReadAllQuery(MyInterface.class);
    ExpressionBuilder expBuilder1 = namedQuery1.getExpressionBuilder();
    subQuery.addAttribute("primaryKey");
    subQuery.setSelectionCriteria(
    subqueryBuilder.get("operationDate").between(
    subqueryBuilder.getParameter("startDate"),
    subqueryBuilder.getParameter("endDate")).and(
    subqueryBuilder.get("primaryKey").equal(expBuilder1.get("primaryKey))));
    namedQuery1.setSelectionCriteria(expBuilder1.get("valueDate")
    +.between(expBuilder1.getParameter("startDate"),+
    expBuilder1.getParameter("endDate")).and(
    expBuilder1.get("primaryKey").notExists(subQuery)));
    namedQuery1.addArgument("startDate", java.sql.Date.class);+
    namedQuery1.addArgument("endDate", java.sql.Date.class);+
    // Stack trace
    DEBUG 15:52:54 - ClientSession(27122014)--Exception [TOPLINK-6094] (Oracle TopLink - 11g Release 1 (11.1.1.3.0) (Build 100323)): oracle.toplink.exceptions.QueryException
    Exception Description: The parameter name [startDate] in the query's selection criteria does not match any parameter name defined in the query.
    Query: ReadAllQuery(*myPackage.MyImplementationClass*)Local Exception Stack:
    Exception [TOPLINK-6094] (Oracle TopLink - 11g Release 1 (11.1.1.3.0) (Build 100323)): oracle.toplink.exceptions.QueryException
    Exception Description: The parameter name [startDate] in the query's selection criteria does not match any parameter name defined in the query.
    Query: ReadAllQuery(myPackage.MyImplementationClass)
    at oracle.toplink.exceptions.QueryException.parameterNameMismatch(QueryException.java:996)
    at oracle.toplink.internal.expressions.ParameterExpression.getValue(ParameterExpression.java:227)
    at oracle.toplink.internal.databaseaccess.DatabaseCall.translate(DatabaseCall.java:914)
    at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:192)
    at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:179)
    at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:250)
    at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:583)
    at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:2483)
    at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRows(ExpressionQueryMechanism.java:2441)
    at oracle.toplink.queryframework.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:467)
    at oracle.toplink.queryframework.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:874)
    at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:674)
    at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:835)
    at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:445)
    at oracle.toplink.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2265)
    at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1079)
    at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1063)
    at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1022)
    at oracle.toplink.descriptors.InterfacePolicy.selectAllObjectsUsingMultipleTableSubclassRead(InterfacePolicy.java:171)
    at oracle.toplink.queryframework.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:462)
    at oracle.toplink.queryframework.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:874)
    at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:674)
    at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:835)
    at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:445)
    at oracle.toplink.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2265)
    at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1079)
    at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1063)
    at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1037)

    Try using the outer query for the parameters,
    change,
    subqueryBuilder.getParameter("startDate"),
    to,
    expBuilder1.getParameter("startDate"),
    If that does not work, try the query without the sub-query to determine if the sub-query is the cause.
    It could be a bug with the sub-query, if you can recreate it on EclipseLink you could log a bug, or contact Oracle support.
    James : http://www.eclipse.org/eclipselink/

  • Access interface related entries from within Receiver Communication Channel

    Hi,
    when i open the interface determintation that i created, i can see.
    Sender Details:
    Communication Component:Sys_Sample_One_D
    Interface: UserMasterQuery_Outb
    Namespace: urn:sample.com:I_Legacy_JDBC_Application
    Receiver Details:
    Communication Component:Sys_Sample_Two_D
    Interface:EmployeeEmailProcessing_Inb
    Namespace:urn:sample.com:I_Legacy_FileApplication
    Interface Mapping: UserMasterResultset_to_EmployeeEmail
    I created a Generic File Receiver communication Channel for my receiver BS: CC_FileReceiver
    In the target FileName field of the Communication channel, i would not like to hardcode any filename value, but my requirement is, the filename should be the same as the name of the Receiver Interface, that has been used in the message exchange.
    in my case, it should be something like EmployeeEmailProcessing_Inb.xml
    How can we access dynamically the interface related entries in the Communication channel, and how can we set those values in the Target Filename value of the File Receiver communication channel.
    in short, if i use the same communication channel for other scenario, the received filename should be different based on the receiver interface name that is executed.
    It would be even more better if i could access/set the receiver namespace value as part of the TargetFileName or TargetFileDirectory values.
    pls let me know how this can be possible.
    Thanks in advance,
    Madhu

    Hi Shabarish,
    thanks for your blog.
    After i saw the blog, the UDF can be created in ESR.
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(u201Chttp://sap.com/xi/XI/System/Fileu201D,u201CFileNameu201D);
    String MyFileName = a + "_" + b +".xml";
    conf.put(key, myFileName);
    At this point, i can see that the required value is stored in certain key in the DynamicConfiguration.
    In the blog, i could not see anything related to ID.
    My question is, what do we need to do ID,
    when we create the FileReceiver Communication Channel, in that we need to specify the mandatory field "Source File Name". what value do we need to enter here.
    Are there any additional things do we need to do in Communication Channel in ID.

  • Point-in-polygon query with SDO_GEOMETRY.RELATE

    Hello All,
    I'm trying to perform a simple point-in-polygon query using
    SDO_GEOMETRY.RELATE. Only the "anyinteract" mask seems to return
    the correct answer. Can someone point out what I'm doing wrong
    and/or suggest a better way to do this. My objective is simply
    to return a count of the number of features in the point table
    that fall with the selected feature in the polygon table.
    select count(*) count from pnttest pnt, polytest poly,
    user_sdo_geom_metadata m where SDO_GEOM.RELATE(pnt.shape,
    m.diminfo, 'anyinteract',poly.shape,m.diminfo) = 'TRUE'
    and m.table_name = 'POLYTEST' and m.column_name = 'SHAPE' and
    poly.ADMIN_NAME = 'California'
    I would have thought the "inside" mask would be what I want but
    it returns 0 instead of the correct answer of 6.
    Thanks for any help or suggestions!
    -- john

    Hi John,
    If I wanted to do this as fast as possible, and didn't mind
    returning points that touch the boundary of the polygon, I would
    do something like this (assuming the point layer is indexed):
    select /*+ ordered */count(*) count
    from polytest poly, pnttest pnt
    where SDO_RELATE(pnt.shape,poly.shape,
    'mask=anyinteract querytype=window') = 'TRUE'
    and poly.ADMIN_NAME = 'California';
    If you are wondering what relationship Oracle Spatial thinks
    there is between the 6 points and the state, try using the
    determine mask with the 6 geometries that return from
    anyinteract.
    If you are using Oracle Spatial pre-9i, you might also want to
    add layer_gtype=point in the quotes.
    Hope this is useful.
    dan

  • Querying on interface

    I noticed that Kodo 3.3 supports query on interface - is it part of JDO 2.0
    persistent interface support? What else is implemented? Can we associate
    Interface with Implementation to do the rest of the staff?

    >I noticed that Kodo 3.3 supports query on interface - is it part of JDO 2.0
    persistent interface support? What else is implemented? Can we associate
    Interface with Implementation to do the rest of the staff?We've had querying on interfaces for a long time!
    The Kodo implementation is currently different than JDO 2, in that JDO 2
    requires you to explicitly list your persistent interfaces in metadata, along
    with which classes implement them. Kodo currently just dynamically tracks which
    persistent classes implement which interfaces, and turns any query on an
    interface into a query on the set of the implementing classes.

  • Query on Interface Descriptor

    Hi
    I have a simple question about querying on Interfaces.
    I have an interface called Entity, and 2 implementing classes called Service and ServiceProvider (mapped to tables Services (pk serviceId) and ServiceProviders (pk serviceProviderId)). serviceId and serviceProviderId have independent sequences. In Workbench, both classes are specified as implementing the Entity interface. The Entity interface currently specifies an accessor method getEntityId(), and entityId is a common query key for both classes.
    I want to query against the Entity interface to obtain a single instance, by knowing the entityId and class name.
    How can I formulate a readObject query so that Toplink generates the appropriate SQL:
    select * from services where serviceId = ? or
    select * from serviceProviders where serviceProviderId = ?
    Sorry for the trivial nature of this question - I can't find any examples of querying against interface descriptors in a search of tutorials or the developers guide. The developers guide simply says "If there are multiple implementors of the interfaces, the query returns instances of all implementing classes." and this sounds like it would translate to a UNION ALL SQL query.
    I also have in a separate class a variable one to one mapping where I can specify a class indicator (entityTypeId values). Somehow I feel that I need something like this for the Entity interface descriptor.
    James

    Frankly, this just isn't something that is done that often. In the past decade I can only think of a couple of customers who've asked me about this. I always feel a bit uncomfortable with how querying through interfaces really tends to break polymorphism -- it just doesn't seem very natural from an OO perspective. Now, if instead of an interface you had used a common superclass, that makes more sense. I guess the fact that interfaces don't have state makes this whole area a bit of an OOAD research topic. :)
    That being said, I don't expect TopLink would do an "or" query like you've shown, but would do a UNION.
    My recommendation is to experiement with the queries, perhaps take a look at query-keys (they may be of some help here), and contact support with any feature suggestions you have in this area.
    - Don

  • Table.Join/Merge in Power Query takes extremly long time to process for big tables

    Hi,
    I tried to simply merge/inner join two big tables(one has 300,000+ rows after filtering and the other has 30,000+ rows after filtering) in PQ. However, for this simple join operation, PQ took at least 10 minutes (I killed the Query Editor after 10
    minutes' processing) to load the preview.
    Here's how I did the join job: I first loaded tables into the workbook, then did the filtering for each table and at last, used the merge function to do the join based on a same field.
    Did I do anything wrong here? Or is there any way to improve the load efficiency?
    P.S. no custom SQL was used during the process. I was hoping the so called "Query Folding" can help speed the process, but it seems it didn't work here.
    Thanks.
    Regards,
    Qilong

    Hi!
    You should import the source tables
    in Access. This will speed up the work of
    PQ in several times.

  • In PP Interface related issues the role of functional consultant

    In PP Interface related issues what is the role of functional consultant .  what is the approach steps to analyse and resolve the issues  in XI, interface, idoc, etc.,

    For issues relating to interfaces, a functional person would need to diagnose what is causing the issue & thereby informing the technical person where to fix it, if the issue is due to system setup.
    As regards to the steps, I just wish there was a manual which read something like
    10 steps on how to analyze....
    unfortunately there is none that I have come across or even if one is ever written on those lines will be very specific, so not much of use for your need. A good approach would be to have a clear understanding of what the interface is supposed to do, which would assist you in fixing the issues.

  • Workflow tasks related to error processing when u201Cinvoices received via EDI"

    Hi all,
    Please tell me the process like how an workflow tasks related to error processing when u201Cinvoices received via EDI".
    Give me in details the inform.
    Thanks in advance
    Chakri

    Hi Sven,
    Please implement SAP Note: 1321676 in your backend system to solve the current issue.
    But later you will have to implement SAP Note: 1380788 also in your backend system to solve some other issues.
    Regards,
    Binson

  • Relation between Inventory Process keys and movement types

    Dear All,
    Is there any way to find the relation between Inventory process keys (which is in SBIW-> Settings for Application specific data sources(PI) -->Logistics -->Settings for IBU Retail / CP --> Transaction key maintenance for SAP BW) and movement types .
    Thanks in advance...
    Regards,
    Raju

    Hi,
    Please read the note below.
    Note 353042 - Howto: Activate transaction key (PROCESSKEY)
    It has something for you ....
    The process key (0PROCESSKEY and 0BWAPPLNM) of the InfoSources has not been filled. As a result, no key figures are updated because of the update routine of the participating InfoCube and along with it no records are inserted into the InfoCube. In each update routine, the system checks the content of the PROCESSKEY. If this field has no contents, then no data is written into the InfoCube because of the IF condition in the update rules.
    Solution
    So that you can work in the above mentioned InfoSources, you MUST activate the determination of the process key. This is done with the help of Transaction MCB_ which you can find in the OLTP IMG for BW (Transaction SBIW) in your attached R/3 source system.
    Here you can choose your industry sector. 'Standard' and 'Consumer products' are for R/3 standard customers, whereas 'Retail' is intended for customers with R/3 Retail only.
    You can display the characteristics of the process key (R/3 field BWVORG, BW field 0PROCESSKEY) by using Transaction MCB0.
    If you have already set up historical data (for example for testing purposes) by using the setup transactions (Statistical Setup Programs) (for example: Purchasing: Tx OLI3BW, material movements: OLI1BW) into the provided setup tables (for example: MC02M_0SCLSETUP, MC03BF0SETUP), you unfortunately have to delete this data (Tx LBWG). After you have chosen the industry sector by using  MCB_, perform the setup again, so that the system fills a valid transaction key for each data record generated. Then load this data into your connected BW by using 'Full update' or 'Initialization of the delta process'. Check, whether the system updates data into the involved InfoCubes now.
    If all this is not successful, please see Note 315880, and set the application indicator 'BW' to active using Transaction 'BF11'.
    Hope this helps.
    Raj

  • ACE - Query VLAN Interfaces Status

    Hi,
    I am wondering what the status of the query vlan interface means in the command 'show ft peer detail':
    Query Vlan IF State          : UP, Manual validation - please ping peer
    I am pretty sure that I did not see this status when I configured query vlan last time. Current version is A2(2.3).
    Unfortunately this status does not seem to be documented anywhere on CCO.
    I appreciate any help!
    Thanks,
    Daniel

    Hi Daniel,
    The FT Query VLAN interface is an optional, yet very good, feature to be used when using redundant ACE modules or appliances. Without it, if the FT VLAN was to go down, the standby ACE will no longer receive FT heartbeats from the active ACE and therefore take the active role.  However, if the active ACE is still running fine in the active role, then you don't want the standby ACE to take over as active because that will put them into an active/active scenario, which may lead to connectivity issues.
    This is where the FT Query VLAN interface comes in.  If the FT VLAN goes down, the standby ACE will notice this, but before taking the active role, it will ping it's peer IP address configured on the interface that is designated as the FT Query VLAN.  If the ping is successful, then it will stay in the standby role, thereby saving you some headaches.
    The status that you are seeing is the ACE's way of telling you that the interface is UP, but if you want to know if it can successfully ping the peer IP address, then you would have to manually ping the peer IP address from the CLI.  The ACE does not periodically check the ping connectivity through any automatic mechanism.  The automatic mechanism is only triggered by the FT VLAN going down.
    Does this help?
    Sean

  • Howto: Save prediction query results to relational table

    I believe saving prediction query results to relational tables is possible (the BI studio does it!). I am not clear on how to do this w/o the BI studio, which means if I write a DMX query and want to store its output to a relational table, how do I do it?
    Tips, anyone?
    Thanks!

    a) You can write some code do this on the client-side. Use ADOMD.NET in your C# app to execute the DMX query and fetch a data reader, open up another connection to your relational database and write rows of data to the second connection as you read them from the first.
    b) You can create a linked server to your Analysis Server instance in your SQL Server relational server instance and then execute a "SELECT * INTO <newtable> FROM OPENQUERY(<linkedserver>, <DMX query>)" T-SQL statement from your relational database connection.

  • Query/Read Interface for API

    Is there a query/read interface from the HRMS API's or from the TCA API's?
    We are using customers online to maintain data , but I want to have a custom application to view the data.
    Obvious choice would be through the TCA API's but I cannot find any Query/Read Interfaces there.
    Oracle's Docs seem to say it's possible so could somebody point me in the right direction please
    cheers
    Dominic

    Anyone have any idea of it ?

  • Can I update datas of Power Query after making relation tables in Power Pivot ?

    Can I update datas of Power Query after making relation tables in Power Pivot ?
    I want to update datas at day by day to viewing today's graph by Power View on Excel.
    Power Query use to transform web site to Power Pivot data model table.
    Power Pivot use to making relasing tables, and making measuers.
    Regards,
    Yoshihiro Kawabata.

    Hi Yoshihiro,
    Can you share an example of the things you are doing in Power Pivot? There are some operations that prevent the query from being refreshed in Power Query; this is not ideal so we are currently working on fixing it.
    Thanks for your feedback.

  • Query all interfaces

    Hi,
    Would really appreciate some assistance in what I 'thought' is a simple task
    This is what I want to do via TCL / EEM :
    1.)  Enumerate all interfaces on the switch or just query the running config
    2.)  Query each interface config
    3.)  If the interface config doesn't contain the sting 'authentication port-control auto' - send an email with the resulting interface name etc
    I'm starting to lose my mind trying to do this 
    Thanks and regards,
    Bill

    Try this:
    event manager applet intf-auth
    event none
    action 001  cli command "enable"
    action 002  cli command "show ip int brie"
    action 003  set output "$_cli_result"
    action 004  set intfs ""
    action 005  foreach line "$output" "\n"
    action 006   string trim $line
    action 007   set line $_string_result
    action 008   string length $line
    action 009   if $_string_result eq 0
    action 010    continue
    action 011   end
    action 012   regexp "^Interface" "$line"
    action 013   if $_regexp_result eq "1"
    action 014    continue
    action 015   end
    action 016   regexp "#" "$line"
    action 017   if $_regexp_result eq "1"
    action 018    continue
    action 019   end
    action 020   regexp "^([^[:space:]]+)" "$line" match intf
    action 021   cli command "show run interface $intf"
    action 022   regexp "authentication port-control auto" "$_cli_result"
    action 023   if $_regexp_result eq "0"
    action 024    append intfs " $intf"
    action 025   end
    action 026  end
    action 027  string length "$intfs"
    action 028  if $_string_result gt "0"
    action 029   mail from "[email protected]" to "[email protected]" server "10.1.1.1" subject "Interfaces missing auth port-control" body "The following interfaces are missing 'auth port-control auto': $intfs"
    action 030  end

Maybe you are looking for

  • Creating pdf from different file formats in binder

    Hi. I tried to create a combined pdf file from .docx, .doc, pdf, .xlsx files using drag and drop function in the Adobe XI trial version. I got a 31,000 page pdf document (instead of about 50 pages) in the binder for all the combined files.  Most of t

  • Distribution of properties in several projects.

    I have multiple projects defined. In one of them (let's name it project A), I defined a set of property files containing base level properties. I like to have these separate, so I only have to define them once. In another project (project B), I have

  • BGP Filtering

    Is there a way in BGP to use an inbound filter list to select prefixes from only certain ASs but always accept a certain prefix no matter what AS path it has? Scenario:  We have two upstream providers and are accepting only certain AS paths from each

  • Connector Migration 1.0 - 1.5

    Hello I have developed a J2EE Connector using the 1.0 specification recently. Now I want to migrate to the 1.5 specification. Which are the most important issues I have to consider? Are there any guidelines, samples or documents about that migration

  • Firefox crashes immediately after program startup

    Tonight Firefox crashed after trying to open a new tab. Since that initial crash, I have not been able to open Firefox without it crashing within 5 seconds of startup. I opened the program in safe mode, disabling add-ons and it still crashed. After t