on ‎2013 Mar 28 9:35 AM
Hi All,
Need help on WWI template. Like in ABAP, to comment on a line, * (asterisk) can be inserted to comment the whole line, similarly is there a way to comment a line of code in WWI template. I want to comment a piece of code for now in a REACH template and make that code active later.
Any input will be appreciated.
Thanks,
Akash
Request clarification before answering.
Dear Akash
two suggestions:
1.) you can use "nested" templates (include option); therefore you could prepare the "comment" part in one include but not add it in the main WWI layout; afterwards you need only to insert the "include" to the WWi layout (not a "real" comment) but a "workaround". The include option is very useful; but please check SAP marektplace; some "pitfalls" etc. are known
2.) You can use hidden texts; but I believe it is not allowed to use hidden text in combination with e.g. main repeating group etc.
The issues is; you need to avoid that the report symbols you would like to use act as "real" symbols
Regarding option 2.) please be aware of the fact that the "hidden" part will always be part of the raw or final report
Regarding option 1.) only if you create the "inlcude" reference to the other layout the data would be retrieved
I believe option 1 could solve your demand.
C.B.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christoph,
Thanks for your valuable ideas. Infact I did consider both options. it seems that in WWI, commenting of code similar to what we do in programming languages is not possible.
As you rightly pointed out regarding option 2, hidden text is always part of output which at this stage I want to avoid. Option 1 looks good and can be utilized. I finally decided creating the technical objects and incorporating them in the template instead of commenting the code.
Thanks mate.
Regards,
Akash
WWI doesn't support commenting itself.
It was just an idea to use Word comments to move WWI code from the visible part of the document to an unvisible part, but still keep it in the document.
I did a test and it works. OK, you need to be very careful to place the comment correctly (around a invisible space) to not damage other WWI symbols.
HI Christian Hund..!
Thanks for your valuable input. I tried including "comment" and it is working fine. First time when i checked document after adding comment, i got ABAP dump. Then logged in again, it was fine. I was able to preview from cg42 transaction...!
Some time WWI works in a strange way. It doesn't pick the right graphic in preview after you make changes in the specification. But once logged off & logged again, the changes reflects..
But when you make changes in phrases texts (which u assign in specification), the change reflects in the preview. in that case no need to log off & log in again to reflect the change...
Thanks & Regards
Subash Sankar
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.