Logical OR: Result in Amount

Hello experts,
I have 2(AMT1 & AMT2) amount fields.
only one AMT occurs for product type.
so I have  created CKF: AMT1 OR AMT2.
Note:used Logical OR
in output i see result as 1.
i need to see the amount.
Regards,
KV
Edited by: K V on Feb 23, 2009 3:07 PM

Hi,
Complete Scenario:
  Price with Update Type(SE1000) + Price with Update Type(SE3010)
or
  Price with Update Type(SE5000) + Price with Update Type(SE3010)
so I have created RKF:  RKF1-->   Price and Update Type SE1000
                                   RKF2-->   Price and Update Type SE3010
                                   RKF3--->   Price and Update Type SE5000
CKF1: RKF1+RKF2
CKF2: RKF2+RKF3
finally created CKF11 : CKF1 OR CKF2
output is displayed as 1.... it should display the amount.

Similar Messages

  • LDB (Logical Database) results

    Dear All,
    I have an requirement where I have get the selection screen fields list of logical database(LDB) in my custom program.
    Also after getting the selection screen fields, whatever criteria is filled in those, once again i have to take those inputs and get the  results by executing the LDB.
    Is anyone can help me......
    Regards
    Munish Garg

    You will need to call LDB_PROCESS, but you will have to map the data from LDB to internal table (how do your report "knows" which nodes and which fields from those nodes are to be included in the internal table ?)
    So many dynamic statements like CREATE DATA <dref> TYPE REF TO (LBDA-DDIC_TYPE) using the parameter <formname> = LBDA-LDBNODE in a generic FORM <formname> USING <nodename> LIKE LDBCB-LDBNODE and then many ASSIGN statements to map the desired fields to the returned internal table records. At each call of this generic FORM, map each and every "corresponding" fields, add the record to the internal table at the lower level node.
    Regards,
    Raymond

  • Script Logic wrong results in migration to BPC 7.5M

    Hi Experts,
    We have an issue with Script Logic calculation after migration of BPC 7.0M to BPC 7.5M. At the beginning we thought that was the issue mentioned in SAP note 1515973, because we had SP03.
    Now we have SP07 and the problems persist. The result of a simply product between two numbers is wrong. For example in the next Default Script Logic:
    *WHEN TIME.GROUP
       *IS INPUT
    *WHEN CATEGORY
         *IS  <> "ACTUAL","B_ACTUAL"
              *WHEN ACCOUNTP             
                    *IS "M_SALES"
                        *REC(FACTOR=GET(ACCOUNTP="PRCT_SALES_BASIC"),ACCOUNTP="700200")
                        *REC(FACTOR=GET(ACCOUNTP="PRCT_SALES_PROMO"),ACCOUNTP="700230")
                        *REC(FACTOR=GET(ACCOUNTP="PRCT_SALES_LIMITED"),ACCOUNTP="700235")             
              *ENDWHEN
      *ENDWHEN
    *ENDWHEN
    *COMMIT
    Input:      M_SALES =           -195,75933
    Input:      PRCT_SALES_BASIC =      1
    Result: 700200 =           -195
    Are there some application parameter that defins de presicion of logic calculations?
    Some ideas? Thanks in advance.
    Best Regards
    Albert

    Hi Jörg,
    We changed to a new server with a multi-server architecture 64 bit (BPC Server and DB Server).
    Did you have the same problem? How do you resolve it?
    Thanks in advance.
    Best regards,
    Albert

  • BPC Script Logic - XDIM_FILTER results in error

    I am writing a Script Logic in BPC and I need it to include all records where the DESTINATION dimension member has the Dimension Property of PLANDEST = "Y"
    This approach works:
    *SELECT(%DestinationMbrs%,"[ID]","Destination","[PlanDest] = 'Y'")
    *XDIM_MEMBERSET DESTINATION = %DestinationMbrs%
    This approach does not work:
    *XDIM_MEMBERSET DESTINATION = <ALL>
    *XDIM_FILTER DESTINATION=[DESTINATION].PROPERTIES("PlanDest")="Y"
    It results in the error message at runtime:
    Error in step 1 of QueryCubeAndDebug: -2147467259 Query (1,156) The PLANDEST dimension attribute was not found.
    The reason I would like to use the second approach is that the first approach relies on the SELECT statement.  The documentation on the SELECT statement says:
    The *SELECT statement is executed at the time the logic is validated, and the expanded result is
    written in the LGX file. This means that if the related dimension is modified, it may be necessary
    to re-validate the rules.
    So if I change the DESTINATION dimension members PLANDEST flags, I need to re-validate the script logic.  That is a maintenance nightmare and a problem waiting to happen.
    How do I solve this so that the dimension attribute is evaluated at runtime, not at logic validation time?

    As Yuan Said, if you are using MDX logic and want to use property, you should check Inapp at the 'manage property' menu of admin console.
    Usually, InApp sholud not be selected for better performance of MDX query. (SAP recommendation)
    But. Here are two cases that you should select.
    1. MDX logic in the logic script.
    2. Dimension formula.
    I hope it will make clear for all.
    James Lim

  • Need logic for previous Quarter Amount

    Hi ,
    I have one ztable which contains the Quater wise updated data. In this table MATNR was the key field.  I want the requirement that, if i execute my report , i want the previous Quater of the stock of the material should be display in my report.
    Example : if July,Aug,Sep is first Quater(2008) , i want the material of the stock value in Apr,May june(2007 4th Quarter) previous quater .
    regards,Ajay reddy

    pls post the structure of your ztab
    q_prev = q_current -1.
    If q_prev = 0.
      q_prev = 4.
    endif.
    you can dtermine date of your quarter with fm'
    RS_VARI_V_QUARTER1XXXX  - RS_VARI_V_QUARTER4XXXX 
    hope that helps
    A.

  • Restriction of Payment to Vendor above Purchase Order Amount

    Hi Experts,
    I have a requirement where my user wants an error message to appear when a Payment to Vendor is made in excess of the PO Amount.
    An Information message appears when posting an advance payment through F-48 for the same but can I get a similar message when making payments through F-53,F-58.
    Awaiting your inputs...
    Regards,
    Rahul

    Hi Rahul
    In T code OBBH:
    Prerequisite: BKPF-BUKRS = `your co code` and BKPF-Tocde = `F-53` or BKPF-Tocde = `F-58`
    Substitutions:
    User Exit : U300 in modification pool ZGGBS000 add logic to check PO amount greater then Invoice amt
    Regards,
    Santosh

  • Exit or Enchancement for changing amount in vendor line item in MIRO

    Dear All,
    I want to change the amount in vendor line item which get posted through MIRO.System generated 2 line item in case of payment terms of retention is used.
    Requirement is that, in one line item of vendor, amount should get changed based on the logic and adjust the amount in other line item of vendor.
    Request to please let me know, Where in Exit/ Badi or enhancement spot, we can write our coding, so that it should update the amount with new value at the time of posting the document.
    Thanks & Regards,
    Abhinav Jain

    Hi,
    Try with Badi   ACC_DOCUMENT
    Regards,
    Azeem

  • Import format for two amount columns in different currencies

    Hello,
    I am working on FDM 11.1.1.3 and will be getting the trial balance containing amounts in two currencies (both local and USD). I need to load data in both the currencies. The extract has two columns for the amount rather than having two different rows for different currencies. Any ideas how to define this format and how to load data. We are not using the translation logic and hence the amounts in both currencies are required.
    Thanks for your help in advance.

    Hi Tony,
    Thanks a lot for the input. Any idea, how should I go about doing this else if you have any documentation, let me know. Also, what are the cons of doing it this way over requesting the customer to get the file with amounts in different rows than in different columns

  • Calculation of Amount in LC value at the time of MIGO (Movement 101 )

    Dear Gurus,
    Kindly give me the logic for calculation of 'Amount of LC' value at GRN against Purchase Order using t-code MIGO.
    Also let me know how this value gets chnaged with below mentioned parameters:-
    1. Assesable base Value- Excise Tab MIGO
    2. Exicse Value
    3. tax code in PO
    Regards
    Soumen Das

    closed

  • How to auto-update of script logics after adding new dimension members?

    Hi Experts,
    Just wanna ask if BPC has a functionality that would automatically update/validate and save my script logic whenever I add new dimension members. I've added new PL accounts but they are not automatically added to my calculated BS Net Income. I had to re-validate and save my logic for it to be included in my logic and for the amounts to be computed correctly.
    Thanks,
    Marvin

    Hi Marvin,
    There is no functionality as such. we need to configure the script as and when we make any changes in the dimension members.
    Regards
    Raman

  • Logical column currency format properties at rpd level?

    I need to show the currency amount with dollar symbol for a logical column and that should happen at rpd level.
    Is there anyway we could do that ?
    thank you

    Hi User.
    You can have logical column name as 'Amount in $' or 'Amount in Dollar'
    this is the best practice..
    Then if you want value to be suffixed by $ , you can go for data formatting in column properties.....
    this is commonly used....
    mark if Correct/helps .
    fiaz

  • Summ up the amount of two tables with their +/- sign

    Hi All
    I am stuck up in logic,
    Scenerio is .
    I have to fetch amount(BSID-WRBTR) field from BSID as well as from BSAD(BSAD-WRBTR) on the input of ( company customer , year period & countyr) it can be with positive or negative value as functional says and it would be recognised on the basis of their debit and credit indicator(BSID-SHKZG), now
    My question is If  i have to sum the amount of both tables.
    first i have to associate the plus or minus sign with them on the basis of their debit and credit indicator     (BSID-SHKZG). now how to do it.
    please let me know any sample program or logic to sum the amount on the basis of their +/- sign.
    points will be Rewarded.

    Hi....
        Here you hav to go for COLLECT statement in the loop....
    loop at it_final1.
        read table it_final with key bukrs = it_final1-bukrs
                                     hkont = it_final1-racct.
      if sy-subrc = 0.
        it_final1-CrAmt =  it_final-CrAmt - it_final1-CrAmt  .
         it_final1-DeAmt = it_final1-DeAmt + it_final-DeAmt  .
         append it_final1 to it_final2.
        else .
           append it_final1 to it_final2.
           clear it_final1.
        endif.
        endloop.
        loop at it_final .
          read TABLE it_final1 with key bukrs = it_final-bukrs
                                        racct = it_final-hkont.
          if sy-subrc <> 0.
            it_final2-bukrs =  it_final-bukrs.
            it_final2-racct =  it_final-hkont.
            it_final2-DeAmt =  it_final-DeAmt.
            it_final2-CrAmt =  it_final-CrAmt.
            append it_final2.
            clear:it_final2.
            endif.
            endloop.
        write:/ a, (9)it_final2-bukrs  ,
                a, (15)it_final2-racct,
                a, (15)it_final2-deAmt,
                a, (15)it_final2-CrAmt,
                a.
      endloop.
    write:/(67) sy-uline.
    ENDFORM.                    " display_output
    *&      Form  sub_get_glt0
    FORM sub_get_glt0 .
      select bukrs ryear racct drcrk tslvt hslvt
                                  from glt0 into table t_glt0
                                 where bukrs = 'code'
                                 and ryear = '2007'.
    ENDFORM.                    " sub_get_glt0
    *&      Form  it_final1
    FORM it_final1 .
        loop at t_glt0.
        if t_glt0-drcrk = 'S'.
          move t_glt0-tslvt to it_final1-DeAmt.
        else.
          move t_glt0-tslvt to it_final1-crAmt.
        endif.
        move t_glt0-bukrs to it_final1-bukrs.
        move t_glt0-racct to it_final1-racct.
        collect it_final1.
        clear:it_final1.
        clear:t_glt0.
      ENDLOOP.
    ENDFORM.                    " it_final1
    Thanks,
    Naveen.I
    Edited by: Naveen Inuganti on Jun 18, 2008 10:49 AM

  • When calculation in query it set as amount digit setting and not make sense

    Version: (Please provide the current version)
    2005B Patch 35
    Description of requirements: (Please provide a detailed description)
    Because Taiwan NTD currency has 0 digit as amount digit, we need to set amount as 0 digit but price as 4 digits.
    While we use query to write report and we use caculation in the query, the query tool
    set the digit of the result as amount digit setting which is zero. No matter how we declaire
    the type in query, we can't change the result. It is not make sense in report.
    We suggest to cancle this digit setting function to use type in sql query.
    Business needs: (Please describe the impact on your business, if the functionality is not realized)
    We can't use query function for report.
    Current Workaround: (Please describe the workarounds you are using at the moment)
    Use outside report tool.
    Proposed solution: (Please suggest how the new functionality should work)
    We suggest to cancle this digit setting function to use type in sql query.

    I have the same problem. Writing an email is a completely different thing from browsing the web and often you will need information from the website that includes the "mailto:"-link to write the mail. Thus opening the mail client in the same window really is not an example of ergonomic GUI design.
    Manual workarounds will not work as nowadays often mailto-links are scrambled in a javascript to prevent spam. The new tab/window will then show the javascript command in the address bar, which will, of course, fail to function.
    Opening Gmail in a new window or new tab by standard when using it as the default mailto-client in Firefox would be most welcome.
    BTW this is how it works Chrome by standard, too. And I actually do not want to switch back just because of the handling of mailto-links. But it is too annoying on the long run.

  • Hiding lines in a query while using the overall results

    Hi all,
    We got a hierarchy with 4 levels. Each element of the first level after the root "L1" (2nd level in real) receive amounts called "INITIAL". The next step is to send and dispatch these amounts to the 3rd level "L2". At this point, the L2s can send to each other amounts which are then typed as "TRANSFER" and no more "INITIAL" or send and dispatch to the 4th level elements.
    We isolated these movements to emphasize on the L2s which is part of the query goal. The lines as then restricted to the L2s. The next column must compare as a percentage the amounts typed "TRANSFER" to the amounts a the their L1s (father node).
    <u>Our need is to know how to receive an overall result ("INITIAL" amounts on L1s) at the level 2 strictly.</u>
    Type of hierarchy :
    1. ROOT
       2. L1A : INITIAL (1000€)
          3. L21-1A : INITIAL (700€) -> TRANSFER type for 200€
             4...
          3. L22-1A : INITIAL (300€) -> TRANSFER type for 100€
             4...
       2. L2A : INITIAL
          3. L21-2A : INITIAL & TRANSFER
             4...
          3. L22-2A : INITIAL & TRANSFER
             4...
    <b>The result of the query is :
    L21-1A : 20% (is 200/1000)
    L22-1A : 10%</b>
    Thanks in advance for your help.
    Geo

    HI,
    I would suggest you to create a new KF with a formula to check if any of the KF value is zero for example..
    New KF =(( col1 == 0) OR (col2 == 0) OR (col3 == 0) )
    You then hide this new KF always in the query and create a condition to display rows where the New KF is not equal to 1.
    This will hide all the rows which have any of the 3 KF's as 0.
    Regards,
    Shilpa

  • Dynamic re-scoping of default logic

    Hi all,
    I'm hoping someone can help on this logic problem -- BPC 5.1 SP5 on SQL 2005.
    My sales planning application has a dimension SKU with 20,000 members, in a very well structured hierarchy. Each SKU is at level 6, and the profit centers are at level 5.
    The default logic calculates sales & cogs amounts (unit * price for each SKU) as well as some discounts (which are planned at the profit center, not SKU level). There is a dummy base member for each profit center to store these discount rates.
    My problem in the default logic is to expand the SKU dim scope
    - when a profit-center driver changes, expand to include all SKUs in that profit center
    - when a SKU quantity or price changes, expand to include the profit-center dummy member
    - and of course, some times a user changes values for not just one, but many, profit centers & SKUs in a single data submission.
    A SKU.ProfitCenter property flags all the relevant members to pick up, but I can't figure out how to do this in default logic. (Batch logic with *SELECTs is not a problem.)
    Option 1. Use a *RUNLOGIC calling SecondLogic.LGF file, with a *SELECT inside -- this doesn't seem to work. The debug log shows that the SKU scope remains the same as the data submission, and it appears that the *SELECT is not being performed in SecondLogic.
    Option 2. Use a *RUNLOGIC calling SecondLogic.LGX, as follows:
    *RUNLOGIC
    *DIMENSION SKU=filter([SKU].members,[SKU].properties("ProfitCenter"=[SKU].CurrentMember.Properties("ProfitCenter")))
    *LOGIC=SecondLogic
    *ENDRUNLOGIC
    I was hoping that would work, but I get an error message after data submission:
    ExecuteBaseLogic::user has no write access to the selected members of dimension : SKU
    SKU dimension is secured R/W, but my user ID has write access to all members (confirmed in my ability to submit data, plus acsSKU table).
    I even simplified this to hard-code a particular profit center, but still the same error:
    *RUNLOGIC
    *DIMENSION SKU=filter([SKU].members,[SKU].properties("PROFITCENTER"="500143"))
    *LOGIC=SecondLogic
    *ENDRUNLOGIC
    I'd appreciate any tips on how to use this MDX filtering, or any other approach that gives this type of dynamic re-scoping in default logic.
    Thanks,
    Tim

    Hi Tim,
    You are missing  a bracket in your examples, after the name of the property (bracket should be closed)
    I used the following statement in an *XDIM_MEMBERSET and it is working fine. I have a also a .CurrentMember, not sure if this one makes any difference.
    Filter([Time].Members,[Time].CurrentMember.Properties("TIMEID")="20071200")
    Regards,
    Marcel

Maybe you are looking for

  • PDF error " a drawing error has occured "

    Dear experts , When I send an email  for PO through SAP , I send a PDF document of the PO smart form . But in SOST & also in the emails sent , when i open the PDF document the message " a drawing errro has occured " appears  & the PDF document genera

  • How to calculate Page Size that allows for Trim Marks?

    I have made a Word document in 4.75" x 7' Page Size and the print company is demanding they have Trim Marks so they can cut the document to the precise size. I went to Save As in the Word doc and converted the Word doc to PDF, no problem. Then I foun

  • Classloader for PAR-Files and deployment

    Hello, I'm wondering how the deployment of a par file actually works in depth. Especially how the sharingreferences und privatesharingreferences come into play here. Can anybody tell me how it works or can tell me some resources where I can get some

  • Quicktime QTSS broadcast-how do I add it to my website

    I am broadcasting a QTSS stream from my server that apparently can only be viewed by going into quicktime player and the using the Open URL window and entering the link rtsp://mywebpage.org/Link4.sdp. Unfortunately I have not been able to figure out

  • Is there any harm in installing an older version of Acrobat along with the new version?

    I'm running Acrobat v11.0.04 on my iMac. For my work, I have to create pdfs and upload them to a special server that then generates dynamic versions of them (blah blah blah... I don't really understand that part of it...). Anyway, it can't use PDFs c