Skip to Content

Add tab at CG02 with image

Hi,

I'd like to add an additional tab with dynamic image at CG02 as shown below. Anyone done this before?

CG02.jpg (108.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2016 at 09:43 AM

    Hello L

    Liang WS wrote:

    Hi,

    I'd like to add an additional tab with dynamic image at CG02 as shown below. Anyone done this before?

    Sure you can. You need create your own sub-screen with the function modules similar to the ones defined here:

    You then need to add that tab-page to the property under "Specify Value Assignment Types" here:

    Hope this helps

    Mark


    pastedImage_1.png (18.5 kB)
    pastedImage_2.png (20.3 kB)
    CG02.jpg (108.5 kB)
    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Liang WS

      Hello Li,

      Liang WS wrote:

      I've created a subscreen in a function group. Do I have to write codes or something to call the screen?

      Yes - all the logic that you / your functional Consultant wants needs to be custom develop.

      And if you want to display a graphic you need a screen..... 😊

      Hope this helps


      Mark

      As a others mentioned - this is a bit of a strange requirement. Normally trained experts maintain the data and they use the corresponding code for the graphics (In other words they do not need to see the graphics).

      "End-Users" would see generated reports (SDSs, SOPs, Labels etc.) where the graphics are displayed...

  • Posted on Jul 11, 2016 at 10:13 AM

    Hi Liang,

    Yes you can add tabs but if you maintain tab pages with custom program with the below path which is also mentioned by Mark.

    To create :

    EH&S -> Specification management -> Sp.database structure ->Settings for value assignment ->Assign tab pages to VAC

    To add to VAT :

    EH&S -> Specification management -> Sp.database structure ->Settings for value assignment -> Specify Value assignment types ->Select VAT -> Sequence of Tab pages (add new tab here)


    It's sounds strange to add pictogram as Tab ....

    Why can't use it as characteristics as hazard symbol with phrase as Graphics in side VAT ??

    Why you want to use another tab for that ?? can you give clarification what level exactly want to add pictogram.

    Thanks

    Satya

    Add a comment
    10|10000 characters needed characters exceeded

    • Dear Liang

      as explained by Satya: most if the EHS users know "implicit" that if phrase X is used (in this special property) that there is a "pictogramm/graphic" to be shown in WWI report (e.g. SDS/MSDS or Label).

      As correctly explained by you: the need of a pictogramm is "by data record"; and in many cases content of data record is different (either by e.g. usage or other details).

      So most of the companies are completely satisfied to "know" that phrase x does have assigned pictogramm; and there is no nead to show it in CG02/CG02BD.

      But in principle: if you are willing to generate that much ABAP code and prepare customizing etc. you can get what you would like to get.

      C.B.

  • Posted on Jul 11, 2016 at 03:02 PM

    Hi Liang,

    I understand the things clearly, But in how many cases they are going to add the pictograms note more than 4 to 5 cases maximum i guess.

    But you have to write so much ABAP logics & coding to achieve the requirement. Cause its not that easy to get the pictogram in that tab & which we can view readily and say that it's flammable or Danger.

    Better you can go with phrase text which was assigned with graphics which is SAP standard.

    Thanks

    Satya

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Mark,

      I guess you guys are right. I've asked why does the business need the tab just to display pictograms because it is indeed a weird requirement. Business may drop this idea. Thus, I've stopped development on this.

      Thanks a lot for the help!

      Regards,

      Liang

  • Posted on Jul 10, 2016 at 07:37 PM

    Dear Liang

    nether heard about similar demand. Without knowledgde: what is the purpose of the picture in the EHS maintenance process, no real help is possible. (e.g. should picture be printed in WWI report etc.)

    If you check deep the EHS customizing you will see. you can "hide" if needed the Tabs as shown; Not checked: but using customer development you may add "Tabs" to "do something".

    C.B:

    Add a comment
    10|10000 characters needed characters exceeded

    • Dear Christoph,

      The picture are pictograms, representing hazard warning sign. It is not printed anywhere, just for display purpose, probably for user knowledge.

      May I know which EHS customizing and customer development you're referring to that can allow adding "Tabs"?

      L

  • Posted on Jul 12, 2016 at 07:01 AM

    Hi Liang,

    Don't think its only characteristics in that simple as you thinking & you have to maintain it from roots to maintain in characteristics you have to maintain class ... as on.

    I didn't understood one thing if you use graphics file via cg12 where the user is going to view the graphics file ??

    if you want to go for cg12 graphics only then why do you need a new tab ?

    OK anyway try for it if you succeed with ABAP coding get output let me know ....

    Thanks

    Satya

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Satya,

      Yes, a lot of configurations to do.

      For CG12, I'm just following functional's guide to maintain it. I don't really know what's the purpose or effect it has.

      For now, all the configurations already done. I've also created the subscreen, but not able to make it to display at the new tab. This is really tough.

      Regards,

      Liang

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.