Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SM64 and TEXT elements

Former Member
0 Likes
776

Hi experts,

We have some problems with text elements using SM64 transaction.

If you execute the program using SE38, in foreground, or background mode, our spool is totaly correct.

But if you execute this program, using a complex job lauched with SM64, the text elements of the spool won't appear.

And a more surprising point is that we don't have this problem on developpement system, but on integration and production systems (after transport).

Hope you'll have any suggestion,

Regards,

Mathieu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
746

When you say "the text elements of the spool won't appear", can you be more specific as to what doesn't show...?

Instinct say that the job you have set up to trigger from the event is perhaps running with a different user on the job steps than when you run from SE38 / background... this might mean that the language of the user on the SM64 triggered job user differs to the other user, so some texts are not translated.

But if you could provide more details, we can have a think about it more.

6 REPLIES 6
Read only

Former Member
0 Likes
746

Any idea ?

Read only

Former Member
0 Likes
747

When you say "the text elements of the spool won't appear", can you be more specific as to what doesn't show...?

Instinct say that the job you have set up to trigger from the event is perhaps running with a different user on the job steps than when you run from SE38 / background... this might mean that the language of the user on the SM64 triggered job user differs to the other user, so some texts are not translated.

But if you could provide more details, we can have a think about it more.

Read only

0 Likes
746

Hum...

Let's take an example :

(TEXT-001 contain "Hello")

WRITE : TEXT-001 'World'.

=> In SE38, we will have 'Hello World'

=> In SM64, we will just have 'World'

Yes, the process is performed by another user, I am going to check it. But I have some doubt because we use just French language, and we don't have this problem on the other jobs.

Mathieu

Read only

0 Likes
746

That's it !

We dont't know why, but all of our process chain is executed in English, and normal jobs in French...

Thanks a lot,

Mathieu

Read only

0 Likes
746

hmmm indeed! I'm assuming TEXT-001 exists in the report in TST & PRD... ?

I can't see why SM64 would make a difference as it's just a way of kicking off an event, the same as using function BP_EVENT_RAISE directly or calling sapevt from outside SAP... the batch job is sitting waiting for the event, so it's likely to be the definition in the job where the problem lies. Can you copy the job in SM37 and submit it that way?

Read only

0 Likes
746

The problem is coming from our administrators who use two different users for process chain and "normal" jobs.

We are trying to contact them in order to find a solution. 😛

If they don't want to change the language, I will translate all my elements in English !

Regards,

Mathieu