Unable to edit and/or save SAP jobs.
search cancel

Unable to edit and/or save SAP jobs.

book

Article ID: 195900

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

When editing or duplicating SAP jobs, an exception is thrown.

Language must be a empty or two-letter code as defined by ISO-639

It may also occur that no Error is displayed in the AWI popup as below, and no Language is displayed in the SAP - Language property:

Environment

Release : 12.3

Component : AUTOMIC WEB INTERFACE

Cause

Jobs had been created with one character instead of the expected two characters in previous versions of the Java UI or AWI (E instead of EN or D instead of DE)

Resolution

The solution is to open the Language parameter in AWI and change it to German or English, and save the job.

Additional Information

Mass bulk change:

1) Export the SAP job as xml and change the following line

  • From: <Language>E</Language> To: <Language>EN</Language> for language English
  • From: <Language>D</Language> To: <Language>DE</Language> for language German

2) Put all the SAP jobs in  a transport case and change them with DB CHANGE

                      The following change script can be used: 

                      REPLACE JOBS, *, SAP_LANG, "E", "EN" for language English

                      REPLACE JOBS, *, SAP_LANG, "D", "DE" for language German

 

 

List of Languages Codes:

Language ISO 639-1   Language Code
Afrikaans** AF
Arabic** AR
Bulgarian BG
Catalan CA
Chinese ZH
Chinese traditional ZF
Croatian HR
Czech CS
Danish DA
Dutch NL
English EN
Estonian** ET
Finnish FI
French FR
German DE
Greek EL
Hebrew** HE
Hungarian HU
Icelandic IS
Indonesian** ID
Italian IT
Japanese JA
Korean KO
Latvian** LV
Lithuanian** LT
Malay** MS
Norwegian NO
Polish PL
Portuguese PT
Reserved- cust†. Z1
Romanian RO
Russian RU
Serbian SR
Serbo-Croatian SH
Slovakian SK
Slovene SL
Spanish ES
Swedish SV
Thai TH
Turkish TR
Ukrainian** UK