Mapping , If condition without else values get suppressed

Hi All,
               I am using If condition without else , it is such that when my condition is satisfied it must pass some values to the target field, i have set the properties as True, but when i check the queque , i find that even though value is true it is suppressed ,
please help me in this thaning you
Sridhar

Hi Sridhar,
There is bug in ifwithoutElse in PI7.1.
1) you check or or don't check the Keeps property it will always pass the SUPPRESS if the input is false
2) If you have not mapped the output of ifWithoutElse directly to the output field it will not pass SUPPRESS(Not Change context) to the target if value is false .
if you have used some logic between the output of ifWithoutElse and the Target then the output will not be the desired one. (And the same problem you are facing).
There is seems to be some context change happend due to this behaviour in your case.
As a work around create UDF to function as ifWithoutElse.
Not Sure if SAP has Released any patches for this.
Thanks,
Sunil Singh

Similar Messages

  • Using :$FLEX$ to create a mutually exclusive parameter condition without poplist values

    Gurus,
    I've been unsuccessfully searching for an example of utilizing the $FLEX$ to mutually exclude one of two parameters.  Most of the examples I've seen are based on poplist value presented in parameter B for a value provided in parameter A.
    Here's what I need:
    Parameter A is initially editable
    Parameter B is initially editable
    If a value is entered for either B or A, then the other parameter will become greyed out.
    Pretty simple.   I need a straight forward answer.  I would prefer not having to create a custom value and use the "sql statement" option, but if there is no other way then that will be fine.
    Thanks in advance!

    Anyone got anything on this?

  • Child element of target node in message mapping getting suppressed

    Hello All,
                      I am having  mapping where i am trying  to generate the target node based on some condition of the source structure ,this is working fine ,I am able to generate the target node once the condition gets satisfied ,but the problem is one of the  child elements of the same node is not getting populated,its getting suppressed,i have some condition for the same
    I checked  the  queues its showing value as
    SUPPRESS
    Value
    Value ( in grey )
    But still element is not getting generated..
    I have added a condition used at the node function and apart from other condition of element..
    If some body have the solution for the same,please help me out
    Thanks in advance
    Rajesh

    Hi Rajesh,
    The Error is mostly cause of that the node and your child are in same context.
    You got to remember that the parent node creates the context, and then the child element puts the value in it.
    Try putting your child element to a higher context then mapwithdefault for your supress and then removecontext.
    This Issue, you got to work it out with the node functions,
    I had the same kind of issue in my mapping, it was rectified with the help of node functions as mapwithdefault, removecontext.
    Further unless one sees the mapping of your issue it is a bit difficult to imagine it and answer it.
    For more clarifications please give the full hierarchy, and the condition. As of now try with the node functions.
    Thanks
    Ashmi

  • How do I get my old imac back to factory condition without a DVD so I can sell it

    My old imac did not come with a DVD, neither did my new one for that matter, how do I erase all my personal data and return the old machine back to factory condition without a DVD?

    That's a great tip If the Op has the original version of OS X installed. If he ever upgraded to Lion or Mt Lion he can not sell the computer with either of those OSs installed as they are Tied to his Apple ID and not to the computer.
    This will cause all kinds of problems for the buyer.
    The OP needs to get replacement system discs from Apple and install the original version of OS X on it before it is sold.
    edex67 wrote:
    Reboot into single user mode (Cmd-S).
    Type the following at the # prompt:
    mount -uw /
    cd Users
    rm -rf * (Make sure you are definetly in the users directory!)
    cd /var/db/netinfo
    rm local.nidb
    cd ..
    rm .AppleSetupDone
    shutdown -h now
    That's it, When you reboot it'll be like a new Mac.

  • Tax values get refershed to 0 in item & header condition.

    Hi All,
    The routines have been developed for the tax values in the PO. The values are getting stored in the KONV-KWERT fields.
    But if i go in change mode of that PO No. in ME22N the tax values get refreshed to 0 in item & header conditions. & the same can be seen in the display mode.
    What can be the error?
    Pls suggest the solution for the same.

    Have you maintained the tax code in FTXP?
    Also check the states you maintained in your pricing procedure using M/08 T.code.
    Regds,
    Anil

  • HR Analytics - DAC error -Informatica mapping parameter values getting drop

    I am running HR Analytic full load against People HCM 9.1 but DAC load is failing. When I looked Informatica log files, I saw $$HR_WRKFC_EXTRACT_DATE values getting dropped. Like TO_DATE is showing O_DATE in the log file and due to that Informatica workflow is failing.
    Anyone face this kind of issue?
    Thanks

    Hi
    This is a known issue with 9.0.1 Informatica (CR 256495). Ref: ID 1325631.1
    Workaround to this issue, is to override INFA_CODEPAGENAME variable in the Integration Services to Latin1 and change the Integration Service code page to ISO 8859-1 Western European.
    1. In Informatica admin console, go to Integration Service -> Processes tab
    2. Edit the Codepage and change it to 'ISO 8859-1 Western European'
    3. Edit Environment variables and add:
    LANG = C
    INFA_CODEPAGENAME = Latin1
    4. Restart integration service.
    Let me know if this helped.
    Regards,
    Jay

  • Mapping Issue: Target IDoc structure not getting created properly

    Hi Experts,
    I am stuck with a strange problem in my mapping. It is a M:N scenario mapping where we have multiple IDocs in source as well as in target.
    For example, in source Queue-1 I am getting values as [SUPPRESS, true, true, true, true] and in the in source Queue-2 I am getting the values as [1,2,3,4,5]. I used MapWithDefault function to match the number of values in both the queues but in the target IDoc the node (say TMPN) is created only 4 times because of the condition put at the target node. So, the target node should have values as [1,2,3,4] but it gets values as [2,3,4,5] because the first target TMPN node is not created in the first target IDoc. I can provide you with the skeleton of the map. Hope this will give you a fair idea. Let me know if you require more details.
    1. Target Structure:
        IDoc - No TMPN Node
        IDoc - 1 TMPN Node
        IDoc - 2 TMPN nodes
        IDoc - 1 TMPN node
    Condition put on target TMPN_Node ---> (created only 4 times due to condition)
    2. Mapping Skeleton:
    Values coming from Q1 (SUPPRESS, true, true, true, true) --->
                                                                                    \===>FORMATBYEXAMPLE+SPLITBYVALUE==> TMPN-F0 [2]
                                                                                    /                                                                              TMPN-F0 [3]
    Values coming from Q2 (1,2,3,4,5) -
    >                                                                               TMPN-F0 [4]
                                                                                    TMPN-F0 [5]
    Where F0 is  the field which is created when TMPN Node is created. So, if TMPN gets created 6 times, the F0 gets created 6 times.
    Please let me know if there is an alternative to this problem. How can I have values as [1,2,3,4] in field F0 instead of [2,3,4,5]

    hi,
    i got the email.
    as i can see your mapping seams to be rigth, but there is sometrhing i dont get. in a previuos post you said:
    I am stuck with a strange problem in my mapping. It is a M:N scenario mapping where we have multiple IDocs in source as well as in target.
    For example, in source Queue-1 I am getting values as SUPPRESS, true, true, true, true and in the in source Queue-2 I am getting the values as 1,2,3,4,5. I used MapWithDefault function to match the number of values in both the queues but in the target IDoc the node (say TMPN) is created only 4 times because of the condition put at the target node. So, the target node should have values as 1,2,3,4 but it gets values as 2,3,4,5 because the first target TMPN node is not created in the first target IDoc. I can provide you with the skeleton of the map. Hope this will give you a fair idea. Let me know if you require more details.
    1. Target Structure:
    IDoc - No TMPN Node
    IDoc - 1 TMPN Node
    IDoc - 2 TMPN nodes
    IDoc - 1 TMPN node
    lets asume you define as default value "1"
    now, the result of the formatByExample taking the example you sent to me is:
    1,T1,T2,T3,T4 without context change. and the result of the function splitByValue should be what you are specting.
    but its something that is not clear still,
    could you post the result of the mapWithDefault? i think your problem is there.
    Rgds
    RP-.

  • Problem in mapping of conditional tag.

    Hi Experts,
    I have the following problem:
    Source tag:
    <A>
    <FIELD1>DATUM1</FIELD1>
    <STATUS> X</STATUS>
    </A>
    <A>
    <FIELD1>DATUM2</FIELD1>
    <STATUS> </STATUS>
    </A>
    <A>
    <FIELD1>DATUM3</FIELD1>
    <STATUS> </STATUS>
    </A>
    Target Tag:
    <C>
    <FIELD1>DATUM1</FIELD1>
    </C>
    <D>
    <FIELD1>DATUM2</FIELD1>
    </D>
    <D>
    <FIELD1>DATUM3</FIELD1>
    </D>
    So, In Source Tag A, if Status =X =>Target Tag = C
          In Source Tag A, if Status =empty =>Target Tag = D.
    My mapping is as following:
    Source Tag A->exists AND Status=X => CreateIF=>Tag C
    Source Tag A->exists AND Status=empty=> CreateIF=>Tag D.
    The problem is that I get in Target only Tag C:
    <C>
    <FIELD1>DATUM1</FIELD1>
    </C>
    <C>
    <FIELD1>DATUM2</FIELD1>
    </C>
    <C>
    <FIELD1>DATUM3</FIELD1>
    </C>.
    It looks like it does not check for each tag A.
    I have tried with UseOneAsMany but it does not work and read a lot on SDN but nothing helped!
    Please, any idea?
    Kind Regards,
    Danijela

    Hi Danijela,
    Source tag:
    <FIELD1>DATUM1</FIELD1>
    <STATUS> X</STATUS>
    <FIELD1>DATUM2</FIELD1>
    <STATUS> </STATUS>
    <FIELD1>DATUM3</FIELD1>
    <STATUS> </STATUS>
    Target Tag:
    <C>
    <FIELD1>DATUM1</FIELD1>
    </C>
    <D>
    <FIELD1>DATUM2</FIELD1>
    </D>
    <D>
    <FIELD1>DATUM3</FIELD1>
    </D>
    Follow these steps -
    you have source message type like this
    <root>
               <Field>
               </Field>
               <status>
               </status>
    </root>
    In Graphical mapping , first take Status if with else node function and check for 'X' if yes then create  target node <C></C> . if else then check for empty with if without else node function and create target node <D></D> node.
    It will solve the issue. Pls let us know if you need any further support.
    Regards,
    kishore

  • Pricing condition without posting to accounting

    Hello,
    Currently the system config is:
    AR00  (discount)  = 50
    EWT (Tax statistical) - 10% = -5  ( needs to be statistical as per SAP)
    Total Credit   = 50 ( Pricing didnt take EWT )
    Pricing copied into Biling and posted correcty into Accounting
    We want to copy EWT value into a dummy cond called Z000
    Step 10   AR00    (discount)  == 50
    Step  50  EWT (Tax statistical - 10%)  = -5
    step 80    Z000 (copy of EWT) = 50 to 50  = 5 ( but we want this to be non statistical and at the same time no accounting key and no accrual key) - so that the value doesnt get copied into accounting
    Step 100   Total Credit = 45 (This is correct as per pricing ) and make sense for the Cust Ser Rep.
    Can any one help on how to achieve the Z000 condition technique in pricing w/o having account key and accrual key? Is it possible
    Does this make sense in FI as the EWT tax condition is already getting posted correctly in acoounting and we didnt want to touch it.
    So we are trying to achieve this if possible by having no accounting entry? is it possible
    Thanks for the help
    Points will be awarded for the help
    Regards
    SK

    Hello Anupam,
    Actually the EWT condition is posting the values correctly into accounting.
    Know for me to caculate the net value and populate it in the netvallue field I need the condition to be non statistical.
    If I make it non statistical, it give me a currency error and I check SAP OSS and they said that EWT condition in SD has to be statistical.
    SO know the option left is replicate this value into a condition which doesnt post to accoutning so that the pricing will pick it up and update the net value. But remember no posting to accoutning as my statistical condition is already doing it.
    This being said was trying to check if we can have condition without accoutning or accrual key or if we need to have somehting then how can we make sure that they dont post to accoutning.
    Thanks
    SK

  • How to map IF condition

    Hi experts,
    I have one problem,
    as
    I have field 1, if value of field 1 is 001, receiver 2 will be mapped with field 2.
    if value of field 1 is 002, receiver 2 will be mapped with field 4.
    How i can do it ?
    Please help,
    Regards,
    Study SAP

    constant>equals>if without else---> field2
    (001)      |                        receiver2-->      
    Field1----
    constant>equals>if without else---> field4
    (002)      |                        receiver2-->      
    Field2----

  • BED value getting ZERO.

    Hi Friends,
    When  i create Excise invoice(Exports Under Bond),In the initial screen the BED value is showing,but
    when I click on Utilization button, the BED value getting "Zero".
    Pls help me.
    Regards,
    Azeez.

    Hi
      Under "Maintain Excise Defaults" ( CIN customization), If you are using only one BED condition type say for example JEXP. Then you have to maintain JEXP under A/R BED Cond and BED Perc.
    If you are using both total and percentage condition type in your pricing procedure. Say for example JEXP (perc) and JEXT or JEX2 (total cond) then you have to maintaine A/R BED cond JEXT or JEX2 and JEXP under BED perc.
    Also please check you have classified condition type for JINFAC as well as your pricing procedure under classify condtion types.
    Regarding user exit:
    You can set a break point for Suppress Calculation and run J1IIN transaction and select utilization screen then system will go to debug mode. Here you just change the Suppress calcualtion = X and change it and save it. If BED is flowing then obtain the access key.
    Regards
    MBS

  • Excise Duty values getting inventoriesed in MIGO but reversed in MIRO

    Dear Experts,
    I am using Taxinn procedure and while creating the PO the excise duty values are calculated properly but when I am posting the MIGO the stock value is posted along with the Excise duties. The excise invoice is captured & posted in MIGO itself and the values are posted correctly.
    While posting the MIRO the excess amount is posted at the time of MIGO is posted back to the material. How do i fix this??
    thanks in advance
    Suresh

    Hi Jayakantan/Ashok
    thanks for the replies
    I am using Taxinn procedure and the conditions are flowing from that procedure. In the purchase order i am giving the condition types only for basic price and freight.
    As far as i know, the account key determines whether the condition type is cenvatable or to be inventorised. If i give the account key as NVV the values get inventorised. If i give the other account keys and assign the gl accounts to that account key that value will be posted to that gl account and not inventorised. Correct me if i am wrong or is there any other settings which will define so.
    I have done the following settings as well for the condition types
    spro>log gnrl>tax on goods mvmt>india>basic settings>maintain cond typs>classify cond types
    and one more similar setting in the same path.
    do i need to do anything further?
    Suresh

  • Condition type fix value

    hi all
    i want to make one condition type in which i want to feed  one fix amount.....
    suppose PO is of 100 quanity
    and that condition is having value 100 Rs.
    and if i am doin GR of 10 then i want that condition value 100 instead of 10....
    means for every partial GR i need this value as 100....
    how to maintain condition type in this case???
    Anin

    Hi Jazz
    Firstly in GR u'll not get a value field..
    Can you be more specific
    Regards
    Jagadish

  • HOW TO SEND PERSONALIZED EMAILS (WITH SAME MESSAGE) TO ALL ADDRESSES IN THE ADDRESS BOOK - WITH RECIPIENTS SEEING ONLY THEIR NAME BUT NOT WHO ELSE IS GETTING IT

    HOW TO SEND PERSONALIZED EMAILS WITH THE SAME MESSAGE, BUT WITH THE INDIVIDUAL RECIPIENT'S NAME... (OR NAME AND THE EMAIL ADDRESS) TO ALL ADDRESSES IN THE ADDRESS BOOK - WITH RECIPIENTS SEEING ONLY THEIR OWN NAME WITHIN THE BODY OF THE MESSAGE TO THEM ?
    ALSO, HOW TO ELIMINATE ALL THE OTHER NAMES FROM THE LIST - SO THEY CAN NOT SEE WHO ELSE IS ON THE MAILING LIST, AND WHO ELSE IS GETTING THE SAME MESSAGE?

    In the csv file, the column headers must match the the special references in curly brackets.
    So you either change the column header in .csv file or the bit in the curly brackets in the Template email.
    To change the column header:
    In the example shown below, I wanted to use the first two columns
    'First Name', 'Last Name' note the exact spelling.
    I also wanted the email address which was in a column called 'Primary Email'.
    To make it easier for me, I copied the Primary Email column and inserted it into the third column position and then changed the column header name from 'Primary Email' to 'Email'. (This meant I still had the original column header just in case). see image below.
    But you could just change the column header name from 'Primary Email' to 'Email' without moving column about - up to you.
    At this point check that all the contacts do have a valid email address.
    then save the file.
    If you do not want to edit the .csv file, then you need to edit the template email.
    eg: {{First Name}} {{Last Name}} <{{Email}}>
    change to : {{First Name}} {{Last Name}} <{{Primary Email}}>
    If still having an issue, please post two images.
    One image needs to show the row of column headers used in .csv file.
    The other image needs to show the Template email, so I can see how you have used the curly brackets.

  • Mapping Help for replacing source value

    Mapping Help for replacing source value
    Posted: Mar 14, 2006 1:06 AM    Reply 
    Hi all,
    I am unable to do transform the source value to required target value,
    From Source ADDRESS_TYPE = 'HOME' should be replaced with 03 to target field ANSSA, and 'MAIL' to be replaced with 05, I am trying to do it but i am unable to handle it, please give u r valuable suggestions,
    The source structure is like this,
    - <Event ID="239" TRANS_TYPE="ADR">
    <PersAddr GEO_LOC_CD="US" EMPLID="29" ADDRESS_TYPE="HOME" EFFDT="02/15/2006" ADDRESS1="92nd Floor" ADDRESS2="812backstreet" ADDRESS3="" ADDRESS4="" CITY="London" COUNTY="" STATE="AN" POSTAL="EC2N 4AG1" COUNTRY="GBR" KEY1="29" KEY2="HOME" KEY3="02/10/2006" />
    <PersAddr GEO_LOC_CD="US" EMPLID="29" ADDRESS_TYPE="MAIL" EFFDT="02/15/2006" ADDRESS1="92nd Floor" ADDRESS2="812backstreet" ADDRESS3="" ADDRESS4="" CITY="London" COUNTY="" STATE="AN" POSTAL="EC2N 4AG1" COUNTRY="GBR" KEY1="29" KEY2="MAIL" KEY3="02/10/2006" />
    </Event>
    REGARDS,
    sridhar

    Hi,
    This can be done using user-defined function as well.
    Code the function as...
    if(Addr_Type.equals("HOME"))
       return "03";
    else if(Addr_Type.equals("MAIL"))
       return "05";
    else
       return "Invalid Address Type";
    Here, Addr_Type is Input String Argument for this function.
    Map this function between ADDRESS_TYPE and ANSSA.
    Regards,
    Uma

Maybe you are looking for