22 Şubat 2009 Pazar

SE16N logları "There is always someone watching us"

sanırım SE16N dan &sap_edit& komutunu kullanarak içeri kayıt atıldığını bilmeyen yoktur.Burası bilgisiz ellerde hele standart tablolar kullanılıyorsa bir faciaya neden olabilir...peki buradan atılan kayıtların logunun tutulduğunu biliyormuydunuz?
Kim nezaman , hangi tabloya ne gibi kayıt atmış?SAP bu BigBrother görevini sıkı tutuyor anlaşılan..

SE16N_CD_DATA

SE16N_CD_KEY 


 

 

15 Şubat 2009 Pazar

locked user listesi

RSUSR006 raporuyla lock olmus kullanıcı listesini çekebilirsiniz

20 Ocak 2009 Salı

SAP-package in içindeki değişiklikler

bir requestin içinde nerelerde değişiklik olduğunu görebiliyoruz peki ya bir paket yüklendiginde buna nerden bakıcagız.se95 bunun için yeterli olmuyor oyüzden

rpulcp00 programini çağırarak gerekli değişklikleri görebiliyoruz..

11 Ocak 2009 Pazar

Mini Tips

1)The MESSAGE statement was extended in SAP WebAS 6.10 so that any string can be sent as a data object with type STRING.

MESSAGE string TYPE message_type

2)Starting in SAP Web AS 6.40, you can save data as shared objects in shared memory.Before shared objects were introduced, ABAP statements had to use the EXPORT and IMPORT statements with the SHARED BUFFER and SHARED MEMORY additions to access this memory area.
Shared objects are saved in areas of shared memory.You use transaction SHMA to create and manage areas and their attributes.
Use the Shared Objects Monitor(t.c SHMM) to monitor the setup of the area and the set locks.

3)Authorization Check
SU20 --> to create the fields. ACTVT is already in the system
SU21 --> to first create an object class and then create the authorization object specifying the appropiate fields.
TACT contains all possible activity codes including theirs descriptions.
TACTZ in contrast contains the activity codes that are permitted for specific objects.

8 Ocak 2009 Perşembe

VA01'den referans ile sipariş yaratma uyarlaması


VOV8 -->sipariş türlerinin bakımını yap
ordan Referansı Teklif talebinden Teklife çevirebilirsin.







3 Ocak 2009 Cumartesi

GET RUN TIME FIELD

You can use the GET RUN TIME FIELD statement to measure the relative runtime of program segments in microseconds.

DATA: T1 TYPE I,
T2 TYPE I,
T TYPE P DECIMALS 2,
N TYPE I VALUE 1000.

T = 0.
DO N TIMES.
GET RUN TIME FIELD T1.

*****************************
* Code to be tested *
*****************************

GET RUN TIME FIELD T2.
T2 = T2 - T1.
T = T + T2 / N.
ENDDO.

WRITE: / 'Mean Runtime: ', T, 'microseconds'.

7 Aralık 2008 Pazar

SE95 Modification Browser

Bir sistemde nerelerde Repair yapılmıs ,hangi SAPNote'lar uygulanmış, hangi Bapiler kullanılmış kısaca sistemde yapılan tüm değişikliklerin listesi..
se95

3 Aralık 2008 Çarşamba

FI Müşteri bakiyesi

Önceki ve Mevcut dönemin müşteri bakiyesini kısa yoldan bulmak için (bsid ve bsad dan okumak yerine) KNC1 ve KNC3 tablolarindan direkt okuyabilirsiniz.

23 Kasım 2008 Pazar

FI Bapi'leri

BAPI_ACC_DOCUMENT_POST --> FI belgesi yaratir
BAPI_SALESORDER_CREATEFROMDATA --> Sipariş
BAPI_BILLINGDOC_CREATEMULTIPLE --> Fatura


Test programi --> ACC_BAPI_TEST_DOCUMENT

eger KDV satiri yaratacaksan
it_accounttax LIKE TABLE OF bapiactx09 WITH HEADER LINE
kullanman gerekiyor..ama İş alanı zorunlu olmamasi lazım ona da
FS00 dan AnaHesap Düzenleme merkezinden KDV hesabina bakabilirsin..39 ile baslayan.
Giriş banka faizin altında alan durum grubu B000 i seçebilirsin..Normalde diger hesaplarda G001 İş alani seçilmis oluyor.

16 Kasım 2008 Pazar

Data Types and Data Objects















In SAP Web As 6.10 and later, you can also specify the length after the LENGTH additon.Eg.
TYPE TYPE LENGTH
DATA TYPE LENGTH

Literals are data objects that are defined in the source text of a program and whose values are uniquely defined.the Abap runtime environment differentiates between three types of literals.

a)numeric literals
b)Text field literals
c)string literals

To display a single quote within a text field literal, you have to enter it twice

The TABLES statement always creates data objects that are visible program-wide.Data Objects that are created with the TABLES statement are always visible in the entire program,even if the statement appears within a subroutine or function module.

Data objects in modules and event blocks are always global.

In contrast to many other programming languages,the result of integer arithmetic in ABAP is rounded up or down to the nearest integer.

Data int type i.
int = 4 / 10. "Result 0
int = 5 / 10. "Result 1

Moreover- again in contrast to many other programming languages all interim results are also rounded.
Metin Rengi
int = 10 * ( 4 / 10 ). "Result 0
int = ( 10 * 4 ) / 10. "Result 1

Floating point arithmetic

Data: float type f,
pack type p decimals 2.
float = 73050 * '0.0727'. "Result 5.3107349999999997E+03
pack = float.
write pack. "Result 5310.73

Packed Number



Mixed Arithmetic Expressions













Caution: When trigonometry functions and other scientific functions,
logarithms and exponential functions (including the ** operator) are used,
floating point arithmetic is always used for calculation.