SAP Knowledge Base Article - Public

3130793 - Internal Server Error When Saving New Lease Contract Organizational Assignment

Symptom

You extend the life time of a lease contract and change its organizational assignment as the assigned cost object is not valid until the contract's new end date.

When trying to save the new organizational assignment an Internal Server error appears.

Environment

SAP Business ByDesign

Reproducing the Issue

Example: 

  • Lease Contract XYZ with Initial End date: 31.03.YYYY. In the Organizational Assignment the lease contract is currently assigned to free cost object ABC, which is valid until 31.03.YYYY (XYZ represents the lease contract ID; ABC is the free cost object ID). 
  • You need to assign free cost object DEF, valid from 01.04.YYYY to the lease contract (DEF is a second free cost object ID). 
  • You create a new version, effective from 01.03.YYYY (must be a date before the initial end date) for the lease contract and then extend the contract's life time to 31.12.YYYY. 
  • After the contract is released and a new initiation posting has been executed, you now need to change the organizational assignment: 
  1. In the Lease Contract Management work center go to the Lease Contracts view.
  2. Select Lease Contract XYZ  and open it. Ensure that the lease contract is released and an initiation posting has been executed for the new current version. 
  3. Go to the Lease Objects tab and here to the Organizational Assignments sub-tab. Currently the lease contract is assigned to free cost object ABC.
  4. Press Add Row. 
  5. Enter start date 01.04.YYYY. 
  6. Enter a cost assignment type of your choice, for example a free cost object and select free cost object DEF. 
  7. Press Save. 

An internal server error appears.

Cause

Currently, it is not possible to assign a new cost object , if the initial cost object is not valid until the end date of the lease contract. 

Resolution

While we are working on improving the system behaviour when the lease contract end date is higher than the new version's organizational assignment start date you can use a workaround:

  1. Temporarily, extend the validity of the initial cost object until the end date of the lease contract's new version, in our example, of free cost object ABC. 
  2. Assign the initial cost object, here free cost object ABC, until the lease contract's end date. starting from the new version's effective date, here 01.03.YYYY  and press save.  Automatically, the assignment is valid until the lease contract's end date, here 31.12.YYYY. 
  3. Finally, assign the new cost object, here free cost object DEF, starting from 01.04.YYY.

1. To temporarily extend the free cost object's validity:

  1. Go to the Free Cost Objects view in the Cost and Revenue work center. 
  2. Find cost object ABC and press Edit.
  3. In the General tab go to the Valid To field and enter 31.12.YYYY. 
  4. Press Save. 

2. To assign the initial cost object until the new end date:

  1. In the Lease Contracts view of the Lease Contract Management work center find lease contract XYZ. 
  2. Ensure that the new version is valid until 31.12.YYYY and that an initiation posting has been executed. 
  3. In the lease contract go to the Lease Objects tab and there to the Organizational Assignments tab. 
  4. Press Add row. 
  5. Enter the new versions start date, here 01.03.YYYY.
  6. Select the initial free cost object, here ABC and press save. Automatically the assignment is valid until 31.12.YYYY after you saved. 

3. To assign the new cost object until the new end date:

  1. Press Add Row again.
  2. Enter start date 01.04.YYYY. 
  3. Now select the new cost object, here free cost object DEF and press Save. 

This time no error message appears.

Once these steps are completed, change the end date of the initial cost object, ABC, back to its actual end date,  31.03.YYYY.

Keywords

save lease contract; organizational assignment; internal server error; dump; leasingvertrag freigeben; Interner Server Fehler , KBA , AP-ACC-LM , Accounting Lease Management , Problem

Product

SAP Business ByDesign all versions