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

Similar Messages

  • 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

  • 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 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 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

  • 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

  • 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 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 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

  • Error when Generating the Selection Screen?

    Hi Guys,
                   When i am executing the program with this code .I am getting this type of Error
    " Source code   ZUSFICOR00013_MM_ACNT_COSTING                Line     0
    Error when generating the selection screen "1000" of report
                 I got this Error while activating my program.The code which i wrote is the below one.
    SELECTION-SCREEN: BEGIN OF LINE.
    Select-Options : S_MATNR for MBEW-MATNR ."MatchCode Object MAT1,
    SELECTION-SCREEN COMMENT 2(10) TEXT-004 for field s_matnr.
    SELECTION-SCREEN: END OF LINE.
    Thanks,
    Gopi.

    Hi Seshu,
                  While doing EPC for the Below code
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(15) TEXT-004 for field s_matnr.
    Select-Options : S_MATNR for MBEW-MATNR ."MatchCode Object MAT1,
    SELECTION-SCREEN: END OF LINE.
                  I am getting an Warning like " Selection text or parameter for selection field S_MATNR is not maintained"  How to coorect this one?
                   and also for the this Below Code
    s_fieldcatalog-col_pos = 1.
    s_fieldcatalog-fieldname = 'BWKEY'.
    s_fieldcatalog-tabname = 'i_MBEW_out'.
    s_fieldcatalog-seltext_l = 'Plant'.
    append s_fieldcatalog to t_fieldcatalog.
    clear s_fieldcatalog.
    s_fieldcatalog-col_pos = 2.
    s_fieldcatalog-fieldname = 'MATNR'.
    s_fieldcatalog-tabname = 'i_MBEW_out'.
    s_fieldcatalog-seltext_l = 'Material'.
    append s_fieldcatalog to t_fieldcatalog.
    clear s_fieldcatalog.
    s_fieldcatalog-col_pos = 3.
    s_fieldcatalog-fieldname = 'MAKTX'.
    s_fieldcatalog-tabname = 'i_MBEW_out'.
    s_fieldcatalog-seltext_l = 'Material Description'.
    append s_fieldcatalog to t_fieldcatalog.
    clear s_fieldcatalog.
                     I am getting EPC Error like " Char. strings w/o text elements will not be translated:
    'Plant'"
         Can u please tell me How to correct these type of EPC Error's.
    Thanks,
    Gopi.

  • Download / Upload queries gives "Error when generating transport dataset"

    Hi!
    I need to transfer some queries from one system to other.
    Systems are not connected with each other, so no TRs are available!
    I am doing like this:
    - running program RSAQR3TR in "old" system
    - downloading a query as TXT file into my local PC
    - running program RSAQR3TR in "new" system
    - uploading TXT file into "new" system and get a message - "Error when generating transport dataset"
    Any ideas?
    Will reward,
    Mindaugas

    Check whether this info is useful,
    Transporting a query
    Transporting a query means only the query itself is transported.
    Importing a query is possible only if a corresponding user group (see below) and a corresponding InfoSet exist in the target client and if the InfoSet is assigned to the user group. To demonstrate the effect of the import options, suppose that the query has the name QU and belongs to the user group BQ in the source client.
    The import option REPLACE overwrites the query QU of the user group BQ in the target client if the user group exists.
    The import option GROUP=ug overwrites the query QU of the user group UG in the target client if the user group exists. In this case, the query is explicitly assigned to a user group in the target client. This target user group may be differnet from the user group in the source client.
    Rgds,
    SaiRam

Maybe you are looking for

  • DVD player crashes Mac

    Trying to play a DVD on my Mac causes it to freeze/crash. Dock is unresponsive can't cmd + Q or even force quit. I can move my cursor around the screen, but nothing is click-able. No spinning coloured wheel either. Have to hold power off and restart.

  • Saving Scanned Documents as PDF's

    I have a new HP Officejet L7590 All in one printer. My last HP 6210 had an option in the "Scan To" window under the "File Type"/"Save As" drop down menu for PDF's. My new HP only has "Save As" "File Type" options of "GIF", "Bitmap", Tiff & Tiff Compr

  • Garageband looks for Module file\U201CRascal\U201D

    hi..can someone please help me? i just updated my garageband to 3.0.4 however, everytime i open it, it says: "module file\U201CRascal\U201D is outdated and cannot be used with this version of Garageband Control Surfaces. Please get an update of the M

  • Form email. wrong "from" email address

    My client website is publish in BC now (webbasic+). www.residences-joncas.com . When he receive contact form from a client the "from" email he receive is: "[mailto:sergewalsh=[email protected]] De la part de Serge Walsh". It is my email address ([ema

  • ITunes apps tab, list view, what does the 4  symbol mean?

    In iTunes, in the Library section on the left, with the Apps category selected, I see all my downloaded apps as icons. When I choose List from the iteims across the top, the view changes to an apphabetical list. Next to the name of each app is a symb