// AS_Save.txt
// Save in transactions AS02 and AS03

// Go to "Net worth tax"
Enter "=TAB05"


// Net worth tax
Screen SAPLAIST.1000

  // Remember old values to use them in case of error
  Set V[AS_corr_property_indicator] 	"&F[Property indicator]"
  Set V[AS_corr_man_value]        	"&F[Man.net wrth val.]"
 

  // Enter new values 
  Set F[Classification key] 	"&V[AS_classification_key]"
  Set F[Property indicator] 	"&V[AS_property_indicator]"
  Set F[Reason for man.val.] 	"&V[AS_man_reason]"
  Set F[Man.net wrth val.] 	"&V[AS_man_value]"

  // Save, on error continue
  Enter "/11" OnError=Continue


 // Set back values, because of some errors
 Set F[Property indicator] 	"&V[AS_corr_property_indicator]"
 Set F[Man.net wrth val.] 	"&V[AS_corr_man_value] 


  // Go back to first tab with error message
  Message "&V[_lasterror]"  -statusline

  Enter "=TAB01"

