TA BP - Exit to filter BPTAXTYPE in table DFKKBPTAXNUM (OR bupt)

Hi,
any idea how to validate user input for the taxtype? Is there any user-exit oder badi.
System ERP and CRM.
Transaction BP -> "Identification" -> Taxtype.
Or any Idea how to check via TA: BUPT
Thanx in advance?
T

for duplicate entries
select banfn
WERKS
matnr
menge
fistl
geber
from eban
into table iteba
where fistl = p_fistl
AND geber IN s_geber.
IF NOT iteba[] IS INITIAL.
select BWKEY
bukrs
from t001k
into table itt00
for all entries in iteba
where BWKEY = iteba-WERKS.
ENDIF.
"<<<<<<<<<<<<
sort iteba.
delete adjacent duplicates comparing all fields.
"<<<<<<<<<<<<
IF NOT iteba[] IS INITIAL.
SELECT banfn
matnr
FROM eban
INTO TABLE itmat
FOR ALL ENTRIES IN iteba
WHERE matnr = iteba-matnr
AND banfn = iteba-banfn.
ENDIF.
ENDFORM. " datafetch

Similar Messages

  • Re: Custom Filter for a table

    Can someone point me to a tutorial for overriding the FilterableQueryDescriptor to build custom filter for a table?

    In the example you provided, the querylistener is invoked only when the user types in the filter field of the table. How do I invoke the querylistener without the user typing in the filter field? For example, an automatic filter without the user typing in the filter field of the table. In other words, a pre-filled filter field. When the table loads at run time the filter field is already filled with the letters "Sa" without user intervention.
    Edited by: John on Dec 28, 2011 10:24 PM
    Edited by: John on Dec 28, 2011 10:51 PM

  • How can I hide filter row in table?

    Hi experts,
    I've made a table with filter but as I need to use DropDownByIndex UI element for one of my filter cell editors I've added a fixed top cell to this column. And when the onChange action of this dropdown is called I just pass its value to the filter attribute and fire the filter action. But now I have to filter cells on this column - the fixed one and the default one that appears when i bind the filterValue property of the column. My question is how can I remove or hide this defsault cell and use (see) only the fixed top cell that I've added.
    Your help will be appreciated and granted with points

    Hi guys,
    Thanks for your replies but I found other solution to my problem. I simply create filter for hidden columns and I'm using only the fixed top cells as filter. I do that by passing the cell values to the filter of the table and fire the filter action. This way I can use any type of UI for my filter (fixed top) cells.

  • Search for any text in column filter on adf table

    Hi,
    I have column filter on adf table where I can search for any text starting with by default.
    For e.g. you have data my name is sam you can search on table column filter by my and you get the results my name is sam
    but I want to search by any word let's say sam and I want to display same result.
    Thank you,
    Savan Shah.

    You probably can use wildcards (% and _ )
    for example %my%
    Dario

  • Filter selection in table control

    hi
    does anybody implemented filter option using table control..?
    currently i am displaying bunch of records in my tbc and if user clicks on Filter button other screen will be popup and where he can give his selection.if once he done then i have to filter my internal table and display only those records.
    is it possible..?
    Thanks,

    Hi,
    In built functionality is available in ALV you can use ALV instead of table control.
    or
    check for function module STC1_POPUP_WITH_TABLE_CONTROL
    aRs

  • To add a filter in a table in wd java

    Hi All,
    I have a functionality to add a filter in a table. I have read a few posts on this but unable to understand it.
    Please help me out.
    Thanks,
    Shubham Gupta

    Hi,
    Please look at this [document for table filter and sorting functionality|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0cf0997-2e08-2d10-b08e-964a2c04c47a?QuickLink=index&overridelayout=true]
    Hope this is help full for you,
    Regards
    Vijay

  • How to Control the width of the Filter row in Table View

    Hi !
    I have a Table View with filter='application'. The filter works fine but I am not able to control the width of the columns of the tableview .
    On filtering, if there are not items in the table view the columns shrink to the minum width....and  it looks very odd.
    Can you help me how to control the width of the Filter-Row in Table Veiw.
    Thanks and Best Regards,
    Bindiya

    Hi Raja,
    "FIXEDCOLUMN" did not help in the width of the column, but it just showed all the rows merged in the column.
    I have a cloumn called "COUNTRY" and its width is set to "20". The Filter of the column "COUNTRY" is a dropdownlist whos value is update with new values.
    On filtering if there is any row visible then the column width is adjusted to the maxmimum length of the dropdownlist ( this is because of the "EDIT" attribute in column definition ). But if there is no rows visiblel for the selected filter value then the filter row shrinks to the width = "20" and the dropdownlist is not visible completely.
    Need to know how to control the width of the FILTER column.
    Thanks and Best Regards,
    Bindiya

  • Appraisal exit BADI filter translations.

    Hi Everyone,
    I hope you can help me, I am trying to find out where translations for the short text of a BADI filter are done. As I understand it, for the BADI to be available in the appraisal it must exist in table T77HAP_FLT_EXI. The translations for the short texts of these filters are stored in table T77HAP_FLT_EXI_T. I can't figure out where these translations are maintained though. We are trying to add Japanese translations (after having done a unicode upgrade). We use 5 other latin based languages all of which I can see in table T77HAP_FLT_EXI_T but I am not sure how they were translated.
    I have tried looking at the BADI itself and can not find anthing regarding translation of the filter short text. I have also tried looking on the appraisal document for translations regarding exits with no luck. I have tried editing the basic settings via transaction OOHAP_BASIC where much of the translation around the appraisal are done but when you try to translate an exit the menu item is grayed out.
    Any help would be highly appreciated.
    Thanks in advance,
    Max

    Let me add my thanks to Sukant as well. My requirement was to exclude certain Business Partner Groupings from being uploaded to R/3. I was hoping that the filters applied in R3AC1 would actually have some effect, but they didn't. I don't understand that part yet. SAP must have had something in mind when they allowed filters for both directions of data transfer in R3AC1.
    Anyway, as Sukant suggested, I created a ZBUPA_MWX_BDOC_CREATE_MAIN function module and simply added the following code snippet:
    * Start of custom code to check whether BP grouping = 0003/0008
      LOOP AT ct_bp_extern into ls_one_bp.
        IF ( ls_one_bp-central_data-common-data-bp_control-grouping NE '0003' ) AND
           ( ls_one_bp-central_data-common-data-bp_control-grouping NE '0008' ).
          DELETE TABLE ct_bp_extern[] FROM ls_one_bp.
        ENDIF.
      ENDLOOP.
    * End of custom code to check whether BP grouping = 0003/0008
    Of course I had to create a copy of the function group, copy the includes and global variable declarations from the main program etc. But I was hoping that SAP would make such a simple filter more configurable rather than require coding, no matter how simple. If someone else with more knowledge comes across this thread in the future, please update it to let us know if we are asking for too much to have the filter option provided in R3AC1 actually work (for CRM --> R/3 data transfer).

  • Any way to use filter to exclude tables in navagation pane?

    Is there any way to use filter to exclude a set of tables from the table list in the navagation pane? I have a number of tables (15+) starting with the same prefix eg. AB123 that I would like eliminate from the list. They sort right to the top and I always have to scroll down, and go through the show more dialog to see the entire list.
    I am sure I'm missing something, but not sure what. Help Center has nothing to offer.
    Thanks
    Glenn

    This has been mentioned on the forum before - basically the need for more elaborate ways to filter (multiple conditions as well as 'not like'). It is on our list for future consideration, meaning post-production.
    -- Sharon
    Message was edited by:
    sbkenned

  • User exit/BADI for updating custom table in MB1B transaction-

    Dear All,
    When performing a material to material conversion in MB1B transaction for  batch managed materials,system is creating a new batch by copying the characteristics of issuing material/batch.The details of the new batch created are updated in standard batch tables(MCH1,MCHA,MCHA).
    The requirement is when the new batch is created,the batch details and characteristics has to be stamped in a custom table.
    Kindly suggest a user exit/BAIi available for updating the same in the custom table.
    Regards,
    Deepak

    Deepak, Exits for MB1B are
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.

  • Copy and Paste does not work in filter statement of table data

    I am using SQL Developer 3.0.04. I can not copy nor paste in the filter criteria when watching or editing table data. Is it a bug or do I have to change some settings?

    Hi Sven,
    I did a bit more research and now I hope we will be talking about the same thing. Bear with me and let me clarify. In terms of my prior comment about the process necessary to copy a value from a data cell into the clipboard, I was totally off-base. Once the focus is on a data cell, all one need do is Edit menu|Copy or ctrl-c. I have no idea why I had trouble with that yesterday.
    Anyway, getting back to what's relevant with regard to your issue:
    1) If something is in the clipboard, then both Edit menu|Paste and ctrl-v work for a data cell target.
    2) If something is in the clipboard, then Edit menu|Paste fails for a data tab filter target.
    3) If something is in the clipboard, then ctrl-v works for a data tab filter target.
    So obviously conditions exist where pasting to the data tab filter can work. But here is a scenario where I found a problem similar to what you describe:
    1) For the EMP table in SCOTT, display all employees in the data tab.
    2) Apply a filter. For example, filter on JOB='SALESMAN'. Now 4 salesman, all in dept 30, are displayed.
    3) Next you decide to view only employees in dept 30.
    4) Copy the value 30 from the DEPTNO column. Carelessly put the focus on ENAME column in one of the data tab rows.
    5) Next focus on data tab filter to blank out JOB='SALESMAN' predicate. Drop down to select DEPTNO. Append an = sign.
    6) Finally Edit menu|Paste. Instead of seeing DEPTNO=30 in the filter, we see...
    7) The filter contains nothing and is disabled (greyed out).
    8) The ENAME column of the prior focus now contains the value 30 rather than the a salesman's name.
    Your case may be different/more complex, but at least this simple case demonstrates in a repeatable fashion what I noticed but didn't describe very well yesterday. I have logged the following internal bug:
    Bug 12753266 - EDIT MENU PASTE INTO DATA TAB FILTER DOES NOT WORK AND MAY DISABLE THE FILTER
    Using the rollback button, blanking out any filter value and hitting enter displays all original employee rows.
    Regards,
    Gary

  • Filter Option in Table Control

    Hi Folks ,
    I am working on a table control , i need to add Filter functionality same as of ALV filter
    i tried with suggestion given on SCN
    Following is the code that i tried, but its not working, no popup with FM LVC_FILTER_DIALOG
    please help me with sum more suggestion or sample code
    DATA : cp_vbak LIKE it_vbak OCCURS 0.
      DATA : it_fieldcat1 TYPE lvc_t_fcat,
             wa_fieldcat LIKE line of it_fieldcat1,
             it_group1 like  lvc_s_sgrp occurs 0,
             ls_group LIKE lvc_s_sgrp,
             filter_ranges TYPE lvc_t_filt.
    DATA: counter TYPE i.
      counter = counter + 1.
      wa_fieldcat-col_pos    = counter.
      wa_fieldcat-fieldname  = 'VBELN'.
      wa_fieldcat-tabname    = 'IT_VBAK'.
       APPEND wa_fieldcat TO it_fieldcat1.
      CLEAR wa_fieldcat.
      counter = counter + 1.
      wa_fieldcat-col_pos    = counter.
      wa_fieldcat-fieldname  = 'VKORG'.
      wa_fieldcat-tabname    = 'IT_VBAK'.
      APPEND wa_fieldcat TO it_fieldcat1.
      CLEAR wa_fieldcat.
      counter = counter + 1.
      wa_fieldcat-col_pos    = counter.
      wa_fieldcat-fieldname  = 'VTWEG'.
      wa_fieldcat-tabname    = 'IT_VBAK'.
      APPEND wa_fieldcat TO it_fieldcat1.
      CLEAR wa_fieldcat.
      counter = counter + 1.
      wa_fieldcat-col_pos    = counter.
      wa_fieldcat-fieldname  = 'SPART'.
      wa_fieldcat-tabname    = 'IT_VBAK'.
      APPEND wa_fieldcat TO it_fieldcat1.
      CLEAR wa_fieldcat.
    ls_group-SP_GROUP = '0001'.
    ls_group-TEXT = 'VBELN'.
    append ls_group to it_group1.
    clear ls_group.
    ls_group-SP_GROUP = '0002'.
    ls_group-TEXT = 'VKORG'.
    append ls_group to it_group1.
      cp_vbak[] = it_vbak[].
      CALL FUNCTION 'LVC_FILTER_DIALOG'
        EXPORTING
          it_fieldcat           = it_fieldcat1
          it_groups             = it_group1
    *   IS_FILT_LAYOUT        =
    *   I_NO_DIALOG           =
    *   IT_EXCEPT_QINFO       =
        tables
          it_data               = it_vbak
        CHANGING
          ct_filter_lvc         = filter_ranges
    * EXCEPTIONS
    *   NO_CHANGE             = 1
    *   OTHERS                = 2
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *Need to code more for Filter the internal table

    Hi Pihu,
    I am also trying to implement the filter functionality in a Table Conntriol.
    I have used following two function modules to handle the filter option.
    1. CEP_DOUBLE_ALV: You will get the pop up to select you filtering fields.
    2. LVC_FILTER_DIALOG: Second pop up to select the filtering data for the fields selected.
    But the second FM is giving an error 'filter internal error : 15'
    If u have already implemented this functionality, can u give me the sample code.
    Thanks in advance,
    Sai

  • SQL Developer 2.1 EA - count rows with filter on a table

    This is a small problem that I came across today while using 2.1 EA. I opened a table and did a filter to narrow down the results of the table. Then when I right clicked on the search results and clicked on 'Count Rows'....I get the count of the rows in the table and not my search results.
    Is this a feature or a bug?
    Thanks,
    Mike

    In EA2, we get both the total and the filtered total, nice.
    Only remark is we don't get a progress indicator anymore, and thus can't cancel a query that might take up hours to finish!
    Please log a bug for this.
    Thanks,
    K.

  • Using Field Exit for a field in table KNA1

    Hi everyone,
    I am working on a ticket, the problem is we have a field called STRAS in table KNA1 which holds the address of the customer but now we want to increase the length of this field from 35 charachters to 55 due to some business requirement. SO my question is if this can be done using Field Exit and if yes.. can you please tell me how as I have never used Field exits.
    Thanks,
    Rajeev

    Hi,
    Using field exit, you can only validate the data entry for the field (either globally or on a particular screen field)
    This is usually done by implementing the field exit for the data element corresponding to the field(in your case STRAS_GP)
    Hence you cannot increase the length of the field using the concept of the field exits...
    Please note that after SAP R/3 4.6c, SAP has stopped the creation of field exits and there will be no support for any new ones created.
    Regards
    Shiva

  • Sorting issue in Pojo Datacontrol Filter-Paging ADF Table

    hi,
    Created and af:table using sample given at ADF Code Corner 037. How-to build pagination into ADF POJO Data Control(http://www.oracle.com/technetwork/developer-tools/adf/learnmore/37-adf-pojo-pagination-169179.pdf).
    with this sample, able to get pagination and implemented filtering by overriding queryListener.
    but there is an issue with sorting, even though sortListener() is implemented, when a column is sorted from UI ..
    First ADF inbuilt sort is getting called, getAllDepartments(int index, int range) is invoked TotalRecords/Range times.
    Second sortListener() method is getting invoked.
    is there any way to skip the first step? so that i can write my own Sort logic in SortListener() and trigger the Iterator progrmatically?
    -thanks

    Hi Arunkumar,
    Thanks for your reply. But for custom table, how to create that filter model ?
    When i create the table by dragging it from view, filter model is assigned by default to query descriptor.
    But for this case, how to set the filterModel attribute ? Do i need to create any custom filter model class here ?
    If yes, how to write that. let me know any pointers.
    Please let me know in this regard.
    Thanks,
    Mahipal

Maybe you are looking for

  • Change submit destination based on form selection

    Is it possible to change the recipient of a form based on the info that was filled? for example checkbox A is selected -> form emailed to recipient A checkbox B is selected -> form emailed to recipient B checkbox A and B is selected -> form emailed t

  • Issue while doing goods issue

    Daear All, while doing goods issue getting the error message : Acct. 200510 for trans./event key BSX, postable directly. the same in goods receipt also. please help me on this. Best Regards, Venkat.

  • Cannot print in landscape mode?

    Using Firefox 31.1.0 on CentOS 6 various HP Laserjet printers Cant print in Landscape mode. Firefox is on the server and users connect to the server via LTSP thin clients and we prefer to use Firefox for this. One of our users needs to print in Lands

  • Indent and spacing in the paragraph format in Smartstyle .

    Dear all I have created the smartstyle , and defined the TAB formatting. The window defined is having following details. The first tab is at 3.5cm and second tab is at 4.5 cm (the exact placment on the pre-printed invoice) Total Value,,,,,,&totval(10

  • Can't settle an internal order by amount

    My company wants to settle internal orders to a fixed asset by amount instead of equivalence number or %. Can anyone describe in detail how to do this please.  Thanks and regards Walter