Skip to Content
avatar image
Former Member

wwi insert graphics

Hi Expert,

i have almost 250 graphics file (picture.bmp) for different category. can any one help me out to maintain picture in WWI report.

i am trying insert this picture through WWI symbol . see the below mention example.

When i am generating the report template, the picture is not displaying my report.

How i can solve this issue?. Is there any way to insert this picture through wwi symbol.

your assistance would be greatly appreciated.

Edward Stephen

WWI _graphics.png (53.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    Aug 13, 2013 at 08:31 AM

    just in short words:

    • copy the graphic files to the WWI installation sub-folder GRAPHICS.
    • enter the name of the files as graphic in phrases (CG12).
    • assign the phrases to the according characteristic in CG02.
    Add comment
    10|10000 characters needed characters exceeded

  • Aug 13, 2013 at 05:24 AM

    Dear Edward

    1:) I assume you maintained the data correct (in CG02)?

    2.) I assume you have prepare a suitable generation variant and template

    These are the questions:

    a.) did you used "Report from template"?

    b.) or did you create a report and tried to check it in CG50?

    In any case: we have two types if graphics. Static onces, and dynamic ones. In your example it seems to be that you try to populate GHS symbols in a WWI layout. This can be done using the "phrase" and the "graphic" position of the phrase. If this is the correct understanding then these are the "toDos":

    a,) per phrase and language position you need to add the file name of the graphic in the corresponing field

    b.) you need to store this file graphic on any !!! generation server in the folder of WWI (in most cases "graphics"

    c.) you need to store these files on any local client to be able to generate "report from template". and to check your "layout"

    The topic of "graphic" has been discussed in some different threads as well (but noot often)

    You try to insert you result per "record. First column should populate the "first symbol, second column the second symbol etc.

    You are not using "blank compression". Therefore if there are less then 5 symbols present the column will be empty

    But code seems to be correct

    May be chapter: http://help.sap.com/erp2005_ehp_06/helpdata/en/78/4bbf396686494e963d85efe6430a9f/content.htm?frameset=/en/c1/eda0f591ec12408b25e7a1b369ca45/frameset.htm

    Subchapter: Graphic Size

    could be of interest

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 03, 2013 at 07:11 AM
    1. Hi..!

    There are two ways to print any graphic.

    1. 1. To print a graphic assigned to a phrase (you can do it in CG12), you have to use "specification symbol" corresponding to that value assignment.

    First Store the graphic files in the location “GRAPHICS” directory in your WWI Installation directory.

    Go to CG12, assign the graphic to corresponding phrase.

    Pls be sure that you enter only the file name with its extension not the file path.

    Right – ghspictogram1.bmp

    Wrong – C:\WWI\Graphics\ghspictogram1.bmp

    1. 2. Then follow the procedure defined by sunil to include the symbol in repeating group.

    The other way is to use descriptor symbol to print the graphic.

    1. 1. Descriptor symbol is used to print graphic directly from phrase management.
    2. 2. That is you still keep the picture file in the “graphics” directory inside wwi installation directory.
    3. 3. Assign the graphic to the phrase in cg12 but this phrase won’t be assigned to any phrase set.
    4. 4. In report symbol tree, select this symbol, “EHS_L_GRAP” and select the picture you want to print.

    The first way is to print graphics used in specification management

    Second way is to print graphics used in phrase management. It can be used to print graphics like company Logo

    And regarding the “Graphics” directory, the setting in WWI.INI would be like this,

    [Paths]

    GUI-HOME=C:\EHS\WWI

    GRAPHICS=GRAPHICS\

    In any case the graphic files you store should correspond to the location as mentioned in the WWI.INI…!

    Regarding the syntax you provided here, it will pick the graphic file assigned to symbol "

    G1023044Y" for the valu. asst. "SAP_EHS_1023_044" one by one upto 5, and print it in each coloum. [(G;1)(G;2)(G;3)(G;4)(G;5)]. As our C.B has told, since the blank compression is not used here, if you don't have any graphic for, say 4th phrase, tat column will be blank and still present. Using Blank compression you can remove that.


    Thanks & Regards

    Subash Sankar

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 13, 2013 at 09:53 AM

    Dear Edward

    Please try to insert WWI code again as mentioned below, and also check points mentioned by Christoph and Christian.

    Follow the below mention procedure to insert Graphic symbol

    Step 1) Insert symbol for characteristic “GHS Labeling Symbol”

    The Example is based on the property tree “STANDARD”.

    If this is not the case change the property tree using the pushbutton Change Symbol Tree.

    Navigate by Report Symbols --> Specification Symbols --> Regulation--> Labeling --> International--> GHS Labeling to the symbol “G1023044SY Symbol” and place your cursor on this symbol.

    Insert symbol for characteristic.”GHS Labeling Symbol”

    When you place your cursor on a symbol in the symbol tree, the information connected with this symbol is displayed on the tab page “Symbol” which you find in the detailed structure area on your WWI screen.

    Check the proposed values. Choose “GPC” and “Graphic” for the expansion mode

    Report Symbol : 01, G1023044SY

    Mult. Value Asst : 1

    Separator for Mult. Val: ;

    Message for Mandant. Sym. : Leave Blank

    Expansion Mode :GPC+ Graphics

    Size: Automatic

    Insert the symbol in your template with the pushbutton Insert WWI Object in Template

    On your template the following symbol appears

    <01G1023044SY(G;1)[SZ:A;D:Symbol]>

    Step 2) Insert repeating Group

    Navigate to the structure where the error was found with double click on the error message on the tab page “Messages” or with the pushbutton Go To. In this case, the complete symbol structure G1023001SY will be highlighted.

    Choose the tab page “Repeating Group” (abbreviated in the dialogue screen as “Rep. Group”). Check the parameters which are listed in the below

    Rep. Group Type : Master Group 

    Mult. Val. Asst : All (;*) 

    Value Assgmt Type :SAP_EHS_1023_044

    User Exit : Leave blank

    User-exit-params :Leave Blank

    The value assignment type on the tab page “Rep. Group” will be updated.

    Insert the repeating group in your template with the pushbutton Insert WWI Object in Template.

    The complete paragraph should look like this:

    <11BRG005(M,SAP_EHS_1023_044;*)><01G1023044SY(G;1)[SZ:A;D:Symbol]> <11ERG005>

    Note: please do master data match up in CGCZ if you didn’t do after coping graphic file.

    Thanks

    Sunil Jawalkar

    Add comment
    10|10000 characters needed characters exceeded