cancel
Showing results for 
Search instead for 
Did you mean: 

EHS WWI : How to link structure field in WWI template ?

former_member627262
Discoverer
0 Kudos
709

Hi All,

I am from ABAP background and new to WWI templates. In my project while exploring on WWI templates i came across some structure fields are attached with report symbols.

For example :

<11BRG079(G,A:US,L:E;*)>

<03EHS_L_TEXT(DSHDR-300000000008042)>: Batch: <02GCG_CHARG>

<11ERG079>

In the above scenario CHARG field is from CCGLS_G05 structure.

I checked this report symbol in SPRO and found function module by report symbol group.

But when i check that function module in where used list, it is not displaying anywhere.

May i know how this field gets populated with value.

Thanks in advance.

Anil Kotni

Accepted Solutions (0)

Answers (4)

Answers (4)

satya11719
Active Contributor
0 Kudos

Hello Anilkumar K

Please close the thread if the issue is resolved.

Thanks

Satya

satya11719
Active Contributor
0 Kudos

Hello Anilkumar K,

What kind of symbol it is ? if it is a Parameter symbol you need foreign key and you check the code written in the relevant FM's, you understand how it works.

EX: CBGL_LB60_PAR*

Thanks

Satya

satya11719
Active Contributor
0 Kudos

Anilkumar K Hello ,

please read these threads ,

https://blogs.sap.com/2013/08/25/wwi-for-beginners/

Report symbol and report groups together used for final reports and find the logic , check the FM's attached.

g05.png

g02.png

Thanks

Satya

former_member627262
Discoverer
0 Kudos

Hello Satyanarayana,

Thank you for sharing your answer.

Please let me know what we have to do in case if a field mapped to structure and there is no foreign key function module for that ??

Thanks in advance,

Anil Kotni

christoph_bergemann
Active Contributor
0 Kudos

Hello Anil

as a "Newbie" regarding WWI: you should read some WWI blogs to get an idea about "pitfalls" with WWI

The following blogs might help on your track for "WWI" handling:

https://blogs.sap.com/2013/05/07/sap-ehs-management-for-beginners/

https://blogs.sap.com/2013/08/25/wwi-for-beginners/

https://blogs.sap.com/2013/12/21/wwi-for-experts/

Regarding your code:

<11BRG079(G,A:US,L:E;*)>

<03EHS_L_TEXT(DSHDR-300000000008042)>: Batch: <02GCG_CHARG>

<11ERG079>

The report symbol "02GCG_CHARG" seems to be related to "Batch numbers". Therefore it does not make sense to use a "G Repeating" group around this as this report symbol is a so called "final report symbol"; The "G group" does make sense only if you use a "raw report symbol"

If you have never used WWI before: try to prepare the "simplest" WWI layout you can think about and then start to get complexer. As explained in "WWI for beginners": just try to get e.g. "Hello World" printed in a WWI document by e.g. using one identfier as maintained on specification level.

Depending on the specific need in your project: It does not make sense to start a WWI template if you have more or less "zero experience" in using WWI. The WWI topic is the top 5 most discussed issue here and really not easy to handle if you are not experienced in using WWI,

What is your specific need to print in WWI layout? Which type of template dowe discuss her?

C.B.

PS: the report symbols as such will work if you have a material number with an assigned "Batch" number. But first: try simple to "print" the material number and may be some material texts of the material number. Here you should find standard WWI report symbolsin the system if you have set up EHS properly.

former_member627262
Discoverer
0 Kudos

Hello Christoph,

Thanks for sharing the links.