Error when generating program /SAPAPO/TSM141 and Errors in source system

Hello APO Experts!
I had to include a new key figure in the cube and the planning area with configuration semantic = 000.
The problem is, in my DEV system, the modification was perfect. Then when I did in the QA system, I´ve got the error "Error when generating program /SAPAPO/TSM141" and u201CErrors in source systemu201D when trying to load data in the Infopackage.
Do you have any idea of what this could be?
Best Regards
Nik

Hello,
The problem may come from the inconsistency between the datasource settings and the content in table /SAPAPO/TSAREATE.
- SE16, go to table /SAPAPO/TSAREATE, input the planning area name, check the extraction structure, which is started from  '/1APO/EXT_STRU'.
- SE16, go to table /SAPAPO/TSAREAEX, input the datasource name, and check the extraction structure.
Are the two extraction structures the same or different ?
If they're different, please read the below solutions, otherwise, you can ignore the following.
In general and most customer cases this inconsistency happens during transporting of datasource alone. In many cases the planning area is directly created at target system and datasoucre transported from a a different system which causes incorrect export structure entry in planning area table.
Please refer to following content from note 549184:
Q4: Why could I have extraction problem after transport of DataSource?
A4: DataSources for DP/SNP planning areas depend directly on the  structure of the planning areas. That's why the planning area MUST  ALWAYS be transported with or before the DataSource.
The simple solution will be to create a dummy data source for this planning area. This will regenerate the extract structure for all other data sources as well and update the corresponding tables. After that you can delete the dummy datasource.
After delete the dummy datasource, in case of inconsistency, please also run the report /SAPAPO/TS_PSTRU_GEN report for
- Basis - form routines
- Create planning objects
- Planning area extractor
with the flags "Reset generation time stamp" and "Generate" set.
And in order to transfer datasource correctly, please also refer to the consulting note 514524.
Best Regards,
Ada

Similar Messages

  • Error when generating program /SAPAPO/TSM141

    Hello APO Experts!!
    I have one infocube for sales history, which has one key figure that contains the sales history values.
    First, I was using this key figure in one planning area. This Key Figure Semantics for Read and Write Operations was 002 = Semantics for InfoCube key figures.
    Now, I had to include the same key figure in another planning area and with the same configuration Semantics = 002.
    The problem is, in my DEV system, the modification was perfect. Then when I did in the QA system, I´ve got the error  "Error when generating program /SAPAPO/TSM141" when trying to access the data in the planning books that are created in the first planning area.
    For the second planning area, nothing happens, everything is working correctly.
    Do you have any idea of what this could be?
    Regards
    Anglea

    Hi
    Sounds like a Planning Area extraction problem. First of all check that all your required BW InfoObjects are created for the Planning Areas, then check that the Semantics you mentioned are the same for all Aggregates in the Planning Area.
    Also try running program /SAPAPO/TS_PSTRU_GEN to regenerate the planning area extractor.
    Delete and recreate the data source.
    Hope that helps
    Regards
    Ian

  • Error when generating program when creating CVC using infoprovider

    We are receiving the message "Error when generating program" when
    creating CVC using infoprovider.
    This may have something to do with the fact that we added an attribute
    to the infoObject 9ALOCNO. We are getting an information message if we
    run a consistency check in the POS.
    We had this same issue in our development system. Here, I deactivated
    and then reactivated the CVCs and this resolved the problem. However,
    this is not a good solution since this is also a problem in our
    production system and we do not want to deactivate the POS.
    is there another option to fix this problem?
    Thank you,
    Rumi

    Hi Rumi,
    i would try these:
    1. Make sure the cube is active and every thing ok there
    2. Run programs /SAPAPO/TS_PSTRU_CONS_CHECK on POS and /SAPAPO/TS_LCM_CONS_CHECK on planning area respectively.
    3. Check the CVC creation log in transaction /n/sapapo/mc62 for more details.

  • Error when generate Transformation- GP_ERR_RSTRAN_MASTER_TMPL related

    Dear all:
    We created transformation for cube 0PA_C01 and infoSource 0HR_PA_1 based on 3.x transfer rule. When we performed "Check", it is done successfully with any error. But during activation, there s syntax error occurred in program "GP_ERR_RSTRAN_MASTER_TMPL". And error lines are as following--
      line 2815:
      "Field "_B_1-MVIEW-CO_AREA" is unknown. It is neither in one of the spe"
      "cified tables nor defined by a "DATA" statement. "DATA" statement. "DA"
      "TA" statement."
    Also there are two error message generated :
    RSTRAN511- Error During generation
    RSO404      - Error when activating Transformation 0ERUYQ8XMDJS1DP5U5U7HTBBNBME3GOE
    Any thought please ~~~
    BR
    SF

    Hi
    Iam creating transformations for 0IC_C03. Iam facing problem in activating the transformations successfully. Some times it is throughing the above said error and some other times it is throughing the error ASSIGN_TYPE_CONFLICT. I searched forums almost a day and i found that SP 9 is unstable in which we are now and experts suggesting to upgrade to SP10 or SP12. But the problem is client is not willing to go to SP upgradation now. I have no clue now. I almost spend two days on this. But on the other hand iam able to generate transformations successfully and able to load data for other cube 0SD_D04.
    kindly suggest any one to get rid of this issue. Iam running out of time.
    Thanks
    Kumar

  • Error when generating master data routines

    Hello all,
    I´m trying to activate 0BPARTNER but an error appears: Error when generating master data routines, and no more information is provided.
    I´m working with BW 7.0.
    Has anybody had this problem?
    How could I solve it?
    Thanks in advance.
    Carmen

    Hi Carmen,
    I'm working with SAP BW 700 and I had also this error during a characteristic activation in my QA system. This happened when I tried to transport the activated characteristic from my DEV system.
    I found  also message TK425 when I was trying activation through RSDG_IOBJ_ACTIVATE program.
    I solved this error message with OSS note 01458319 700SP24: "Transport fails during the impact analysis of DTP".-
    I hope this helps.
    Best Regards.
    AW

  • Error when Generating the Program

    Recently there was an SP upgrade and my Planning Book started giving me this error message (SCM version =5.0 and SP = 7)
    "Error when generating the program" Message no. /SAPAPO/TSM141
    Diagnosis: Generated programs are programs that are generated based on individual data objects, such as planning object structure, planning areas and Infocubes. These programs are then executed in the transaction. An error occured during the generation of such a program
    Possible causes:
    1. The template has been corrupted
    2. The object that the template uses to generate the program contains inconsistencies; for instance an Infocube has not been activated
    This error occurs when I try to open the my planning book/creating the selection profile. I've re-activated the Infocube and later deactivate and active my POS and tried to do the same for the Planning Area....but the error still persists. I tried to create a new planning area and tried it again but the error still persists. I've tried to fix any inconsistencies in the planning area time series objects by running the consistency check....however the same error pops up during the consistency check....
    Anyone encountered this error message and any possible solutions to this issue.
    Thanks
    Surender

    I did find an ABAP Dump when looking at ST22.  The short message is as follows:
    Runtime Errors         GEN_BRANCHOFFSET_LIMIT_REACHED
    Date and Time          05/14/2007 19:33:54
    Short text
         Jump distance is too large and cannot be generated.
    What happened?
         A jump distance is too large and cannot be generated.
         A control structure or a routine with "CHECK" or "EXIT" contains
         too many ABAP statements.
         Error in the ABAP Application Program
         The current ABAP program "GP_MET_PSTRU_BASIC_FORMS" had to be terminate
          because it has
         come across a statement that unfortunately cannot be executed.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         During the generation of program "GP_MET_PSTRU_BASIC_FORMS", the system
          determined that
         within an ABAP event a control structure (for example, IF..ENDIF
         or LOOP..ENDLOOP) or a routine (for example, FORM routine) has
         become too large. The resulting jump distance is too large so that
        it could no longer be generated.
        With the internal load format, the jump distance must not be
        greater than 32768 (this is the size of approximately 10.000
        ABAP statements).
        The jump distance that is to be generated, however, is 50885.
    How to correct the error
       The ABAP application program must be changed.

  • Error when generating the update program RSAU484

    Hi,
    I am getting the following error while loading data into customer master  from CRM system
    Error when generating the update program
    Message no. RSAU484
    Diagnosis
    An error occurred during program generation for InfoSource MR_CDB_CUST_HFR and InfoProvider 0BPARTNER$T. This may be extrapolated to incorrect update rules.
    Procedure
    Check and correct your update rules and then generate the update program again. You can find help on the error in the error log.

    Yes,there is just a single line of code in the start routine
    DELETE DATA_PACKAGE WHERE CUSTOMER is initial.
    and update rules  for Business partner and customer market which are object mapped 1:1. No routines or formulaes.
    Could this be a technical issue on the flexible update or a data quality ?

  • Error when generating update program

    Hi,
    I was loading transactional data in to Cube. The load had failed and in RSMO status tab is showing that Error when generating update program. could you please suggest me some one how to resolve it.
    regards,
    Neeraja
    null

    Hi,
    Actually when you are loading data, the update program is executed. It is generated while you create the update rules for your data target. Please check whether the update rules are active or just go to the update rules and activate it again. Try loading data after activation and let us know the results.
    With Regards

  • BW Statistics-BI7-Error when generating the update program

    Dear All,
    We faced the below problem in while executing the infopackages for BW statistics in BI7.0
    7099 records from 7099 records..but shows request is red.
    Error message during processing in BI
    Diagnosis
    An error occurred in BI while processing the data. The error is documented in an error message.
    System Response
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    Further analysis:
    The error message(s) was (were) sent by:
    Update rules
    Procedure
    Check the error message (pushbutton below the text).
    Select the message in the message dialog box, and look at the long text for further information.
    Follow the instructions in the message.
    Update rules ( 7089  -> 0 Records ) : Errors occurred (RED)
    Update rules ( 7089  -> 0 Records ) : Errors occurred
    InfoCube 0TCT_C23 will be updated
    Error when generating the update program (RED)
    Is there any notes to apply for this?
    Initilaztion is executed with out any errors!!
    Regards

    Hi
    Caller 01 : If there is any inconsistecy while loading the data or if the program cannot able to execute a specific task it will give the caller errors.
    check in the transaction ST22
    check for the OSS notes 631668, 860475
    Check the below links which have a discussion on the same problem.
    A caller 01, 02 or equal to or greater than 20 contains an error meesage
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    ERROR?
    Data load System error
    Hope this will help
    Regards
    Shilpa

  • Error when generating the update program::::ID RSAU No. 484****

    Helllo,
    While Infopackage loading for DS 2LIS_04_P_COMP following error is coming.. please see if anyone may face such kind of error.
    ***Error when generating the update program::::ID RSAU No. 484***
    Diagnosis
         An error occurred during program generation for InfoSource
         2LIS_04_P_COMP and InfoProvider ZISPP_C01 . This may be extrapolated to
         incorrect update rules.
    Procedure
         Check and correct your update rules and then generate the update program
         again. You can find help on the error in the error log.
    amit shetye

    hi,
    Do a check on the update rules and see if it returns no errors...
    if that is the case, then check the short dump and try to get the program name for the update rules..In se38 putting the program name, you can go inside it and do a check there as well if there are any errors....
    If in the end yo still dont find anything, try to delete and re-create the update rules..
    But i think you will get quite useful info from the dumps if there are any..
    hope this helps you..
    regrds,
    Jadeep

  • Have a  problem with Lightroom 5.4.  Since the program crashed yesterday it won't launch, it comes up with the message "Lightroom encountered an error when reading its preview cache and needs to quit".  "  Lightroom will attempt to fix this problem net ti

    Have a  problem with Lightroom 5.4.  Since the program crashed yesterday it won't launch, it comes up with the message "Lightroom encountered an error when reading its preview cache and needs to quit".  "  Lightroom will attempt to fix this problem next time it launches".  Except that it doesn't, I keep getting the same message and the program closes.  Does anyone know what I  can do to repair it?  Can't back up, can't do anything.

    There are dozens of threads in this forum that describe the fix

  • Error when generating the update program

    Hi BW Experts,
    I am facing issue while loading data to cubes:
    0TCT_C01 & 0TCT_C02
    In load monitor (RSMO) -> details> some data pakages are going thru successfully while some are failing with error:
    Error when generating the update program
    Thanks

    Hello,
    Try activating both the cubes using RSDG_CUBE_ACTIVATE. Activate them even thou they seem active.
    Also you can refer to OSS Notes:
    Note 1146851 - BI 7.0 (SP 18): Error RSAU 484 when generating update
    Note 1152453 - Termination generating InfoCube write program
    Regards,
    Shashank

  • Hierarchy load - Error RSAR 683 Syntax error in generated program, row 0

    Hi guys,
    When I load the hierarchy on ZMATERIAL (load from 0MATERIAL hierarchy - source system BW), I have this error message : RSAR 683 Syntax error in generated program, row 0.
    I have found several SAP notes, especially [Sap Note 944842|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_whm/~form/handler], but the implementation on our system does not change anything.
    We are working on BW3.5 SP12.
    Can anyone could tell me what to do ?
    Will this issue be solved once we upgrade until SP18 as it is mentionned in the SAPNote ?
    Thanks,
    Alexandra
    Edited by: Alexandra Guillaux on Apr 1, 2009 4:36 PM

    Hello Alex,
    after implementing the corrrection part of note 944842 via SNOTE, plaese also:
    1. replicate datasource
    2. activate transfer structure (report RS_TRANSTRU_ACTIVATE_ALL)
    3. activate infoobject   (make dummy change to description
    of infoobject etc, save and activate it, remove change and save and
    activate it again).
    Hope it could resolve the incident.
    Thank you & Best regards,
    Vince

  • Error when generating catalog SRM_EXTRACTED_CTLG

    Dear All,
    We are trying to transfer product and contract catalogs from SRM server to Catalog authoring tool. The RFC connections were created and scenarios in XI have been imported as per the cookbook. The XI part seems to be working fine and a correct response was received by XI (as per SXMB_MONI), but we find the following error in the SRM application log (tcode: SLG1)
    The following exception was raised:
    /CCM/CX_OBJECT_CREATION_FAILED
    Error when generating catalog SRM_EXTRACTED_CTLG
    The exception occurred at the following point: 
    Program  /CCM/CL_CATALOG_MANAGER=======CP 
    $EXC_CLASS    /CCM/CX_OBJECT_NOT_FOUND
    The earlier threads seemed to mention applying service packs so we did a check and found everything fairly up to date, as follows:
    SRM Server 5.5 (Service Pack 4)
    ABAP Rel 7 (Service Pack 7)
    CCM Server 2 (Service Pack 4)
    As I'm basically an XI person, I'm not sure how to debug this error. Can anyone please help me out on his?
    Thanks and Regards
    Arun

    Hi All,
    Just bumping up my question again. Any pointer on this... please?
    Best regards,
    Arun

  • Error when generating transport dataset (transfering queries with RSAQR3TR)

    Hi!
    I try to transfer queries from one system to other.
    Systems are not connected with each other, so no transports are available.
    I am doing like this:
    - running program RSAQR3TR in "old" system
    - downloading a query as TXT file into my PC
    - running program RSAQR3TR in "new" system
    - uploading TXT file into "new" system and get a message - "Error when generating transport dataset"
    I have only query and user group in "old" system. Is this information enough to transfer them to "new" system?
    <b><REMOVED BY MODERATOR></b>
    Mindaugas
    Message was edited by:
            Alvaro Tejada Galindo

    Hi,
    Step 1. Run RSAQR3TR in 'old' system. Select EXPORT and specify the objects to be transported. 
    (System includes these in an automatically created transport request) 
    Step 2. Release this transport and request it be transported to 'new' system. 
    (This results in the entries being populated in transport table AQTDB in 'new' system). 
    Step 3. Run RSAQR3TR in 'new' system. Select IMPORT and tick the Overwrite checkbox. Specify the transport number in the field labelled 'dataset with imports'. 
    (RSAQR3TR gives the message that stuff has been imported OK). 
    Step 4. if you still couldn't find the queries, so ran RSAQR3TR one more time, this time specifying 'Copy Standard Area -> Global Area'
    Regards
    Sudheer

Maybe you are looking for

  • Header columns alignment in PDF using CFDOCUMENTITEM

    Hi All, I'm creating a PDF with CFDOCUMENT tags and using CFSAVECONTENT tags. I will do the formatting everything inside the CFSAVECONTENT Variable and create the PDF using the save content variable. <cfdocument format="PDF" orientation="landscape">

  • Project wise profitability analysis

    Hi I have to create MIS for project wise profitability analysis .  In sales order we used additional tab as project and we assigned projects to each and every sales order Now they want one Report "Project wise profitability analysis" . So i have do t

  • Things i need fixed on my Lumia 920

    I have a list of things that i really LOVED on my Nokia 5800 that i would like either Nokia or MSFT to fix or send an update for on my new Lumia920: 1- When you turn the volume down for either music or a video, the volume for the phone ringtone goes

  • LSO Enterprise Learning - Content Caching

    Can someone share their experience and any recommendations related to the Caching of content within the LSO system (including KM). We have had mixed results with content caching in our testing so I want to know if our results are an anomaly. Thanks,

  • Is it possible to preserve albums in iphoto backup to disc ?

    Is it possible to preserve albums when archiving iphoto to disc ?