SAP Knowledge Base Article - Public

2446612 - Changed variant not default selection in APP

Symptom

  • You are using APP 'PI document create' in your cloud environment. When you change the screen layout to your preferred mode and hide one or more fields in the initial screen, the system removes these fields from display after you save the changes as a variant. However if you call the APP again the system shows the initial screen as it was originally.  

Environment

  • SAP S/4HANA Cloud All versions

Reproducing the Issue

  1. In your cloud system, call the APP tile 'Create PI documents' (regular stock).
  2. Choose the option 'Save as Variant'. 
  3. Enter a new variant name or choose an existing variant to change.
  4. Hide one or more fields by choosing the 'hide field' option and press save.
  5. When the user is returned to the main APP first screen the selected fields will now be hidden.
  6. Restart the APP from scratch, the initial screen is as it was when the APP was first called, the hidden fields are available again.  

Cause

  • Standard system behaviour. 
  • In various Inventory Management transactions there is no default system variant. The initial screen of the online transactions in the backend ERP system and also therefore in the webgui APP is built according to the screen processing of the backend program, so the same input fields will be returned everytime the APP or backend transaction is called as new.  

Resolution

  • The user can retrieve the modified variant they created by using the 'GET Variant' option in the initial screen of the APP. Then the view with the hidden fields will be retrieved. 

Keywords

RM07II31, T159B, VARID, VARI, CL_ALV_VARIANT, default variant, MI31. , KBA , MM-FIO-IM-PI , Fiori UI for Physical Inventory , MM-IM-GF , Basic Functions , Problem

Product

SAP S/4HANA Cloud all versions