Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

developing abap compiler !

Former Member
3,322

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

1 ACCEPTED SOLUTION
Read only

UweFetzer_se38
Active Contributor
2,711

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

10 REPLIES 10
Read only

former_member226519
Active Contributor
2,711

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

Read only

2,711

yes, they dont cover what i need like specific naming convention and dev standars ,...

Read only

UweFetzer_se38
Active Contributor
2,712

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

Read only

2,711

code inspector doesnt cover the specific needs of the company .

Read only

2,711

You can write your own checks in CI / ATC: see open source project https://github.com/larshp/abapOpenChecks/wiki

Read only

0 Likes
2,711

okeey i m going to see this

thank u !

Read only

anand_sagarsethi
Contributor
0 Likes
2,711

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

Read only

0 Likes
2,711

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

Read only

Matias_AV
Participant
2,711

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.

Read only

Former Member
2,711

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 .