POSTING_INTERFACE_CLEARING - deselecting lines

We are using POSTING_INTERFACE_CLEARING to perform clearing. We need a way to restrict (deselect) certain line items (as you would do in FB05 manually by double-clicking). Is there a user exit / BADI that performs this functionality?
Any other suggestions? 
Thanks!

Hi Michal,
      We are using this FM to post a lot of different clearings and by our experience the best way is creating a more complex selection criteria in order to obtain just the Open Items you need.
Enrique

Similar Messages

  • Cannot deselect line of a table element

    Hi all,
    I use a table in my WD abap. I have a simple problem : once I've selected a line, I cannot deselect it. Is it a normal behaviour ? I want the user to be able to delesect the line, so that no line of the table is selected.
    Here are my settings :
    - Context node :
    Cardinality : 0..n
    Selection : 0..1
    Initialization lead selection : blank
    Singleton : blank
    - Table element :
    selectionChangeBehaviour : auto
    selectionMode : auto
    Thanks for your help.

    Thanks Saud, it helped me a lot.
    Finally I was forced to add some code to deselect the line. I think it's strange to have to do this, but I don't find any alternative...
    Here's the code I put in the ONSELECT action of the table :
    DATA : ls_old_ev_param TYPE wdr_event_parameter,
             ls_new_ev_param TYPE wdr_event_parameter.
      DATA : ls_old_sel TYPE wd_this->element_histo,
             ls_new_sel TYPE wd_this->element_histo.
      DATA : lo_element TYPE REF TO cl_wdr_context_element.
      DATA : lv_index TYPE i.
      FIELD-SYMBOLS : <ls_data> TYPE ANY.
      DATA : lo_node_table TYPE REF TO if_wd_context_node.
      READ TABLE wdevent->parameters
        WITH KEY name = 'OLD_LEAD_SELECTION'
          INTO ls_old_ev_param.
      IF sy-subrc = 0.
        ASSIGN ls_old_ev_param-value->* TO <ls_data>.
        IF <ls_data> IS NOT INITIAL.
          lo_element ?= <ls_data>.
          CALL METHOD lo_element->if_wd_context_element~get_static_attributes
            IMPORTING
              static_attributes = ls_old_sel.
        ENDIF.
      ENDIF.
      READ TABLE wdevent->parameters
        WITH KEY name = 'NEW_LEAD_SELECTION'
          INTO ls_new_ev_param.
      IF sy-subrc = 0.
        ASSIGN ls_new_ev_param-value->* TO <ls_data>.
        IF <ls_data> IS NOT INITIAL.
          lo_element ?= <ls_data>.
          CALL METHOD lo_element->if_wd_context_element~get_static_attributes
            IMPORTING
              static_attributes = ls_new_sel.
        ENDIF.
      ENDIF.
    *** Same selection -> deselection
      IF ls_old_sel-objid = ls_new_sel-objid.
        lo_node_table = wd_context->get_child_node( 'HISTO' ).
        CALL METHOD lo_element->if_wd_context_element~get_index
          RECEIVING
            my_index = lv_index.
        CALL METHOD lo_node_table->set_selected
          EXPORTING
            flag  = abap_false
            index = lv_index.
        lo_node_table->set_lead_selection_index( lo_node_table->no_selection ).
      ENDIF.
    Edited by: Julien999 on May 31, 2010 3:56 PM

  • How to display the checkboxes in the output

    Hi,
    I need to display checkboxes in the output. Once i select the check box it should
    display additional info of that field in anothe list.
    another senario:
    I want to check all the checkboxes at a time.
    i want to uncheck all the ch-boxes at time.
    Can i have some explanation on this with some sample code.
    Thanks,
    Srik

    REPORT  ZTESTPROG5                              .
    TABLES: MARA.
    Types:begin of type_mara,
          matnr type mara-matnr,
          mtart type mara-mtart,
          meins type mara-meins,
          end of type_mara.
    Types: begin of type_mard,
           matnr type mard-matnr,
           werks type mard-werks,
           lgort type mard-lgort,
           labst type mard-labst,
           insme type mard-insme,
           end of type_mard.
    data: it_mara type table of type_mara,
          wa_mara type type_mara,
          it_mard type table of type_mard,
          wa_mard type type_mard.
    data: check value space,
          ucomm type sy-ucomm,
          lines type i.
    select-options: s_matnr for mara-matnr.
    initialization.
      MOVE: 'BT'       TO s_matnr-OPTION,
            '100-100'  TO s_matnr-LOW,
            '100-500'  TO s_matnr-HIGH.
      APPEND s_matnr.
    start-of-selection.
      set pf-status 'ZSTATUS'.
      select matnr mtart meins from mara
      into table it_mara
      where matnr in s_matnr.
    end-of-selection.
      loop at it_mara into wa_mara.
        write:/ check as checkbox, wa_mara-matnr, wa_mara-mtart,
                wa_mara-meins.
        hide wa_mara-matnr.
      endloop.
      lines = sy-linno - 1.
    at user-command.
      ucomm = sy-ucomm.
      case ucomm.
        when 'REPORT'.
          set pf-status 'ZSTATUS' excluding 'REPORT'.
          do lines times.
            read line sy-index field value check.
            if check = 'X'.
              select matnr werks lgort labst insme from mard
              into wa_mard
              where matnr = wa_mara-matnr.
                write:/ wa_mard-matnr, wa_mard-werks, wa_mard-lgort,
                        wa_mard-labst, wa_mard-insme.
              endselect.
            endif.
          enddo.
        when 'SELECTALL'.
          lines = lines + 1.
          do lines times.
            READ LINE sy-index FIELD VALUE check.
            IF check = space.
              check = 'X'.
              MODIFY LINE sy-index
                          FIELD VALUE  check.
            ENDIF.
          enddo.
        when 'DESELECT'.
          lines = lines + 1.
          do lines times.
            READ LINE sy-index FIELD VALUE check.
            IF check = 'X'.
              check = space.
              MODIFY LINE sy-index
                          FIELD VALUE check.
            ENDIF.
          enddo.
      endcase.

  • Using ALT+cursor function of apple keyboard for windows program

    Not sure where to ask this question, but here goes. My company uses a web based transportation routing program I can access from my home computer, (which is a Mac using Mac, not windows).
    Using the program requires the ability to often select or deselect lines from a group of lines to send to be routed. Using a Microsoft keyboard I would simply press ALT and then select with the cursor the lines I want. When I am using my apple keyboard this does not work.
    I know that the command key takes the place of the ALT key, so you would think that I would simply press Command and select with the cursor, but this does not work. Therefore all I can do is select all or none.
    Anyone have a idea of another combination of keys that will work for this?
    Thanks
    I am using the standard apple keyboard with the numeric keys

    Not sure why that isn't working. I have a page displaying below from the Apple Support website, with three different lines selected:
    The purple highlighted lines are all selected independently of one another. Maybe it is the type of webpage or data?
    GB

  • Default deselected GR indicator in service PO line item

    Is there a way to have the Goods Receipt indicator default to unchecked/deselected for Service line items on the PO (Item Category D)? Thanks for your responses.

    Thank you for the link. I did attempt to maintain T163 via SM30. I had to first Find Maintainance Dialog and selected V_T163Y. It defaults to Display mode, and it only allows Change mode on the first Item Categories: Overview screen. When I go to the detail screen for 9/D/Service and switch from Display to Change, it kicks me back out to the Overview screen. Is this an authorization issue with my ID? Otherwise, I am not sure how I would change those settings for the item category. Thanks again for the help.

  • MIRO Deselect and select Multiple line items

    Hi All,
    At the time of miro we are taking the reference of PO. In PO we have 1200 lines related to Custom duty, additional custom duty, ecess, clearing and forwarding charges and freight.
    we want to do the MIRO for custom duty, additional duty and freight only, for these we have 600 line items. we need to select these lines one by one. this is time taking job.
    can any body tell me that how we can select these line at once.
    Regards all

    Hi,
    You can make use of Planned Delivery cost in the PO Refernce Tab. This will cover all other costs other than you basic material or service cost.
    Regards,
    amit

  • F110 Issue Split of Vendor line items in Clearing document

    Hi SAP Gurus,
    I have a strange problem with F110 payment programme when i am clearing the single  vendor line items example 4 line items through F110 system is spliting 4 line items into 4 different clearing doucments rather than creating one clearing document and showing an error 098 in document payment list.
    Can you please guide me in this issue
    Regards
    Srini

    HI
    This may happen because of any of the following settings:
    1) in the vendor master, payment transaction company code area, "individual payment" check box is selected
    2) "single payment for marked item" check box is selected in payment methos company code.
    Deselect the check box for making single payment for multiple open item

  • Safari 5.1 doesn't open PDFs in-line

    Hi. My Safari doesn't open PDF files in-line. It is just downloading them and after that opens them in Preview. No Adobe Reader has ever been installed. Need your help. Thanks

    Hello Tyj
    Go to System Preferences / General. Deselect: Restore windows when quitting and re-opening apps under Number of recent items.
    That should do the trick
    Thanks

  • Balancing field "Profit Center" in line item 002 not filled and VF02

    Dear All,
    Below mentioned error we got in VF02 while releasing the billing to Accounting document.
    In this case SO has created. Later with out delivery has been created Billing ( VF01) And Later Releasing through VF02 ( For only 1 specific Billing type )
    But we have CRM Integration also from CRM 7.0 TO ECC 5.0 ( New GL Is there in ECC 5.0)
    Here alternative solution is there i.e In OKKP T code if we deselect Profit center Button Issue will be resolved from SD side ( PC Issue )
    Then problem will come to CRM with another message as ( Account-based PCA not active in year 2011 in controlling area 1001 (Notification I KM 029) Message no. CRM_ORDER_MISC 060)
    Balancing field "Profit Center" in line item 002 not filled
    Message no. GLT2201
    Diagnosis
    The field Profit Center marked as balancing is not filled with any value in line item 002, even after document splitting.
    System response
    The document cannot be posted.
    Procedure
    First check your entries.
    Additional causes could be:
    No value can be derived for this field from the current document data.
    You have entered a document type that is not designed for this business purpose.
    Please help on same.

    Hi
    If i am selecting that indicator in 0KE5 Problem will be resolved in CRM.
    But VF02 Is getting this Balancing field "Profit Center" in line item 002 not filled  problem.
    With out selecting that indicator please suggest. From Last 5 years we are using this Production System.
    0KE5 indicator has not selected from 2005 to 2011 also.
    CRM Is is process. we have selected in QA, But problm occurs to VF01 and CRM Process.
    Simply if i select 0KE5 CRM problm will resolved.
    Later SD Problem will come into the pictute.
    Note: In PD1 System we hav not selected for 2011 also.
    Pls put more inputs.

  • When I send a Group message from my address book, the entire group gets listed in the "To" line. How do I get each member to receive the message individually without listing all members? Its just messy is all.

    When I send a Group message from my address book, the entire group gets listed in the "To" line. How do I get each member to receive the message individually without listing all members? Its just messy is all. Any help is greatly appreciated.

    Hey Grupo Castillo,
    Thanks for the question. You can actually configure this behavior from Mail preferences:
    1. Choose Preferences from the Mail menu.
    2. Click Composing.
    3. Deselect the checkbox for "When sending to a group, show all member addresses".
    When you send an email to the group, only the groups name will be seen.
    Mac OS X: Mail - How to Hide Address Book Group Member Names When Sending an Email
    http://support.apple.com/kb/TA21082
    Thanks,
    Matt M.

  • Can't get mac line back online - a continual problem

    Hello,
    I've read most all the posts I can find on this subject.  Mac air mac mail goes offline and I just can't get it back on.  I've changed nothing with MY mail, but all of a sudden it just goes offline, then I cannot get it back online.
    I have tried "network diagnostics" via going to System Preferences > Network > and my computer is on line.
    If I go to the Mail Connection Doctor, the top line says: Mail was able to connect to the Internet; however, all my accounts have red dots, not green ones, AND the actual "network diagnostics" option is grayed out.
    On every email account I have it says: Could not connect to this SMTP server.  Check your network connection and that you entered the correct information in the Account preferences (nothing has changed so all information is correct). Also verify that the server supports SSL.  If it does not, deselect the "Use SSL" checkbox in the Advanced tab of Account preferences.  I have tried it both ways, checked and unchecked. My server supports SSL, and it was always set with that checked.
    I was getting and sending mail a couple days ago.  Nothing has changed except Mac mail and not being able to get it back online.  And this happens all the time.  It gets so old.
    I also went to Mailbox > Take all accounts ON LINE > but nothing happens when I click on that.  I cannot click on take it OFF LINE because it's grayed out.  I thought I'd toggle back and forth and see if it helps.
    So everything is just grayed out, yet I am connected to the internet and conneted to my WIFI and nothing has changed from a couple days ago, EXCEPT my mail is now OFFLINE and I can't send or receive.  Well, the "mail is offline" is grayed out, and "take all mail online" is not. All the accounts have the little triangle icons next to them.  If I click on those it says Connection Failed: 5 accounts have connection failures. Click the indicator next to each account for details.  Then I get two options "stay offline or take all accounts online. 
    So many conflicting messages -- it's online, take it off, it's off line, take it on, unable to connect to internet (except I'm here connected to the internet), network diagnostics grayed out, yet status tab in the bar across the top says "OFFLINE" and there is no way to put it back online.
    Really crazy! This happens all the time -- all the time.  And then I post and browse and google and nothing gets accomplished and I forget about it and use other computers and devices to send email.  Then one day it'll just start working again.
    How can I fix this once and for all and stop this nonsense of having it goo offline and not being able to get it back on using ALL the options available?
    I need to add: I have deleted the account and re-added the account, but I always get the mail message:
    The MobileMe IMAP server “mail.me.com” is not responding. Try checking the network connection, and that the server name is correct. Otherwise, the server might be temporarily unavailable. If you continue, you might not be able to receive messages.
    Mobile Me is non existent now, but that is what MY computer message tells me.  And again, my network connection is fine, just not for EMAIL.
    Thanks for any help.
    Message was edited by: Pamela Kinann

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click  Log in.
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode. Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • How do I install XCode on Lion with Command Line and UNIX development support?

    I installed Xcode via the App Store in Lion.  I try to install Macports, latest relase but get this error messagE:
    "Xcode is not installed, or was installed with UNIX Development (10.5+) or Command Line Support (10.4) deselected."
    I am not presented with an option for selecting or deselecting different parts of Xcode, does anyone know how I can make sure I have these above
    parts installed on Lion?

    where would it have put the installer?  I goto /Developer/Applications and run Xcode and it says I have version 3.2.5(1760).  I looked in Downloads and didn't see an installer.

  • Trying to hide/show all series in legend with click on 'deselect' option.

    Hi Friends,
    I am trying to hide/show all series in legend with click on 'deselect' option. Please see the code below, let me what change i need to do:
    $(function () {
    $('#container').highcharts({
    chart: {
    type: 'line',
    marginRight: 130,
    marginBottom: 25
    title: {
    text: 'Monthly Average Temperature',
    x: -20 //center
    subtitle: {
    text: 'Source: WorldClimate.com',
    x: -20
    xAxis: {
    categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
    'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
    yAxis: {
    title: {
    text: 'Temperature (°C)'
    plotLines: [{
    value: 0,
    width: 1,
    color: '#808080'
    tooltip: {
    valueSuffix: '°C'
    legend: {
    layout: 'vertical',
    align: 'right',
    verticalAlign: 'top',
    x: -10,
    y: 100,
    borderWidth: 0
                   plotOptions: {
    series: {
    events: {
    legendItemClick: function(event) {
    //var visibility = this.visible ? 'visible' : 'hidden';
    // (!confirm('The series is currently '+
    //visibility +'. Do you want to change that?')) {
    // alert ('other legend');
                                                                     if (this.name == 'Deselect')
    alert('hi');
    series.hide();
    //return false;
    series: [{
    name: 'Tokyo',
    data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6]
    name: 'New York',
    data: [-0.2, 0.8, 5.7, 11.3, 17.0, 22.0, 24.8, 24.1, 20.1, 14.1, 8.6, 2.5]
    name: 'Berlin',
    data: [-0.9, 0.6, 3.5, 8.4, 13.5, 17.0, 18.6, 17.9, 14.3, 9.0, 3.9, 1.0]
    name: 'London',
    data: [3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8]
    name: 'Deselect',
    data: []
    Edited by: oracle_student_777 on Mar 27, 2013 10:05 PM
    Edited by: oracle_student_777 on Mar 28, 2013 4:08 AM
    Edited by: oracle_student_777 on Mar 28, 2013 8:59 PM
    Edited by: oracle_student_777 on Mar 28, 2013 11:15 PM

    More generally, Show All will only show when the Organizer isn't showing all your photos.  For example, if you click on a tag to show just the photos with that tag, the Show All button will show up.
    Alas, what I said above isn't completely true.   There are a number of situations where this rule doesn't hold:
    - When you've restricted the photos shown to a date range using Find > Set Date Range.
    - When you've restricted which media types to show using View > Media Types.
    - When you type text quickly into the search box and hit enter (on a large catalog).

  • Is there a command line option for VNC to automatically launch in fullscreen mode?

    I can launch a VNC window from the command line, as such:
    open vnc://username:password@hostname
    ... but I'd like it to automatically start in full screen mode. Is there a command line option for this?
    I'm using an old MacMini purely to connect to another Mac over screen sharing, but when the MacMini boots I'd like it to go straight into the fullscreen of the other desktop.
    Many thanks!

    Set the Integer pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
    * http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes
    That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.
    See:
    * http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
    * http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes

  • Post with Clearing using FM POSTING_INTERFACE_CLEARING

    I'm using function module POSTING_INTERFACE_CLEARING to clear open items in the background as it would be done with transaction FB05. Now I'm facing a problem with the mapping of the open items. For every account number that is used in the clearing I create a new line item in the new clearing document. Which means I add a new line item in table T_FTPOST of FM POSTING_INTERFACE_CLEARING. Before the clearing process is started the user has selected several open items. They all belong to different account numbers and therefore need to be mapped to the right line items of the new clearing document. I add the open items to table T_FTCLEAR of FM POSTING_INTERFACE_CLEARING. The problem is that I can't find a link between the lines of table T_FTPOST and the lines of table T_FTCLEAR. How can I be sure that the open items in table T_FTCLEAR are correctly mapped to the right line item in table T_FTPOST? In transaction FB05 it seems to be possible as you can select open items for every line item of the new clearing document. How could this be done using function module POSTING_INTERFACE_CLEARING?
    Regards,
    Robert

    The account number is the missing link.

Maybe you are looking for

  • How can I run Thunderbird in my default Firefox browser as I used to run Outlook (spit, spit) there?

    in the past I was able through Firefox to run Outlook as a virtual webpage. Can I do that now with both Mozilla offerings?

  • Error while installing cucm 10.5.2 at migration using pcd

    Dear All , i am doing a migration from 8.0.3 on MCS to 10.5.2 on UCS while the migration task . i got this error

  • How to compare photo libraries?

    I started using the internal drive on my mini for storage of my photos...initially, no problem, as I didn't have a digital SLR, and wasn't taking as many photos. Now, I have added over 6000 this year and am over 10,000 pix. At some point I duplicated

  • Flatten an image for printing

    I have been working on my logo with Illustrator CC and I needed to print my logo. And I used the .ai file and placed into a InDesign CC document and exported it as PDF for print. But this is the result of the printed PDF: and I was talking to the peo

  • Aperture Screen Resolution

    I have used Apple Aperture in the past and got disgusted with it because the picture resolution is flat, fuzzy and lacking in color ... compared with other software like Canon Digital Photo Professional and Photoshop CS5. I recently download some pic