RECN - Simulate Button ' Condition tab"

Hi
Does anyone know what the function used in background to calculate on the button Simulate, Condition Tab?
I need to develop a screen that has this button to simulate the calculate, and I wish that the calculations were made using standard function, using the same button function in the simulation, transaction RECN.
Someone could you help me?
thank you
Lucas

Hi Lucas,
you can use the function module API_RE_CD_GET_CASHFLOW_CN to get the cashflow data from a contract.
Regards, Franz

Similar Messages

  • RECN: Conditions Tab: Header data for second section not appearing

    Hello,
    Need your kind advise please. I have entered a contract successfully. The contract type is Pay:Rates Payment. The contract has been successfully saved.
    The problem comes when I am trying to display the contract. Here is what's happening sequentially:
    Procedure 1
    1.  I am using TCode RECN and keying in the contract number.
    2. Upon pressing Enter, the General Data tab of the contract is opening.
    3. I am clicking on the icon to change the status from 'display' to 'change'. The mode successfully becomes the 'change mode'.
    4. I am clicking on the Conditions tab and I can see that the screen shows two sections. The top section shows the various conditions that I have created. The bottom section shows the details of the condition for the line item selected from the top section.
    5. I am making the necessary changes and successfully saving the changes made to the contract. Then I am pressing F3 and coming back to the main RECN screen.
    BUT:
    An error occurs when I modify the above procedure slightly.
    Procedure 2
    1. When I am entering the contract once more, the first screen that is opening is the Conditions tab of the contract (quite naturally as this was the last screen that i used just now).
    2. When I am then clicking on the icon to change the status from display to 'change', the system is issuing an error message "Please fill all the mandatory fields".
    3. Upon close examination i am finding that in the bottom section of the Conditions Tab (which is supposed to show the details of the condition on which the cursor has been selected in the top section) the field just above the 5 tabs (ie. Condition, Terms, Calculation, Distribution, Memo) is not populating with the name of the condition on which the cursor has been selected in the top section.
    4. Since this field is a mandatory field, the system naturally throws the error "fill up all mandatory fields".
    The point to be noted is that this field gets perfectly populated when i am following the procedure 1. But in the same contract, this field doesnt get populated and throws the error message when I am following the Procedure 2.
    Request you to please help me understand why in the procedure 2, the field is not getting populated.
    Regards.

    Hello Veman,
    Many thanks for the kind response. However in my case the problem is that when I am trying to go into the 'change' mode for an existing record (which has already been once successfully saved), it is STILL throwing the error message 'fill up all mandatory fields'. The only way to come out of the screen is to press the 'cancel' button.
    What is even more funny is that when I am trying to enter the contract directly using the menu RE Cntract - Change from the first RECN screen, then there is no problem coming.
    My question is WHY is the system throwing that error message when clearly there is no error existing in the record. I believe this will be a programming error. The problem that i am referringto matches very closely to the solution provided vide note number 1291666. The reason why I cant apply this note is because my SAP release is 600 whereas this remedy is for 602, 603 ans 604.
    Regards,
    Suvarghya Dutta

  • Creating a push button in Condition Tab in me21n

    Hello Experts,
    I want to add one push button in me21n PO creation.
    Is this possible by using enhancement MM06E005?
    Could you suggest something?
    The push button will be in 'condition' tab in item level view.
    After clicking this button a screen will be displayed if the condition
    category is B to enter other subsequent vendor's code(which comes
    after clicking on condition and viewing condition details) that is
    in case of octroi costs. 
    Thanking you!

    Hi ,
    Yes you can do this in enhancement MM06E005.
    Goto --> Tcode se51 -->program name : SAPLXM06
    Screen No : 0111
    Make the changes in this layout.So that changes will reflect to customer Data tab at Item level in Me21n.
    Use tabstrip or create a subscreen for the above program name while creating a new screen..
    This may helpfull to resolve your problem.
    Thank you,
    Thanks,
    AMS

  • Use of Active Button in Header Condition Tab Page

    Dear Friends
    What is use Active button  and what it work in Sales Doct Header Condition Tab page
    Thanking you
    Arun

    Hi,
    When you if enter a header condition type for e.g HB00 & enter the amount & click on activate, then it will activate the condition type in the pricing document.
    Hope it will solve your problem.
    Regds........
    Sumit
    Edited by: Sumit Rayaguru on Feb 9, 2009 7:22 AM

  • SAP REFX – Usage of (RECN - Condition Tab ) Formula : E1 – Percentage Share in a condition.

    Dear Experts,
    I would like have a clarification on the usage of Formula: E1 – (Percentage Share in a condition) for a contract type in Refx  - contract ( In conditions Tab ).
    Lets take the scenario as below for example :
    Whenever I am adding a condition    ZREN - Basic Rent : XXXXXX  Rs/ month.
    System has to pick a second condition ( Over head charges ) as default and it should be calculated 20% of the amount as overheads on BASIC RENT amount.
    This 20% should come as default ( Because user cant change this % for anything while creation of contract).
    So I have adopted the config changes as below.
    SPRO - Flexible Real Estate Management (RE-FX) -- Conditions and Flows -- Default Conditions -- Define Default Conditions – selected my condition group – added new entries- assigned a new condition type as my over heads –
    Unit price as – 20 %
    Formula: E1
    Formula Parameter: selected - BASIC RENT condition ( ZREN )
    Is there any other config to be done ( Like adding the Derivation rules - if need Pls Clarify) to fulfill my requirement, B cas after  doing above config my overhead charges condition is not flowing by default, even after manual insertion of Over head charges condition its not taking 20 % as default.( Its asking to enter manually).
    Kindly advise to get the same.
    Regards,
    Subbarao.Narne

    Hi Mr. Narnei,
    If both the conditions are added manually, the condition with E1 as the calculation formula, say ZE1- Perc Share can automatically pick up the value from ZREN - Basic Rent and do the calculation.
    For this you just need to specify the condition in the parameter field in the path: Flexible Real Estate Management (RE-FX) -> Conditions and Flows -> Condition Types and Condition Groups -> Define Condition Types. Also specified in the pictorial below.
    For populating default conditions at contract creation based of different parameters, you would need to implement the badi BADI_RECN_CONTRACT. You can also add additional validation such as, if ZREN - Basic Rent is added to the contract it is mandatory to add ZE1.
    Hope this helps.
    Best Regards,
    Hardik Sharma

  • Purchase order -Conditions tab

    HI
    Any one can explain me in detail about Conditions tab in Item Overview of Purchase Order in that we have 3 tabs like
    1. Condition record
    2. Analysis
    3. Update
    please explain me which tabs are used in what conditions ?
    Thanks & Regards,
    senthil.

    Hi
    1) Condition Record: keep the cursor in the condition type PB00 and click the condition record it will take you  to the detail condition record were you can check whether scales exist (or) Not
    2) Analysis :In this you can check all the condition type and whether automatic entry (or) manual entry can be seen
    3)UPDATE
    Hi,
    YActivate button in the condition tab.
    The purpose of this activate button is to activate the price in the P.O.
    Eg : You have created a P.O (04.07.2008) with Purchasing info record(PIR) and the price has flown from PIR say Rs 100.00
    After sometime you have changed the price to Rs 150.00
    In the P.O if you have not received any goods you go to ME22N and press the activate button the price Rs 150 will be flow from the PIR for the same P.O ,you do not need to raise New P.O.
    Please try.
    G.Ganesh Kumar

  • Net value on condition tab in a STO

    Dear Guru's
    I have manage to get the valuation price displayed in the STO PO condition tab in condition P101.
    I've also managed to get the P101 condition to display in the net value field in the condition tab when pressing the "update price" button in the condition tab.
    However, how do I the condition P101 to display in the net value field automatically?
    I have it done in our old 4.7 system but do not know how I did it
    Thanks in advance,
    Thomas

    Missed a transport

  • Condition tab in STO is not getting displayed

    Hi,
    While creating STO, the Condition tab in Line Item is not getting displayed.
    Why it is not getting displayed? Where do I need to change the configuration?
    Do I need to maintain any Pricing Procedure in MM?
    Please guide.
    Regards,
    PK

    Hi,
    Check whether you have maintained Schema determination for respective document type and STO.
    below mentioned is the navigation path to maintain the same.
    > spro - materials management - purchasing - conditions - define price determination process - define schema determination - Determine Schema for Stock Transport Orders
    Here maintain the Purchasing Schema group , Document type & pricing procedure for STO.
    Standard Pricing procedure for STO is RM2000.
    Hope this is helpful..
    Regards,
    Vamshi

  • Urgent Condition Tab Missing In  Stock Transfer Order

    Hi All ,
                When I a m creating Stock Transfer Order from One Plant In one Company Code to  Another Plant in another Company code the Invoice and Conditions Tab Is Missing .
    How to get the Conditions tab, Do I have to do any Customization ?
    Please suggest me of how to go about .....
    Regards ,
    Sriram.

    Hi Srirama,
    Yes, if you have only one Calculation schema then there is no meaning in assigning to different Porgs.
    In that case please proceed with the following configuration.
    This is done in customizing; IMG for MM > Purchasing>Conditions>Define Price Determination Process>Define Schema Determination>Determine Schema for Stock Transport Orders
    For the combination of the Schema POrg; doc.type( UB ) and Supplying plant
    you must specify the price schema to be used.
    Hope this will solve your problem.
    Regards,
    DilliB

  • Sale order showing a discount condition type twice in conditions Tab

    Dear Experts,
    Sale order showing a discount condition type twice in conditions Tab.
    Could you resolve my issue?
    Thanks in advance.
    Regards,
    Ravi

    Hi,
        In the Sales order, go to Conditions and in the Pricing 'Analysis' , check for where the system is determining the two values of this discount condition. It may be possible that it is determining from two condition tables.
    Also in the access sequence of this condition type, please make sure that the 'exclusive' indicator is checked for the condition tables.
    Please check if it helps.
    Thanks,
    Saurabh

  • Conditon value not updating in CONDITION tab for Sales Order

    Hi Experts,
    Can anyone tell me about this ?
    I have created a Z condition type for VA01 and need to place some value (based on some logic  taken from conditon records).
    I am not able to do this.
    Steps already taken care of.
    !) In VOFM >formula section>conditon value = New routine is created.
    2) in V/08, after selecting the Z condition type Routine number is given in front of the Z condition type.
    Waiting....

    Hi Prabhu,
    I didn't understand the meaning of analyzing the Pricing Procedure ?
    In V/08, I have selected the Z condition type created in the system and than selecting that, navigated to CONTROL folder.
    Now in front of the Z condition type in CALCULATION TYPE field the number of the routine is given (Which is created using VOFM).
    Now what else I need to do?
    Repy@Madhu.
    Yes Madhu. Routine is activated and control is stopping if break point given in the routine. In this routine I am trying to populate a value in its XKOMV internal table's KBETR field but when VA01's main CONDITIONS TABS screen comes the value is not appearing.

  • Button condition on page item and Validation error Conflict

    Hi,
    I have a select list page item and a button on page whose condition is based on the select list page item value(eg, If (:P2_item1='val1'){return true;}) with condition type=PL/SQL function returning boolean. This buttons submits the page.
    It' coming fine in normal case. However, if I select some value val2 from the list and then click the button, and if there are any validation errors (like mandatory check or email check fail etc), then the button disappears because it evaluates the button condition based on the changed value(val2), but the page has not yet been submitted because of validation errors.
    I think this can be solved if I create the button condition based upon database column value instead of page item as db col value won't change until the page is submitted.
    This look like very basic use-case and I would like to know if there is any better solution to this problem.
    Note: I am using Apex 4.2.1

    I don't want to show/hide the button on the change of the page item lov value, so i am not using Dynamic action.
    What i was is to make button visible based on a condition(which is based on page item), for which we have condition attribute of a button available.
    This is a very common thing where a user chooses the button condition as Value of item/column in expression 1 is null/expr2. But what if the user changes the page item value but it doesn't get submit due to validation error. In that case, the button condition fails.
    So, i guess i have to use column name in expression 1, can u tell how to do that?
    Expression 1 = IF (:P2_STATUS='val1') then return true;
    How to change the above to use db column 'status' instead? Any direct way(like #Status#) or I have to query db to get it using select.
    Any alternative approach?

  • PO Creation) Error in Condition tab - Deductible Cond Type adding NAVS amt

    Hi MM Gurus,
    We want to create the following PO:
    Base               :     100
    Serv.TaxSp;dutyCess (Ded amount)     :       10.30
    Total               :     110.30
    CST @2% on Base (Non-ded amount)     :         2.00
    Total PO Amount          :     112.30
    We have configured in spro two condition types, NAVS and NAVD for picking up and storing the values. i.e. NAVS should store the Non-ded amount as 2 and NAVD  should store the Ded amount as 10.30. Expectation is that the Condition tab should show the NAVS and NAVD condition types with the Condition value amounts as 2 and 10.30 respectively.
    Now when we create PO, the Invoice tab correctly shows the above amounts in Taxes option. But when we come to the Condition tabs, the system shows as under:
    -     NAVS (Non-ded amount) correctly shows     :     2.00     (Right)
    -     NAVD (Ded amount) incorrectly shows          :     12.30     (Wrong)
    This means that NAVD is calculating 12.30 as Ded amount + Non-ded amount, whereas it should calculate 10.30 of Ded amount only. Am I missing something? How should I rectify this?
    I also found NAVS is a standard SAP condition type (Non-Deductible input tax) but could not find any NAVD type. Is there any standard SAP condition type for Deductible input tax? If there is none, then where can I store the deductible amounts?
    Thanks in advance for all your answers.
    Regards
    M

    Have you got the answer,
    Please share

  • PO in transaction ME21N, the condition tab in PO is greyed out

    Hi Experts,
    Pls help me out from this...
    When creating the PO in transaction ME21N, the condition tab in PO is greyed out.I am not able to enter the price. The price fields are greyed out.
    Any inputs on this will be highly rewarded.
    Regards
    Lakshmiraj

    Hi,..
    thanks a lot for the reply.
    yes  it is allowing.
    Moreover it is happening in production server . In development server everything is fine.

  • Condition report in PO condition tab

    Dear SAP Gurus,
    Kindly let me know, is there any report/Tcode in SAP wherein which we can find the condition mentioned in the Purchase orders of condition tab.
    Kindly revert back.
    Regards,
    Prashanth Pai

    Hi There
    Check T Codes- MEKA and MEK3
    Thanks
    Senthil

Maybe you are looking for