on 2021 Feb 06 10:00 AM
Dear all
in reference to discussion in https://answers.sap.com/questions/13234371/parameter-symbol-wwi-phrase-basd.html
we still struggle a little bit.
One can describe story like this:
- Assume you have a material / REAL_SUB combination and you would like to generate a WWI report
- Assume that on material level we have a material class with characteristics which are "phrase based" and allow multiple values and we have a report symbol used in the WWI layout to collect the data etc.
Now we try to generate the report for this material/REAL_SUB combination (e.g. report from template)
Using a "stupid"/"fictive" example like color: we have this situation: in the characteristic we have "blue" + "green" + "yellow"
Now the output runs currently in WWI like:
Color: blue, green, yellow
This works really fine. But only if we use "shorttext" phrases.
But now if we have only one phrase selected with a long text the output runs like:
Color: Shorttext1,Shorttext2,Longtext1
So in this output the "space" is missing so that we don't get something like "phrasetext1" + "," + "Space" + "Phrasetext2" etc.
Analysing the value value: there is a big difference in content for case 1 and case 2
Any idea? is this still an issue in our code or is this an issue in SAP standard (in marketplace i could not find something).
C.B.
Request clarification before answering.
Hi Christoph,
I assume this is an issue in your coding / or WWI as the standard logic for specification symbols using phrased characteristics works correctly - no matter if long or short text phrases are mixed..
I think this would need an in depth analysis that can't be done easily remotely.
To understand better what is going on - and what result your coding should produce - I would suggest the following:
Best
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear all
we have improved the code. It was very old stuff. But now we accept the missing "space".
What we can see (in debug) is that our function module collect the data as assumed. What we can see as well:
as soon as if there is at least one long text phrase maintained: for any selected phrase we have in the value value some "rtf" like code in front (and here the "Space" is missing. But from my point of view: the problem seems to be "deep" inside the ABAP part..
The business has now accepted that the "space" is missing. So we stopped further research.
C.B.
Hello CB ,
Great to see that there are some queries coming from you as well ..... 🙂
This issue can fixed by changing WWI code pattern ,
In you are case 2 , when you enter Long Text 1 as 3rd Value assignment instance then you are facing this Space issue ?
May be if we see your WWI code then it would be better to suggest further ,
If we use space separator then it will create issue in your Case 1 with extra space.
Best
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
could you try to use space separator within WWI between values?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
1 | |
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.