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.

Similar Messages

  • 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

  • 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

  • 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

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

  • Error when generating the report in Production Server

    Hi,
    I have created one infoset query in Development server of my client. It is working fine there. I had transported the request containg this query to Production server. But whenever I am trying to generate report using this query in Production server it is giving an error message
    "Error when generating the report".
    I am not getting what 's problem.
    Samriddhi

    Samriddhi,
    Genarally its not suggested to transport Queries. Should be able to create Queries directly Production. There might be diferences between your Development and Production versions.
    Thanks.

  • Error when generating the report (see long text), Message no. AQ_AD_HOC221

    Hi All,
    I am facing a peculiar problem while executing an infoset query.I have created 2 customized fields Compa-ratio and PIR in infotype 0008 in an infoset.I have coded in these additional fields.
    When I execute a query using 1 of these customized fields the report is generated correctly.But when I put both the fields in the output the report shows an error "Error when generating the report (see long text)". The message# associated with this errAQ_AD_HOC221.
    I have also checked the data types and the references. Nothing seems to be wrong here.
    Does anybody has any clue about this ?
    Kajal

    Hi Bernd,
    I had a look at those notes. But the information provided did'nt prove to be helpful. I found out the problem. I was using the same local variable for both the fields in their code. This generated the error. This error is a very generic one and does'nt help in finding out what exactly is the problem.
    I changed the other local variable and it started working. When I was using the same variable that time I did'nt forget to clear the values but the query still generated the error.
    Anyways thanks a lot for the reply.
    Kajal

  • InfoSet Query: Syntax Error while generating the program.

    Dear All,
    I have a Query in CRM system which contains an Infoset based on LDB.
    The InfoSet Query throws up a Syntax error while generating the program.
    So, we are not able to change the Infoset using the Infoset Query through SQ01.
    The error is as follows:-
    Syntax error in program "AQZZ==/SAPQUERY/CRM_ACTMON1 ".
    Error in the ABAP Application Program
    The current ABAP program "CL_QUERY_OUTPUT_DEFINITION====CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "AQZZ==/SAPQUERY/CRM_ACTMON1 "
    in include "AQZZ==/SAPQUERY/CRM_ACTMON1 " in
    line 28:
    ""CRMT_REPORT_LOCATORLIST" must be a flat structure. You cannot use int"
    "ernal tables, strings, references, or structures as components. -"
    Please help me arrive at an solution, so that we are able to change the Infoset through the InfoSet Query.
    Awaiting your reply as soon as possible.
    Thanks and Regards,
    Pankaj.

    There is an error in your query, specifically in the definition of CRMT_REPORT_LOCATORLIST. In the short dump (transaction ST22) you will see more details and the exact location of an error if you just scroll down.
    I can't tell more because this problem is specific to your system, to which I have no access. Read the whole dump and look at all the objects mentioned there.

  • 'Error when generating the selection screen "0500"

    Dear all,
    I have copied a function group QEES to ZQEES through SE80. In that I have copied all screens, includes, function modules etc..
    Now when I activate the ZQEES, I get an error 'Error when generating the selection screen "0500" of report "SAPLZQEES'.
    There is no problem with screen 0500, I have activated it.
    But when I activate ZQQES, I get the error.
    Please let me know the reason for this.
    It will be highly appr
    Thanks in advance,
    Sachin

    Hi Sachin,
    there could be a problem while copying in renaming, delete the Function group ZQEES  and recopy the  Standrad function group and only rename  the  the FM QEES_SHOW_SELECTION_SCREEN to ZQEES_SHOW_SELECTION_SCREEN and copy and activate it will work.
    regards,
    Srini

  • Error when generating the selection screen '0005'of report 'XYZ'

    Hi All,
       We copied std SAP pgm and were trying to rename the one of the screen but couldnt. When I tried to transport it to test system it went in to dump giving the error  Error when generating the selection screen '0005'of report 'XYZ' .
    Please advise me on how to remove this dump.
    Regards
    Saurabh

    If you look at the selection screen, you'll probably find that there are overlapping elements (text elements over select-options) or something like that.
    Rob

  • WAD-Internal Error when generating the history. Use a different view!

    Hello,
    When i am trying to open the WAD(Webapplication designer), BEx Open Dialog is being displayed with the message "Internal Error when generating the history. Use a different view"
    how to solve this problem...?
    Thanks
    kumar

    Hello Jeff,
    Thanks for your help, and it has solved my problem. Under Activate Personalization in BEx...
    I have seen 2 more options
    -Variable Personalization
    -Web Reportperson
    Could you inform me the pupose of above 2 options?
    Regards..

  • Error when generating the text environment

    Hi Friends,
    When iam logging on to SAPGUI iam able to lauch the gui but no text elements are being displayed the screen is completely blank and when i try to execute any transaction or perform any action.. the following error is getting displayed.
    Err:sapgui:620
    Error when generating the text Environment.
    Please provide me the necessary help.
    Regards
    Khaiser

    Hi,
    Just a suggestion (not sure it will work) - upgrade your SAPGui to the latest one e.g. 7.10 or patch it.
    Do you see text elements if accessing the sytem using DE language ?
    Regards,
    Mike

  • Syntax Error when generate print program in HRFORMS

    Dear All,
    I created form for payslip using HRFORMS, the name form is ZPS_TPI_01. When I activate the form, the error raised: Generated print program contains a syntax error
    Diagnosis
      Generated print program /PYXXFO/ZPS_TPI_01_PRNT conains a syntax error in line 9 of include /PYXXFO?ZPS_TPI_01_PAYR.
    I have already apply note 878168 but it is not work.
    Please advise me.
    Thank you,

    hi,
    can you let me know for which country  are you trying to generate the HR form for payslip?
    There are certain countries for which payslip isnt supported.
    For such countries you get a similar error.
    Thank you,
    Jose

Maybe you are looking for

  • Posting script code in these forums

    OK, it looks like there are some (new) formatting issues with these forums when people try to post their scripts. I have been using a formatter script that converts the text on the clipboard to HTML and then wraps it in a pre tag, but there still see

  • Help with InDesign spread previews in Bridge CS6

    Our company is updating to CS6 and needs to be able to view InDesign files as spreads as we did in CS3. We produce many catalogs a year and each spread is a separate file. We use Bridge (CS3) to view the entire catalog at once. Now, with CS6, we can

  • Bookmarks in FireFox Sync

    Currently, I have two computers syncing in firefox. I am only syncing bookmarks. The screen I will be referring to is when I hit ctrl + B to show all my bookmarks. With Firefox sync, it separates the bookmarks for computer 1 and computer 2 with a lin

  • Scrolling in Browser = FCP Crash

    When I scroll to the right in my FCP browser, every time I get to the "Compressor" column, the program freezes. This only happens in one particular project and none others. Any ideas?

  • Kuler not working in illustrator 6 (creative cloud)

    Hi, I have the same problem, I have the creative cloud team 6, when I try to connect to kuler threw illustrator it says "A valid ADOBE ID is requiered to use this feature. When I try to write username it's already written but ut's grey and there is n