UDA and only for level 0 members condition

Hallo,
am i able to FIX only level 0 members with UDA "Expense" ?
SET AGGMISSG ON ;
SET UPDATECALC OFF ;
SET EMPTYMEMBERSETS ON ;
FIX(
@UDA("Account", "Expense"),
{vScenario},
{vVersion},
@IDESCENDANTS({vEntity}),
{vYear},
@CHILDREN("ICP"),
@CHILDREN("Alias")
DATACOPY "PTD" TO "YTD";
FIX("YTD")
"Feb"="Jan" + "Feb"->"PTD";
"Mar"="Feb" + "Mar"->"PTD";
"Apr"="Mar" + "Apr"->"PTD";
"May"="Apr" + "May"->"PTD";
"Jun"="May" + "Jun"->"PTD";
"Jul"="Jun" + "Jul"->"PTD";
"Aug"="Jul" + "Aug"->"PTD";
"Sep"="Aug" + "Sep"->"PTD";
"Oct"="Sep" + "Oct"->"PTD";
"Nov"="Oct" + "Nov"->"PTD";
"Dec"="Nov" + "Dec"->"PTD";
ENDFIX
ENDFIX
thanks
Edited by: roboh on Jun 6, 2013 1:32 PM

You can also use the AND in the fix when defining from the same dimension. Just make sure you use parenthesis around the two statements in the AND
So...
SET AGGMISSG ON ;
SET UPDATECALC OFF ;
SET EMPTYMEMBERSETS ON ;
FIX((@RELATIVE("Account",0) AND @UDA("Account", "Expense")),{vScenario},{vVersion},@IDESCENDANTS({vEntity}),{vYear},@CHILDREN("ICP"),@CHILDREN("Alias"))
DATACOPY "PTD" TO "YTD";
FIX("YTD")
"Feb"="Jan" + "Feb"->"PTD";
"Mar"="Feb" + "Mar"->"PTD";
"Apr"="Mar" + "Apr"->"PTD";
"May"="Apr" + "May"->"PTD";
"Jun"="May" + "Jun"->"PTD";
"Jul"="Jun" + "Jul"->"PTD";
"Aug"="Jul" + "Aug"->"PTD";
"Sep"="Aug" + "Sep"->"PTD";
"Oct"="Sep" + "Oct"->"PTD";
"Nov"="Oct" + "Nov"->"PTD";
"Dec"="Nov" + "Dec"->"PTD";
ENDFIX
ENDFIX
Thanks
Anthony

Similar Messages

  • Numerator and Denominator for converting of condition type incorrect

    Hi.
         i create credit memo request which refers from invoice. When i have entered condition type, i found that condition value of its is incorrect because the numerator and denominator do not equalize with conversion factor in tab Sale A of item. However, the numerator and denominator affect the condition base value.
       I think that it is error from standard system, but i don't know where the point of it is. Please suggest me.
    PS. The materials in invoice is material variant of which conversion factor in sale order is instead from user exit.
    Best Regrads.,
    Autsnee P.

    Hello
       As a process you have done well. But I suspect there could be an error at " condition value ". Because when you use the division function we have to CLEARLY specity the UNIT and DEPENDANT DECIMAL.  To give you an example
            Example:1 " Procurement order ".
               If a procurement amount = say <1 Million.
              Business say to 20% of amount to be distributed to Inventory Dept. Here you have to declare a division condtion. with BASE UNIT and decimal unit.
               By nature system trys to compare with the previous available data.            
             I hope I answered your question. It was nice answering your question. Feel free to reach SDN if you have any questions. What are the action item at Intregatrion scenario.
    Thanks in advance for your co-operation
    Ashok Babu
    Enterprise Business process Architect
    SAP XI Senior Consultant

  • Step for Adding new condition in Pricing procedure

    Hi,
      We have different pricing procedure  with different condition ,  in this procerdure i want to add one new  condition at 2 position and the requirement is that  if system found the value with this condition it should skip the 3 step and directly go to 4 step  can u give the step for this  how to add new condition to this procedure.
    regards,
    zafar

    I think you need to use condition exclusion so if the condition at step 2 is found then step 3 becomes inactive if it  is also found.
    Depnding on your pricing keys, you might be able to add a step in the access sequence on step 3 and only use a single condition (V/07) and marking that step exclusive if a record is found.

  • 2-dimensional scale for a pricing condition

    Hi,
    Need your Expertise please. We would like to implement 2-dimensional scale for a pricing condition.
    We have found a decision as use Reference condition type (RefAppl 'F').
    It works but we can't define Condition base value for the determination of value according quantity of item.
    Could you advise the decision... ?
    Thanks,
    Andrew

    Hi there,
    The base value can be set only for the maim condition type and not for the reference condition type.
    thanks
    Shanker

  • BADI error-higher-level members have been selected

    Hi,
    1. When i select all in the Select input it is displaying warning messsage as Parent member is selected.                         
    2. So, Instead i am trying by selecting all the members irrespective of hirearchy manually and  not getting any errors and data is flowed succesfully.
    environment sap bpc nw 7.5 sp04
    we use the extraction BAdi /CPMB/EXPORT_TD_TO_BADI and use a                                                                       
    SELECTINPUT statement to select only lowest level members of the                                                                   
    hierarchical dimension PROFITCENTER. As long as we use <ALL> as                                                                    
    selection, we get error messages indicating that higher-level                                                             
    members have been selected. Since we use SELECTINPUT we would expect                                                               
    not to receive such warnings. Also there are no higher level members                                                               
    passed through the Extraction BADI in IR_DATA tabel ... As a workaround                                                            
    the i always has to manually select all profit center
    Regards,

    Hi SSK,
    If i understood your question correctly, There must be some property by which you can select all the members i guess.
    I think ,the error is because parent members are  selected  when you give select all. Since in BPC , they dont store any data or cant be manipulated, You could use some propert values to select the required profit_centre.
    Example
    Entity  dimension
    IDs               Profit_Ctr             Input _ Indicator
    Abc
    XYz               Y                                N
       Xyz1           Y                                Y
    This way your code could reflect   Select  Entity where  Input indicator ="Y", Profit_ctr = "Y"
    Hope this helps
    Thanks,
    sridhar

  • Sales order Pricing for a particular condition type

    Hi Folks,
    I have a requirement that when i change the Shipping condition(VBAK-VSBED) in the Sales order  The Pricing should be triggered and the price should be re-determined only for a particular condition type (ZFM1) . This condition type represents Freight charges.
    I am trying to use user exit USEREXIT_NEW_PRICING_VBAP(include MV45AFZB) in the below fashion but the price is getting
    re-determine for all the condition types. I have even tried by passing NEW_PRICING = 'H' but we have multiple condition types for freight and price would get re-determined for all these condition types. I want the price should get refreshed only for condition type ZFM1.
    FORM USEREXIT_NEW_PRICING_VBAP CHANGING NEW_PRICING.
       IF VBAK-VSBED NE *VBAK-VSBED
          New_Pricing = 'B'.
       ENDIF.
    ENDFORM..
    So, do we have any function module which i can use to refresh only a specific condition type.
    <Priority normalized by moderator>
    Edited by: Vinod Kumar on Nov 3, 2011 1:35 PM

    Hi
    It's hardcoded. Go to include FV45PF0P_PREISFINDUNG and you can see when the userexit is called and how the report call other subroutine:
              perform userexit_new_pricing_vbap(sapmv45a)
                      changing da_pricing.
              if not da_pricing is initial.
                 if da_pricing ne function_new_pricing.
                    perform preisfindung using da_pricing.
                 endif.
              endif.
    In subroutine PREISFINDUNG is called the FM 'PRICING' with the value for DA_PRICING for CALCULATION_TYPE.
    Regards
    Eduardo

  • SD Condition only for position type??

    Hi everyone!!
    I have a discount condition for a customer. In the same sales order, I have this:
    Position type A +10 UNITS
    Discount 2%
    Position type B -1 UNITS
    Discount 2% (This is a mistake!!)
    How could I customize to eliminate this condition when it is a return?
    I have tried doing scales with the amount, but its not working because the amount is possitive.
    And I can't do it with the price or I don't know how to do it.
    Also I have a header discount that should apllied only for a possitive amounts.
    Can anyone help me??
    Thank you in advance.
    Regards.

    Hi,
    If you doing return order with reference to invoice or original sales order then in copy control t-code VTAF and VTAA
    at item level assign PRICE TYPE - B (Carry new pricing) but if you maintained condition record for discount it will again derived in price,
    so if you want to maintain condition record(and only restricted discount in return) the create new table with combination of
    Sales document type + customer + Material and assign it in to access sequence
    Now maintain condition record for this combination.
    So when you process standard sale discount can dervieved from condition record,
    but when you doing return it will not.
    Kapil

  • Sound and Vibration pallet is only for ...

    Hi,
             I installed Labview on my system and I saw Sound and vibration Pallet. Now, I am working with 4610 accelerometer through USB 6008 and analyzing the Voltage levels in labview. I have a doubt that the sound and vibration pallet is only for when using NI sound and vibration kit or can I use those options in this project.

    in a loop - capture a waveform (4096 points for example) from your accelerometer - analyze it, and then output a serial command with the adjustment based on your analysis. 
    repeat the loop until some measurement is met - the serial device is stable, for example. 
    Preston
    Preston Johnson
    Principal Sales Engineer
    Condition Monitoring Systems
    Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
    National Instruments
    [email protected]
    www.ni.com/mcm
    www.ni.com/soundandvibration
    www.ni.com/biganalogdata
    512-683-5444

  • Why do my firewalls only use the domain username and password for login and enable passwords, not a different enable password like my switches do? The RADIUS config looks the same...

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman","serif";}
    Issue:
    Cisco firewalls require only one level of password i.e. the domain username and password are used for both logging in as well as reaching global configuration mode.
    Background:
    We have multiple Cisco network devices set up which authenticate to our Windows domain controller using NPS (Windows 2008 R2). The switches we have set up all function exactly as we would hope as they require your domain username and password to login to the device. They then require a separate password when you use the enable command, this is stored in Active Directory:
    Switches:
    Username:domain-username
    Password:domain-password
    SWITCH>enable
    Password:enable-password-in-Active-Directory
    SWITCH#
    Firewalls (as they currently are):
    Username:domain-username
    Password:domain-password
    FIREWALL>enable
    Password:domain-password
    FIREWALL #
    With the firewalls however, they require your domain username and password first, and then your domain password again when using the enable command. I want the firewalls to use the enable level password that the switches currently use instead of the domain password again. The current configuration look like the following:
    Current switch configuration:
    aaa new-model
    aaa authentication login default group radius local
    aaa authentication enable default group radius enable
    aaa authorization exec default group radius local
    aaa session-id common
    radius-server host 192.168.0.1 auth-port 1645 acct-port 1646
    radius-server source-ports 1645-1646
    radius-server key 7 1234abcd
    Current firewall configuration:
    aaa-server DC01 protocol radius
    aaa-server DC01 (outside) host 192.168.0.1
    aaa authentication ssh console DC01 LOCAL
    aaa authentication enable console DC01 LOCAL
    key 1234abcd
    Any help would be great, thanks!

    Cisco ASA works that way by design. You could remove "aaa authentication enable" and then you could use the "enable password" command to set your enable password.
    But if you do that, then ASA would change your username to "enable_15". That would break Authorization and Accounting if you're using them. Let me clarify with an example
    Firewalls :
    Username:domain-username
    Password:domain-password
    FIREWALL>show curpriv
    Username : domain-username
    Current privilege level : 1
    Current Mode/s : P_UNPR
    FIREWALL>enable
    Password:enable-password-from-running-config
    FIREWALL #show curpriv
    Username : enable_15
    Current privilege level : 15
    Current Mode/s : P_PRIV
    If you're using Authorization and Accounting it's recommended to stick with your current behavior.

  • VT02N - do PGI and Invoice for certain deliveries either based on certain conditions

    Hi Friends ,
    We are using VT04 for creating shipments . While shipment completion stage in VT02N   an activity profile has been maintained  which does both the Goods issue and Invoice.
    We have a business requirement , PGI and Invoice should be created only for specific set of deliveries based on certain conditions.
    Is there any standard way to do this or by using user exits.
    Please guide.
    Thanks,
    Nileshsa.

    what about adding a check in userexit RV60AFZZ, when the condition is not met during invoice creation, error out and disable the creation of the invoice document?

  • How to update PO Price only for a single line item and not other Line Item

    Hi
    My requirement is not to update Price of PO from PIR if the Final Invoice Indiactor is not set and it is not a return PO. I am trying to do this using
    BAPI_PO_CHANGE to update price automatically from Pricing record using
    POITEM-PO_ITEM = '00001'
    POITEM-CALCTYPE = 'B'.
    POITEMX-PO_ITEM = '00001'
    POITEMX-CALCTYPE = 'X'.
    The price gets updated for the line item 1 as well as other line item which I do not want. Please can you tell how to restrict that.
    Is it possible to restrict through configuration if this indicator is set there should be no price update. I tried to check in ME22n and if I update the condition item by pressing the update button the other item price also gets updated.
    Thanks
    Arghadip

    Timestamp is date and time together in one field..
    Search for data element TIMESTAMP.
    If you are getting this in your table.
    If you are getting time and date in different fields then you can use the function module
    given below....
    CALL FUNCTION 'DELTA_TIME_DAY_HOUR'
      EXPORTING
        t1            =
        t2            =
        d1            =
        d2            =
    IMPORTING
       MINUTES       =
    Then you can convert minutes into seconds..
    Function module credit to BrightSide it works....but only it will give difference in minutes
    Regards,
    Lalit Mohan Gupta.

  • Transaction type to dispose the asset only for the depn areas 01 and 02

    One of the Company codes XXXX plant XXXX has an isuue for asset # XXXXXXXXXX-0 this asset was partially retired in Nov.2008 and now its acquisition value is JPY312,428
    which should not be an asset under US GAAP but qualify for asset under Tax book . So it needs be removed from US and JCC book(01 and 02 area) but keep the record on the Tax book(area 15).
    Is there any transaction type to dispose this asset only for the 01 and 02 area but keep the historical data for 15 area?
    Thanks for helping in advance

    Can I suggest you a way to handle this? Just give a try and see whether  it works for you or not.
    Post a Credit entry to the Asset only to the area 01 and 02. Please follow the below steps before you do this.
    1. Go to main SAP screen => System => User profile => Own data => Parameters
         Add parameter ID FAA_FB01_AREA_SWITCH (Turn On Value Entry at Area Level for FB01) and mark "x" against it in Parameter value. Save this changes.
    2. Go to F-02, Enter the Asset number (posting key 75 and transaction type 105, which ever you feel like) and then in the next screen, enter the amount. Here in this screen, you will find a tab named area values. Click that tab and change the values Area 01 & 02 to $0.01 and leave the Area 15 as it is. Enter the appropriate dr line item and save the document.
    3.Go to AW01N and see tha values against each of the areas.
    please revert in case you have any questions.

  • My problem is that after upgrade to IOS 6.1.3 my iphone not sounds! dont have sounds notifications for whatssap, FB, mails and can't listen music and talk with skype without headphones or speakers! only have vibrator and sound for one coming call!! what c

    My problem is that after upgrade to IOS 6.1.3 my iphone not sounds! dont have sounds notifications for whatssap, FB, mails and can't listen music and talk with skype without headphones or speakers! only have vibrator and sound for one coming call!! what can i do!???? Thanks a lot for help me!!!!

    I have a nearly identical problem with my Ipad 3. Mine is the left channel. I've yet to find help, but have found a number of other posts on this and other forums discussing the issue. People have tried restore, reset etc. Also, cleaning the ports with compressed air or cotton swabs. It appears to be a software issue, but no one is sure.
    Along with the original poster, I'd appreciate any help.
    As far as the 'level 6' poster, if you're going to be rude, please don't bother. Hope it was just a bad day.

  • Opening Balance only for Assets and Liabilities in Trial Balance Report

    Hi SAP B1 members,
    Following is my query :
    I would like to see the Opening balance in the Trial Balance report only for Assets and Liabilities and not for Revenue and Expenses.Though the other details such as Debit,Cumulative balance etc should be seen for all Assets,Liabilities,Revenues and Expenses.Kindly help.

    Hi,
    You can try the option of running the Trail Balance for Assets and Liabilities with the Opening Balance checkbox and the other for revenue and other drawers without checking the Opening Balance.
    Export the values to Excel and consolidate the reports to get the required result(if that is what is needed).
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • One pricing condition for BOM and other for individual component

    Hello SAP gurus,
    We have two pricing condition types created and assigned in the pricing procedure which has been created with reference to PR00 and condition records are maintained for both the condition types.
    But, we want only one pricing condition type to be triggered in the sales order depending on the usage of material in the sales order. As we are selling the same material individually and as well as a component in a bundle ( BOM).
    i.e, when one pricing condition for BOM component and other for individual component
    What are the configuration steps to be taken care to get this scenario?
    Thanks in advance.
    Regards,
    KB
    Edited by: K.byla on Jan 21, 2010 1:20 PM

    Hi Sagar,
    Thanks for your response.
    Yes, we are maintaining only one material. The same material is used to sell individually and also in a BOM.
    As i have mentioned earlier, whenever the material is sold individually it should pick condition type say 'YR00' and when the same material is sold as a bundle ( BOM) , it should pick condition type " YR01" in same the pricing procedure.
    For both the condition types, the condition records are maintained.
    To give the scenario details,
    A material "X" is sold individually as a single component and the same material is also used for selling bundled with other material "Y" and the bundled material as "Z"
    means, Z=X+Y
    Pricing procedure used is say ZRA000 which contains currently the price cond type YR00.
    Now for the bundle (BOM) involvement i want to use the same pricing pricing proc. and add the new cond YR01 in it so that the system will pick the cond.type YR00 when the material is sold individually and YR01 is taken as the price when the material is sold as a bundle against the item X.
    Need to know the steps for this scenario and do i need to maintain a specific requirement ? please suggest.
    BR,
    KB

Maybe you are looking for

  • Best method for incremental offsite backups?

    I currently have multiple Macs and a Windows PC running XP.  I also have a 1TB Time Capsule, so all the Macs are backed up via Time Machine.  However, I want to have offsite backups as well, so I purchased 2 matching Seagate GoFlex 3TB drives.  My pl

  • Java.lang.LinkageError:loader constraints

    Hi,           I am having problem with on of my ejb having some           classes sharing with my servlet. The following is the           exception which I get. I guess this is due to different           classloader trying to load the sharing class.

  • (  name-service call wait   ) event   is amoung the top 5 wait events

    10.2.0.3 2node- RAC When I check the wait event in the active session wait event the sessions can be see that they are blocked by the LMON process. The wait event appears only on one node. It is very hard to find information on the net or on the meta

  • Profile not working in C# project

    It works in a C# website made with ALUI template, but some of our portlets are not (they are c# web applications, not using template but do extend the aliuportletpage) and the ALUI Profile is not recognized. Web.configs in both are identical. Both ex

  • Kdemod removed from pacman.conf but not from /var/lib/pacman

    Hello all I have been using kdemod repository for some time. Since I use Gnome I have removed all my kde/qt applications and I have removed kdemod repository from pacman.conf Is it normal to still have kdemod into /var/lib/pacman ? Can I safely remov