Using SubQuery in Conditions Tab

Hi,
We created a report on test_v and this report is having some additional condition like
test_v.ACTION_SEQUENCE = (SELECT MAX(e.action_Sequence)
FROM a.x_balance e
WHERE e.effective_date <= :As of Date
AND e.tax_unit_id = a.test_v.TAX_UNIT_ID
AND e.assignment_id = a.test_v.ASSIGNMENT_ID)
we created a custom folder with the query.
Select max(action_sequence) ,tax_unit_id,assignment_id
from a.x_balance
group by tax_unit_id,assignment_id
And created Intermediate sheet on this custom folder in Subquery of Conditions Tab of MainSheet.
As this Intermediate sheet is returning 8,556 rows we are facing error
like 'unable to extend temp segment by 128 in tablespace TEMP'
Can anyone please help in resolving this..
Any suggestion is appreciated,Thanks inadvance
Hanuman

Hi,
You running out of temp space because the query generated by Discoverer is not being processed efficiently.
You need to restructure how you are running this report, possibly by including the whole report into a single folder.
Rod West

Similar Messages

  • 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

  • Provide Seperate Profit Center in RE-FX using RECN in Condition Type Tab

    Salute Masters!!
    Adding New Line Item in RE-FX Contract by RECN.
    While creation of contract , user have to add line item in Condition Tab for added charge, that should reflect in Invoice as a separate line item and Amount should go in Separate G/L & Profit center not to existing G/L & Profit Center.
    Srivastav
    +91 7829755109

    HI,
    Everything is possible except profit center.
    You can differentiate G/L basing on the account determination value in posting tab, but profit center will come from contract and it allows only one.
    rgds,
    Srini

  • Commenting a window in smartform using 1 =2 in conditions tab.

    Hi Folks,
    I had seen some of the threads in SDN wherein it is mentioned that if we give 1 = 2 (fieldname -relational operator-comparision value) then the whole TEXT contents in that window will not get displayed.Can anyone here confirm this.
    If it is so,do anyone here know a way wherein we can comment CONDITION NODE in a WINDOW.If I go to the conditions tab in the CONDITION NODE of a smartform and give 1 = 2 will the text contents only in this CONDITION NODE won't get displayed?
    Thanks,
    K.Kiran.
    Message was edited by:
            Kiran K

    Hi,
    Yes..The text will not get displayed if the condition 1 = 2 is given..
    Thanks,
    Naren

  • 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

  • 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.

  • 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

  • Condition tab in display mode while creating sales order.

    Hi Guys,
    When I go to create a sales order the condition tab shows all the condition types in grey, irrrespective of its being manual or mandatory. I know it has nothing to do with V/06 or standard pricing transactions. So I changes the item categry.Again used the same order type, same customer , same material and same sales area. Once I change the item category to Zxxx, Condition tab becomes changeable. So I concluded that item category is the culprit. But the question is Which part of item category is influencing it ?
    Please help.
    Regards,

    Hi Phani,
    While creating sales order (VAO1), I go to item level and click on condition tab. I see all the things in this tab grayed. Nothing is changeable. I changed the item category, while the pricing procedure was same as the old one. Condition tab became changeable. So it has something to do with item category. But what is that one thing missing in my item category which is making condition tab grayed out..?
    Regards,

  • How to grey out or deactivate the Conditions tab in VA01 and VA02

    Hi gurus,
    Is there a way I can grey out or deactivate the Conditions tab in VA01 or VA02?  Our objective is to attach the pricing conditons to the customer level and that no sales encoder can edit prices during encoding using t-codes VA01 and VA02?
    I also tried to solve my problem through authorization object of the user V_KONH_VKS - set to 3 (Display) but still the user was able to make revisions to the Conditions tab if he wants to.  This is an internal control issue  for our company.
    Thanks for the immediate response. 
    Frances

    Hello Francis,
    In the definition of condition types in SPRO ( T.code V/06) you can define whether a particular condition type ( example PR00) can be processed manually by the user. IF you select the option " No Manual entries" the system does not allow the users to change the condition value determined from the condition records ( Maintained in VK11).
    ALternately, if the business requirement is that of allowing a particular condition type ( example PR00) to be processed manually by the user in certain business scenarios and in others the value should not be editable then you can use the user exit in MV45AFZB " USEREXIT_SAVE_DOCUMENT". In this you can write the required logic with the help of a technical consultant.
    Hope this helps
    Warm Regards
    Prashant Joshi.

  • Updation of condition type in conditions tab while creation of sales order

    Hi folks
    I have added one field called  price key in Sales B screen of VA01 in item level.
    When user will input price key here and then put enter. Then the Price should be updated in Conditions tab i.e the condition type will be updated in conditions tab.
    I need to maintain this price key in VK11. So As per the Price key i need to update condition types in conditions tab.
      here i am using a user exit  SAPMV45A. i can get condition type for the specified price key from A905 table.Then how to update this condition type in conditions tab through user exit.
    Plz suggest.
    Thanks
    pmr

    Dear friend,
        if the sales order is saved and you want to change the pricing click on update which will be on the lower level of your condition tab in va02.
    and if you are trying to create a new sales order  and if the value is greyed our - check whether in pricing procedure - control data - you would have maintained statistics against that condtion tab.
    check this out and get back
    regard,
    Sudhir

  • 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

  • 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

  • Restrict display of Condition Value in the Conditions tab in Purchase Order

    Dear All,
    We have a requirement that in the Conditions tab the condition value column should be displayed as blank to users other than those related to Purchasing and Costing.
    I have checked that there are no standard authorization objects to restrict these.
    Any inputs on how to achieve this?
    Thanks!
    Tejasav

    Hi,
    you can influence fields using BADI ME_PROCESS_PO_CUST. I don't think that you can disable just your field but you should be able to hide whole tab "Conditions". So you can perform your own authorization check in implementation of this BADI and then display or hide tab.
    Cheers

  • PO conditions are not visible in conditions tab in ME23N

    Hi friends,
    I am facing an issue where the PO conditions tab is showing up as blank. All other tabs are displayed and GR/IR documents are posted correct. On conditions tab analysis of pricing is seen, conditions records are displayed however no conditions displayed on this tab. Also when I try creating a PO using ME21N conditions appear as ****** and I get the error internal number range missing. Can you suggest what can possibly the issue and how to resolve it?
    Thanks in advance!
    - Nutan

    Hi,
    This might be due to authorisations in display prices for PO objects.
    PLease ask Basis to check if Activity "09 - Diaplay Prices" is maintained for below objects in the role assigned to user ID
    M_BEST_BSA <OBJ> Document Type in Purchase Order
    M_BEST_EKG <OBJ> Purchasing Group in Purchase Order
    M_BEST_EKO <OBJ> Purchasing Organization in Purchase Order
    M_BEST_WRK <OBJ> Plant in Purchase Order
    Regards,
    Rakesh

  • Conditions Tab to be in display mode

    Dear Friends,
    There is a unique requirement I have come across where the Conditions Tab in the Sales Order and the Billing Document should be in display mode only and that too only for 2 scenarios. The reason I cannot go to the Condition Type and make the necessary settings is that, the same Condition Types are commonly used in the Pricing Procedure of other scenarios. So, if I make the changes in one condition Type, it will affect the other Pricing Procedure.
    I cannot copy the Condition Types in Pricing Procedure and replace the existing ones because the BI reports will be afftected.
    Kindly suggest a solution where even in create mode of the Sales Order or Billing Document, the Conditions Tab is in display mode.
    Regards
    Vineet Jain

    Hi Anil,
    Please refer to OSS notes:
    105621 - Authorization check for the condition screen - you can use following user-exit includes for changing the condition tab to display only:
    USEREXIT_FIELD_MODIFICATION
    USEREXIT_PRICING_CHECK
    USEREXIT_FIELD_MODIFIC_LEER
    USEREXIT_FIELD_MODIFIC_KZWI
    USEREXIT_FIELD_MODIFIC_KOPF
    1165078 - Authorization check for conditions or subtotals - from ECC6.0 EHP4 there is a dedicated BAdI for authorization check, however if the user is not aurhorized to change the conditions, the conditions are not visible for the user as well.
    Regards,
    Marcin

Maybe you are looking for

  • Why aren't my pages printing to fit the page? HP Officejet 4622

    When printing from cell phone with hp eprint app, or ipad2 with hp eprint app and/or airprint, the pages printed are much smaller then 8" x 11".  I have checked all the settings (actual printer and phone/ipad app settings) and everything says it is s

  • Programmatically inserting row in ViewObject

    I have created Entity Object based on table and updatable VO based on the Entity. Now i need to add a new row in the table. I have a button Add new row , on button click a popup will open with the fields in the row. Entering the field ,clicking on OK

  • Using the capture with the canopus converter

    The other day I was able to capture an dvd to it's end.  Today I'm working with another old dvd that I want to capture in CS4 however, it quits 18 mintutes into the capturing stating max amount has been captured. I think I may have my set points wron

  • Validation in input template

    I need a validation message that when user send the invalid charectore as value to database invalid charectors thru send function a warning message is given that invalid values such as 'ABCD' charecter cannot be send. Currently when invalid charecter

  • Loop when charging iPhone 6 plus (Brazil) on mac but NOT on electrical outlet (other devices remain normal on my mac)

    Hi guys, When I discharge 100% my new iphone 6 plus and plug into my mac, it starts looping/stuck on apple's logo and reboot... But when I take the phone to electrical outlet it stops the loop and charge normally Other apple devices remain charging o