Skip to Content
avatar image
Former Member

developing abap compiler !

hi guys,

my project is to develope a compiler for abap programms, mutch like code inspector but it s based on the needs of the company , so i m not sure if i should call it a compiler but its a programme that will cast any abap program and see if it follows dev standars both universal and specific , so my question is should i use a software development tool used chiefly in the constraction of compilers and in that case wich do u recomend or should i use abap ? and how should i proceed with this ?

(the cast is gonna be on sap like the code inspector)

( im new to compilers so this is just from what i read so far ) i just need help to shose witch road i need to take .

Kind Regards,

hafsa

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    May 22, 2017 at 01:02 PM

    First of all: why don't you want to use the Code Inspector / ABAP Test Cockpit? What do you miss?

    Add comment
    10|10000 characters needed characters exceeded

  • May 22, 2017 at 12:40 PM

    did you check if existing tools do what you need, e.g. CodeProfile by VirtualForge or others?

    Add comment
    10|10000 characters needed characters exceeded

  • May 22, 2017 at 03:00 PM

    You can use the Code Inspector / ATC (ABAP Test Cockpit) to check for naming conventions, I'm not sure i understand what do you mean by "Logic Layout".

    The only serious issue i have with the CI / ATC is that the way the exemptions are handled its just useless, because you can't exempt a particular line of the code, you can only exempt a check or message check, and that applies in the best case to a whole object (Include).

    Also you can add your own custom checks to the CI / ATC so it might be faster to use it and develop your own checks.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      thank u matias,

      as u said it might be faster ,but i stiil need to go with a custum program because the program i need needs to have a whole report at the end of the cast, with several recomendations plus is need it to focus on some specific parts of the code and not all of it .

  • avatar image
    Former Member
    May 22, 2017 at 01:14 PM

    Hi Hafsa,

    There are inbuilt code inspectors available.

    Open a program in SE38 & you will have options as shown below:

    But when we say about company standards; like specific naming convention that company like to follow

    is to be developed by a custom program;

    You can take help of any abaper who can build a custom program check that will fulfill the need to validate if company / orgranization naming conventions/ logic layout/ indentation is followed.

    Thanks

    Anand

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi anand ,

      yes extended prgram check and code inspector,both dont cover the needs of the company so as u said i need to devolope a custom program

      thanks