cancel
Showing results for 
Search instead for 
Did you mean: 

Ok-code for Add On tabs in XD01 after upgrade

0 Kudos

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?

Regards,

Sneha Nikam

Accepted Solutions (0)

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor

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.