Solution : https://service.sap.com/sap/support/notes/720350 (SAP Service marketplace login required)
Summary :
When using Transaction VA03 to display archived sales orders, users might encounter error V2040, stating a missing billing plan as a program error. This issue arises because the original system design did not accommodate the display of archived orders containing billing plans. A resolution requires modifying the ASH_SD_VBAK_READ function by adding three optional parameters: ET_FPLA, ET_FPLT, and ET_FPLTC, all set to mirror their corresponding FPL structures. This update will enhance the system's functionality to correctly display billing information for archived sales orders.
Key words :
terms v2 040 reason, correction/enhancement enables, optional table parameters, function module ash_sd_vbak_read, error message v2040, archived sales orders, billing plan items, archived orders, billing plan, program error
Related Notes :
1281333 | Message V1 302 occurs several times for display from archive |
772452 | Display of configuration data in archived orders |
733097 | VA03: Display of archived sales orders |
577162 | Display of archived sales orders using VA03 |