02-09-2006 8:42 PM
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.
02-09-2006 8:52 PM
02-09-2006 8:56 PM
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
02-09-2006 8:56 PM
You might find this helpful.
http://help.sap.com/saphelp_470/helpdata/en/fc/eb2c46358411d1829f0000e829fbfe/frameset.htm
Regards,
Rich Heilman
02-09-2006 9:07 PM
HI Rich Heilman ,
Thanx for prompt reply .i need some examples like this only.
02-09-2006 9:16 PM
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.
02-09-2006 9:16 PM
in SE38 in program name field give DEMO* and press F4 , u can get lot of these examples
pls reward points for helpful answers
02-09-2006 9:25 PM
02-09-2006 9:25 PM
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 .
02-09-2006 9:28 PM
02-09-2006 9:30 PM
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
02-09-2006 9:31 PM
02-09-2006 9:41 PM
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.
02-09-2006 9:46 PM
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>
02-10-2006 12:02 AM
02-10-2006 2:15 AM
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
02-09-2006 8:56 PM
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...
Regards,
Vara
02-09-2006 9:01 PM
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