Tuesday, July 31, 2007

SAP

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.

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: http://www.sapfans.com/forums/viewtopic.php?t=93034
Note: an updated version can be found in ABAP Knowledge Corner at http://www.richard-harper.net/Kb/kb.html

1. How do I read document's "texts" (like header text)?
http://www.sapfans.com/forums/viewtopic.php?t=97079
http://www.sapfans.com/forums/viewtopic.php?t=87286
http://www.sapfans.com/forums/viewtopic.php?t=92763

2. How do I find when a program was run the last time?
http://www.sapfans.com/forums/viewtopic.php?p=262634

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

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

5. How can I declare an internal table "dynamically" (with different fields).
http://www.sapfans.com/forums/viewtopic.php?p=107594

6. How do I print the total number of pages in report, like Page 1 of 5?
http://www.sapfans.com/forums/viewtopic.php?p=254775
http://www.sapfans.com/forums/viewtopic.php?p=141001

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

8. I see a table name starting with * in TABLES statement of ABAP program. What's that?
http://www.sapfans.com/forums/viewtopic.php?p=230560

9. How to find available user exits for a transaction/functional area?
http://www.sapfans.com/forums/viewtopic.php?p=228649
http://www.sapfans.com/forums/viewtopic.php?t=101046

10. How do I convert a Hex code into ASCII character and vice versa?
http://www.sapfans.com/forums/viewtopic.php?t=100826
http://www.sapfans.com/forums/viewtopic.php?p=153233
http://www.sapfans.com/forums/viewtopic.php?p=124764

11. I want to update some data. Why can't I use SQL directly, like UPDATE VBAK ....?
http://www.sapfans.com/forums/viewtopic.php?p=125462
http://www.sapfans.com/forums/viewtopic.php?p=78945

12. When I print material number, how do I suppress leading zeroes?
http://www.sapfans.com/forums/viewtopic.php?p=114840

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

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
http://www.sapfans.com/forums/viewtopic.php?t=4090

15. Can I perform date arithmetic ignoring holidays and weekends?
http://www.sapfans.com/forums/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?
http://www.sapfans.com/forums/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.
http://www.sapfans.com/forums/viewtopic.php?p=129424
http://www.sapfans.com/forums/viewtopic.php?p=58446
http://www.sapfans.com/forums/viewtopic.php?p=57882

18. What does SY-SUBRC=1001 means after CALL TRANSACTION?
http://www.sapfans.com/forums/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?
http://www.sapfans.com/forums/viewtopic.php?t=8016
http://www.sapfans.com/forums/viewtopic.php?p=95548
http://www.sapfans.com/forums/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?
http://www.sapfans.com/forums/viewtopic.php?t=2228

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