Requirement to check the syntax error of Customize SAP Objects in existing landscape.

Hi All,
I have two requirements which are a s follows :
1 )    Check the syntax error of customize SAP Objects in existing landscape except using the Tools which are already given by SAP( Example : Code           Inspector , Extended Syntax Check etc.). I have to create a program to fulfill this requirement.
2 )    In case of SAP Upgrade is it possible to know the syntax error in advance that the existing source code will not work in the upgrade version?
  Please help me out to solve my issues. Thanks in advance.

Dear Abhishek,
For the code inspector, the syntax check and the extended syntax check, you can define a set of objects to be teste thru SCI:
Go to SCI
In the block 'Object Set', you can create a set. For ths, you have to give it a name, select with the icon left of the textbox if this is a global (for all users) or a local set and click the create Icon.
in the next field, you can define which objects ... are part of the object set.
When using SCII to execute the code inspector, you can specify this set instead of a transport(s) or programming objects.
To run only the syntax check and or the extend syntax check, you can specify a check variant in SCI (third screen block) which contains only those tests or you can in SCII uncheck all tests except those 2.
Regards,
Hans

Similar Messages

  • Checking the syntax of a program

    Hi,
    I have a problem , in my program (ABAP editor) i want to check the syntax line by line and then wants to show all the errors together .
    like now we go to abap editor n press check button it displays only one error at a time , my requirement is to check each word and statements line by line and then display all the errors on a single screen.
    Is there any function module, class or method to solve my problem.
    Please provide the solution ?

    >
    naincy wrote:
    > can you give more details on SYNTAX-CHECK
    > i have checked in documentation but for PROGRAM they have not explained means no example is there.
    Which bit didn't you understand?
    Use addition PROGRAM to specify in prog the name of an existing ABAP program to use its program attributes for the syntax check

  • No syntax error on syntax check, but syntax error on activation

    Hi all,
    I have a confusing problem.
    I want to default some values on item level of purchase order (ME21N). I added a module call in flow logic of screen 1313 of program SAPLMEGUI. The module itself I added to include LMEVIEWSF01. Here I default some fields of structure MEPO1313. This structure is defined in TOP-include using TABLES.
    Before modification I debugged the transaction and found out, that structure MEPO1313 is accessible during PBO. Changes in debugger are shown as expected on screen.
    Now, syntax check on LMEVIEWSF01 and even on SAPLMEGUI returns no error. But on activation I get syntax error saying MEPO1313 is not know ??
    So, structure MEPO1313 is accessible in debugger, no syntax error on syntax-check, but syntax error on activation ?
    What is going on ??
    Elko

    go to SE80 and Check syantax at package level.
    you might  be checking syantax for other include and problem si somw ehere else, justa  thought.

  • Error message is 'The Request Error : 400' with SAP Download Manager

    Hello,
    The authorization object SWDOWNLOAD (download software) is assigned to the My user ID.
    But I could not download below that file.
    SAP_ABA 710 (4~8)
    SAP_BASIS 710 (4~8)
    PI_BASIS 2006_1_710 (4~8)
    SAP_BW 710 (4~8)
    Error message is 'The Request Error : 400' with SAP Download Manager
    I logged on to SAP Service Marketplace, software download area /swdc.
    I have created objects in the download basket and have received approvals (->Maintenance-Optimizer) where required.
    I start the SAP Download Manager and the objects from the download basket are visible in the object list of the program window.
    After I choose "Objects for Download", the system starts the download.
    In the info-line (in the lower part of the window), the system displays the message 'Processing object...' and then 'The request failed: 400'.

    Hello,
    In these cases the following things should be checked:
    1.- Please be sure that you are using the latest Donwload Manager version
    2.- S-User and password should be active
    3.- Specify the proxy. Please refer to SAP Note 155954
    4.- It might be that you are not licensed for the product you want to download.
    If the checkings above are correct and the problem is still alive, I would recommend you to open an SAP customer message under component XX-SER-SAPSMP-SDM providing the following information:
    1.- The exactly software product name and package or stack number you try to download.
    2.- Attach to the message the results of the trace file generated as per note 574885:
    574885 - Download Manager: Generate trace file for analysis
    I hope this helps you.
    Regards,
    Blanca

  • The project could not be created,please check the webroot folder(it may overlap with an existing project)

    Error msg: "The project could not be created, please check
    the webroot folder (it may overlap with an existing project)." This
    occurs in the CF/Flex Application Wizard Pproject Information
    Window on a Flex3 application. I checked to make sure that there
    were no overlapping applications and the message still persists.
    There are old threads on this from Flex 2 but the problem still
    exists in newly released Flex 3. Please help!

    I can't help you with this, but you are not alone. A friend
    of mine has exactly the same problem

  • Error : while Importing SAP Objects in ESR.

    I am getting error, while importing SAP object in a scenario in ESR.
    What can be the issue ? as we have configured all the beckend settings & sldcheck is also OK.
    Also, we are using proxy scenarios are working fine on system.
    The details are as below :
        at com.sap.aii.ib.server.upload.UploadServiceBean.openSAPSource(UploadServiceBean.java:88)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
        at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
        at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
        at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
        at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
        at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
        at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulTransactionAssociation.invoke(Interceptors_StatefulTransactionAssociation.java:43)
        at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
        at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
        at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulSessionInstanceGetter.invoke(Interceptors_StatefulSessionInstanceGetter.java:37)
        at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
        at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
        at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
        at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
        at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
        at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
        at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
        at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
        at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
        at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
        at $Proxy1366.openSAPSource(Unknown Source)

    Hello,
    Have you used the notes to import ESR content?
    Refer to one of them according to your system version:
    PI 7.1X:
    #1152640 - SAP NetWeaver 7.1 including EHP 1: Importing ESR content
    XI 7.0:
    #836200 - SAP NetWeaver 7.0: Importing Process Integration Content
    XI 3.0:
    #705541 - XI 3.0 (SP1 and higher): Importing XI Content
    Regards,
    Caio Cagnani

  • Where's the syntax error exist?

    Hi,Everyone
    The following statement exists an error:
    DELETE ITAB_YMIT00100 WHERE SOBKZ  IN (' ','K').
    Error Message:
    Comma without preceding colon(after DELETE?)
    About the above error, I do not know why?
    So I have to change the statement and pass debug.
    DELETE ITAB_YMIT00100 WHERE SOBKZ = ' ' OR SOBKZ = 'K'.
    Could anyone help me?

    hi,
    check whether ur internal table is with or with out heder line.  if it is with out header line then ur syntax is wrong.
    n try like this
    DELETE TABLE <itab> WITH TABLE KEY <k1> = <f 1> ... <k n> = <f n>.
    ex:DELETE ITAB_YMIT00100 FROM [WORKAREA] WITH KEY SOBKZ IN (' ','K').
    when it is with header line then,
    ex:DELETE ITAB_YMIT00100 WITH KEY SOBKZ IN (' ','K').
    IF HELPFUL REWARD SOME POINTS.
    WITH REGARDS,
    suresh aluri.

  • Where is the syntax error in my Insert statement?

    It says that there is a syntax error in my insert statement, pointing to the .ExecuteNonQuery() at the end:
    'Defining the activity ID from the datatable
    Dim ActivityID As Integer = DataTableActivities.Rows(0).Item(0)
    'Defining the calories from the datatable
    Dim calories As Decimal = (DataTableActivities.Rows(0).Item(3)) * (DurationNum.Value / 60)
    'Insert statement to add new training events
    Dim SqlQueryActivityInsert As String = "INSERT INTO tblTraining (RunnerID, ActivityID, Full_Name, Time, Calories_Burnt, Date) VALUES (@RunnerID, @ActivityID, @Full_Name, @Time, @Calories, @Date)"
    Dim SqlCommandActivity As New OleDbCommand
    With SqlCommandActivity
    .CommandText = SqlQueryActivityInsert
    .Parameters.AddWithValue("@RunnerID", LoginForm.UserIDlbl.Text)
    .Parameters.AddWithValue("@ActivityID", ActivityID)
    .Parameters.AddWithValue("@Full_Name", LoginForm.Full_Namelbl.Text)
    .Parameters.AddWithValue("@Time", DurationNum.Value)
    .Parameters.AddWithValue("@Calories", calories)
    .Parameters.AddWithValue("@Date", WeekPicker.Value)
    .Connection = conn
    .ExecuteNonQuery()

    Viorel is right.  The 'Date' field is probably throwing it off.  Date is a reserved word. 
    https://www.drupal.org/node/141051
    Putting square brackets [] around the field name should get it working for you.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Can anyone spot the syntax error?

    I've been looking at this for about a day now and can't see the error, which is:
    Insert Failed: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
      public String addSaleList(SaleList sL) {
        try {
          //Gets the connection to customer database.
          Class.forName(Driver);
          Connection myCon = DriverManager.getConnection(Url);
          System.out.println(sL.saleListID + " " + sL.saleID + " " + sL.product
                             + " " + sL.number);
          String sqlQry = "INSERT INTO salelist(saleID, product, number)" +
              "VALUES(?,?,?)";
          PreparedStatement myStmt = myCon.prepareStatement(sqlQry);
          myStmt.setInt(1, sL.saleID);
          myStmt.setString(2, sL.product);
          myStmt.setInt(3, sL.number);
          myStmt.executeUpdate();
          return "Sale confirmed";
        catch (Exception e) {
          System.out.println("Insert Failed: " + e);
          return ("Insert Failed: " + e);
      public class SaleList {
        public int saleListID;
        public int saleID;
        public String  product;
        public int  number;
        public SaleList(int saleListID, int saleID, String product, int number) {
          this.saleListID = saleListID;
          this.saleID = saleID;
          this.product = product;
          this.number = number;
      SaleList saleL = new SaleList(0,10,"b",2);
      lblStatus.setText(sM.addSaleList(saleL));

    Hey this is the stack trace:
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
         at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
         at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
         at sun.jdbc.odbc.JdbcOdbc.SQLExecute(JdbcOdbc.java:3150)
         at sun.jdbc.odbc.JdbcOdbcPreparedStatement.execut(JdbcOdbcPreparedStatement.java:214)
    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeUpdateJdbcOdbcPreparedStatement.java:136)
         at myproject.SaleModel.addSaleList0 120 a 1
    (SaleModel.java:69)
         at myproject.SalesGUI.actionPerformed(SalesGUI.java:395)
         at java.awt.Button.processActionEvent(Button.java:382)
         at java.awt.Button.processEvent(Button.java:350)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • How to check the SQL error message to address the application issue

    Dears,
    The application runs SQLs against Oracle via oracle client(actually the app is IBM Cognos which shows report and the data is from oracle database). So, for a report which fails to run, I want to check the sql and the error message for this failed sql statement. Where is the message stored, client or server and How to get it?
    I know there is a view v$log used to check the sqls ran in database but here I mean the failed sqls....
    Thanks,
    Ricky Ru

    969543 wrote:
    The application only presents the application error message.. And it is not helpful for me to get the root cause..The application uses the Oracle Call Interface to communicate with the database server. OCI calls return a result code to the client. The client is expected to call OCIErrorGet() to get the full error text.
    If the client does not do this, or obfuscate the server error, or suppress the server error? Crappy client. The lack of the client to play its role as client, correctly within the documented client-server architecture, is solely the client's problem. Not the server.
    For DB2, I could use db2diag to check the log. why oracle can not do this? any thoughts?Because Oracle is not stupid? Why on sweet mother earth waste server resources to track client application errors, on behalf of clients? How does this make ANY sense!?
    Oracle server's handles 1000's of SQL executions per second. Just where is it to find sufficient space to log application errors (not database system errors) at that rate? How do you justify that overhead? Using the argument that the application is poorly designed or written? Come on!

  • Onyx -Checking the syntax of the preference files

    I get the following error. What does it mean?
    /Users/jetmart/Library/Preferences/com.apple.iphotomosaic.plist:
    Conversion of data failed. The file is not UTF-8, or in the encoding specified in XML header if XML.
    /Users/jetmart/Library/Preferences/net.kelleycomputing.Rember.builtInMemory.plis t:
    XML parser error:
    Unexpected character 2 at line 1
    Old-style plist parser error:
    Unexpected ';' or '=' after key at line 1

    you have full paths to each file
    /Users/jetmart/Library/Preferences/com.apple.iphotomosaic.plist
    means /Users - that's the Users folder at the top level of your hard drive. then jetmart - that's the name of your home directory in it and so on. Spotlight doesn't find them because system files are excluded from default spotlight searches and you have to include them if you want to find this file with spotlight.

  • Table required to check the charecterstics with values

    HI Gurus,
    i need to get the dump of charecterstics with associated values which are usind for release procedure,
    i have checked the tables CAWN & CAWNT , but it is not giving straight away,
    is there any other table to get values with charecterstics
    rgds

    HI,
    Please check the Table CEKKO , here all the values that rel;ated to the Relaese procedure has stored.
    This is Structure, so Go to SE11 and enter CEKKO .
    Regards,
    Andra

  • ABAP SYNTAX ERROR IN STANDARD SAP TRANSFORMATION

    Hi experts, I am facing a problem while activating a transformation for the cube 0CCA_C11. I installed the flow in 3.5 and wen i was migrating the flow, i first migrated the update rule. At that time, the transformation is giving me " syntax error in the routine" for the infoobject 0CO_REPLINE. The eroor message is given below:
    E:The type "_TY_S_SC_1_FULL" is unknown, but there is a type with the similar name "_TY_S_TG_1_FULL". "_TY_S_TG_1_FULL".

    Hi,
    Please check routine if any for 0CO_REPLINE and also expert routine.
    Regards,
    Rema.

  • Variant configuration-- syntax error in creation of object dependencies

    In variant configuration when i try to create object dependency (tcode=cu01), after entering the dependency and also description when i enter the syntax in the source code it is giving error: error in syntax check for simple condition
    I have entered syntax as  : engine_cap in ('1000','1400','2000'), pls guide me with the solution to create object dependency

    Dear, Shakeer
    Please follow along with my very own config guide of variant config.
    1)     Create a configurable Material Using KMAT u2013Material Type. Item Category 0002 and Item Category Group 0002. Go to classification tab-here you maintain the class type 300 and assign the class, we will create this shortly. (So after creating class come back into MM02 and input the class that you create in step 2.)
    2)     Create a class in T-Code CL01. Use class type 300 for Variants. In this we assign the characteristics we will create shortly.
    3)     Create characteristics in T-Code CT04. Create your characteristic like for example, Z_Type, Z_Model, and Z_Color.
    4)     We must create a characteristic for the pricing. Example, Z_CarPrice inside this characteristic we must maintain. Table Name SDCOM, Field Name VKOND in the additional data tab. Also, go to restrictions tab and enter the class type 300 Variants. Now in order to make this pricing work for you, you must maintain (enter) all the values from the characteristics. For example, Red, Blue, Black, Honda, Toyota, GLI, XLI, and 2.0D.
    5)     Now going back to the characteristics in CT04 change mode. Make sure Basic Data has *Multiple Selections circled. * Character Format has 26 and a check in case sensitive. Make sure in restrictions tab class type 300 Variants is present. Go back to Values and highlight the first one. Example, Red then go to Extras->Object Dependencies->Assignments You must maintain this code $self.Z_CarPrice=u2019Redu2019 in basic data make sure itu2019s released & procedure is filled in. Go back to dependency editor and paste the same code there after 000010 $self.Z_CarPrice=u2019Redu2019 and do this for each and every value. Very Important * Maintain configuration profile in T-Code CU41 for the material -> Priority 01, Variant Configuration, Class 300, status, Released 1, then click save. Note: If 2 conditions are inactive use class group A instead of B in SPRO for Condition type VA00.
    6)     Go to T-Code VK11 and enter VA00 condition type. Enter all the values maintained in the characteristics for example, Red, Blue, Black, Toyota, Etc and enter the price then click on save. Now it should work fine in VA01. Make sure you have assigned the VA00 condition type in the pricing procedure.
    Good Luck,
    Muhammad Ali Lozada

  • Syntax error in standard SAP program.

    Can someone help me. I'm getting the following error while executing
    "Include /sapboq/bos_lbos01top, No component exists with the name /sapboq/mitem. Check the program SAPLBOS01"
    Error in the ABAP Application Program
    The current ABAP program "BS01_SALESORDER_GETDETAIL=====FT" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "SAPLBOS01 " in include
    "/SAPBOQ/BOS_LBOS01TOP " in
    line 9:
    "No component exists with the name "/SAPBOQ/MITEM". ."
    Edited by: nithinrayal on Jul 12, 2010 9:54 PM

    Hi,
    Go to txn SE38 and display program "BS01_SALESORDER_GETDETAIL=====FT". Then do a syntax check. It should tell you what is the error.
    I guess its some support pack that is missing. Try contacting SAP for this.
    Regards
    Prasenjit

Maybe you are looking for

  • Getting an error in Dynamic Configuration

    Hi Guys, I need to dynamically post the file into different directories based on the file in the source payload. In Receiver File Communication Channel Target Directory : * Filename : * Checked the ASMA Attributes for filename and directory Iam refer

  • My itunes crashes when I want to sync my iPhone

    I just restored my iPhone and it hasn't fully loaded iOS 7, so it dosen`t work, but always when I try to connect it to my itunes (what it says I should do) my iTunes crashes, so I can't/won't be able to use it, because it has just been restored and t

  • How to copy movies from pc to itunes

    How can i copy movies from my computer to itunes? I already click "add to library" but nothing appears.Still no movies.Pls. help.thanks

  • How to find unreconciled invoices for a BP for a date before?

    Hi, Expert, Now is Jan 26th, 2009, but how could we get all unreconciled A/R invoices for a customerr at the date of Dec 31, 2008? Because we received some incoming payment in January, when we go to 'Business Partiners' -> 'Internal Reconciliation',

  • Programming Analog Input Registers for MSeries NI-6221

    I am trying to understand the Preliminary M Series Register Map in order to correctly setup and acquire data from the Analog Input channels of my PCX-6221 card. I have been able to figure out the DIO locations and use them but I am having trouble und