cancel
Showing results for 
Search instead for 
Did you mean: 

WWI: Rotate graphics from phrases on a template

john_hermans
Explorer
0 Kudos
429

Hello,

We are preparing a label layout (in WWI) that would require the graphic representation of symbols (T, F, Xi ...) to be printed rotated by 90 degrees.

Rotating text on a WWI-template is no problem, but the graphics keep coming out in the normal orientation.

We tried putting several variations of putting them in a textbox or a table-cell and then changing the orientation of the text in the textbox or table-cell, but nothing worked.

Do you know if/how we can print the graphics rotated?

Thanx.

Kind Regards,

John Hermans

View Entire Topic
john_hermans
Explorer
0 Kudos

Created new method as suggested by TechniData.

Former Member
0 Kudos

Hello J Hermans,

Can you share what is that new method so that I can also apply . I am not able to rotate graphics in wwi word because of the lock object .

M D

Former Member
0 Kudos

Hi John, i am too really interested in how you solved this! Methods are not possible in graphics and pushing to the stack is not possible for graphics.

christoph_bergemann
Active Contributor
0 Kudos

Dear Mat

I am not sure on your statement (Methods are not possible in graphics and pushing to the stack is not possible for graphics.)


The proposed solution above: there was never any proposal to use "stack" (which is in my opion in this case not the right option) option


SAP EHS Onlinehelp is indicating this:


Method

You can use your own expansion methods. In this case, you need to specify a function module as a method.

Anmd this is what you need to do (in my opinion)

E.g. https://www.consolut.com/en/s/sap-ides-access/d/s/doc/YY-EHS_SR_230_10_10

collects a lot uf useful solutions delivered by SAP

My understanding is "quite" simple: E.g. the graphic is assigned to a phrase. Using standard WWI technique you can retrieve the graphic and show it; the "trick" is now that you need some "parameter" to decide if you would like to use the graphic file "non rotated" in comparison with "rotated".

Here I believe that the only chance is to define this in the "WWI layout"; than means in WWI layout 1 you use the standard report symbol without special method  as you would like to get the "non rotated" graphic and in second WWI layout you assign the special function modue eso that the rotate graphic is display. Prerequisite is: both files must be available on any ! client locally and on any ! generation server.

The other method as proposed in different thread is to use a "second" phrase. The "issue" with this is, that from user perspective in CG02 you can not differentiate "easily" the phrases and any kind of rule set which might be night can get really complex

May be check these documentsas well:

C.B.

Former Member
0 Kudos

Hey Christoph, thanks for your reply.

You see, the part that confuses me is making use of the method.


in second WWI layout you assign the special function modue eso that the rotate graphic is display

When i choose to ouput as a graphic, I cannot assign a method.


How to change symbol value at generation

Above only seems to work for phrases.

What i've also tried is pushing a symbol to the stack, changing the graphic file name. This however also doesn't seem to have any effect. It seems that the graphic is anyways read from the database and not the buffer.

christoph_bergemann
Active Contributor
0 Kudos

Dear Mat

regarding:

What i've also tried is pushing a symbol to the stack, changing the graphic file name. This however also doesn't seem to have any effect. It seems that the graphic is anyways read from the database and not the buffer.


Can you elaborate your approach? The graphic is never ever read from data base or SAP buffer. The graphic is part of WWI installation (must be in folder "graphic" in most cases. The "trick" is therefore to "redefine" "file name" during WWi process) e.g. from "file.jpg" to "filerotated.jpg"; the WWI process shouly really be able to retrieve different file.


C.B.



Former Member
0 Kudos

Hi all, i posted my solution here: