FAQ: New here? Please see the top-asked questions first.

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Locked
ilya
Posts: 2327
Joined: Thu Oct 31, 2002 4:49 am
Contact:

FAQ: New here? Please see the top-asked questions first.

Post by ilya » Fri Feb 13, 2004 2:30 pm

The list below contains top-asked questions at SAPFans ABAP forum. Before asking something in the forum please review them carefully. If it seems like your problem is listed there, read the topics that are listed. Normally this will cover most of what you need.

NOTE: the first part is listing ABAP questions. The second part is ALV-related. And the last one lists the topics covered in ABAP Knowledge Corner set up by Rich; the topics there will help you to improve your SAP technical background. Some links from the first part will direct you to the Knowledge Corner. You can also visit my ABAP Log where I publish technical information that may be useful for ABAPers.

0. Where can I find some documentation on SAP data model (tables, their relationships)? How do I look for data sources, i.e. where the data is coming from for some field in a transaction?
An article on data sources: viewtopic.php?t=93034
Note: an updated version can be found in ABAP Knowledge Corner at http://www.richard-harper.me.uk/Kb/default.html

1. How do I read document's "texts" (like header text)?
viewtopic.php?t=97079
viewtopic.php?t=87286
viewtopic.php?t=92763

2. How do I find when a program was run the last time?
viewtopic.php?p=262634

3. I have a steploop in BDC, but the number of lines depend on screen resolution. What to do?
viewtopic.php?p=262023
viewtopic.php?p=165135
viewtopic.php?p=93927
viewtopic.php?p=61609
viewtopic.php?p=47599

4. How do I call a program on presentation (Win32 .EXE) or app server (UNIX etc)?
viewtopic.php?t=102955
viewtopic.php?p=261111
viewtopic.php?p=165165
viewtopic.php?p=128575

5. How can I declare an internal table "dynamically" (with different fields).
viewtopic.php?p=107594

6. How do I print the total number of pages in report, like Page 1 of 5?
viewtopic.php?p=254775
viewtopic.php?p=141001

7. How do I implement this popup window with a list of possible input values? (F4-Help).
viewtopic.php?p=236920
viewtopic.php?p=70452

8. I see a table name starting with * in TABLES statement of ABAP program. What's that?
viewtopic.php?p=230560

9. How to find available user exits for a transaction/functional area?
viewtopic.php?p=228649
viewtopic.php?t=101046

10. How do I convert a Hex code into ASCII character and vice versa?
viewtopic.php?t=100826
viewtopic.php?p=153233
viewtopic.php?p=124764

11. I want to update some data. Why can't I use SQL directly, like UPDATE VBAK ....?
viewtopic.php?p=125462
viewtopic.php?p=78945

12. When I print material number, how do I suppress leading zeroes?
viewtopic.php?p=114840

13. How can I download ABAP Source Code completely with screens/GUIs/etc (to restore it on another system)?
viewtopic.php?p=77796
http://www.dalestech.com
http://www.abaps.de - this link is in German
http://code.google.com/p/saplink/ or http://saplink.org/ - a newer tool

14. Are there any standards or best practices for ABAP programming?
http://www.sapfans.com/sapfans/repos/docs.zip - docs kindly provided to sapfans by Rich
viewtopic.php?t=4090

15. Can I perform date arithmetic ignoring holidays and weekends?
viewtopic.php?t=21480

16. In LOOP with int. table, when I am in AT NEW (END etc) block, some fields are filled with *. Why?
viewtopic.php?t=85519

17. Is there any way to hide ABAP code? I don't want it to be visible to others, and I know SAP did this to some programs.
viewtopic.php?p=129424
viewtopic.php?p=58446
viewtopic.php?p=57882

18. What does SY-SUBRC=1001 means after CALL TRANSACTION?
viewtopic.php?p=54168

19. Why WS_DOWNLOAD (WS_UPLOAD, WS_*) fails in background? In general, how can I write files to PC in background?
viewtopic.php?t=8016
viewtopic.php?p=95548
viewtopic.php?p=92558

20. I have to modify a program with edit lock set by other person, who has left the project. What can I do?
viewtopic.php?t=2228

21. How can I build SELECT dynamically (if I will know columns/table/conditions only at run time)?
viewtopic.php?t=74847
viewtopic.php?t=21137
viewtopic.php?t=14756
viewtopic.php?t=35431
viewtopic.php?t=44852


Still can't find it? It's very likely that your question can be number 22 but was not picked for FAQ. Please scroll the forum down to see the recent topics and use the search features before asking.

Your suggestions for further improvement will be highly appreciated.
Last edited by ilya on Wed Feb 20, 2008 2:15 pm, edited 12 times in total.
ilya

More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: viewtopic.php?t=94198
Rich's ABAP Knowledge Corner: http://www.richard-harper.me.uk/Kb/default.html
Function modules documentation: http://www.se37.com

ilya
Posts: 2327
Joined: Thu Oct 31, 2002 4:49 am
Contact:

ALV part

Post by ilya » Tue Mar 16, 2004 4:36 am

This part is giving the links to most popular ALV topics. ALV List Viewer represents a way to build your lists that have nicer look than classic ABAP lists. It has built-in interactivity, sorting/grouping, (sub)totals, input and many features to make your users happy. Surprisingly, SAP provides a lot of comprehensive examples, just browse the development class SLIS in SE80. For you impatient ones, FAQs are below.

1. Please give me general info on ALV.
viewtopic.php?t=58286
viewtopic.php?t=76490
viewtopic.php?t=20591
viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.

2. How do I program double click in ALV?
viewtopic.php?t=11601
viewtopic.php?t=23010

3. How do I add subtotals (I have problem to add them)...
viewtopic.php?t=20386
viewtopic.php?t=85191
viewtopic.php?t=88401
viewtopic.php?t=17335

4. How to add list heading like top-of-page in ABAP lists?
viewtopic.php?t=58775
viewtopic.php?t=60550
viewtopic.php?t=16629

5. How to print page number / total number of pages X/XX in ALV?
viewtopic.php?t=29597 (no direct solution)

6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
viewtopic.php?t=64320
viewtopic.php?t=44477

7. How can I set the cell color in ALV?
viewtopic.php?t=52107

8. How do I print a logo/graphics in ALV?
viewtopic.php?t=81149
viewtopic.php?t=35498
viewtopic.php?t=5013

9. How do I create and use input-enabled fields in ALV?
viewtopic.php?t=84933
viewtopic.php?t=69878

10. How can I use ALV for reports that are going to be run in background?
viewtopic.php?t=83243
viewtopic.php?t=19224

11. How can I display an icon in ALV? (Common requirement is traffic light icon).
viewtopic.php?t=79424
viewtopic.php?t=24512

12. How can I display a checkbox in ALV?
viewtopic.php?t=88376
viewtopic.php?t=40968
viewtopic.php?t=6919
Last edited by ilya on Sat Apr 08, 2006 1:24 pm, edited 5 times in total.
ilya

More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: viewtopic.php?t=94198
Rich's ABAP Knowledge Corner: http://www.richard-harper.me.uk/Kb/default.html
Function modules documentation: http://www.se37.com

ilya
Posts: 2327
Joined: Thu Oct 31, 2002 4:49 am
Contact:

Post by ilya » Tue Mar 16, 2004 4:41 am

This part provides an overview of the topics in the ABAP Knowledge Corner that is set up by Rich. The list of topics is copied from the index page. For most recent content, please visit the index.

Programming Style SAP Programming Techniques How do I.... Performance and Programming Tips Gotcha's Other Interesting Stuff
ilya

More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: viewtopic.php?t=94198
Rich's ABAP Knowledge Corner: http://www.richard-harper.me.uk/Kb/default.html
Function modules documentation: http://www.se37.com

Locked