on 2011 Sep 15 11:39 AM
Blank compression is used for printing the composition: identifier NAM; ANNEXI should print, but if it doesnu2019t exist, then NAM;SYN is printed.( OR operator is used)
But now the business wants to change the logic to :
1)NAM, ANNEXI is printed in the selected language, if it exists. If not, then
2)NAM, SYN is printed in the selected language, if it exists. If not, then
3)NAM, ANNEXI without a language is printed.
Is this feasible or not ???
Thanks in advance.
Request clarification before answering.
Hello Aasim
normally you would use in such circumstances an "identification listing" in customizing with a priorization without using further WWI logic.
But I am not sure if this will help in your context as you require:
1)NAM, ANNEXI is printed in the selected language, if it exists. If not, then
2)NAM, SYN is printed in the selected language, if it exists. If not, then
3)NAM, ANNEXI without a language is printed.
Please check the corresponding customizing activitiy because i am not sure if you will receive this logic as you are asking about ( am am not sure if the language is poart of the logic) If you would "change" the 3.) to a different identifier than it would work in my opinion.
With best regards
C.B.
Edited by: Christoph Bergemann on Sep 15, 2011 5:42 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi CB,
For logic: identifier NAM; ANNEXI should print, but if it doesnu2019t exist, then NAM;SYN is printed.( OR operator is used)
The code is
<13BNG002(+:01GESTRIDENT(I:NAM,ANNEXI,))>
<01GESTRIDENT(I:NAM,ANNEXI,)[D:Identifier]><13CNG002>
<01GESTRIDENT(I:NAM,SYN,)[D:Identifier]><13ENG002>
Say 'NAM, ANNEXI without a language' is taken as identifier 'NAM,NO_LANG'.
What will be blank compression coding for the logic:
1)NAM, ANNEXI is printed in the selected language, if it exists.
2) If not, then NAM, SYN is printed in the selected language, if it exists.
3)If not, then NAM, NO_LANG is printed.
Thanks,
Aasim
Hello Aasim
I am really not sure if you really need to use this "OR" logic in WWI as in your example. Please check
http://help.sap.com/saphelp_erp60/helpdata/en/a7/2874ff0a6c11d28a220000e829fbbd/content.htm
Chapter: Editing Specification or Parameter Symbols
Use of identification listingsa in WWIO
E.G:: T: identification listing, for example, <01GESTRIDENT(T:D_WASTECOD)>
You would define a "customer" specific listing like "Y_Special" (or whatsoever technical key) and the use the ranking as asked by you. If I remember correct the logic should be (not sure);
The identifier is searched for according to ranking with the language in question. Now I a m not so sure about if there is a identifier with out language; But I would give this option a try. I am not sure about if the identificaiton listing "contains" the language. Please check. If you have "OR" logic this approach is in my opinion much simpler in comparison to your example.
With best regards
C.B.
Edited by: Christoph Bergemann on Sep 23, 2011 6:41 PM
Edited by: Christoph Bergemann on Sep 23, 2011 6:42 PM
Hello Aasim,
as Christoph pointed out there is no language defined in an ID Listing. So what you need to do is create an ID Listing that contains the identifiers in the order you want to use them and then simply bring it into the WWI code as (supposing your ID Listing is called CP_MAT):
<13BNG000(*:01GESTRIDENT(T:CP_MAT))>
<01GESTRIDENT(T:CP_MAT)[D:Identifier]>
<13ENG000>
Ralph
User | Count |
---|---|
3 | |
2 | |
1 | |
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.