Skip to Content
avatar image
Former Member

Restrict of Reconciliation Account in Vendor Master Data.

Hi Expert,

We have one requirement from client to restrict of reconciliation account in Vendor/Customer Master data. If found one user exit SAPMF02K

function module EXIT_SAPMF02K_001 for it. The technical fields AKONT, KTOKK is not define in Associated Type table.

Please advice.

Thanks & Regards,

Pankaj

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 09, 2015 at 10:36 AM

    Hi pankaj,

    If you are facing problem only in technical field name inside Exit, i hope you can use the fieldsymbol concept.

    Use Program and Field name and do the validation as shown below.

      field-symbols <fs_posnr> like /dbm/vbap-posnr. 

      "Define the Program name inside bracket and field name oustide.  

      constants: lv_item_no type char40 value '(/DBM/SAPLORDER_UI)/DBM/S_POS-POSNR'.   

      "Assign the Item number value

      assign (lv_item_no) to <fs_posnr>.

      "Check whether Postion number is available

      if <fs_posnr> is assigned.

        l_posnr = <fs_posnr>.     "Postion Number

      endif.

    Here the value is assigned to l_posnr, do the required validations.

    Regards

    Rajkumar Narasimman

    Add comment
    10|10000 characters needed characters exceeded