Tuesday, June 14, 2005

Logging table entries manually.

To keep a log of table entries : One of the practice is
1.) Add three fields at the end of the table
    a.) Name - sy-uname
    b.) Date  - sy-datum
    c.) Time - sy-uzeit
2.) Create the table maintenance generator program.
3.) Get the name of the table maintenance program SAPLZ(table name).
4.) GO to SE51 with this program name and add two performs in PBO and PAI module respectively.
5.) In PBO section add the perform for restriction of table entries , just before the endloop.

MODULE restrict_zzz OUTPUT.

LOOP AT SCREEN.

CHECK SCREEN-GROUP1 = 'ZZZ'.

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDLOOP.

ENDMODULE. " restrict_zzz OUTPUT

6.) In PAI section add the perform for capturing the relevant data( name/date/time).

MODULE add_details INPUT.

zabb-uname = sy-uname.

zabb-datum = sy-datum.

ZABB-UZEIT = SY-UZEIT.

ENDMODULE. " add_details INPUT

7.) GO to SE51 --> Element List ---> Mod/Group functions--->IN group 1 field for our additional fields add "ZZZ".

 
p.s : This tip contributed by Satinder pal Singh.

Friday, June 03, 2005

Easy way to search for SAP SCRIPT forms

Use program RSTXFCAT for finding all the Z*/Y* forms in your landscape.Alternatively this can also be achieved by using CTRL+F in SE71 and then using  Find characteristics.
 
Ankur
 

Monday, May 02, 2005

SAP online pdf's library

You will find a lot of SAP documentation
http://www.easymarketplace.de/online-pdfs-a-c.php

Search Recursively in Programs.


You can use the program
RPR_ABAP_SOURCE_SCAN    in SE38 .This Program searches ABAP code for a string. Has many more options for selecting the ABAPs to search than RSRSCAN1 program.


Site for Excel formulas

 
 

SAP cheque printing

SAP cheque printing works even in proposal run. Can check in SP01.

Ankur

SAP spell_amount function module

Spell_amount Func Module fails for larger numbers , can be corrected using OBA9.
Ankur