Problem extracting, query with display attributes, in RSCRM_BAPI.

Has anybody experienced that problem?
When I execute the extract, the job cancels itself after 2 minutes. Sometimes even shuts down the DEV server.
There is no Dump in ST22.
The only error I get is:
TRUNCATE TABLE "/BIC/0CZTEST" where ZTEST is the extractor
But when I execute the extract with the same query without the display attributes it runs just fine.
Help please...

Check Table("/BIC/0CZTEST") using T-code "SE14".
If necessary, drop and creat, again.
Good luck.

Similar Messages

  • Problem in query with the u0091Document numberu0092

    Hi,
    I got problem in query with the ‘Document number’
    There are three columns in the cube 1) Document number 2) Country 3) Count
    In the cube there are multiple entries for same document number as below.
          Document number            country          Count
         10000               US          1
         10001               US          1
         10002               US          1
         10002               US          1
         10002               US          1
         10003               UK          1
         10004               IN          1
         10004               IN          1
    When I ran the query on this cube for country US it shows count as 5 but I want count as 3 (i.e. it has to take count only once for the same document no’s)
    Similarly for country IN I want count as 1

    Hi,
    You have to create a counter based on the document number (exception aggregation). There is a How-to paper available for this. It is called: How-to...count the occurences of a characteristic.
    Regards,
    P.

  • Problem in Query with JOIN Function in OCRD CRD1 OCPR tables

    Hello Dear Forum Users,
    I want to make a query which shows me per business partner from OCRD - Addres; CRD1 - Delivery Address and from OCPR - Contactperson information
    Is it possible to show it in one row per Business Partner. Now I get (the classic problem) of several rows and a duplication of the contact persons per (delivery) address.
    My query is:
    SELECT T0.[CardCode], T0.[CardName], T1.[Address], T1.[Street], T1.[ZipCode], T1.[City], T1.[Country], T1.[U_TelNr], T1.[U_MobNr], T1.[U_OpenTijd], T1.[U_LosIns_1], T1.[U_LosIns_2],T2.[Title],  T2.[Name] as 'Voornaam', T2.[Address] as 'Achternaam', T2.[Position] as 'Functie', T2.[Tel1], T2.[Cellolar], T2.[E_MailL], T2.[BirthDate] FROM OCRD T0 LEFT OUTER JOIN CRD1 T1 ON T0.CardCode = T1.CardCode LEFT OUTER JOIN OCPR T2 ON T0.CardCode = T2.CardCode
    Can you help me ?
    Jos Dielemans - Maastricht
    Edited by: J. Dielemans on Apr 29, 2011 4:28 PM
    Changed the query with Left Outer Join

    I have found the solution myself:
    By using the Union All function I could combine two queries. Here is the result:
    SELECT
    T0.[CardCode], T0.[CardName], T1.[Address] , T1.[Street], T1.[ZipCode], T1.[City], T1.[Country], T1.[U_TelNr], T1.[U_OpenTijd] , T1.[U_LosIns_1] , T1.[U_LosIns_2]'
    FROM OCRD T0 LEFT OUTER JOIN CRD1 T1 ON T0.CardCode = T1.CardCode
    WHERE T0.[CardCode] >= 'D00000'
    Union all
    SELECT
    T0.[CardCode], T0.[CardName], T2.[Position], T2.[Tel1], T2.[Title],  T2.[Name], T2.[Address], T2.[Position], T2.[Tel1], T2.[Cellolar], T2.[E_MailL]
    FROM OCRD T0 LEFT OUTER JOIN OCPR T2 ON T0.CardCode = T2.CardCode
    WHERE T0.[CardCode] >= 'D00000'
    Order by 1
    Now i got the result I was looking for.

  • Master/Detail problem: Infinite loop with display items

    Hi,
    I have a strange problem in Oracle Forms 6.0.5.35.3. I create a master block and a detail block with correct relationship between them.
    -> When the detail block contains at least one 'Text Item' everything works well.
    -> When the detail block only contains 'Display Items', the form is looping
    indefinitely calling ON-POPULATE_DETAILS and QUERY-MASTER-DETAILS...
    Is it a known bug ?
    Do you know a trick to avoid this behaviour ?
    Is it corrected with latest versions of forms, I mean 6i ?
    Thanks for answer
    Laurent Ricci

    I think a block should have at least one navigable item. Just disable the insert/update property, but enable the navigable property for an item in the detail block.
    Hope that help

  • Problem extracting text with pdfbox.

    I'm trying to search for some text in a pdf file using pdfbox. Once I find that text I mark the page so I can split that page out using the pdfsplitter. This has been working for a little over a year now. However, recently we received a new batch of pdf's to parse last month that were generated using ghostscript. All of these pdf's failed to parse. When debugging it, I noticed that when I am getting the COSStrings out of the pdf's they seem to be invalid characters (). I thought at first that this was a batch of bad pdf's, but I can open the pdf's just fine. I also tried using the PDFTextStripper to retrieve the text and that displayed it just fine as well.
    The code I am using is taken from one of the examples in pdfbox (PDFBox-0.7.3\src\org\pdfbox\examples\pdmodel\ReplaceString.java). The code is as follows (with the only difference that I am not replacing the string and saving the file, but I am searching for text and saving the page number that I find the text on):
    PDDocument doc = null;
    try
    doc = PDDocument.load( inputFile );
    List pages = doc.getDocumentCatalog().getAllPages();
    for( int i=0; i<pages.size(); i++ )
    PDPage page = (PDPage)pages.get( i );
    PDStream contents = page.getContents();
    PDFStreamParser parser = new PDFStreamParser(contents.getStream() );
    parser.parse();
    List tokens = parser.getTokens();
    for( int j=0; j<tokens.size(); j++ )
    Object next = tokens.get( j );
    if( next instanceof PDFOperator )
    PDFOperator op = (PDFOperator)next;
    //Tj and TJ are the two operators that display
    //strings in a PDF
    if( op.getOperation().equals( "Tj" ) )
    //Tj takes one operator and that is the string
    //to display so lets update that operator
    COSString previous = (COSString)tokens.get( j-1 );
    String string = previous.getString();
    string = string.replaceFirst( strToFind, message );
    previous.reset();
    previous.append( string.getBytes() );
    else if( op.getOperation().equals( "TJ" ) )
    COSArray previous = (COSArray)tokens.get( j-1 );
    for( int k=0; k<previous.size(); k++ )
    Object arrElement = previous.getObject( k );
    if( arrElement instanceof COSString )
    COSString cosString = (COSString)arrElement;
    String string = cosString.getString();
    string = string.replaceFirst( strToFind, message );
    cosString.reset();
    cosString.append( string.getBytes() );
    //now that the tokens are updated we will replace the
    //page content stream.
    PDStream updatedStream = new PDStream(doc);
    OutputStream out = updatedStream.createOutputStream();
    ContentStreamWriter tokenWriter = new ContentStreamWriter(out);
    tokenWriter.writeTokens( tokens );
    page.setContents( updatedStream );
    doc.save( outputFile );
    finally
    if( doc != null )
    doc.close();
    If anyone knows why this code is not extracting the text as the PDFTextStripper does or how I can modify this I would greatly appreciate the help.
    Thanks.

    Thanks.It works-sort of. I can copy into TextEdit without problems. This is probably the solution by itself because I can save it. Copying into Words (from TextEdit) didn't work. Copying into Pages partially works: the graphs are reproduced but the layout comes out funny.
    Thank you

  • Oracle OCI: Problem in Query with Date field

    Client compiled with OCI: 10.2.0.4.0
    Server: Oracle9i Enterprise Edition Release 9.2.0.4.0
    The problematic query is:
    SELECT CODIGO FROM LOG WHERE TEL = :telnumber AND DATE_PROC = '05-JUL-08'Table description:
    SQL>describe LOG;
    TEL NOT NULL VARCHAR2(15)
    CODIGO NOT NULL VARCHAR2(20)
    DATE_PROC NOT NULL DATEAs simple as it might look, when executed directly on the server with SQLPlus, it returns a result, but when executed from the app that uses OCI, this query returns OCI_NO_DATA always. In the beginning, the date value was also a placeholder, but I found out that even giving a literal like '05-JUL-08' didn't work. I have tried the following:
    <ul>
    <li>I've tried the basics: querying the DB from the client does work. It's this one that gives me trouble</li>
    <li>The query: SELECT CODIGO FROM LOG WHERE TEL = :telnumber does work</li>
    <li>Executing: ALTER SESSION SET NLS_DATE_FORMAT="DD-MM-YYYY"; before the query in both the server and the client. Same result: server returns data, client OCI_NO_DATA</li>
    <li>Tried changing DATE_PROC format, combining this with the use of TO_DATE(). Same result.</li>
    <li>Searched, searched, searched. No answer</li>
    </ul>
    I'm a bit desperate to find an answer, would appreciate any help and can provide as many further details as needed. Thanks.
    Edited by: user12455729 on Jan 15, 2010 5:59 AM. -Formatting-

    Hi,
    I've recreated your table and populated with your data.
    I've run your select using OCILIB on a 10gR2 (client and server) and the codes runs fine and give expected results.
    So the problem must resides in your code.... (i don't think it can be a OCI bug)
    Here is the ocilib code :
    #include "ocilib.h"
    int main(void)
        OCI_Connection *cn;
        OCI_Statement *st;
        OCI_Resultset *rs;
        char msisdn[100] = "11223344";
        char datetime[100] = "";
        if (!OCI_Initialize(err_handler, NULL, OCI_ENV_DEFAULT))
            return EXIT_FAILURE;
        cn = OCI_ConnectionCreate("db", "usr", "pwd", OCI_SESSION_DEFAULT);
        st = OCI_StatementCreate(cn);
        OCI_Prepare(st, "SELECT "
                        "  CODIGO_BANCO "
                        "FROM "
                        "  VTA_LOG "
                        "WHERE "
                        "  TELEFONO = :msisdn AND "
                        "  FECHA_PROCESO = TO_DATE(:datetime, 'YYYYMMDDHH24MISS')");
        OCI_BindString(st, "msisdn", msisdn, sizeof(msisdn)-1);
        OCI_BindString(st, "datetime", datetime, sizeof(datetime)-1);
        strcpy(datetime, "20080705162918");
        OCI_Execute(st); 
        rs = OCI_GetResultset(st);
        OCI_FetchNext(rs);
        printf("%s\n", OCI_GetString(rs, 1));
        strcpy(datetime, "20080705062918");
        OCI_Execute(st); 
        rs = OCI_GetResultset(st);
        OCI_FetchNext(rs);
        printf("%s\n", OCI_GetString(rs, 1));
        OCI_Cleanup();
        return EXIT_SUCCESS;
    }Output is :
    BancoOne
    BancoTwoi recreated your data with
    create table VTA_LOG
         TELEFONO          VARCHAR2(15) NOT NULL ,
         CODIGO_BANCO     VARCHAR2(20) NOT NULL ,
         FECHA_PROCESO     DATE NOT NULL
    insert into VTA_LOG values ('11223344', 'BancoOne',  to_date('20080705162918', 'YYYYMMDDHH24MISS'));
    insert into VTA_LOG values ('11223344', 'BancoTwo', to_date('20080705062918', 'YYYYMMDDHH24MISS'));
    commit;Regards,
    Vincent

  • Infoset - Query with navigational attribute as filter

    Dear all,
    We have created an InfoSet linking an InfoObject 0COORDER to an Info InfoCube containing order data.
    We have used a Left outer join to link 0COORDER tol 0COORDER in the InfoCube. The purpose is to be able to report on all 0COORDER even if they have no transaction data.
    When creating a query we get a list of all 0COORDER as expected. The problem arises when we try to use the navigational attribute "Status" from the InfoObect 0COORDER as a filter in the query. This does not work at all.
    Does anyone know what we are doing wrong here ? We are using BEx Query Designer 7.0.
    Kind Regards,
    Mikkel

    Hi Mikkel
    When you say that your Status field does not work at all, what is the error you are getting? Are you able to see this field in the query designer. If that is not the case that means your "status" is not chosen in the infoset design.
    If you are able to see it in the designer then please let us know what is the exact error you are getting.
    Thanks.

  • Problems XI/PI with displaying adapters in adapter monitioring

    Hi everybody,
    we have yet installed XI/PI 7.0 SP09. In the adpater monitoring we can only see the JPR adapter but no other standard adapters (FILE, JDBC etc) are displayed.
    Furthermore the adapters could also not be selected during creating a communication channel in Integration directory.
    <u>Already done:</u>
    1. We have made adapter full cache refresh (CPA Cache)
         mentioned following:
           a) empty cache even after refresh 
           b) "SAI_CACHE3_REFRESH_BACKGROUND" Job not "displayed" in SM58?
    2. successfully Connection tests in component-monitioring (RWB)
        Only Web Service security yellow status (integration engine)
    Thanks for your help.
    Best regards
    Mario

    Most likely the post config step is missing:
    "Importing the XI Content for Software Component Version SAP Basis"
    This is in the install guide and should be done by basis after install.
    You can get the .tpz file from Service.Sap.Com
    You can get the steps from the install guide or from help.sap.com - basically you need to place it in the import directory and import it from the IR.
    The metadata for the adapters is in this software component for basis, this is why you cant see any from the drop-down list. JPR adapter status isnt a good indicator of all adapters being present.
    hope this helps,
    --NM

  • APD query key date with variable for time dependent MD display attributes

    Hello,
    In a APD I use a query as a source with a query key date that is filled with a customer exit variable.
    When I run the query as a user, the time dependent MD display attributes look fine. However, when I use the query in an APD, I get no values for the time dependent display attributes.
    Any suggestions?
    Thanks

    Hi,
    Try to run query using RSCRM_BAPI Tcode, this you can also schedule in background
    Thanks
    Reddy

  • Problem parsing XML with schema when extracted from a jar file

    I am having a problem parsing XML with a schema, both of which are extracted from a jar file. I am using using ZipFile to get InputStream objects for the appropriate ZipEntry objects in the jar file. My XML is encrypted so I decrypt it to a temporary file. I am then attempting to parse the temporary file with the schema using DocumentBuilder.parse.
    I get the following exception:
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element '<root element name>'
    This was all working OK before I jarred everything (i.e. when I was using standalone files, rather than InputStreams retrieved from a jar).
    I have output the retrieved XML to a file and compared it with my original source and they are identical.
    I am baffled because the nature of the exception suggests that the schema has been read and parsed correctly but the XML file is not parsing against the schema.
    Any suggestions?
    The code is as follows:
      public void open(File input) throws IOException, CSLXMLException {
        InputStream schema = ZipFileHandler.getResourceAsStream("<jar file name>", "<schema resource name>");
        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
        DocumentBuilder builder = null;
        try {
          factory.setNamespaceAware(true);
          factory.setValidating(true);
          factory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
          factory.setAttribute(JAXP_SCHEMA_SOURCE, schema);
          builder = factory.newDocumentBuilder();
          builder.setErrorHandler(new CSLXMLParseHandler());
        } catch (Exception builderException) {
          throw new CSLXMLException("Error setting up SAX: " + builderException.toString());
        Document document = null;
        try {
          document = builder.parse(input);
        } catch (SAXException parseException) {
          throw new CSLXMLException(parseException.toString());
        }

    I was originally using getSystemResource, which worked fine until I jarred the application. The problem appears to be that resources returned from a jar file cannot be used in the same way as resources returned directly from the file system. You have to use the ZipFile class (or its JarFile subclass) to locate the ZipEntry in the jar file and then use ZipFile.getInputStream(ZipEntry) to convert this to an InputStream. I have seen example code where an InputStream is used for the JAXP_SCHEMA_SOURCE attribute but, for some reason, this did not work with the InputStream returned by ZipFile.getInputStream. Like you, I have also seen examples that use a URL but they appear to be URL's that point to a file not URL's that point to an entry in a jar file.
    Maybe there is another way around this but writing to a file works and I set use File.deleteOnExit() to ensure things are tidied afterwards.

  • Problem extending a VO with transient attributes

    I am trying to extend a VO that is based on a query with a Binding Style of Oracle Positional.
    The Attributes that are listed for the original VO are the attributes from the Query Statement plus some transient attributes.
    I extended the VO by modifying the query. Added my two columns at the END of the Select statement.
    Successfully substituted the VO but I am getting a runtime error when saving a record.
    Reviewed the extended VO and noticed that the new columns are listed as attributes AFTER the transient attributes.
    This could be the cause of the runtime error since one of the transient attributes listed after the query attributes is RowChanged.
    How can I force my new attributes to be positioned BEFORE the transient attributes?
    Is this the problem or is it something else?
    Thanks for any suggestions.

    Runtime error:
    java.lang.NullPointerException
         at oracle.apps.pos.supplier.server.ByrSuppAMImpl.validateDffVo(ByrSuppAMImpl.java:3575)
    Yes, I have checked the attributes (Updateable Always, etc.) and the attribute mappings and they all seem fine.
    My two new attributes are at the end of the original attributes. I think my new attributes should NOT be at the end of the original attributes because the original VO.xml has attributes from the query and then transient attributes that are not from the query. My extended VO now has the attributes from the original query, the transient attributes, and then my new attributes from the query.
    The first two transient attributes are RowChanged and RenderFlex and it seems like OAF is confusing it with my new attributes because:
    (1) the runtime error I get when saving (RowChanged attribute)
    (2) the Flex field icon grays out after my VO extension was deployed (RenderFlex attribute)
    To test out my theory, I would like to move my new attributes to be listed BEFORE the transient attributes.
    I tried editing the VO.xml file by moving my new attributes (query-related) to the end of the other query-related attributes and before the transient attributes (that are not query-related). When I try to view my changes inside JDeveloper, the attributes are shown in the new order (on the left) but the query mappings are still listed in the old order.
    Where can I re-order the query mappings? Tried using the up/down arrows on the right but it's grayed out.
    If I re-order the attributes in the VO.xml file and save it, is that all the change I need to do?
    Thanks.

  • Very urgent : Problem with field attributes in Datasource

    Hi
    I am getting a problem with field attributes in the datasource.
    The issue came up after i modified the extract structure-i modified one field and
    added one field to the structure.Now those two fields are not visible in BW.
    When i checked with transaction rsa2, i could find that for those two fields , the
    field attribute is <b>'A'</b> which is <b>'Field in OLTP and BW Hidden by SAP'</b>.
    I tried to modify the field attribute to make it visible.Now the issue is that it is not getting reflected after transport in the Q system.What can be the issue.In the Q system its still the old value 'A' ,which makes the fields invisible.
    Please let me know what can be the issue.
    Regards
    Leon

    Hi,
    did you change this attribute via RSA2?
    you need to change your datasource via postprocessing (RSA6); then transport your DS to your Q source system.
    Replicate your datasources in your BW.
    Finally modifiy your Transfer Structure by editing your TRules ( tab Datasource/Tran structure), move your new fields from the right frame to the left frame)
    Maintain your TRules
    Activate
    hope this helps...
    Olivier.

  • Show Display Attributes for LOV in af:query

    ADF 11g (11.1.1.3.0)
    Hi all,
    I'm using an af:query that uses an LOV for a PERSON_ID column, with an EMPLOYEE view as the View Accessor.
    Since the user experience may require the user to search for a particular employee, using either a "Combo Box with List of Values" or an "Input Text with List of Values" makes most sense, but those UI controls only display a the PERSON_ID when returning from the search pop-up. This is in contrast to using a Choice List, which would show, in addition to the original column (PERSON_ID), the selected Display Attributes (eg PersonID, FirstName, LastName).
    It is possible to show the additional Display Attributes when using the "Combo Box with List of Values" or "Input Text with List of Values" controls for an af:query, and if so, how?
    Thanks!

    Hi user,
    Take your base VO and create a transient attribute or an attribute derived from a reference entity as the display value (let's say "PerFirstName"). Then, create the list of values of employees on this attribute and set the return values "FirstName" > "PerFirstName" and "EmployeeId" > "PersonId". Define a view criteria to be used for your af:query component and add "PerFirstName" with '=' operator (this will render as a LOV).
    Let me know if it helps...
    Barbara

  • Problem in SAP Query with currency conversion   based on table TCURX

    Hi All,
    I have an infoset where tables A903 and KONP are joined . Query is displaying the KONP-KBTER values with currency as stored in the database table .My requirement is to show the KBETR value as per decimals stored in TCURX table for that currency .
    For Example If KONP-KBETR = 51.29 JPY , It sholuld display as 5129  as  Decimal places for JPY is 0.
    There is FM CURRENCY_AMOUNT_SAP_TO_DISPLAY Which gives the equvivalent display value to the databse value value.But it is giving dump because of type conflict with
    KONP-KBETR .
      Can any body help me how can i solve the problem in My Query ? .Pls any small idea taht may help greatly  also warmly welcome .
    Thx,
    Dharma .

    Hi Sriram ,
    But how can i use it in Queries . I mean should I go for a additional filed in infoset and then passing the  converted value to the the that additional field .
    Thx ,
    Dharma .

  • Problems in query result with infoset and timedep infoobject

    Hi,
    I have the following situation:
    infoobject ZEMPLOYEE timedep
    Infocube 0C0_CCA_C11 (standard cost center/cost element postings)
    -> infoset with infoobject and infocube linked with outer join
    My query should show all active employees in one month without any posting in the infocube.
    My testdata looks like this:
    pernr date from    date to         cost center
    4711  01.01.1000 31.12.2002
    4711  01.01.2003 31.01.2009   400000
    4711  01.02.2009 31.12.9999
    That means the employee is only active between 01.01.2003 and 31.01.2009.
    I expect the following result in the query with key-date 31.01.2009:
    4711  01.01.2003 31.01.2009   400000
    I expect the following result in the query with key-date 01.02.2009:
    no result
    -> because the employee is not active anymore, I don't want to see him in the query.
    My query delivers the following result:
    4711  01.02.2009 31.12.9999
    The first and the last entry in master data is automatically created by the system.
    I tried to exclude the not active employees by selection over cost center in the filter (like cost center between 1 and 9999999, or exclude cost center #). But unfortunately the filter selection does not work, because obviously the attributes are not filled in the last entry.
    Is there anyone who can tell me how I can exclude the last entry in the master data in the query?
    Any help is much appreciated! Points will be assigned!
    best regards
    Chris

    HI,
    problem is that I can't use employe status in this case, beacuse for any reason the people don't use it.
    I have also tried with exceptions and conditions, but the attributes ar enot filled, so it seems that nothing works.
    Do you have any other suggestions?
    Thanks!
    best tregards
    Chris

Maybe you are looking for