This website is not affiliated with, sponsored by, or approved by SAP AG.

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

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

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

Postby 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: 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.me.uk/Kb/default.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
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
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


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: http://www.sapfans.com/forums/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

ALV part

Postby 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.
http://www.sapfans.com/forums/viewtopic.php?t=58286
http://www.sapfans.com/forums/viewtopic.php?t=76490
http://www.sapfans.com/forums/viewtopic.php?t=20591
http://www.sapfans.com/forums/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?
http://www.sapfans.com/forums/viewtopic.php?t=11601
http://www.sapfans.com/forums/viewtopic.php?t=23010

3. How do I add subtotals (I have problem to add them)...
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=88401
http://www.sapfans.com/forums/viewtopic.php?t=17335

4. How to add list heading like top-of-page in ABAP lists?
http://www.sapfans.com/forums/viewtopic.php?t=58775
http://www.sapfans.com/forums/viewtopic.php?t=60550
http://www.sapfans.com/forums/viewtopic.php?t=16629

5. How to print page number / total number of pages X/XX in ALV?
http://www.sapfans.com/forums/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.
http://www.sapfans.com/forums/viewtopic.php?t=64320
http://www.sapfans.com/forums/viewtopic.php?t=44477

7. How can I set the cell color in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=52107

8. How do I print a logo/graphics in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=81149
http://www.sapfans.com/forums/viewtopic.php?t=35498
http://www.sapfans.com/forums/viewtopic.php?t=5013

9. How do I create and use input-enabled fields in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=84933
http://www.sapfans.com/forums/viewtopic.php?t=69878

10. How can I use ALV for reports that are going to be run in background?
http://www.sapfans.com/forums/viewtopic.php?t=83243
http://www.sapfans.com/forums/viewtopic.php?t=19224

11. How can I display an icon in ALV? (Common requirement is traffic light icon).
http://www.sapfans.com/forums/viewtopic.php?t=79424
http://www.sapfans.com/forums/viewtopic.php?t=24512

12. How can I display a checkbox in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=88376
http://www.sapfans.com/forums/viewtopic.php?t=40968
http://www.sapfans.com/forums/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: http://www.sapfans.com/forums/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

Postby 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: http://www.sapfans.com/forums/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


Return to ABAP

Who is online

Users browsing this forum: Google [Bot] and 7 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.