shadow_left
Logo
Shadow_R
   
Source: Delete PSA
Yazar Administrator   
Salı, 18 Aralık 2007

This program creates a background job to mass delete PSA after BW data load.

REPORT ZDELPSA.
*&--------------------------------------------------
*& Programme : ZDELPSA
*& Type de programme : Utilitaire de purge
*& Auteur : François Henrotte (EPONA Solutions)
*& Description du programme : purge en masse des PSA
*&--------------------------------------------------

TABLES : RSREQICODS, " table des PSA a traiter
         RSPSADEL. " tables des PSA a mettre à jour

DATA: SUBRC LIKE SY-SUBRC,
      JOBNAME LIKE TBTCJOB-JOBNAME,
      JOBCOUNT LIKE TBTCJOB-JOBCOUNT,
      PROGNAME LIKE TRDIR-NAME VALUE 'RADBAT01',
      PROGVARIANT LIKE RALDB-VARIANT VALUE ' ',
      USERNAME LIKE TBATG-GUSER,
      CALL_MODE LIKE TBATG-EXECMODE VALUE 'B',
      MODE_FLAG LIKE DDXTT-MODEFLAG,
      RETURNCODE(1) TYPE C,
      PROTNAME LIKE TSTRF01-FILE.
DATA: OBJ_NAME LIKE TBATG-TABNAME,
      OBJ_TYPE LIKE TBATG-OBJECT,
      JOB_RELEASED TYPE C.
DATA: WV_COMPT(10) TYPE N.
DATA: BEGIN OF WT_RSREQICODS OCCURS 0,
        TABNAME LIKE RSREQICODS-TABNAME,
      END OF WT_RSREQICODS.
DATA: WT_RSPSADEL LIKE RSPSADEL OCCURS 0 WITH HEADER LINE.

SELECTION-SCREEN: BEGIN OF BLOCK B01 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_TAB FOR RSREQICODS-TABNAME.
PARAMETERS: P_NBDAY(3) TYPE N DEFAULT 8.
SELECTION-SCREEN: END OF BLOCK B01,
                  SKIP,
                  BEGIN OF BLOCK B02 WITH FRAME TITLE TEXT-002.
PARAMETERS: P_TEST RADIOBUTTON GROUP G1,
P_REEL RADIOBUTTON GROUP G1.
SELECTION-SCREEN: END OF BLOCK B02.

** Début de la selection

Son Güncelleme ( Salı, 25 Aralık 2007 )
Devamını oku...
 
MD01, MDBT: Performance during MRP run
Yazar Administrator   
Salı, 18 Aralık 2007
The performance depends on a large number of factors:
A. Organizational:
A1) Type of the planning run: Net change or regenerative planning
    (intensive)
A2) Planning mode: Reactivate or reset planning dates (intensive)
A3) Lead time scheduling: no or yes (intensive)
A4) Planning horizon
A5) Create MRP lists: only for exceptions or always (intensive)
A6) If the Purchasing Information System is active, the performance
    depends on whether the performance figures are updated in a
    monthly, weekly or daily period split (intensive).

B. Technical
B1) Response times of the hard disks
B2) Database
B3) Buffering SAP number ranges
B4) Program errors or unfavorable database accesses during lead time
    scheduling via the routing
B5) Performance of the hardware
B6) Performance of the hardware
B7-B14) Implementing notes for special performance problems
Son Güncelleme ( Salı, 18 Aralık 2007 )
Devamını oku...
 
User Exits & Enhancements
Yazar Administrator   
Pazartesi, 09 Ağustos 2004

USEREXIT
 
   Userxits allow us to add our own functionality to SAP standard program
without  modifying it . These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP.
   All Userexits start with the word USEREXIT_...
 
FORM USEREXIT_..
z..
ENDFORM.
 
The problem lies in finding the correct userexit and how to find it if one exists for the purpose. Once the correct userexit is found the necessary
customer code is inserted in the customer include starting with the z..
in the form routine.
 
e.g. USEREXIT_SAVE_DOCUMENT_PREPARE
 
Certain application like SD still provide this form of enhancement using userexit but this practice is no longer being followed for newer extensions
instead they are using EXITs which come bundeled in enhancement packages . Neverthiless existing USEREXITS will be supported by SAP an all the newer versions of SAP.

Son Güncelleme ( Salı, 04 Aralık 2007 )
Devamını oku...
 
<< Başa Dön < Önceki 1 2 3 4 5 6 7 8 9 10 Sonraki > Sona Git >>

Sonuçlar 25 - 28 Toplam: 51