Author Archive fjourneau

Re-init buffers

In transaction code input field : /$sync
(to be done in transaction SESSION_MANAGER).

This re-init all buffers, useful when developping ALV layouts.

Use with caution as it will decrease SAP response time after refreshing the buffers.

Search tag : clear buffer, cache

The type of RETURNING parameter must be fully specified.

Sometimes when compilling class, this error appears.

Fully specification for a table means declare:
✔️ the type of internal table (default STANDARD),
✔️ the key (default WITH DEFAULT KEY).


TYPES ti_table TYPE STANDARD TABLE OF ts_structure WITH DEFAULT KEY.

Search tag: classe, Les paramètres RETURNING doivent être entièrement catégorisés.

Convert material unit

Use FM MD_CONVERT_MATERIAL_UNIT


  CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
    EXPORTING
      i_matnr              = lv_matnr
      i_in_me              = 'PCE'
      i_out_me             = 'PAL'
      i_menge              = lv_qte
    IMPORTING
      e_menge              = lv_nbpal
    EXCEPTIONS
      error_in_application = 1
      OTHERS               = 2.

Code to call adobe form

Use the code below to call an Adobe form from a specific program:
Read More

Dispay message parameters in message long text

Like that :

Use tag : &V1&, &V2& &V3&, &V4&.

Read More

RF – Add specific screens

In addition with specific code done, new specific screens must be declared on the custo.
Read More

BADI for PO/PReq management

BADI (SE18) to implement for Purchase requisition or Purchase order management, transactions ME2xN : ME_PROCESS_PO_CUST.

EXIT for tab screen below : LV69AFZZ. Add code in corresponding performs.

Search tag: me21n, me22n, demande, commande, d’achat

Sapscript – Copy a SAPSCRIPT

In transaction SE71 on an existing SAPSCRIPT :