Please provide solution for filter

hi  everyone
I'm new to SAP
can anyone please help me in solving the issue of filter
i have tried the method in
http://www.scribd.com/doc/29086467/WDA-Table-UI-Element-Filter
and created a attribute  gt_expenseset of type zhr_emp_reimp_ex(my table)
and
supply function by name supply_expenseset
the code in supply_expenseset is
method supply_expenseset .
* data declaration
  data:
    itab_expenseset            type if_componentcontroller=>elements_expenseset,
    stru_expenseset            like line of itab_expenseset.
* @TODO compute values
* e.g. call a data providing FuBa
  select * from zhr_emp_reimp_ex into corresponding fields of table itab_expenseset.
* bind all the elements
  node->bind_table(
    new_items =  itab_expenseset
    set_initial_elements = abap_true ).
  wd_this->gt_expenseset = stru_expenseset.
endmethod.
and i have written the code in the event handler filter
method onactionfilter .
*   wd_this->table_control->apply_filter( ).
    DATA node_expenseset1                    TYPE REF TO if_wd_context_node.
    data elem_expenseset1                    TYPE REF TO if_wd_context_element.
    data stru_expenseset1                    TYPE wd_this->element_expenseset1 .
    data itab_expenseset                     type wd_this->elements_expenseset.
* navigate from <CONTEXT> to <EXPENSESET1> via lead selection
  node_expenseset1 = wd_context->get_child_node( name = wd_this->wdctx_expenseset1 ).
* get element via lead selection
  elem_expenseset1 = node_expenseset1->get_element(  ).
IF elem_expenseset1 is INITIAL.
return.
ENDIF.
* get all declared attributes
  elem_expenseset1->get_static_attributes(
    IMPORTING
      static_attributes = stru_expenseset1 ).
  DATA:
    node_expenseset                     TYPE REF TO if_wd_context_node,
    elem_expenseset                     TYPE REF TO if_wd_context_element,
    stru_expenseset                     TYPE wd_this->element_expenseset .
*copy values
itab_expenseset = wd_comp_controller->gt_expenseset.
*if filter is defined for expense_set
IF not stru_expenseset1-expense_set is initial.
  delete itab_expenseset where expense_set NP stru_expenseset1-expense_set.
ENDIF.
* navigate from <CONTEXT> to <EXPENSESET> via lead selection
  node_expenseset = wd_context->get_child_node( name = wd_this->wdctx_expenseset ).
node_expenseset->bind_table( itab_expenseset ).
endmethod.
but the error im getting is itab-expenset cannot be converted to me->expenseset
can any one help me please
thanks & Regards
Madhu

Hi panduranga
A Customer Condition Group is maintained in only 2 digits .If you want to go for more than 2 digits then you need to take the help of ABAP'er and you need to go for enhancement
Regards
Srinath

Similar Messages

  • Please provide Solution for Customer Condition Group when defining 2 Chrt's

    Dear Guru's,
    Please provide Solution for Customer Condition Group when defining 2 Charecters or 2 digits.
    I have Completed all possible Combinations like AA,BA,1A,A1,01 to 99 etc.. Total Enteries reach upto 1200+ so I am unble to find no more Combinations( without Special Characters & no chance to increase other than 2 Char/digt)..
    Any body Suggest me any Good Combinations or Proper Alternative....
    Thanks,
    Panduranga

    Hi panduranga
    A Customer Condition Group is maintained in only 2 digits .If you want to go for more than 2 digits then you need to take the help of ABAP'er and you need to go for enhancement
    Regards
    Srinath

  • I am having Samsung GT-S8530 Its BADA Operating System please provide Firefox for this

    The Mobile handset Samsung Wave 2 GT-S8530 Model works on BADA OS developed by Samsung. Kindly provide browser with Flash support for this OS. I love using firefox as its a secured browser please provide solution immediately

    Answered at https://support.mozilla.com/en-US/questions/789084

  • HT201406 my ipad touch screen is not working please give solution for it.

    my ipad touch screen is not working please give solution for it.
    i have connected ipad to itunes and done it restore seetings then also my touch is not working but
    when i connected ipad to i tunes inside functions are working properly but touch screen is not working what can i do

    If you have a screen protector on the iPad's screen, try removing it. If you don't or that doesn't help, and restoring the iPad to factory settings has not corrected the problem, then the iPad probably has a hardware problem and will need to be taken or sent to Apple for replacement.
    Regards.

  • I installed opera Mini Web browser 6.0.1. When open the application only blank page coming. Please provide solution. Kind Regards Nias Ahamed

    I installed opera Mini Web browser 6.0.1. When open the application only blank page coming. Please provide solution. Kind Regards Nias Ahamed

    If you have an internet connection (e.g., Safari works) try here:
    iOS: Troubleshooting applications purchased from the App Store

  • Would you please provide Snote for BI7.0 SP09(BI 7.0 Support Stack 09)

    Hi,
    Would you please provide Snote for BI7.0 SP09(BI 7.0 Support Stack 09).
    What would be the pro and cons if i would go for BI 7.0 SP09
    Is there any issue with data loads and BEx queries if we go for BI 7.0 SP09.
    For one week we will go for BI7.0 SP09(BI 7.0 Support Stack 09) and later we would go for BI 7.0 SP15.
    Please some can advise me on this
    Edited by: Krish b on Jun 16, 2008 9:15 PM

    1. Data flows do not need to be migrated into the 7.x fashion specifically but it is advisable.
    2. no idea
    3. Old Authorization concept of the BW 3.X is not longer supported. Before 7.3 upgrade you have to migrated to new concept.

  • Hi..I m using iphone 5s...i have set password in phone...i came to know that if you click on home button twice rapidly it gets unlock...IOS 8.1...please provide solution on it....

    hi..I m using iphone 5s...i have set password in phone...i came to know that if you click on home button twice rapidly it gets unlock...IOS 8.1...please provide solution on it....

    I suggest that you run software update, after which you should have Safari 6.0.5 - then check Safari - Preferences - Privacy & see that 'Block cookies' is not set to Always.
    Failing that - switch Safari extensions Off via Safari - Preferences - Extensions & test again

  • Please provide mibs for CGNE-c29tor001 and CGNE-c55tor001 switches

    We require SNMP mibs for the following hardware.  
    CGNE-c29tor001  
    CGNE-c55tor001  
    Can you please provide us ? 

    Usually the MIBs are as per the supported IOS or Software running on the device. You can check the software running on the device using show version and check the supporting MIBs on those softwares here :
    http://tools.cisco.com/ITDIT/MIBS/MainServlet?ReleaseSel=0&PlatformSel=0&fsSel=0
    -Thanks
    Vinod
    **Encourage Contributors. RATE Them**

  • Ios7 drains out mobile battery very quickly, please provide solution

    ios7 drains out mobile battery very quickly, please provide solution

    After doing the suggest post above. Make sure ALL setttings on the device such as wifi bluetooth and even fetching email times and all the other battery hogs.. if the issue is still there.. back up and restore the device

  • Hi, please provide POC for HP back to campus offer complaints

    I have bought a lappy model no HP Pavilion g6-2101TX
    and applied for the offer that is extended warranty along with submission of DD and all required documnets, but I havents received any confirmation in the relatrd issue.
    My claim no. is 5210734
    Please is someone can provide me the direct contact point for hp back to campus so that i can know my status of claim
    Thanks

    Hello mayank203,
    I am going to forward this thread to the appropriate team for review. Someone should be in contact with you shortly.
    You will initially be contacted by the in forum private message feature. Please be on the lookout for the message from an HP representative. Follow the instructions in the private message and then we can proceed from there.
    If I have helped you in any way click the Kudos button to say Thanks.
    The community works together, click Accept as Solution on the post that solves your issue for other members of the community to benefit from the solution.
    - Friendship is magical.

  • Please provide logic for schedule lines and material document Quantity.

    Hi ABAPers,
    Please help in the following context.
    Is there any connecting or refrence field for which a particular schedule line item are considerd for the goods reciept of a particular material document.
    Also provide the logic.
    19                    34
    15
    14                   35
    11
    10
    If 19 15 14 11 10 are schedule lines, and 34 35 are two recived quantities,
    Then how can be the possible permutations and combinations logic to find out that, 34 = 19 + 15 and
           35 = 141110.
    Thanks in advance...

    Niles Raut wrote:
    Hello Gurus,
    >
    > This is intracompany STO scenario with delivery. There is one STO for quantity say 1000 pc created in 2008. Delivery and PGI done for 1000 qty in 2008.  Goods are received in receiving plant for qty 1000 in 2008. Now this delivery document is archieved and user has reversed the GR material document in 2010. Now this reversal material docuemnt has zero material qty becasue the delivery was archieved(which is the probable reson)
    >
    > When I want to cancel this reversal material document it gives error that "Qty and / or "delivery completed" ind. or final issue ind. are missing" which is logical since material document has zero quantity.
    >
    > Is there any sap notes or any other way to fix this?
    >
    > Please guide.
    >
    > Regards
    > Nilesh
    Where is actually the problem, if one only reversed 0 quantity?
    Why do you think you need to reverse this reversal again?
    why with year 2010?
    Dont you do anual inventories?  Such stock counts have corrected your stock anyway. if you start cancelling older movements then you create stock inconsistencies again.

  • Please recommend solutions for  Cache Connect and ?

    ---> Solution I
    2 servers create Cache Connect to RDBMS
    ---> Solution II
    1 server create Cache Connect to RDBMS and create active standby pair with another server

    Hi,
    If you only need READONLY caching in TimesTen and all updates will be made in Oracle then you have two main options:
    Multiple READONLY Caches
    For this you have one or more separate TimesTen caches each with a READONLY cache group defined against the oracle DBMS. Each cache can cache different tables/data or they can can cache the same tables/data as required.
    This architecture is very flexible (adding or removing TimesTen servers is very simple) and very scalable. It also provides very good HA; if one cache is down applications can just access a different cache.
    However, due to the asynchronous, time based nature of the refresh from Oracle to Timesten at any moment in times the data in all the caches may not be 100% consistent with each other or Oracle.
    By this I mean the following:
    - Assume that you have 2 (or more) READONLY caches caching the same data from Oracle, with an AUTOREFRESH interval of T1
    - At some time, T2, you update, in Oracle, one of the rows cached by the caches.
    - At some later time, T3, you query the updated row via both caches
    If (T3 - T2) < T1 then the values returned by your query may differ between the caches (depending on where exactly they are in the autorefresh interval when the update is done).
    Active/Standby pair using 2-SAFE replication with READONLY cache group and optional read-only subscribers
    With this architecture you define a TimesTen Active/Standby replicated pair using 2-safe replication and containing the READONLY cache group. 'Scale out' is accomplished in one of three ways:
    1. Adding further A/S pairs with a READONLY cache group
    2. Adding read-only subscriber datastores to the original A/S pair
    3. A mixture of (1) and (2)
    The main advantages of this architecture are as follows:
    1. When 2-Safe is used within the A/S pair, queries to either cache will always return consistent results (i.e. the consistency issue that I described for the first scenario does not exist in this configuration). However, threr can still be inconsitencies in results between the A/S pair and any readonly subscribers (since the replication to them is asynchronous) but given the high performance of TimesTen replication the latency between a change appearing at the A/S pair and the readonly subscribers will typically be a few ms rather than potentially several seconds for the multiple-cache scenario.
    2. The loading on the central Oracle DBMS arising from AuTOREFRESH processing is reduced compared to the multiple-cache scenario. The difference in loading between this solution and the multiple cache solution will be larger as more TT servers are deployed.
    It should be noted that the operational management of this solution is a little more complex than for the first scenario since the A/S pair must be monitored and a 'failover' trigerred if there is some fauilure within the pair.
    Hope that helps a little.
    Chris

  • Please provide code for this logic

    Hi,
    table
    id                    code
    145623          xyz001
    178956          sbh002
    165895          sbi003
    As per this logic,for  every new entity of id a new autogenerated code will be  generated.
    This (xyz or sbh or sbi) code should be fetched using select query (select b_code into table.code from cmp where c_id =145623)
    using id(145623). And 001,002 is autogenerated code and should be concentrated with xyz ex: xyz001
    Here we can use trigger with sequence
    Could you please help me..

    How many times you will ask same question???
    You need to use pl/sql block for your requirement   some thing like this:
    create sequence and add into pl/sql block like:
    >>Select max(count) into temp_var where id=’sbi’
    >>New_code:=’sbi’+temp_var;
    Now you need to optimize it...
    Thanks...

  • Hi Experts COuld you please provide docs for understanding SD functionality

    Appriciate your assistance.
    Viswanath

    Hi Venkat,
    Links for sd:
    http://www.sapgenie.com/abap/tables_sd.htm
    Please check this SD online documents.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCSD/CAARCSD.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_SD.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSD/BCBMTWFMSD.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOLISPLN/LOLISPLN.pdf
    Also please check this SD links as well.
    http://help.sap.com/saphelp_47x200/helpdata/en/92/df293581dc1f79e10000009b38f889/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/dd/55f33e545a11d1a7020000e829fd11/frameset.htm
    http://www.sap-basis-abap.com/sapsd.htm
    http://www.sap-img.com/sap-sd.htm
    http://www.sapgenie.com/abap/tables_sd.htm
    http://searchsap.techtarget.com/featuredTopic/0,290042,sid21_gci961718,00.html
    http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/SD_tutorial.html
    All help ebooks are in PDF format here
    http://www.easymarketplace.de/online-pdfs.php
    see this link
    http://www.sap-basis-abap.com/sd/sap-sd-processing-flow.htm
    <b>Reward Points for helpful answers</b>
    Satish

  • Help from a Moderator please, possible Solution for Speakers that do not work with X

    Hi!?I think i know a way to get the X-Fi to work with the Inspire 5700 Digital. I have no evil intend, but i would like to post a link to a competitiors product.Well actuall the product itself is not competition since i could not find a creative labs equivalent to it. The idea is to replace the Inspire Digitals Control unit with an alternati've Decoder, while keeping your all of you speakers and stands and the subwoofer. This would allow the X-Fi to be used perfectly. Games would run in 5. via an analoge connection, and DVD would run?in 5. Dolby Digital and DTS via an digital connection. That way, even Windows Vista would work perfectly since games would be covered by Alchemy and DVD's would be decoded indipendently from the computer by the decoder box. The price for this Decoder Box with an optical cable and a remote control is 30 ? and it can be found on the website of germanys most popular computer speaker systems manufacturer... I will post a link to a picture that shows the System now, and it would be very nice of the moderators to not remove this link since it actually would help people to decide to buy an X-Fi. Thanks?http://www.teufel.de/images/zubehoer/dec_fin.jpg?While i have not tried it out myself yet, i see no reason why this should not work. If anyone does, please explain why.Message Edited by Force on 06-4-200702:58 PM

    Hi Jerry,
    The other way around. If you UNCHECK the Windows Event Log, then the media buttons wouldn't work.  If you then CHECK the box again with the checkmark, then the media buttons worked.  I have two of the m645-s4070's at home from Best Buy, I'm returning one, I tested this on both systems and it's the same result.
    I've checked the box again and not unchecked anything in Msconfig - services.  I thought i read somewhere that it wasn't necessary for that to run.  I guess I shouldn't mess around with those. 
    Anyway, it would be very interesting to know what the correlation between the Windows Event Log and the media buttons were.  I read some people were having trouble starting their wireless too since it seems the only way to do that is through those buttons above the function keys.  Perhaps they did the same thing by unchecking the Windows Event Log...

Maybe you are looking for