Syntax Error in generated program.

Hi Experts -
I saw a similar thread regarding the issue I'm having but I thought I'd open another thread.
0CMMT_ITEM_FMCI_PU_HIER Syntax Error for Generated Program
I'm doing an extraction for 0CRM_ORGUNIT_HR01_HIER in RSA3 of CRM.
I get an error message:
Message RJ028 : Error 6 in function module RSS_PROGRAM_GENERATE
There is a syntax error in the code.
How do you solve this issue?
We applied OSS note 822323 but still get the same error. The code still has the syntax error.
Any one saw this or have any solutions? Please let me know. Thanks a lot in advance!

Hi,
Use the program RSA1HCAT in SE38 to check your hierarchy.
Transaction RSA3 was not developed for checking hierarchy DataSources.
Rather, it is only for transaction and attribute/text datasources.  If
you want to check the extraction of hierarchy datasources in the R/3
system, you should use the report RSA1HCAT.  In this report, enter the
name of the hierarchy datasource in the "DataSource with HierarchyType"
field.
For this problem look at the note: 632920.
Regards,
Srikanth.

Similar Messages

  • 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

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

  • 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

  • RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ''

    Hi,
    While executing the below code i am getting the error
    " RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ' ' am new to ABAP , can anyone kindly help me where i have went wrong ? .
    IF ( V_DO_CDS_NAME_MAIN <> '' ).
        ABAP.
            DATA: ref_it_tab TYPE REF TO data,
                  ref_wa TYPE REF TO data.
            FIELD-SYMBOLS: <fs_itab> TYPE ANY TABLE.
            FIELD-SYMBOLS: <fs_wa> TYPE ANY.
            FIELD-SYMBOLS: <fs_field> TYPE ANY.
            CREATE DATA ref_it_tab TYPE STANDARD TABLE OF (V_DO_CDS_NAME_MAIN) WITH NON-UNIQUE DEFAULT KEY.
            ASSIGN ref_it_tab->* TO <fs_itab>.
            SELECT * FROM (V_DO_CDS_NAME_MAIN) INTO TABLE <fs_itab> where C1 = V_WORK_ITEM_ID_MAIN.
            CREATE DATA ref_wa LIKE LINE OF <fs_itab>.
            ASSIGN ref_wa->* TO <fs_wa>.
            loop at <fs_itab> assigning <fs_wa>.
                assign component 'CLIENT' of structure <fs_wa> to <fs_field>.
                V_CLIENT = <fs_field>.
                assign component 'C0' of structure <fs_wa> to <fs_field>.
                V_C0 = <fs_field>.
                assign component 'C1' of structure <fs_wa> to <fs_field>.
                V_C1 = <fs_field>.
                assign component 'C2' of structure <fs_wa> to <fs_field>.
                V_C2 = <fs_field>.
                assign component 'C3' of structure <fs_wa> to <fs_field>.
                V_C3 = <fs_field>.
                assign component 'C4' of structure <fs_wa> to <fs_field>.
                V_C4 = <fs_field>.
                assign component 'C5' of structure <fs_wa> to <fs_field>.
                V_C5 = <fs_field>.
                assign component 'C6' of structure <fs_wa> to <fs_field>.
                V_C6 = <fs_field>.
                assign component 'C7' of structure <fs_wa> to <fs_field>.
                V_C7 = <fs_field>.
                assign component 'C8' of structure <fs_wa> to <fs_field>.
                V_C8 = <fs_field>.
                assign component 'MESSAGE_ID' of structure <fs_wa> to <fs_field>.
                V_MESSAGE_ID = <fs_field>.
                assign component 'TIMESTAMP' of structure <fs_wa> to <fs_field>.
                V_TIMESTAMP = <fs_field>.
                assign component 'EXTRACTKEY' of structure <fs_wa> to <fs_field>.
                V_EXTRACTKEY = <fs_field>.
                assign component 'STATEID' of structure <fs_wa> to <fs_field>.
                V_STATEID = <fs_field>.
                assign component 'DEVICE_ID' of structure <fs_wa> to <fs_field>.
                V_DEVICE_ID = <fs_field>.
            ENDLOOP.
        ENDABAP.
    ENDIF.

    Hi Mubeen,
    While Copying the cotes have come closer otherwise its working fine , i was able to find the error .
    There are ten predefined ABAP data types. There are 100 possible type combinations between these elementary data types. ABAP supports automatic type conversion and length adjustment for all of them except type D (date) and type T (time) fields which cannot be converted into each other.
    I commented the TimeStamp part where i had given the ABAP Type as D and it started working .
    But now i want to display the content of  "TimeStamp"  field but i am not able to do so .
    This is the format in which it has to be displayed 2009.011.915.3353.
    Which ABAPTYPE i need to use ?.
    i am able to display in this format 20090119153353
    regards
    Harsha

  • Syntax Error occured in Program  in include " CNTN01

    Hi,
    We are working on SAP 4.6C to ECC 6.0 Migration. While testing One Transaction, I am getting following error:
    The current ABAP program "CL_GOS_TOOLBOX_MODEL==========CP" had to be
    terminated because it has come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program
    "Z3I_CL_BASCULER_SCS_GOS=======CP " in include "<CNTN01> " in
    line 13:
    "Within classes and interfaces, you can only use "TYPE" to refer to ABA"
    "P Dictionary types, not "LIKE" or "STRUCTURE"."
    The include has been created and last changed by:
    Created by: "SAP "
    Last changed by: "SAP "
    Error in the ABAP Application Program
    This Error is coming while executing transaction in ECC 6.0 however in R/3 4.6C it is working fine.
    Pls Advice what should be done to resolve this issue. This issue is coing in alot of transactions.
    I will appreciate if anyone of you can guide me regarding same.
    regards
    Sandeep

    Hi,
    I was trying hand on one of my Z class which contain  include <CNTN01>. in its Local Types.
    I commented the existing include statement and added new statement as
    INCLUDE CNTN01_OO.
    After saving now when i try to activate the Z Class, it is giving me following error:
    INCLUDE CNTN01_OO
    You can only define classes and interfaces at the highest level of CLASS-POOL.
    CLASS Z5C_CL_MESSAGE, Internal classes in a class include "CNTN01_OO" does not start with the prefix (Z5C_CL_MESSAGE=======)of the current class pool.
    pls advice what i should do correct this issue.
    Sandeep

  • Syntax error in standard program after upgrade

    Hi,
    After upgrade from 7.0 to 7.3, we are facing a syntax error in standard program that is used in one of our process
    The error says:
    The field "G_REQUIDPARENT" is unknown, but there is a field with the s"
    imilar name "G_REQUID_LAST". "G_REQUID_LAST"."
    The system cannot find this object inside include LRSBM_REQUEST_GUIP04, that belongs to program SAPLRSBM_REQUEST_GUI
    We assume that this is associated with the upgrade but we cannot find any solution in the web. Besides, this is a standard program so we cannot perform any change directly. We look for SAP Notes to apply but we didn't find nothing worthwhile
    Basically, we are receiving a dump with the error message posted above and we found the syntax error, but the thing is that we don't know how to fix it, due to the fact that is a standard program and we cannot change it
    I know that SAP could remove some object reference during the upgrade, but there should be an anticipated plan to fix this kind of errors, right?
    Can you shed some light on this, please ?
    Thanks a lot
    Ale

    Hi Ale,
    If you make sure there are no customization around the object and SGEN already run, I think you can just open a OSS message to SAP to looking for a fix.
    Regards
    Bill

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

  • Syntax error in the program SAPLSYMB

    Hi
    I have installed ECC6 on windows 2003 server  sqlserver 2005 as database. We are getting error at the time applying basis patch. The patch process is stopped at import_proper stage.
    When i try to execute any transaction , the error is "syntax error in the program SAPLSYMB". I have cleard the transaction log, still  the errro is same.
    When I try to relogin the error is same, I am unable to execute any transaction.
    Please do the needful
    Regards
    Prasanna.B.S

    Hellow,
    I have the same error, and I executed this command for 12 hours
    tp r3i SAPKB70017 ITP pf=/usr/sap/trans/bin/TP_DOMAIN_ITP.PFL tag=spam -Dclientcascade=yes -Drepeatonerror=8
    the message in cmd is
    earth\sapmnt\trans\tmp\SLOG0914.ITP.LOC is already in use (14474), I'm waiting
    2 sec (20090401065221). My name: pid 4188 on earth (dministrator)
    But this file (SLOG0914.ITP.LOC ) is in 0 kb, is this normally ?
    Please Help me
    Regards
    Graciela

  • EEWB - Syntax error while generating Enhancement Project component

    Hi,
    I'm using SAP CRM 7.0. I used EEWB (Extended Enhancement Workbench) to create a project and add 3 fields to Business Partner (BUPA). On generation I get an error 'Syntax error in Function Group SAPLZZG00BUPA: The field '"GV_ZZATTR1_PAI_ERROR" is unknown.
    There are these fields ZZATTR1 .... ZZATTR9 created by someone. Do not know in which enhancement they are in. But somehow the program generated by SAP - APLZZG00BUPA is giving this error. Is there a way to fix it?
    Any help or guidance will be appreciated.
    Regards,

    Hi Harshit,
    I check the details as mentioned by the thread. The structures are created properly.
    To give you more details:
    1. There is already one extension in the system created by someone - ADD NEW FIELDS - which created the structure with additional fields - ZBSTC0000000002.
    2. I did an extension - ADD NEW FIELDS which added another structure in CI_EEW_BUT000 and CI_EEW_BUT000_X - ZBSTC00009JACQV
    3. When I generate the project I get syntax error in SAPLZZG00BUPA - as the fields from prior structure do not exist in this program which is generated during the project generation.
    Regards,

  • Syntax error in generated report

    Hi,
    I execute a transactions say VB21 and enter the sales org data and when i click the copy button, the processing takes place and finally i get a dialog that shows the generated log messages and which shows details like this..
    status   mesage   Note
    information 801   report rv13a944 generated
    information 802   screen sapmv13a 2944 generated
    errors      888   report rv13a921 has a syntax error
    and so on.
    Whats this transaction about ? and how do i debug the syntax error in the generated report ? Is this report generated out of ABAp query ? How do i trace this ? Any help ?
    thks

    Maybe OSS [Note 702045 - Conditions: Syntax error in program RV13Axxx|https://service.sap.com/sap/support/notes/702045]
    Regards

  • Syntax error in SAPLSCSM_BI_DATALOAD program

    Hi
    Even after applying snote 1610374 we got syntax error in Solution manager 7.1.
    Does it require to correct program with an abaper?  Please help..
    Regards,
    Cinu

    Below note may help
    :  2004350 - Syntax error in program SAPLSCSM_BI_DATALOAD
    Resolution
    Check include LSCSM_BI_DATALOADTOP in SE38 or perform the following step:
    - Tcode SE37
    - CCMSBI_AGGR_DSO2CUBE
    - Line 412, iv_object_name = ods_curr2
    - Double click the name "ods_curr2"
    Check if this report is in active status. If not, please activate it.
    If it is already active, please check version management to see if there is the latest modified version and retrieve the new version.
    Hope this will help you .

  • Syntax Error in Generated Code

    Hi All,
                I am facing the syntax error in WD4A.
    Web Dynpro Comp. / Intf. Z_PO_REQUEST,Web Dynpro Component Controller COMPONENTCONTROLLER
    Error in Generated Code
    The type "ZIWCI_PO_Request" is unknown, but there is a type with the
    similar name "IG_Z_PO_REQUEST". "IG_Z_PO_REQUEST". "IG_Z_PO_REQUEST".
    Any Suggestions to fix this?.
    Thanks in Advance,
    Rajen.

    Hi All,
                I am facing the syntax error in WD4A.
    Web Dynpro Comp. / Intf. Z_PO_REQUEST,Web Dynpro Component Controller COMPONENTCONTROLLER
    Error in Generated Code
    The type "ZIWCI_PO_Request" is unknown, but there is a type with the
    similar name "IG_Z_PO_REQUEST". "IG_Z_PO_REQUEST". "IG_Z_PO_REQUEST".
    Any Suggestions to fix this?.
    Thanks in Advance,
    Rajen.

Maybe you are looking for

  • MRP type "VB" components generated dependent reqt. after MRP by sales order

    Good morning to all SAP gurus         I hav scenario for mech. industry where we r going to implement MRP run , having FERT which is MTO scenario and " PD" MRP type.and its BOM components having MRP type "VB" with no strategy type. At MRP run after c

  • Problems with the last version of iuines

    I have problem with the two last versions, I Can't clouse the program and the computer fail. I must restart the computer

  • GRN IDOC Transfer to ERP  - MBGMCR01 ( 2 IDOCS created)

    Hello Folks, We are on SRM 4 server 5 support Pack 10. and integrate to ERP 2004. When posting a confirmation (GRN) the SRM application is creating 2 idocs to send to the EPR application. We have just performed an upgrade and this was not happening b

  • Data loading problem with Movement types

    Hi Friends,         I extarcted data using the data source General Ledger : Line itemdata (0fi_gl_4) to BW side.     Problem is Movement Types for some documents missing. But i checked in rsa3 that time showing correctly. i restricted the data in bw

  • Can't receive e-mail on ipad 3

    Can't receive e-mail on new iPad...sending not a problem...using Comcast