Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Note: Below screen shots are taken from SAP ERP ECC6.0 Version
Problem:
Solution:
As both of the function modules are buffering the data and doing some
EXPORT to memory. The result of this is that after a few hundred calls to
HR_INFOTYPE_OPERATION or HR_MAINTAIN_MASTERDATA, the buffer
gets big enough to impact the performance of the function module. After
thousand of updates each call will take many seconds and your ABAP program
will be unusable.
1. TBUFF - the buffer of PCLx (PCL1, PCL2, PCL3, and PCL4) cluster
tables.
3. PRELP Buffer. The buffer used while reporting through PNP logical
data base.
1 - TBUFF
TBUFF is the buffer used while reading data from PCLx (PCL1, PCL2, PCL3,
and PCL4) cluster tables. The import export macros use a form that buffers the
data when reading and writing. It can be cleared with the RP-INIT-BUFFER
macro (Table TRMAC).
2 – PS Buffer
3 – PRELP Buffer
PRELP Buffer also called PNP Buffer. This buffer cannot be cleared, and
usually it does not create problems, because it is designed to work with huge
amounts of data.
So in PNP programs you should not call functions that read the infotypes with
the PS buffer or with another buffer. Because you would break the buffer,
causing delay in read.
RP-READ-INFOTYPE A B C D E, where
While in master data (PA30 and the like) you should use the PS buffer functions
and forms. Just like PERFORM READ_INFOTYPE(SAPFP50P) USING...