Fields not getting populated when a particular selection not given

Hi!
In my query when I run the query with the a particular sleection having contract and the dates it show sme a list of the contarct items and its sales prive , quantiy and estimated sales price ect, but in the output there are some contracts for which the sales price and the estimated sales price dosent show up , but simultaneousely I run the same query putting in the selection screen with same contract number and dates as well as a filed activity type giving its range the items that we not showing the sales price and estimated sales price now shows up on the output. Can anyone tell me why does the query dosent show the sales price and estimated sales price when the activity type range is not given and shows the price for all when activity type range is given. On teh first run it does show for few but not for all but on second insatnce when I enter the activity type it shows for all.
Thanks

Thats what when I make a sleection on teh selection screen excluding the activity type and run it dosent display the sales price and estimated sales price for few contracts but when I enter the activity type for those particuoar contarcts in my selection screen and run it does show me the sales price and the estimated sales price. I am not sure which part for the query you want to see, please let me know so that I can send that particular part .
Thanks

Similar Messages

  • How to get notified when ever I select any frame (any page item) ?

    I have added a observer class in my plugin which derives from ActiveSelectionObserver.
    But my observer constructor is not getting called when i select a page item. (In short, I am not getting notified about the selection)
    below is my code:
    class CSDTSelectionObserverImpl : public ActiveSelectionObserver
    public:
      CSDTSelectionObserverImpl(IPMUnknown *boss);
       virtual ~CSDTSelectionObserverImpl();
    protected:
       virtual void    HandleSelectionChanged (const ISelectionMessage*);
       virtual void HandleSelectionAttributeChanged(const ISelectionMessage* selectionMessage);
    CREATE_PMINTERFACE(CSDTSelectionObserverImpl, kCSDTSelectionObserverImpl)
    CSDTSelectionObserverImpl::CSDTSelectionObserverImpl(IPMUnknown *boss) : ActiveSelectionObserver(boss,IID_ICSDTSELECTIONOBSERVER) { }
    CSDTSelectionObserverImpl::~CSDTSelectionObserverImpl() { }
    void CSDTSelectionObserverImpl::HandleSelectionChanged(const ISelectionMessage* selectionMessage) { }
    void CSDTSelectionObserverImpl::HandleSelectionAttributeChanged(const ISelectionMessage* selectionMessage) {  
    if (selectionMessage && selectionMessage->WasSuiteAffected(IID_ILAYOUTSELECTION_ISUITE))
    Also, In my .fr file, I have added below:
    AddIn
      kDocBoss,
      kInvalidClass,
        IID_ICSDTSELECTIONOBSERVER, kCSDTSelectionObserverImpl,
    Do I need to implement the ILayoutSelectionSuite as well to get the notification on page item selection or implementing Observer via ActiveSelectionObserver is sufficient?
    Please help.

    I tried below in debug mode , but it gave me error while execution (when the line of code was called by in-design)
    InterfacePtr<ILayoutSelectionSuite> iLayoutSelectionSuite(fCurrentSelection, UseDefaultIID());
            if (iLayoutSelectionSuite == nil)
                break;
    iLayoutSelectionSuite->SelectPageItems(selection,Selection::kReplace,Selection::kDontScrollLayoutSelection); // Error
    So I was not able to get the UIDList of the selected page items, hence I used below code and this is working.
      InterfacePtr<const IIntegratorTarget> iIntegratorTarget(iLayoutSelectionSuite, UseDefaultIID());
            std::auto_ptr<IIntegratorTarget::TargetSuiteCollection> selectionSuites(iIntegratorTarget->GetTarget(ILayoutTarget::kDefaultIID));
            for(IIntegratorTarget::TargetSuiteCollection::size_type i = 0; i < selectionSuites->size(); i++)
                ILayoutTarget* target = (ILayoutTarget*)selectionSuites->at(i).get();
                if(!target)
                    continue;
                selection = target->GetUIDList(kDontStripStandoffs);
    But it would have been much easier and logical if I can get it using IlayoutSelectionSuite or if there is some better approach ?
    Please let me know.
    ileleLayoutSelectio
    Let me

  • Order, Rounded & Confirmed qty all gets populated when creating Sales Order

    Hello Experts,
    I'm creating a number of sales orders for custom materials (1400-510-01, 1400-510-02, 1400-510-03). Under Schedule lines I've observed Order and Rounder qty  reflects the 5, which i provided for Quantity for this material. However Confirmed qty also gets per-populated with 5 and its locked. This is causing then I try to create Transfer Order. Does anybody will know why Confirmed qty also getting populated beside Order and Rounder qty. If yes then how i can get ride of it.
    Many thanks in advance.

    Hi,
    The confirmed quantity is based on the available quantity in the stock which is confirmed based on the order quantity. This will only change if
    1) there is not sufficient stock
    2) if its partially confirmed and confirmed in future in full

  • From which table the structure field is getting populated

    Hi all,
    I've a requirement to run the report for process orders when AFVGD-FLG_PURS(Indicator:purchase order exist)is active. I'm not able to find from which transparent table I can populate data in  this flag value.
    I've tried "where-used list" to get which table is having this field, but I didn't get any table name.
    Is there any way to get it?
    Thanks in advance.
    Regards,
    Bhavana

    Hi,
    another possible solution is to do a "trace".
    1.- Go to transaction is ST05.
    2.- Then activate the trace.
    3.- Afterwards go to the transaction where the structure field is.
    4.- And then return to ST05 to deactivate the trace.
    5.- Last watch carefully the log of the trace.
    Here you will find all the tables and select´s involved in the process.
    Best regards.

  • Blocked stock field should get populated in ME21N

    Hi ,
    When i check the Returns check box,the stock type should be changed from Unrestricted use to blocked stock in ME21N transaction.
    Could you please tell me how to do this?
    Any possibility with Badi or user exit?
    Thanks
    Srini

    BADI ME_PROCESS_PO_CUST .
    here you can add the Logic .

  • Currency Field - KOMK-WAERK not getting populated

    Dear All,
    In my infoset, i am reading the value from KONV table. But when i generate the infoset, system prompts a Warning Message saying:
    Currency Field KOMK-WAERK will not be filled. Affected currency amount fields: (& it gives out the list of fields).
    In my data section when i put TABLES KOMK, then the message does not appear, but the currency field still does not get populated when i execute the query.
    Any suggestions as to how i can make the currency field populate in my output?
    Await inputs.
    Anyone to help?
    Edited by: Vivek on Feb 9, 2008 8:51 PM

    Is not KOMK a structure, you need to fill this structure. Try to map required fields as following :
    CLEAR KOMK.
    KOMK-MANDT = SY-MANDT.
    KOMK-KALSM = VBDKR-KALSM.
    KOMK-FKART = VBDKR-FKART.
    KOMK-KAPPL = 'V'.
    IF VBDKR-KAPPL NE SPACE.
    KOMK-KAPPL = VBDKR-KAPPL.
    ENDIF.
    KOMK-WAERK = VBDKR-WAERK.
    KOMK-KNUMV = VBDKR-KNUMV.
    KOMK-VBTYP = VBDKR-VBTYP.
    KOMK-BUKRS = VBDKR-BUKRS.
    KOMK-BELNR = VBDKR-VBELN.
    Regards

  • Field of a table is not getting populated correctly in xml file.

    Hi Experts,
    I have an issue.
    I transfer a ABAP table as an XML messgae on to application server.
    BUt the correct format is not comming on Server.
    Eg: i have a filed in table as /abc/def this field is getting populated on xml messgae as -abc-def
    How do i solve thi sproblem.
    Inouts are highly appreciated.
    Regards,
    Varun

    Hi,
    Check following will helpul
    http://blogs.oracle.com/jdevotnharvest/entry/how_to_programmatically_set_focus

  • Which trigger gets fired when a filed (item) get populated

    Hi,
    Which (item level) trigger gets fired when a filed (item) get populated with data
    Thank you

    Thanks for the responce. But....please read the following and try to understand the probelm.
    I have a screen in Oracle Forms.
    For example the screen is EMP and I have a LOV on item: EMPNO
    After selecting an EMPNO from the LOV, I click on a button and the button's trigger (WHEN-BUTTON-PRESSED)
    populates the remaining items with data related to the EMPNO in the EMPNO item which I selected from the LOV.
    Here is the request: I want the items get populated when I select the EMPNO from the LOV.
    I copied the code from WHEN-BUTTON-PRESSED (which is populating the data into other fields) to the triggers you mentioned
    (pre-text-item, when-new-item-instance, when-validate-item, post-text-item)
    But they are not working (the data is not populating when I select EMPNO from LOV)
    I am a DBA not a developer, but I have to do this. So please help me and let me know how to do this.
    I hope you understand the request.
    Thank you

  • Default Value in a DFF is not getting populated in Self Service Page

    I had an issue in Self Service Page.
    In the SS page there is hidden mandatory field in DFF segment,which should get populated with a default select statement.
    But this field is not getting populated with the default values.
    But this is working fine in Forms , i.e the default value is populated in forms.
    Why the default value is not populated in Self Service Pages?
    For Eg: If there is a DFF "SAMPLE_DFF" which has some context with segment
    Context Code : GB_CODE
    Segment : "Enter the Group"
    and this segment is made required and defaulted with a select stmt (select stmt returns 'XXXXX')
    In forms if am not entering any value, then its defaulted to 'XXXXX'.
    But in Self Service this is not happening.
    Can anybody help me out...

    Actually, I have narrowed down the problem. It is not quite the same.
    DFF is Receivables, Address Information (Release 12). We have 2 attributes defined and we want the default value of the 2nd to be dependent on what the user selects in the 1st.
    So the default value of the 2nd is defined as a SQL Statement, select :$FLEX$.INDUSTRY_CODE from dual (where INDUSTRY_CODE is the value set name from the 1st).
    We know the syntax is correct because if we actually hardcode a default value in the 1st attribute (select 'BLAH' from dual), then we do see that the default value for the 2nd attribute fills in with BLAH as well. However, we do not want that. We want the user to choose a value for the 1st attribute from the LOV, and then have the 2nd attribute default to that same value. This is the part that does not seem to work in OAF, but definitely used to work in Forms.
    Any thoughts?
    Thanks much!

  • Fields not populated in cube

    hi experts,
                       i have one problem i have sales item,and header dso's which i have loaded the data using flat files.when am trying to load to cube some of the fields of header is not  getting populated.when i am loading only header data that time it is showing the data in cube.when i am loading item data also that time some of the fields of header are not populating in cube.i have tried by taking two seperate cubes for header and item and tried to  loading data to multiprovider. but same issue came.for ur reference i am providing screen shots of that. this is multi provider screen shot in this u can observe that division ,region and some fields are not populating data. in local sand box i have done this please help me to resolve this issue.
    header  cube screen shot before loading to multiprovider.
    item cube screen shot before loading to multiprovider.
    regards
    jaswanthi

    How are you "loading" to a MultiProvider? A MultiProvider is merely a "view" on 1 or more InfoProviders, nothing gets loaded in it.
    The screen shot of your MultiProvider shows data of your items InfoCube only... have you filtered on the InfoProvider field? If not, try and filter on your header InfoCube and see whether it shows any data. If not, then there's something wrong with your mappings in the MultiProvider definition.
    It's perfectly normal to have empty fields if you're combining 2 InfoProviders into 1 MultiProvider. If that's not what you want, you should consider an InfoSet (which "joins" data) or model it so that when you're sending item data to a new InfoCube, you "look up" the missing header data in your header data DSO and add it.

  • Query:  Customer Exit variable not getting populated

    Hello Experts,  I created a Customer Exit variable (ZPREV_MTH_OPS) in the query designer (7.0).  I also put the necessary code in the function module "Z_BWFI_QUERY_CELL_MANIPULTN", but the query variable is not getting populated when I run the query using RSRT.  The boxes for "Variable is ready for input" and "variable is without context" boxes when defining the variable.
    This is my code in the exit:
    case i_vnam.
        when 'ZPREV_MTH_OPS'.
         break-point.
          if i_step = 2.
            clear l_s_range.
            if sy-datum+4(2) = '01'.
              wa_prev_month = '12'.
              wa_prev_year = sy-datum+0(4).
              wa_prev_year = wa_prev_year - 1.
            else.
              wa_prev_month = sy-datum+4(2) - 1.
              wa_prev_year = sy-datum+0(4).
            endif.
            concatenate wa_prev_year wa_prev_month '01' into wa_datum.
            call function 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
              exporting
                day_in            = wa_datum
              importing
                last_day_of_month = wa_datum2.
            concatenate wa_prev_year wa_prev_month '01' into wa_datum.
    *        l_s_range-low = wa_datum.
    *        l_s_range-sign = 'I'.
    *        l_s_range-opt = 'BT'.
    *        l_s_range-high = wa_datum2.
    *        l_s_range-sign = 'I'.
    *        append l_s_range to e_t_range.
            l_s_range-low = '20080901'.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'BT'.
            l_s_range-high = '20080930'.
            l_s_range-sign = 'I'.
            append l_s_range to e_t_range.
          endif.
      endcase.
    I also put a break point the exit, but it's not coming to the breakpoint. 
    Any suggestions?
    Thanks.

    Josh,  the link you provided reminded me to include the code in the include ZXRSRU01 also, instead of just changing the function module.  Thanks for your help and all those who tried to help me.
    case i_vnam.
       when 'ZREL12MTH' or 'ZPREV_MTH_OPS'.
         call function 'Z_BWFI_QUERY_CELL_MANIPULTN'
           EXPORTING
             i_vnam        = i_vnam
             i_vartyp      = i_vartyp
             i_iobjnm      = i_iobjnm
             i_s_cob_pro   = i_s_cob_pro
             i_s_rkb1d     = i_s_rkb1d
             i_periv       = i_periv
             i_t_var_range = i_t_var_range
             i_step        = i_step
           IMPORTING
             e_t_range     = e_t_range
             e_meeht       = e_meeht
             e_mefac       = e_mefac
             e_waers       = e_waers
             e_whfac       = e_whfac
           CHANGING
             c_s_customer  = c_s_customer.
    endcase.

  • When CDB gets populated? what is load parameters and syn parameter?

    hi all,
    myself have a query with regards to consolidated database where would to like to know when does the CDB gets populated. when we deploy the MBO does the mbo bring the data from backend sys or when we call it from UI client.
    what is load parameters and syn parameter got confused. please explain in very normal term.
    thnaks
    sk

    thanks rincy and reddy for reply
    myself understood the concepts of load and sync parameters thanks for your inputs....
    we are doing a scenario with backend as SAP and front end ui with ios. we have done all the things in place and when executing from ui front end only the last record is displayed. for example if it is returning 6 records then it displays only the last record.
    check in CDB and foun only the last record is ther in it but when doing the PREVIEW of MBO to test it their it displays all the record but from UI it is displaying only 6th record
    this where my query is that hw and when CDB gets populated and where i have to look in to rectify it....
    thanks
    SK

  • How service render date gets populated ?

    Hi
    I am looking for the logic by which FBUDA (structure RV60A) i.e. service render date is getting populated when we are using vf04 and we are not inputting the service render date in the parameters?
    Thanks in advance
    Shubhankar Rai

    Hi Yadav,
    My requirement is to put the billing date in service render date
    I.e. in my scenario the Actual GI date is populating into billing date and also in service render date (komk-fbuda)
    If we enter billing date manually while creating the billing that should be reflect in service render date, in condition level.
    Here it is not happening, it is taking the Actual GI date in service render date,
    Here VBRP-FBUDA is different form komk-fbuda.
    Vbrp-fbuda is have to reflect form Actual GI date only
    My requirement is, I need to populate the billing date into service render date for some conditions only. These conditions are rebate type conditions.
    I can populate the billing date to all conditions not for particular conditions
    In user exit userexit_pricing_prepare_tkomk
    I can move the vbrk-fkdat to tkomk-fbuda
    But this not my requirement
    I need to populate the billing date to service render date to some conditions types only
    In this exit I canu2019t restrict the conditions, I mean in this routine I am not able to select the condition types
    Please advice me where can I write the code to achieve my functionality
    Thanks in Advance
    Jaya.G

  • Customer screen get populated in activity management

    hi any one can help me out in this pls.
    my client requirement is customer screen get populated in activity management.
    my client using activities in crm.They configured customer sceen in activities.In that they have fields like contract validity, type of contract etc.
    how it will get populated when they enter customer number.

    hi
    can u please elaborate ur requirement what exactly we mean be population of activity screen,i din get exactly
    best regards
    ashish

  • Error Occur when trying to select Item List

    Hi Experts,
    Machine gets Hang when trying to select Item List  in  row level PO,SO ect as well as in item master Data when Pressing Star ( * ) .
    and when trying to close this window then error occur as close the program and problem occur on server itself
    Test Database is working fine.
    worked around
    1.Restarted  the machine
    2.Restarted services
    using SBO 9.0 PL 7
    OS-Window 7 Professional
    Please Find the Two Error Attachments
    Please help me
    Thanks & Regards
    Navnath

    Hi
    Check the below thread
    SAPB1 Application Hang and Not responding when i serch item in any document
    With Regards
    Balaji Sampath

Maybe you are looking for

  • Regarding secondary index

    how and when we create secondary indexes and what are the advantages and disadvantages of secondary indexes?

  • CS5 Smudge Tool no longer smudges, have reset prefs

    Hi! I have been pulling my hair out trying to figure why the smudge tool in cs5 no longer behaves like a smudge tool when trying to smudge from a transparent area if the layer into the image part of the layer.. I have deleted my tool preset and the w

  • Customized Search Help

    Dear Firends, In dialog program I want to create Search Help as per our needs , what is the best way to create Customized Search Help . Deepak

  • Album photos size and storage

    Where are my album photos stored physically? Does iTunes compress photos when I copy and paste them into the albums? If not, I will use a lot of space just on the photos... Does anyone know?

  • N95 Cell Broadcast Question ?

    Hi. I've been used to when "Cell Broadcast" is enabled for Topic 050 that on the display is shown from where I receive the signal. In my N95 I'm only getting mesages telling me from where the signal is received but nothing is shown on the display. Ca