APD issue

Hello,
I am facing an APD issue. While executing the APD in quality server its giving the following error.
Error occurred when starting the parser: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
Message no. BRAINOLAPAPI011
Diagnosis
Failed to start the MDX parser.
System Response
timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
Procedure
Check the Sys Log in Transaction SM21 and test the TCP-IP connection MDX_PARSER in Transaction SM59.
But when i executed the APD in development server it executed properly.
Can anyone help me to resolve the issue.
Thanks,
Kumkum

Hi Pravender,
I have no authorisation in sm59
and i have no knowledge of tcode MDXTEST.
can you please give few more details about it??
if i  drag and drop the inobject used in the query in the right panel of MDX test editor then it shows the same error as it shows while executing the APD
Thanks
Edited by: kumkum basu on Jun 16, 2010 10:44 AM

Similar Messages

  • APD issue, Data not showing correctly in APD.

    Hi All,
    Please guys help me with this APD issue that I am facing.
    There is an APD created whose target is a file and with one routine. Here the purpose of the routine was mostly just to sequence the fields the way I want them, and only to show certain ones, also to delete all KF that are zero.(which is commented out).
    No matter what I do, it always gets data which has the key figures as all zeros.  I put some code in there to delete the data which is all zeros but commented it out, because otherwise then it writes zero records.
    The code part which delete all KF that are zero is commented out. Now we are getting the file data with commented code and without commenting code same.
    The thing is, in Bex the query from which we are fetching data is showing proper data with zeroes as well as KF with values. But the same APD is showing only the data whose KF's are zeroes.
    I am pasting the routine here:
    REPORT RSAN_WB_ROUTINE_TEMP_REPORT .
    TYPES: BEGIN OF y_source_fields ,
             COUNTRY TYPE /BI0/OICOUNTRY ,
             SALESORG TYPE /BI0/OISALESORG ,
             /BIC/ZFCSTGRP TYPE /BIC/OIZFCSTGRP ,
             PLANT TYPE /BI0/OIPLANT ,
             MATERIAL TYPE /BI0/OIMATERIAL ,
             FISCPER TYPE /BI0/OIFISCPER ,
             KYF_0001 TYPE /BIC/OIZBAS_FCST ,
             KYF_0002 TYPE /BIC/OIZTUN_QTY ,
             KYF_0002_UNIT TYPE MEINS ,
             KYF_0003 TYPE /BIC/OIZCOR_FCST ,
             KYF_0004 TYPE /BIC/OIZTOT_FRCT ,
             KYF_0005 TYPE /BIC/OIZTER_TFCT ,
           END OF y_source_fields .
    TYPES: yt_source_fields TYPE STANDARD TABLE OF y_source_fields .
    TYPES: BEGIN OF y_target_fields ,
             COUNTRY TYPE /BI0/OICOUNTRY ,
             SALESORG TYPE /BI0/OISALESORG ,
             /BIC/ZFCSTGRP TYPE /BIC/OIZFCSTGRP ,
             PLANT TYPE /BI0/OIPLANT ,
             MATERIAL TYPE /BI0/OIMATERIAL ,
             FISCPER TYPE /BI0/OIFISCPER ,
             ZBAS_FCST TYPE /BIC/OIZBAS_FCST ,
             ZTUN_QTY TYPE /BIC/OIZTUN_QTY ,
             BASE_UOM TYPE /BI0/OIBASE_UOM ,
             ZCOR_FCST TYPE /BIC/OIZCOR_FCST ,
             ZTOT_FRCT TYPE /BIC/OIZTOT_FRCT ,
             ZTER_TFCT TYPE /BIC/OIZTER_TFCT ,
           END OF y_target_fields .
    TYPES: yt_target_fields TYPE STANDARD TABLE OF y_target_fields .
    Begin of type definitions -
    *TYPES: ...
    End of type definitions -
    FORM compute_data_transformation
         USING     it_source TYPE yt_source_fields
                   ir_context TYPE REF TO if_rsan_rt_routine_context
         EXPORTING et_target TYPE yt_target_fields .
    Begin of transformation code -
      DATA: ls_source TYPE y_source_fields,
            ls_target TYPE y_target_fields.
      LOOP AT it_source INTO ls_source.
       IF ls_source-KYF_0001 = 0
       AND ls_source-KYF_0002 = 0
       AND ls_source-KYF_0003 = 0
       AND ls_source-KYF_0004 = 0
       AND ls_source-KYF_0005 = 0.
         DELETE it_source.
         EXIT.
       ENDIF.
        MOVE-CORRESPONDING ls_source TO ls_target.
        APPEND ls_target TO et_target.
      ENDLOOP.
    End of transformation code -
    ENDFORM.
    End of transformation code -
    ENDFORM.
    Please help me and reply. Good answers are appreciated and rewarded with points.
    Thanks,
    Sumisha Subramanian.

    Hi All,
    Please guys help me with this APD issue that I am facing.
    There is an APD created whose target is a file and with one routine. Here the purpose of the routine was mostly just to sequence the fields the way I want them, and only to show certain ones, also to delete all KF that are zero.(which is commented out).
    No matter what I do, it always gets data which has the key figures as all zeros.  I put some code in there to delete the data which is all zeros but commented it out, because otherwise then it writes zero records.
    The code part which delete all KF that are zero is commented out. Now we are getting the file data with commented code and without commenting code same.
    The thing is, in Bex the query from which we are fetching data is showing proper data with zeroes as well as KF with values. But the same APD is showing only the data whose KF's are zeroes.
    I am pasting the routine here:
    REPORT RSAN_WB_ROUTINE_TEMP_REPORT .
    TYPES: BEGIN OF y_source_fields ,
             COUNTRY TYPE /BI0/OICOUNTRY ,
             SALESORG TYPE /BI0/OISALESORG ,
             /BIC/ZFCSTGRP TYPE /BIC/OIZFCSTGRP ,
             PLANT TYPE /BI0/OIPLANT ,
             MATERIAL TYPE /BI0/OIMATERIAL ,
             FISCPER TYPE /BI0/OIFISCPER ,
             KYF_0001 TYPE /BIC/OIZBAS_FCST ,
             KYF_0002 TYPE /BIC/OIZTUN_QTY ,
             KYF_0002_UNIT TYPE MEINS ,
             KYF_0003 TYPE /BIC/OIZCOR_FCST ,
             KYF_0004 TYPE /BIC/OIZTOT_FRCT ,
             KYF_0005 TYPE /BIC/OIZTER_TFCT ,
           END OF y_source_fields .
    TYPES: yt_source_fields TYPE STANDARD TABLE OF y_source_fields .
    TYPES: BEGIN OF y_target_fields ,
             COUNTRY TYPE /BI0/OICOUNTRY ,
             SALESORG TYPE /BI0/OISALESORG ,
             /BIC/ZFCSTGRP TYPE /BIC/OIZFCSTGRP ,
             PLANT TYPE /BI0/OIPLANT ,
             MATERIAL TYPE /BI0/OIMATERIAL ,
             FISCPER TYPE /BI0/OIFISCPER ,
             ZBAS_FCST TYPE /BIC/OIZBAS_FCST ,
             ZTUN_QTY TYPE /BIC/OIZTUN_QTY ,
             BASE_UOM TYPE /BI0/OIBASE_UOM ,
             ZCOR_FCST TYPE /BIC/OIZCOR_FCST ,
             ZTOT_FRCT TYPE /BIC/OIZTOT_FRCT ,
             ZTER_TFCT TYPE /BIC/OIZTER_TFCT ,
           END OF y_target_fields .
    TYPES: yt_target_fields TYPE STANDARD TABLE OF y_target_fields .
    Begin of type definitions -
    *TYPES: ...
    End of type definitions -
    FORM compute_data_transformation
         USING     it_source TYPE yt_source_fields
                   ir_context TYPE REF TO if_rsan_rt_routine_context
         EXPORTING et_target TYPE yt_target_fields .
    Begin of transformation code -
      DATA: ls_source TYPE y_source_fields,
            ls_target TYPE y_target_fields.
      LOOP AT it_source INTO ls_source.
       IF ls_source-KYF_0001 = 0
       AND ls_source-KYF_0002 = 0
       AND ls_source-KYF_0003 = 0
       AND ls_source-KYF_0004 = 0
       AND ls_source-KYF_0005 = 0.
         DELETE it_source.
         EXIT.
       ENDIF.
        MOVE-CORRESPONDING ls_source TO ls_target.
        APPEND ls_target TO et_target.
      ENDLOOP.
    End of transformation code -
    ENDFORM.
    End of transformation code -
    ENDFORM.
    Please help me and reply. Good answers are appreciated and rewarded with points.
    Thanks,
    Sumisha Subramanian.

  • APD Issue - Text not showing up

    Hi All,
    We are configuring APD to run a 'query' and dump 'Large files' on to a directory path in Application server. APD is simple, Query - Transformation - PC File.
    This solution as such is working fine.  However, even if the 'Query' is set to display 'Text' (say for 'Customer' characteristics) the dump picks up 'Customer code' and not the Text.  Our solution also carries 'Hide or Rename column' transformation.
    Tapan

    Hi Tapan,
    I had to face same issue.
    We cannot get text through APD by BEx setting.
    By default APD reads Key from BEx query.
    Only way is to use "Join" from the text tables of master data.
    You are right that you need to use as many joins as the number of text fields needed.
    comming to the performance of the "Join", It did not impact much on the execution time (at least for me - I am using 3 joins to get descriptions for 3 fields -- APD with out joins takes approximately 10mins and with joins takes approximately 10mins 30sec to generate a huge file of 20MB)
    Hope this helps.
    Experts let us now if there is any other way for this.
    Thanks & Regards,
    Vidya Sagar

  • APD-Issue with Decimals

    hi,
    I am using APD to get the report results as CSV file. I have restircted not to show the decimal places for the values in the report  but the file that is genarated always comes with two decimals.
    The business  does not wants the value with decimals.  I have looked at all the options to get this possible in APD.
    Please help with this issue. I am not good at ABAP and I may not be able to write a program.
    Regards,
    Raghu

    Hi;
    APD seeks to direct the base, then it makes sense to try to change the decimal places in the query, there is documentation that shows how to Creation of Key Figures with Higher Decimal Place Precision (https://service.sap.com/sap/support/notes/460652)
    Sá Freire
    Edited by: Luiz André Sá Freire on Feb 2, 2011 4:35 PM

  • APD issue 'Cannot find Variable'

    Hello experts,
    When i am trying to execute APD following error msg recieved.
    Cannot find variable 4T23JCVG9Z4JPGIFX0WFR1GK9 for ZLASTDATE characteristic in selection 0001
    Message no. RSAN_WB010
    Diagnosis
    Technical key for message: CX_RSAN_MDL_DST_FILTER=>FILTER_VAR_RANGE_ERROR
    Procedure
    If you require further assistance, look for a SAP Note containing the key words CX_RSAN_MDL_DST_FILTER=>FILTER_VAR_RANGE_ERROR or RSAN_WB010.
    has anyone had this issue.Please share your experience.
    Regards
    Kranthi.C

    Thanks Vishal for your prompt response. We running APD from an Infoprovider(Infoobject  as Dattarget) called 0BPARTNER. And 'ZLASTDATE'(Refference of ODATE) is attribute of '0BPARTNER'. We stores the values in CRM.
    We also have an alternative  in BI  system for this to fetch the data from Query and stores it in CRM. But problem is in Prod server we have over 1.5 million records of data and the values of these records  may be changed on  a daily basis. If 1.5 million records can uploaded at the first place later we dont expect many records on a daily basis(hardly 5k).So i executed first time  APD using this Query it ends up with error as cannot a upload the load at one stretch after many hours.I have also tried  split the records like 20k in Query but still taking 5 to 6 hrs time.APD process can be done only after business hours so if i follow this procedure it will take many days for me to upload and may be CRM dont have uptodate data.
    Hope you understood wat the problem is .Please let us know if anything you aware which can resolve the issue.
    Regards
    Kranthi

  • APD Issue. (Bug?)

    Hi,
    I have some problem on the APD.
    I'm often using APD but today, something quite strange appened.
    I've linked a query to an ABAP routine and during my work, all the connections Query -> Routine were gone : On my current APD and on the others !!
    When i check the query, all is OK (i can launch too my query on the bex)
    Query is well linked to the ABAP routine.
    When i launch the ABAP routine parameter, i didn't see anything (no field available).
    Is it a known problem? Do you have any advices?
    Thanks !
    Regards,
    Adrien.

    Hi Sushant,
    Thanks for your reply, but it's not a data problem.
    I just can't see the fields in my routine on the "source field" tab. Nothing appear.
    I don't understand cause i can launch my query in the BEX.
    I can't find anything on the SAP notes.
    Regards,
    Adrien.

  • APD timeout issue in execution

    Good afternoon,
    Please anybody knows about this issue? the problem description is the following:
    We have an APD in a Process Chain, this chain was running well in previous dates, but when we run it yesterday and a issue happened.
    The message that appears in common in the 3 APD's that failed when double-click is the following:
    And the process monitor shows the following log:
    As we can see the duration of the Job was 20.787 Seconds and that is not normal because when
    we run the query using RSRT or BEX the result of the query appears in 15
    seconds, so the problem is in Data Source of each APD because the time out
    problem is in execution of the Query that is the data source.  in the next 3 screens we can see it:
    When we check in the TX ST22 The list of Runtime Errors shows that is an TIME_OUT error:
    As we can see the APD is composed by the datasource in this case is a Query and there is
    an aggregation and then the data of the selected fields are written in a DSO.
    When right click and select the option "Display Data" in the APD the execution
    begins but never ends, there is the Time_Out Error.
    The properties of the Data Source in the APD about Extended Settings Tab is the following:
    When we check the TX SM50 In the following screen we can see that is a CL_SQL_RESULT_SET
    Thank you very much if anyone can help or advice to discover the cause of this problem
    and how to solve it.
    Kind regards,
    Luis Jorge

    Hi, I see you have an object aggregation. My recommendation is to redefine the query you delete this object and subtract rows to the query.
    I hope help. Regards.

  • Issue in APD

    Hi guys ,
    I have an issue in APD .
    I have created a new APD with a Query as source and an Application file as the data target .
    (In between , I have various filters , sorts, etc)
    After succesfully executing this APD , the log which appears does not show the Physical application file name in total(ie the file name is getting truncated ) . I want to the total file name to be displayed in the log, Since I have to make use of this file name in my further processing .
    So guys , can you please help me out in this issue .
    Thnx
    Anil

    Issue closed ....

  • APD Performance Issue

    Hi Experts,
      I have create an APD with Query ( on a multiprovider ) as a datasource. This query is a complicated one with lots of preaggregations and stuff and it has to read through a bulk of data.
      When I run this query in RSRT I get the output in around 45-50 minutes.
      But when I use this query as data source for the APD the query takes a lot of time ( 5 hrs ) to execute
    i.e the APD gets stuck in CL_SQL_READ step. There's a routine step and an aggregation step within the  APD and these two steps hardly take time.
    What I find to be strange about this situation is that how could a query that takes 45-50 mins to execute in rsrt takes 5 hours when used as a data source of an APD?
    Has any one faced this problem before? Any help from you guys will be appreciated.

    Hi Adviat,
    I faced simillar problem when used Query as a source for the APD.
    In order to overcome the perfromance issue i have used the InfoProvider as the Source in APD insteadof Query.
    The performance is even better than the query.
    You can perform Calculated Key figures & Restricted Key Figures using the ABAP Routine within APD.
    You can write to me if you need more help on this.
    Regards
    Ramesh
    [email protected]

  • APD failure due to MDX Parser starting issue

    Hello,
    As part of BW on HANA migration, we have recently migrated Dev system to HANA database and during testing we have issue for one of the APD's
    which when triggered failed with the below error messages: Error occurred when starting the parser:timeout during allocate / CPIC- CALL: 'ThSAPCMRCV' Syntax error in MDX statement Termination: Error when executing the query Processing was canceled And the RFC connection for MDX PARSER was also failing. Subsequently, basis implemented the SAP Note 1032461 - MDX parser does not start. Which resolved the issue with the RFC connection. However, the APD is still failing. The error message we get is as below for the same: Error occurred when starting the parser: Function RRTS_PARSE_MDX is not available Syntax error in MDX statement Termination: Error when executing the query Processing was canceled. Request your help on the same.
    Most of the SDN forums on this topic advised on the SAP Note 1032461. However, despite implementing the same note our basis team couldn't succeed in resolving the issue. Thank you!

    Hi Meduru Avinash,
    As you rightly told, most of the time note 1032461 is referred to solve this issue.
    Some where I have read that we need to refer 638701 also,
    like adding gw/cpic_timeout in your system, if it is not available.
    BR
    Prabhith

  • APD query issue

    hello all,
                    I have a BEx query showing net revenue by profit center. profit center has hierarchy and the data is displayed at third level. I need to transfer the dataset at this level to an external system. tried using Analysis process designer, but looks like it does not support hierarchies..I can only get data at the lowest level..any ideas..
             I idea was to use APD to get data into the ods and use open hub to get data into ext. system...but without apd...we need to build comples routines to build the same logic into the ods...
    thanks
    sri

    Hi there
    I realise your issue was from a while ago, but I am experiencing the same.  Did you ever get to the bottom of this?
    Rgds
    Anton

  • APD is terminated - MDX issue?

    Hi expets,
    An APD fails with this error
    System error in program CL_RSR_MDX_CMD and form GET_REQ_FROM_SET-01- (see long text)
    Error while executing query in OLAP server; redesign query
    Termination: Error when executing the query
    APD worked fine up to now , no change in query or in APD itself were made.
    Saved query with a different name, allocated it to APD - same result.
    Query executed in BEx also works fine.
    Didn't find any OSS notes matching the error.
    SAP NetWeaver 2004s / SP SAPKW70021
    Any help? Thanks in advance
    Joe
    Edited by: J.F.B. on Mar 23, 2010 2:43 PM

    Hi Vasu,
    Thanks for reply.
    What's really confusing for me ist the fact that APD worked fine until a date X, and then produced an error, and
    nobody knows about any change in system.
    However, I only can enlcose the long text of error message, system does'nt porvide more information.
    System error in program CL_RSR_MDX_CMD and form GET_REQ_FROM_SET-01- (see long text)
    Message no. BRAIN299
    Diagnosis
    This internal error is an intended termination resulting from a program state that is not permitted.
    Procedure
    Analyze the situation and inform SAP.
    If the termination occurred when you executed a query or Web template, or during interaction in the planning modeler, and if you can reproduce this termination, record a trace (transaction RSTT).
    For more information about recording a trace, see the documentation for the trace tool environment as well as SAP Note 899572.
    Meanwhile I opened a request to SAP OSS. Will post result when available and if helpful.
    Best regards
    Joe

  • APD Data Issue

    Hi Gurus,
    I am using a APD to load data from Query to a T-ODS. I am getting the " No storage space available for extending an internal table" error though I Unchecked the " Process In Memory" Performace setting.
    Please let me know if there is a solution for this problem.
    Thanks

    Gaurav,
    Thanks for the quick response.
    Could you please let me know how to do partitioning. I am using Facility ID as Partioning attribute but what is the best package size that i need to use.
    Thanks

  • APD Output data Issue

    Hi Guys,
    I am trying to develop a APD which is fetching data from customized table.The table contains FORMULA fileld which  contains 10000 Charateristic length.I want 10000 char.length in the out put CSV File.
    Formula out put lenth is truncating.
    Regards,
    Jayapal

    Gaurav,
    Thanks for the quick response.
    Could you please let me know how to do partitioning. I am using Facility ID as Partioning attribute but what is the best package size that i need to use.
    Thanks

  • Call hierarchy issue in APD

    Hi BW Gurus,
    we have a requirement in which we need to provide CSV files based on query in APD
    When checked using each query I am getting a short dump stating u201CCall hierarchy issueu201D(hierarchies are used in query)
    And when I remove the hierarchy in query u2026I am able to execute the APDu2026and generate the fileu2026but some key figures are restricted with hierarchies which should not be removedu2026..is there any concern in using hierarchies of Query in APDu2026is there any other alternative
    Please let me know
    Regards,
    Srivatsava

    Hi Kiran/Riyez,
    Thanks for your inputs,
    But requirement is to send finance data as CSV files, so we have to use existing queries built on COPA cubes, here we canu2019t remove hierarchies
    I have checked query by executing separately its running fine, while trying with APD we are getting this DUMP

Maybe you are looking for

  • My PC crashed and I would like to remove some photos off my iPhone that are no longer on my computer.  How can I remove the photos?

    My laptop crashed.  This laptop housed photos that are on my iPhone.  I would like to delete them off my phone completely how can I do this if the computer crashed?

  • Embedding perl in Java

    Are there any good websites/tutorials about how to go about embedding/using perl code in Java? How is it done? thanks, B.

  • Editing in photoshop from premiere

    hi, i want to edit and use the photoshop software from premiere but the problem is that the option is not active, as it's shown here: I have purchased the premiere software but for now i'm using the free version of photoshop cc 2014, so i hope it is

  • FINISHED_WITH_ERROR IN REPORTS

    Hi guys, my question is regarding the error message "FINISHED_WITH_ERROR", in reports. I run the below code to print a report from form. v_report_job_id = run_report_object(v_report_id,p_list); -- getting the status of the report v_rep_status = repor

  • Flag when record extracted from R/3 to BW

    Hi, Quick question, is there any way of indicating on the transaction “xxxxx” table whether the record has been transported ok to BW ? i.e. can BW update a flag on the record on the transaction server when the record is collected ? Thanks