cancel
Showing results for 
Search instead for 
Did you mean: 

SAP_AbapRun duplicated - SAP Language Step doesn't work

Schalager1
Participant
0 Kudos

Hi,

I have duplicated "SAP_AbapRun" Job definition to a new one, and when submiting this new Job Definition SAP_Language_STEP (Parameter LANGUAGE) is ignored.

Our Build is: M33.104-74500.

After submit Job in CPS, IN parameter is 'PT' - Portugal but when I go to SM37 is in EN (English) and spool list is in English.

Anyone with the same problem?

Note: With SAP_AbapRun SAP_Language_STEP (Parameter LANGUAGE) works as expected.

Regards,

André

Accepted Solutions (0)

Answers (1)

Answers (1)

abhishek_singh29
Active Participant
0 Kudos

Hi Andre,

Could you please us know, do you created a job chain for this job or are you directly submiting the ABAPRun Job definition.

If you have created a JC for it, have you imported this job from SAP?

FYI,

Once I have imported that Job from SAP then i have edited it at JD level but still it was taking the older once which CPS is overwriting at JC level. So I have deleted that step and new steps was created which is running fine.

JC- Job Chain

JD- Job Definition.

Regards,

Abhishek

Schalager1
Participant
0 Kudos

Hi Abhishek,

There is no JC in this process. just a JD.  This JD was not imported from SAP. It was created directly in CPS system.

Step 1: Duplicate SAP_AbapRun

Step 2: Try to execute an ABAP program with language EN -> OK

            Try to execute an ABAP program with language PT -> NOK, it returns the spool in English.

Another test: Executing program without duplicate SAP_AbapRun in both languages, it works as expected.

PT language exists in SAP System.

Thanks.

nanda_kumar21
Active Contributor
0 Kudos

Can you please try with P, as the input? instead of PT.

thanks

Nanda

abhishek_singh29
Active Participant
0 Kudos

Hi Andre,

Can you please try to use below two parameters for your duplicate jobs.

OVERWRITE-  Overwrite Existing Job Definition- In String --> (Leave it blank)

OVERWRITE_LANGUAGE- Force Step Language In String --> PT

Regards,

Abhishek Singh

Schalager1
Participant
0 Kudos

Hi Abhishek,

These parameters are not available at SAP_AbapRun JD. These fields are only available at SAP_ImportCcmsJobs JD.

Update: In some duplicated JD language parameter works, but in others not. Strange behaviour. I will create new JD and check spools again.

Thanks.

Schalager1
Participant
0 Kudos

After some more tests, I found the problem.

Temporary Variants:

Make a copy of SAP_AbapRun and add parameters PAR_xxx / SEL_xxx_nn

With PAR_XXX ou SEL_XXX specified, Job is always submitted in English.

Maybe I'll need to open an OSS ticket for this case.

nanda_kumar21
Active Contributor
0 Kudos

Did you try to mention the SAP Language for the step as P and not PT?

Thanks

Nanda

Schalager1
Participant
0 Kudos

Yes i tried. No sucess. Problem with temporary Variant