FEBA - How to post two or more transactions at the same time?

Hi,
    one of our banks sends the statemets with many lines that belongs to the same transaction. We have to post partially one line, and afterwards the other line. Any of you know how to post two lines at the same time from the bank statement?
Thank you in advance,
Miguel

Hi,
I'm sorry for replying so late.
The solution I reached was to change the a few things in the standard.
Now I have a new "context menu item". I select two or more transactions and I right-click the mouse. I select that "context menu item" and the next part of the code adds the total amount of the transactions to look for the correct post for the first transaction. Once posted automatically, the next transaction is posted automatically by the system.
I hope you understand my English. I've problem with technical FI terms.
Here you are the code:
First I added a new contextual menu item:
CL_FEBAN_ALV_GRID=============CCIMP
call method e_object->add_function
    EXPORTING
        fcode = 'BS_POST_ITEMS'
        text = text-002.
*{ INSERT DHTK904078 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
    call method e_object->add_function
        EXPORTING
            fcode = 'ZBS_POST_ITEMS'
            text = text-Z02.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
    call method e_object->add_function
        EXPORTING
            fcode = 'BS_KILL_ADVICE'
            text = text-004.
CL_FEBAN_ALV_GRID=============CCIMP
when 'BS_POST_ITEMS'.
    call method cl_feban_propagator=>raise_event
        EXPORTING
            i_event = 'POST_ITEMS'
            i_ref_to_item = l_ref_to_item.
*{ INSERT DHTK904078 2
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
    when 'ZBS_POST_ITEMS'.
        call method cl_feban_propagator=>raise_event
            EXPORTING
                i_event = 'ZPOST_ITEMS'
                i_ref_to_item = l_ref_to_item.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
    when 'BS_LOCK_ITEMS'.
        call method cl_feban_propagator=>raise_event
            EXPORTING
                i_event = 'LOCK_ITEMS'
                i_ref_to_item = l_ref_to_item.
CL_FEBAN_PROPAGATOR===========CM001
    when 'POST_ITEMS'.
        raise event post_items
            exporting i_ref_to_item = i_ref_to_item.
*{ INSERT DHTK904078 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
    when 'ZPOST_ITEMS'.
        data: zvalor(1) value '' .
            export zvalor from 'X' to memory ID 'ZFEBA01'.
            raise event post_items
                exporting i_ref_to_item = i_ref_to_item.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
    when 'LOCK_ITEMS'.
        raise event lock_items
            exporting i_ref_to_item = i_ref_to_item.
Now, I proceed to calculate the total amount of the selected transactions to look for the correct one to post.
LNEW_FEBAF01
*     user parameter
        l_feban_position type c.
        field-symbols: <items> type item_tab_type.
*{ INSERT DHTK904077 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
    data: zvalor(1) value '',
        zkwbtr type kwbtr,
        kwb type kwbtr.
    import zvalor to zvalor from memory ID 'ZFEBA01'.
    if ( zvalor is not initial ).
        if not i_ref_to_item is initial.
            assign i_ref_to_item->* to <items>.
            loop at <items> into h_item.
                select single kwbtr
                    into kwb
                    from febep
                    where kukey = h_item-kukey and
                        esnum = h_item-esnum.
                        zkwbtr = zkwbtr + kwb.
            endloop.
        endif.
        export zkwbtr from zkwbtr to memory ID 'ZKWBTR'.
    endif.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
    refresh g_picked_items.
    if not i_ref_to_item is initial.
        assign i_ref_to_item->* to <items>.
        loop at <items> into h_item.
            move-corresponding h_item to h_picked_items.
            append h_picked_items to g_picked_items.
        endloop.
    endif.
    submit rfebbu00 and return
        user sy-uname
        with anwnd = r_doc->*-anwnd
        with s_kukey in s_kukey
        with s_esnum in s_esnum
        with buber = g_posting_area
        with mregel = '1'
        with function = 'C'
        with mode = g_mode
        with p_bupro = g_bupro.
*{ INSERT DHTK904077 2
*--> Miguel Estu00E9vez - 17/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
    if ( zkwbtr is not initial ).
        select single kwbtr
            into kwb
            from febep
            where kukey = h_kukey-low and
                esnum = h_esnum-low.
                zkwbtr = zkwbtr - kwb.
        export zkwbtr from zkwbtr to memory ID 'ZKWBTR'.
    endif.
*<-- Miguel Estu00E9vez - 17/06/2008
*} INSERT
    refresh s_kukey.
    refresh s_esnum.
    clear h_kukey.
    clear h_esnum.
endloop. "loop over all picked items
call function 'CUSTOMIZED_MESSAGE'
    EXPORTING
        i_arbgb = 'NEW_FEBA'
        i_dtype = '-'
        i_msgnr = '110'.
RFEBBU00
* original transaction currency provided and posting area = 2.
        ftclear-selvon = febep-fwbtr. "INSERT - mpEURO
    ENDIF. "INSERT - mpEURO
    CONDENSE ftclear-selvon NO-GAPS.
*{ INSERT DHTK903977 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
    data: zkwbtr type kwbtr.
    import zkwbtr to zkwbtr from memory ID 'ZKWBTR'.
    if ( zkwbtr is not initial ).
        ftclear-selvon = zkwbtr.
        clear zkwbtr.
    endif.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
APPEND ftclear.
** Begin of comment C5053248
* perform druck_buzei_ftclear using ftclear-agkon.

Similar Messages

  • How to start two or more tasks at the same time?

    Hi all,
      I have few tasks setup to send analog and digital output to different channel with buffer and given sampling rate. I need to precisely control the timing of samples output to each channel. But if I start the task in labwindows
        DAQmxStartTask(taskHandle1)
        DAQmxStartTask(taskHandle2)
        DAQmxStartTask(taskHandle3)
    they actually not start at the same time since they are exectued in sequence. I wonder how much time delay will be if I start each task in sequence. Also, is it possible to have 2 or more tasks started at the same time?
    p.s. I think it will be easier if I could bind different channels to a single virtual channel but I don't think it is possible to create a signle virtual channel with analog channel and digitial channel.

    RobertoBozzolo wrote:
    I had success in doing something similar on the input side by sharing the same sample clock across the tasks with:
    DAQmxCfgSampClkTiming (DigitalTaskHandle, "/Dev1/ai/SampleClock", 1000, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, 1000);
    In my application I had the power to have the same acquisition speed on all tasks, so that the sample clock could be same on all of them.
    The conceptual framework is this one (pay attention to the step order):
    Setup your AO task
    Setup your DO task
    Set the DO task to share the AO sample clock with the instruction given above
    Start the DO task (IMPORTANT: it must precede the AO task start, so that DO task is started but does not generate samples)
    Start the AO task
    If you have different sample speed on the tasks, I suppose an alternative is to use a start trigger sharing some digital signal among them. I have seen examples that use a separate counter output as a start trigger.
    Thanks a lot. It gives me a good information, I think that will help. I am encountering another sitution, if task1 is analog output with continuous samples with rate 100000 samples/second and task2 and task3 are a single digital sample (i.e. write only 1 sample to one digital line). In task1, I write continuous samples and there will be a spike (of 2.2V) at the time 1.2ms after the task started. And I want to write to the digital channels (task2 and task3) at 0.2ms before the spike was set in task1. In this case, there is only one sample written to DO task, so how does it work to use the sample clock source?
    In your last suggestion, we could use tirgger but how does it help? Is there any example I can follow? Thanks.

  • Is there a way to work with two or more app at the same time on iPhone or iPad

    Is there a way to work with two or more app at the same time on iPhone or iPad?

    What i am attempting to achieve is to work with at least two app at the same time. For example: select any picture from my albums to attach them in an email. Another example is get data from an app to use it with the calc app. And there are more exaples for it. And for sure I need support for an iPad air. I mencioned the other tablet just to try to be a bit clearer.

  • How to run two versions of dreamweaver at the same time

    How to run two versions of any dreamweaver at the same time?
    There must be a way to do this.

    east99 wrote:
    > How to run two versions of any dreamweaver at the same
    time?
    > There must be a way to do this.
    Yes, there is: on two separate computers.
    You cannot run two versions of Dreamweaver simultaneously on
    the same
    computer. They can coexist side by side, but the operating
    system will
    not let you run them together.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • How to run two DAQmx Read (Analog) at the same time?

    I would like to measure a voltage and a current,
    but the two cannot be conbined in one task.
    Therefore, I had to use two DAQmx Read in the same program. But it did not run.

    Multiple channel types can be combined in a single DAQmx Read. One way is to use multiple DAQ Create Channel fucntions. Look at the posting here and the second example at the link in the answer.

  • How can I rotate two or more photos at the same time

    That´s what I do: I select various images and then apply a rotation, but only image rotates.
    I have tried too applying it to one image and "lift and stamp" to the rest,but this doesn´t work.
    Please, how can I do it?

    You have got a good answer from Claire, but if you are using a keyboard with a standard Spanish layout, you have to use SHIFT + [ to rotate to the right.
    You can also use ´ and ` (to the right of the letter P) to rotate the image. This is the location of the [ and ] on the US layout.
    If you use a Spanish ISO Layout on your keyboard, then you have to use ´ or ` since the [ is replaced by the º in the layout.
    You can also use the buttons for rotation in the Control Bar at the bottom of the window
    Regards
    paul k
      Mac OS X (10.4.8)  

  • How can I Resize Two or More Shapes At The Same Time?

    I've got text over a rectangle over another rectangle. When I change my text, the size of the boxes needs to change and it's a drag ot have to do each one separately and constantly realign. Is there a way I can resize both of them at the same time tokeep the proportions the same?
    Or is there a way I can enter #s to resize, so I could just enter the same #s for each shape?
    Thanks,
    Amanda

    Here's an example of what Wyodor is referring to: text in shapes within another shape.. It goes one step further and adds the first shape+text into another shape but the concept is the same.
    OT

  • How to avoid that two or more people altering the same Sales Order

    I'm looking for a way to avoid that two or more people altering the same Sales Order at the same time.
    If someone has entered a Sales Order in the system and something needs to be adjust it can be done by two or more people at the same time. The problem is that when someone is saving these changes, the changes of another person, who is still working on the same order, get lost.
    So what we need is an alert that someone is already using this order and that no other person can make any changes at that time. So the order needs to be blocked for altering for any other person at that time.
    To avoid this I think you have to do something with the Stored Procedure. Or has someone a more simple and better solution. So far I didn't find a standard option in Business One neither a solution in this forum.
    Best regards,
    Tim

    Tim,
    There is nothing in the application settings in Business One that could be used to prevent this.  You may post this to the SDK forum as well and perhaps there is a way to achieve this through SDK.

  • How to avoid that two or more people alter the same Sales Order same time

    I'm looking for a way to avoid that two or more people altering the same Sales Order at the same time.
    If someone has entered a Sales Order in the system and something needs to be adjust it can be done by two or more people at the same time. The problem is that when someone is saving these changes, the changes of another person, who is still working on the same order, get lost.
    So what we need is an alert that someone is already using this order and that no other person can make any changes at that time. So the order needs to be blocked for altering for any other person at that time.
    To avoid this I think you have to do something with the Stored Procedure. Or has someone a more simple and better solution.
    I've already put this thread in the Business One forum and someone suggested to put it in the Business One SDK forum, as there isn't a solution in Business One itself.
    So if someone can give me a direction for a solution I would be very pleased.
    Best regards,
    Tim

    Hi Tim,
    The only thing that comes close to what you want in standard SBO is Data Ownership. However, this can't stop someone editing a document that is already being edited.
    You can't use stored procedures to track which document is open because the SBO_SP_TransactionNotification proc (which is the only one that you are able to customise) is triggered when a document is updated or added (or cancelled or closed) and not when the document is actually being edited in the user-interface.
    You could do this by writing an addon that uses the UI API to trap events in the sales order form. In theory, a sales order is being edited if the sales order form is in Update mode (ie in order for the form to be in Update mode, the user must have selected an existing document and changed the value of at least one field). You can trap the event of the user changing a value and then log the user and document in a table. When other users try to edit the same document, you could check the table and then prevent them changing values. When the first user clicks on the update button (or cancels the update or closes the form etc etc) you can remove the lock on the document. However, I have doubts as to how robust it would be. The problem with this kind of locking solution is that you sometimes get 'stranded' locks (eg user was editing a document when their workstation crashed) and the solution can end up being more troublesome than it is worth.
    Kind Regards,
    Owen

  • ERROR: MyService.jws:715:There are two or more operations with the same schema-element 'ns0:MyNameSpace' on the input message in a web service file or callback interface.

    I have two web service operations that have the same complex type as their input
    parameter. I want to map this type to an existing schema. I can successfully
    do this with the first operation using XQuery but when I attempt to do this with
    the second operation I get the following error:
    ERROR: MyService.jws:715:There are two or more operations with the same schema-element
    'ns0:MyNamespace' on the input message in a web service file or callback interface.
    ERROR:      SUGGESTION: Use different schema-element values for each of those operations.
    How can I use different schema-element values? The input parameters are to be
    mapped to the same schema and same element since they are the same for both operations....

    I am having the same problem. How did you resolve this..?? could you please tell me the solution??
    Thanks
    Shari

  • How do you keep two users logged in at the same time?

    How do I keep two users logged in at the same time to be able to access home sharing?

    Fast User Switching in Users & Groups or Accounts preferences in Login Options.

  • How do I make windows smaller so I can see more programs at the same time?

    I would like to see more programs at the same time. When I open a program I see the 3 buttons on top left, the close button, the plus and minus. But it either disappears ( - ) or comes on full screen ( + ). How can I make them small and move them around to see different things on the monitor?

    Hi,
    At the very bottom right hand corner of your window there. There are three little diagonal lines. Click and hold with the mouse button and drag it all around there. Better? Hope so!
    Regards.
    Ian.

  • How to get more downloads at the same time

    On my old computer I could download 20 files at the same time (or more, depending on the size). I've got a new computer now but Safari only downloads 4 files at a time: the other files are put on hold and start only when anotehr file has finished downloading.
    How can I enable more downloads at the same time?

    I'm not using any enhancings apps, so... that can't be it. I did go from 10.3.x to 10.4.x, but I guess that's not the point either. Maybe some internetsettings is keeping things from going full throttle...?
    I download from Usenet a lot and downloading multiple files with Safari was very nice: I'd get 20 50 Mb files within a few minutes on my computer. Now I can only get 4 files in that same time (I guess it's a bit faster but not much: I have a VERY fast connection!). Okay, all in all it still only takes half an hour (probably less) to download 3 Gb this way, but I just wonder what's holding Safari back...
    (BTW Downloading big files spread into rars is VERY nice! If I had to download a 3 Gb file as ONE file, it would take a LOT more time...! Makes you wonder why not all companies offer their software (specially larger files) in smaller parts... They used to do that in the early internet days because otherwise you would never ever get that file downloaded on that 56k6 line, but nowadays it still would be great if they offered everything in small parts!

  • Two or more users editing the same script file in cq5, is it possible?

    In cq5 is possible two or more users editing the same jsp file? There is a lock system preventing simultaneous editing of the same file?
    Thanks,
    Gabriel

    you really should use eclipse and maven to work with multiple developers. something like [1] will be helpful
    [1] http://www.cqblueprints.com/xwiki/bin/view/Blue+Prints/The+CQ+Project+Maven+Archetype

  • Can I connect my Mac to two separate wireless networks at the same time?

    Need some assistance with some advanced wireless networking please....
    Upstairs I have a D-link wireless router connected to the internet and wired to a couple of PCs. Downstairs I have a minimac linked to my hifi via an airport express. I have bought a D-Link DWL-G122 usb wifi dongle.
    So I want the mini mac to connect to the airport express on one wireless network (strong signal) and to be able to connect to the internet on another network (weak signal) via the usb wifi /router.
    But the airport software and the d-link driver seem to conflict and both try to take control of the two wireless devices.
    Is there any way round this to be able to run one mac with two wireless network devices at the same time?
    Thanks

    While those with more experience may be able to correct me, I'm pretty sure that you can only connect to one wireless network at a time with your Mac Mini, unless D-Link provides their own proprietary software that bypasses the computer's Airport settings.
    Using the AirPort hardware you can only connect to a single wireless network at any given time. However in this situation the 2 attempted connections are via USB and AirPort. Therefore this requires nothing special of the AirPort drivers or settings.
    It does require that the Mac OS and applications have the capability to use either network connection (USB or AirPort) depending on what data they are trying to get. In general I understand how it is theoretically possible but I have no idea if you can configure OS X to do it.
    ...I believe one of the options when setting up the Airport Extreme Base Station is that you can extend a wireless network already in place.
    True but the D-Link is not compatible with Apple's WDS therefore this is not possible in this situation.
    If you have a newer Airport Extreme Base Station with a USB port on it...
    FYI, every AirPort Extreme base station (AEBS) has a USB port.
    BTW, birky has indicated that he/she is using an AirPort Express (AX) not an AEBS.

Maybe you are looking for

  • Consumption of Water & Power

    Dear PM GURUS, First of all i thanks to all the PM gurus for giving the good solutions for my questions.  I hope in future also i will get the same response from you people for my questions. In my business scenario, Maintenance people note down the p

  • How to Split 1 Order into Multiple Deliveries based on Partner Function ?

    Hello, How can I split one Sales Order into multiple deliveries, based on the partner function "managed by" ? The requirement is that one order will be created for different "managed by". If partner function "managed by" is same at line item level in

  • Out of the blue, ITunes 11 on my MacBook Pro doesn't recognize either my iPad 2 or my iPod touch.

    I use the USB cable to sync both with iTunes on my MacBook Pro and it worked fine until a few days ago.  I tried both USB ports on the MacBook and 3 different 30 pin to USB cables, and they will charge both devices, but neither one shows up on the iT

  • CR Basic: Report off center to the right within ReportViewer (Windows 7)

    Scenario: Using Visual Studio 2008 Professional SP1 w/ Crystal Reports Basic SP1 on a Windows 7 x64 system. A new project is created with a Report Viewer and a Report Document. Any data can be used for the document's data source for the purposes of r

  • Final Machine broken into segments

    Dear Sir, We are in the business of manufacturing customized complex industrial machine and have project manufacturing based appraoch . In our business scenarion , once the final machine gets ready , it is put on trial for third party inspection purp