Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict of Reconciliation Account in Vendor Master Data.

Former Member
0 Kudos

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

1 REPLY 1

rajkumarnarasimman
Active Contributor
0 Kudos

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