How to show two amount (based on value type and entry code)  in same column

Hi, I have to show two amount in the same column how can i do that...
For example there is 
1) premium amount which depends upon the entry code lets say entry code 1000 = Premium amount .
2) Now there is another premium amount but this amount is stored on basis of value type ...let us say for value type 'prem' = premium amount .
these amount are in different field can i shown it in same column in BEx query.
If you can you please help .

use the selection criteria to restrict the field types in the query designer- use other variables to check the value
if it doesnt reconcile- you can alternatively use a multi provider for the same thing- that way you will get the same amount in 1 column and you could restrict using the infoprovider column

Similar Messages

  • How to trigger a form based on object type and process type

    Hi all,
    I am new into SRM.. I have been asked to develop a form by cloning an existing standard form..
    Using bbp_output_change_sf badi you can trigger the form by passing the object type but the scenario is such that depending on the object type and process type the new form should be triggered.
    The parameter iv_object_type passes the object type but how could i pass the process type ?
    In the badi I noticed an import parameter is_event that has a field called transction_type that carries the process type but this field never got populated when i checked using debugger.
    Please help as to how i can trigger the form based on the object_type and the process_type.
    Thanx in advance.

    Thanx again Jay Yang.. Well is there any possibility that you could get the items that were confirmed..
    Let me eleborate..
    Suppose in the PO u order an item for 10 nos and 5 gets confirmed and u return 2..
    Well in my case it is that i need to fill up a field Qty returned / Qty confirmed..
    I was able to get the number of items from the PO by passing the the passing the parameter to the FM "bbp_pd_conf_getdetaill"
    but i dont know how to get the number of items been confirmed..
    The quantity field in the line item structure gives me the number of items returned..
    Can u tell me how to get the number of items been confirmed....

  • How to compare two amount colomns in the query ?

    Hi,
    I need to compare two amount colomns in the query and based on that i need to change the color of the colomn
    Is it possible by using exceptions.if yes please tell me how to do it.
    Regards
    Ansari

    Hi,
    you can give this a try:
    1) Create a formula keyfigure (Keyfigure A> Keyfigure B)* 1+(Keyfigure A< Keyfigure B)* 0, so here you get value as either 0 or 1,
    2) Hide this Formula Keygiure for display in the report, and create a exception on this Formula keyfigure for its value 0 or 1 with the desired colors.
    3) While defining the exception on the 3rd tab we get the option to specify the Columns for implication of this exception, their you can specify the desired 2 Keyfigures to be highlighted with the colors.
    Hope this helps ..
    Regards,
    Umesh.

  • How to set background color based on values in column grouping

    Hello,
    I have query
    select 1 as CustomerID,'Reality' as Type, 100 as Turnover
    UNION
    select 1 as CustomerID,'Budget' as Type, 120 as Turnover
    UNION
    select 2 as CustomerID,'Reality' as Type, 140 as Turnover
    UNION
    select 2 as CustomerID,'Budget' as Type, 120 as Turnover
    I have matrix, where in rows are customers, there is columngroup based on field Type and in details are summaries of Turnover. I need to change background color of Reality field, when lower than Budget. How can I do that please ?

    Hi volyn,
    After testing the issue in my own environment, we can use custom code to achieve your requirement. For more details, you can refer to the following steps:
    Copy the custom code below and paste it to your report. (Right-click report>Report Properties>Code)
    DIM PreviousValue AS Decimal
    Dim CustomerID AS String = ""
    Public Function  GetPreviousValue(byval Val as Decimal, byval CusID as string)  as Decimal
    DIM Local_PreviousValue AS Decimal
    IF CustomerID <> CusID THEN
    CustomerID  = CusID 
    PreviousValue  = val
    Local_PreviousValue  = 0
    ELSE
    Local_PreviousValue =  val - PreviousValue 
    PreviousValue  = val
    END IF
    return Local_PreviousValue 
    End function
    Click the cell which contains [Sum(Turnover)] value, modify the expression of BackgroundColor property to like this in the Properties Window: 
    =iif(Code.GetPreviousValue(Fields!Turnover.Value,Fields!CustomerID.Value)<0,"Brown","White")
    In this scenario, you can change Brown color to any color you like. The following screenshot is for your reference (I added some data to make it more clearly):
    If you have any other questions, please feel free to ask.
    Thanks, 
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to Show ActionScript Graphics based Spinner on Flex or mobile application ?

    How to Show ActionScript Graphics based Spinner on Flex or mobile application
    Solution:

    Check out the BusyIndicator component introduced in Flex 4.5:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark">
        <s:BusyIndicator />
    </s:Application>

  • How to change two different iCloud account from mac and iPhone?

    How to change two different iCloud account from mac and iPhone?

    Pick one to use, abandon the other.

  • About value type and key figure type

    Hello Gurus,
              please explan the different usage of about value type and key figure type.  what is the typical values for both infoobjects ?
    Many thanks,
    Frank

    Hi,
    0METYPE is a key figure-specific info object usually used to define semantics of the individual business key figures in BW (for example, actual, commitment, plan, target values).
    Its a bi specific field which is filled from extract structure field named MEASTYPE table COSR
    Refer to OSS Note 523742 for how it is filled and the following link for additiona information.
    http://help.sap.com/saphelp_nw70/helpdata/en/91/ddd52b9ef30645a338e28aae443807/frameset.htm
    Note 523742 - BCT-CO: BW key figure model and R/3 tables for trans. data
    This note provides information on the key figure model in the area of BW Content CO-OM. It also gives an overview of the DataSources for transaction data and the corresponding source tables and value fields in the R/3 System.
    The key figure model for currency fields in the area of CO-OM contents affects the following info object of type key figure:
    0AMOUNT Amount
    The key figure itself does have any business semantics.
    The semantics of the individual business key figures in BW (for example, actual, commitment, plan, target values) is determined using combinations of values for the following key figure-specific info objects (see also the account model in SEM-BPS, note 407563):
    0METYPE Key figure type
    0VTYPE Value type for reporting
    --> 0VTDETL Details of the value type
    --> 0VTSTAT Statistics indicator for the value type.
    For example, using transaction SE16, the possible characteristics of the values of this InfoObject can be taken from the above-mentioned master data tables in R/3.
    The business key figures on the InfoCubes of the standard BW content were defined as restricted key figures using this semantics of the key-figure-specific characteristics.
    The conversion of the R/3 transaction data in the BW key figure model is carried out in the extractors using the ROMI_GET_VTYPE_AND_DETAIL function module. It primarily happens using the specified conversion tables.
    The following dependencies exist for the source tables of the DataSources:
    COSP_VTYPE for COSS, COSP, COVP,
    COSB_VTYPE for COSB,
    BPXX_VTYPE for BPGE, BPJA, BPEE
    If an R/3 source record cannot be converted using these tables, it may not be extracted to BW.The application log of the R/3 DataSource transaction RSA3 contains entries for the unconverted values after the test run.(The log function for the CO-OM DataSources was considerably improved by the correction for note 523655).
    The application log for the extraction runs from BW can be evaluated using transaction SLG1 (Object: RSAP, object information: RSAP_INFO)
    Furthermore, the semantics of a key figure are still determined by the time characteristics and the following key-figure-specific info objects:
    0CURTYPE Currency type (for more information, see note 517909),
    0DB_CR_IND Debit/credit indicator (for more information, see note 065075),
    0VERSION CO version
    -Vikram

  • HT204053 How do i make icloud work if my husband and I share the same itunes account but we dont want to get each others contacts, messages, apps etc?

    How do i make icloud work if my husband and I share the same itunes account but we dont want to get each others contacts, messages, apps etc?

    Each of you should set up your separate iCloud account on your own computer using your Apple ID. This gives you two independent iCloud accounts.
    Note that an iPad is not a multi-user device. It can only be synced with one account.

  • Is there any standard ODS for Contract (value type and quantity type)?

    We know that in MM, contract records can be categorized into two different categories, Value type and Quantiy type.  We are trying to see if there is any Contract ODS in business content that we can install which can take care of these two types of contract records that we can bring them over to BW from R3?
    Thanks

    Hi Kevin,
    Please see this link,ODS looks related to your requirement.But seems its for CRM and not for MM.
    http://help.sap.com/saphelp_nw04/helpdata/en/38/c3813ed9d23e44e10000000a114084/frameset.htm
    cheers,
    Vishvesh

  • Need a output based on document no and company code

    Hello All,
    I am new to BI and appreciate your cooperation
    I have a requirement where in I need a total count based on Document no and company code in the Report where in a document no can exist in multiple company code
    Say for eg
    Doc No CompanyCode
    123456          1000
    123456          2000   
    222222          2000
    333333          2000    
    Now I need the count based on document no and company code in the report. Kindly advice
    Thank you
    Poonam

    Hi Poonam,
    I don't know if this is possible in Query Designer level..
    Here is my suggestion:
    1. Create a new infoobject that will be used for the combined Doc No and Comp Code
    2. In transformation level, create a field routine that will CONCATENATE the Doc No and Comp Code in the infoobject you have created in STEP 1
    3. In Query Designer, make a FORMULA VARIABLE and choose REPLACEMENT PATH (select the infoobject you have created in STEP 1)
    4. In replacement path tab, choose INFOOBJECT, then ATTRIBUTE, and select CONSTANT 1 (forgot the exact name but there is constant 1 something in the selection)
    5. Create a global CKF with this formula (FORMULA VARIABLE * 1), this is necessary because sometimes the FV doesn't work without doing this
    6. Use the global CKF in your keyfigure structure, it will show the number of UNIQUE combination of Doc No and Comp Code
    Regards,
    Loed

  • How many new tax type and tax code  are created for change in TDS

    Hello Gurus.
    we are using SAP since more than  one year.
    now tDS rate is change , so i would like to know How many new tax type  and Tax Code is created in our system
    and also like to know At what percentage  i will crete that  new tax code.
    we have pair of tax type and tax code as shown in Example( for Interest) below
    Tax type        Tax code           Name
    I1      IC      Sec 194A - Interest on deposits
    I1      IO      Sec 194A - Interest on deposits OT
    I2      IC      Sec 194A - Interest on deposits Surcharg
    I3      IC      Sec 194A - Interest on deposits EC& SHEe
    I3      IO      Sec 194A - Interest on deps EC& SHEe OT
    I4      IC      Sec 194A - Interest on deposits Pymt
    I4      IO      Sec 194A - Interest on deposits Pymt OT
    I5      IC      Sec 194A - Interest on dep Pymt Surcharg
    I6      IC      Sec 194A - Interest on dep Pymt EC& SHEe
    so  how namy  additional  reuire to create new tax type and code more.
    i am waiting your reply.
    Regard,
    Riten patel
    Edited by: riten patel on Oct 29, 2009 10:23 AM
    Edited by: riten patel on Oct 29, 2009 10:23 AM
    Edited by: riten patel on Oct 29, 2009 10:33 AM

    Hello Hansachechani
    we have  followinng   tax key
    115O     Dividend 115O(1)
    192B     Salary
    194A     Interest income other than securities
    194C     Payment to contractors
    194H     Commission
    194I     Rent
    194J     Prof/Technical services
    195     Payment to foreign nationals
    206C     Tax Collected at Sources (Scrap)
    ST     Service Tax
    and we have followig tax type
    C4     Sec 194H Commission Payment
    C5     Sec 194H Commission Pymt Surcharge
    C6     Sec 194H Commission Pymt EC & SHE Cess
    D4     Sec 115O(1) Dividend Payment
    D5     Sec 115O(1) Dividend Pymt Surcharge
    D6     Sec 115O(1) Dividend Pymt EC & SHE Cess
    F4     Sec 195 Foreign Prof fees Payment
    F5     Sec 195 Foreign Prof fees Pymt Surcharge
    F6     Sec 195 Foreign Prof Fees Pymt E&HS Cess
    G1     Service Tax on GTA
    G2     Service Tax on GTA E Cess
    G3     Service Tax on GTA S&HE Cess
    I4     Sec 194A Int on Deposit Payment
    I5     Sec 194A Int on Deposit Pymt Surcharge
    I6     Sec 194A Int on Deposit Pymt EC & SHE Ce
    L4     Sec 194C Contractors Payment
    L5     Sec 194C Contractors Payment Surcharge
    L6     Sec 194C Contractors Payment EC&S HE Ces
    P4     Sec 194J Professional Payment
    P5     Sec 194J Professional Pymt Surcharge
    P6     Sec 194J Professional Pymt EC & SH E Ces
    R4     Sec 194I Rent Payment
    R5     Sec 194I Rent Payment Surcharge
    R6     Sec 194I Rent Payment E Cess & SH E Cess
    So Is it necessary to create new tax key and tax type?
    wheather i create new tax code only?
    I ma waiting your reply.
    Regard,
    Riten patel

  • Change Tax Type and Tax Code withheld amount

    Hello,
    I need to change a certain Withholding Tax Type and Tax Code amount to be withheld starting Feb 2007. What is the path in order to change the amount please?
    Thank you,
    Roger

    Hi Roger
    Please see below if you are looking for path to change the min amount
    Financial accounting
    Financial accounting global settings
    Withholding tax
    Extended withholding tax
    Calculation
    Minimum and maximum amounts
    Define min/max amount for withholidng tax types
    thanks - Ashok - Assign points for useful answers

  • Disable the Item Availability Button based on Order type and Item category

    Hi ,
    My requirement is to disable the Item availability check button in VA01 based on the Order Type & Item category. Is there any user Exits/ Badi / FM available for this.
    Thanks in advance.
    Srinivas.

    Hi,
    Although it is an old post I need to answer for people who search an answer to the same type of question. To hide a field
    you can use transaction variant 'tcode:SHD0'. But it is not based on Order type and Item category. May be you can use
    USEREXIT_FIELD_MODIFICATION form in user-exit MV45AFZZ. You can loop at screen and set screen-active = 0 in fields
    where you want them to be inactive.

  • How can I delete photos from my iPad, iPhone, and laptop at the same time?

    How can I delete photos from my iPad, iPhone, and laptop at the same time so I don't have to do it separately on each device?

    Photos that were synced from your computer using iTunes can only be deleted by de-selecting them from the folder from where they were synced -  and then re-syncing.
    Connect the iPad to the PC and launch iTunes.
    Click on the iPad name on the left side under devices.
    Click on the Photos Tab on the right.
    If you want to remove all of the Photos - uncheck the Sync Photos from Heading
    Click on Apply in the lower right corner of iTunes
    If you are using iTunes 11 - this will be helpful, Setting up syncing in Windows.
    http://support.apple.com/kb/PH12313

  • How do i delete email from my iPhone,ipad and computer at the same time?

    How do i delete email from my iPhone,ipad and computer at the same time?

    Go to http://support.google.com/mail/bin/answer.py?hl=en&answer=77702. It tells you how to set up gmail on iPhone.  Then go to gmail settings then "accounts and imports" and add your AT&amp;T POP email account  to import mail from AT&amp;T to gmail

Maybe you are looking for

  • Premiere Elements 12 can't be installed on my PC

    Hi, I don't know why - but I bought Premiere Elements 12 today (physical copy) and then tried to get it running. At first, it installs and everything is fine, but after the Elements 12 Organizer is installed, the installation programm gives me an err

  • Incorrect calculation of Condition amount ( KONV - KBETR ) in VA01.

    Hi All, I have a requirement like this ... When i create a credit memo in VA01 by using the Create with Reference option on the screen , it asks for a billing document number ( Invoice Number ) . After entering this number and then clicking the COPY

  • How to copy a file from one location to another ???

    Hi, I have a file ('D:/Pictures/1.jpg') and I want to copy this 1.jpg file to a location called 'D:/Folder1'. I tried the WebUtil_File.copy_file function, but it does not work. it returns false boolean. I am using windows xp and oracle 10g. The webut

  • Trouble Creating a Site

    Hello, I have had my hosting company, hosting.com, allow the static IP I found on this forum punch through the firewall but I still cannot add a site.  We are using filezilla to create users and add access to certain directories.  I have tried multip

  • Bdc program for mi01(inventory) error

    HI EXPERTS,    i have written a coding as per the requirement for inventory data upload by using transaction code 'MI01'.but it is always showing an error that " flat file is not found".please help me in solving this problem. here is the coding. repo