on ‎2007 Mar 15 10:14 AM
Hi,
is there a possibility to use createif with false condition ?
if (condition is false) then createif target node ?
Request clarification before answering.
Hi Gordon,
Can you explain your requirement with an example?
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gordon,
do this way.
use UDF "output" + New UDF ( here we convert true to flase and false value to true)assign it to IF without else statment
Ex: UDF output =True
Ture+UDF =Flase -> pass the input to IF with out else statement which is flase so no segement will be created
similarly false+UDF=True -> pass the input to IF with out else statement which is true so segement will be created
Hi Gordon,
>>I have a udf and if it´s value is true ... the segment shouldnt be created.
If the output of the UDF is false ... than the segment should be created
This can be handled in advanced UDF. There is a function called suppress. You can use this for your purpose.
resultList.suppress
will not create target node.Go through the link to understand the usage
http://help.sap.com/saphelp_nw2004s/helpdata/en/4b/a20c4cfea96b498b1e1af3f32f0670/frameset.htm
Regards,
Jai Shankar
Gordon,
You are mapping the UDF to a target node. Correct? If you use the function resultList.suppress the target node will not be created. If you do not use this function the target node will be created. Is this not your reqquirement?
From SAP Help
<i>
ResultList.SUPPRESS
Constant that causes a field and its subnode to be ignored during processing
</i>
Regards,
Jai Shankar
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.