Category Archive Blog

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 :

Convert month number to month name

Use FM : IDWT_READ_MONTH_TEXT,

or SELECT into table T247.
Read More