Application Development 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: 

Realtime examples

Former Member
0 Kudos

hi ,

iam new to this site .Can I get some realtime examples

with coding.Iam new to abap also.Iam preaparing for interviews .please help me.Thanx in advance.

17 REPLIES 17

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

What kind of ABAP example are you looking for?

Regards,

Rich Heilman

0 Kudos

Here is a sample program which gets selection from the user and retrieves company codes from database and puts the data into an internal table, then writes the table out to the list display. Is this the kind of examples that you are looking for?



report zrich_0001.

data: it001 type table of t001.
data: xt001 type t001.

select-options: s_bukrs for xt001-bukrs.

start-of-selection.


  select * into table it001
         from t001
              where bukrs in s_bukrs.

  loop at it001 into xt001.

    write:/ xt001-bukrs, xt001-butxt.

  endloop.

Regards,

Rich Heilman

0 Kudos

0 Kudos

HI Rich Heilman ,

Thanx for prompt reply .i need some examples like this only.

0 Kudos

HI,

http://help.sap.com/saphelp_470/helpdata/en/fc/eb2c46358411d1829f0000e829fbfe/frameset.html.This site contains only theory.I need some realtime examples. Iam facing somany questions regarding realtime from vendors.Please help me.

Thanx in advance.

0 Kudos

in SE38 in program name field give DEMO* and press F4 , u can get lot of these examples

pls reward points for helpful answers

0 Kudos

Ok, anything inparticular that you want example for?

Maybe something more specific. You mentioned vendors? Do you want a list of vendors?

Regards,

Rich Heilman

0 Kudos

Hi Rich Heilman ,

purchase,sales,delivery,vendor,customer which your working in realtime.Really i dont have any real time experience but vendors asking for realtime experience.so iam trying to learn.please give me some examples or business scenario .

0 Kudos

Hi ,

reports in MM departments and SD department

0 Kudos

Well, I'm still not exactly sure what you are looking for, but here is another sample, which gives a list of vendors.




report zrich_0001.

data: ilfa1 type table of lfa1 with header line.

select-options: s_lifnr for ilfa1-lifnr.

start-of-selection.


  select * into table ilfa1 from lfa1
           where  lifnr in s_lifnr.

  loop at ilfa1.

    write:/ ilfa1-lifnr, ilfa1-name1.

  endloop.

You can pretty much do this same sort of thing for customers as well, just use table KNA1 instead of LFA1. As far as purchase orders, you would look at EKKO, EKPO, EKKN, EKET, etc. Sales, VBAK, VBAP, VBEP, etc. Deliveries, LIKP, LIPS, etc.

Welcome to SDN! Please remember to award points for helpful answers and mark you post as solved when solved completely. Thanks.

Regards,

Rich Heilman

0 Kudos

Are you looking for standard reports? I'm lost.

Regards,

Rich Heilman

0 Kudos

Hi Rich Heilman ,

sorry for the inconvinence.I need some reports like Purchase order ,purchase requsition ,sales order ,sales performance etc .If yo have any special reports with ALV and Interactive reporting concepts.Thanx in advance.

0 Kudos

Hi Priya,

Check some simple examples here.

<a href="http://www.henrikfrank.dk/abapexamples/index.html">Examples1</a>

<a href="http://www.sap-basis-abap.com/sapabap01.htm">Examples2</a>

0 Kudos

Hai phani,

Thanx for your reply.

0 Kudos

Rich,

What Priya is looking for is something that will help him bluff his way through an interview. As he explains he does not have any SAP experience. The vendors he refers to are the companies interviewing him. The would like examples of programs he has written. Since he has not written any he needs sample code with explanations of what it is doing so he can present this information in an interview.

Priya, this forum is really for developers currently working on SAp and experiencing real problems.

However, good luck in your endeavours.

Jill Hilton

Former Member
0 Kudos

Hi,

Welcome to SDN. The best guide for you would be the SAP help. Check the below link.

http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm

for examples..

in SE38 Screen click the ENVIRONMENT Menu and then click the EXAMPLES submenu. You can find the examples based on the different categories.

You can access the following sites for help...

www.sapgenie.com

www.sapfans.com

Regards,

Vara

Former Member
0 Kudos

for demo examples goto SE38 and give DEMO* in the program name , here u will get simple examples

check this for some interview questions

http://www.geekinterview.com/Interview-Questions/SAP-R-3/Reports