Skip to Content

Ok-code for Add On tabs in XD01 after upgrade

Hi All,

We recently had an upgrade in SAP. We have few batch sessions running everyday for XD01 Tcode. We have a custom tab added in XD01. Before upgrade, the OK-Code for same tab was "AO01" and after upgrade it has now changed to "AO02".Due to this the batch input sessions are not working properly. Is this that can be controlled through customizing? How can a ok-code for any tab be changed during upgrade?


Sneha Nikam

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 22, 2017 at 07:18 AM

    All those OK Code are dynamic, first implementation of CUSTOMER_ADD_DATA use 'A001'. You are now second so 'A002'. I suppose your upgrade has activated a standard implementation which is executed before you, or changed sequence. If you want to get back to 'A001' you should force order of implementation with a BAdI like BADI_SORTER or even deactivate standard implementation (or, easier in a hurry, adjust BDC.)

    BDC that changed during upgrade is not a new issue, checking BDC for dynpro sequence or ok_code during upgrade has always been a required task, so when available, switch to BAPI or other standard API (e.g. class VMD_EI_API) which usually are more stable.

    Add comment
    10|10000 characters needed characters exceeded