Career Corner Discussions
Join the conversation in the Career Corner group to ask career-related questions, find approaches to building skills, and seek career advancements.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Example Program

Former Member
0 Kudos
1,992

Hello,

I'm a student of Information Systems at CMU in Michigan. I'm enrolled in an ABAP programming class right now and my final project is to create a program in SAP using ABAP. It can be low, medium, or high complexity. I'm looking to do a high complexity project that incorporates a few screens and use data that is pulled from existing tables in SAP. I was hoping someone on here might have some ideas or example projects I could take a look at. Just so you know, the system I'm working with doesn't have HR data. Anyone's help would be great!

Thanks,

Craig

13 REPLIES 13

Former Member
0 Kudos
1,211

Then you can try to create data by yourself

former_member184158
Active Contributor
0 Kudos
1,211

Hi Craig,

what could I advise you, only to read some books, then when you have enough knowledge, I am sure that you will program dynrpo with tables and others.

so If I send you some examples, it will not help you, if you don't know what does mean Dynpro,

what is PBO, PAI, what is Data dictionary, what is SE11, etc,  so just read some books, and then try step by step to program and when you face some problems, you can post your questions.

Getting Started with ABAP (SAP PRESS) - by SAP PRESS

ABAP to the Future. von Paul Hardy - by SAP PRESS

Regards

Ebrahim

0 Kudos
1,211

I thought you have the e-book version…

0 Kudos
1,211

Hi Ebrahim,

I apologize, I should have given some background information. I have read the book "Discover ABAP Your hands-on Introduction" by SAP PRESS. I have an understanding of ABAP and have been in the data dictionary as well as the ABAP workbench, se80, etc. I have created smaller programs for the class and whatnot.

For some background on this project... The complexity of the project helps with the grade. So if I do a  low complexity, the grade won't be as good, whereas if I do a higher complexity program, the grade is higher. I'm simply looking for examples of other programs to help me generate some ideas of my own as the project can include pretty much anything we want it to. Also, high complexity for this class will include a program that calls 2-5 screens, uses a few tables, and includes dialog programming.

I understand what you're saying as far as Dynpro goes... So no worries there. Anything you advise will be helpful.

Thanks,

Craig

0 Kudos
1,211

No,

I don't have, but if you are student, you can borrow it from library.

0 Kudos
1,211

Hi Craig,

I am glad to hear about that, so you can start step by step, and if  you face any problem just let us to know, we can help you.

there are many things in ABAP to do it like ALV ( SAP List Viewer ) , Tree, hotspot, click,double click, many actions, and many transactions, OOP etc.

look to these examples under package SLIS, may they help you,

Regards

Ebrahim

ivan_shadrin
Participant
0 Kudos
1,211

Hello, Craig.

As I understand, you need a some kind of idea for your project.

Here is the one.

There is an Organizational Management component in SAP HCM (formerly HR) module. It represents the structure of the organization (departments, positions, employees, SAP users and so on as well as relationships between them).

One of the most important transactions is PPOME (see the picture below). You can use it in your search requests in google.

This component is described in several SAP courses (HR505, BIT600, ...). There are also some books (for example, Mastering HCM organizational management). And, of course, scn.sap.com and google :-).

The advantages of this component for your project are:

- org. management exists in every SAP system (even in SAP Netweaver AS ABAP Trial)

- the foundations of this component are not complicated, so you can learn it without any difficulties.

So, you can do the following:

1) Learn the basics of organizational management. I strongly recommend unit 2 from the course BIT600, because it contains only the basics. Also you can read chapter 5.2 from this book. It will take one or two days.

2) Once you have learned OM, you can implement something similar by yourself. For example, you can create tables and transactions for departments, positions and employees.

For example, transaction for maintaining of departments can contain:

- table or several tables for departments data

- selection screen (with search criteria for department)

- ALV list of departments with toolbar with buttons "Add", "Delete", "Modify" and so on

- user can press "add" button. A screen with the attributes of new department should appear. The same is for "Modify" button. And so on.

Also you can implement an ALV-Tree report similar to PPOME tranaction. Such kind of report could be used not only for displaying the hierahchy of departments, positions, employees and ..., but for creating links between them.

Just read the course or the book and you'll understand what I mean.

You should borrow the idea only. Don't try to dive into the implementation of the standard transactions - it is too complicated for you now. Instead you should develop your own "simplified" analogue from scratch.

As a result, you will learn:

- data dictionary (tables, search helps, lock objects)

- selection screens

- general screens (dynpros)

- ALV grid, ALV tree (I recommend start with CL_SALV_TABLE class)

- number ranges

3) If you want to add some "spices", you can study and add into your project following functionality:

- authorization checks (it's simple, but is a plus for your final grade)

- application log (search for Business Application log or transactions SLG1, SLG0)

- persistent objects

- and so on.

For further reading on ABAP I strongly recommend this book.

As a result, you will learn not only ABAP programming techniques, but also some functionality which is used in many SAP components.

former_member220028
Active Contributor
0 Kudos
1,211

Hi,

programming in sap is always like using the sap-standard 90% and developing some small things around it. do you need a complex programm, or just a complex process?

how much time should it take? you know that even small things can cost a lot of time

id suggest you to use some standard components and do something with them.

for example

1. use standard-sap to import customers into your system.

2 .create your own programm to enrich the customers with z-data writing an application-log

3. create a programm to search customers with possibility to 1. display them in alv or 2. send them per mail.

there are lots of things you can do

what elements you should use is,

classes(own and standard sap (application-Log, Mail, BAPIs, ALV or ALV-tree)

standardfunction-modules

sap-components (order or customers or  article or so on)

dynpro-rpgramming (container, input, output, alv

regards

Stefan Seeburger

0 Kudos
1,211

oh and what always looks good is working with change-pointers as a "standard-sap component"

create them in z, or standard sap and write your own programm to process them.

regards

Stefan Seeburger

0 Kudos
1,211

Of course, it's much better to work with standard. But usually it needs knowledge in the corresponding functional area and access to the development system with customer data (or, at least IDES).

In my previous post I just tried to provide an example how someone (for example, student) can establish the goals for himself without a deep knowledge of standard functionality.

0 Kudos
1,211

If you are looking for a Project You can go for some basic type of project like Hospital management, Purchase management, even on your College/School management.

There you can create your own customized tables, Screen to create/update/delete data in database, Reports, even Smartforms showing one management system.

Regards,

Kunal

MTerence
Active Contributor
0 Kudos
1,211

Hi Craig,

As far as EAM is concerned, there are lot of small enhancements available in EAM community.

This is the one topic which most of the companies want to have to adhere with there KPI's for plan and actual data difference. Here Mr. Jogeswara has explained what code can be made to restrict this.

Please note this concept is not available in standard.

Regards

Terence

ashish_suri29
Associate
Associate
0 Kudos
1,211

Try reading ' ABAP in 21 days' and create a Z program and play with the same in debugger.

Also learn events as at-selection screen, at selection screen output, initialization and at start-of-selection