FI_ITEMS_MASS_CHANGE failing to update all items of BSEG

Hi All,
I am facing problem using FM FI_ITEMS_MASS_CHANGE while updating multiple line items of BSEGfor text and assignment.The program is posting FI document by calling transaction FB05. The requirement is to update all the itmes of clearing document with predefined text , assignment which is coming from excel.
The program currently gets the clearing doc number from FB05; gets the BSEG table entries and loops the items one by one. For every loop of BSEG the FM FI_ITEMS_MASS_CHANGE is called to update text and assignment fields in corresponding item of BSEG.So expectedly all the items should be updated with the text , asignment.
But problems is that only first item is updated and rest are not updated. I have added wait time of 5 seconds to avoid locking of tables in case if any. But still the change is not working. The results after wait time additon are inconsistent. In developemnt the changes worked for 7-8 items while  it failed in quality even for only 2 items.
The FM possibly calls FB02 internally. Is there any locking happening?
Anybody has any suggestion?
Thanks in Advance.
Regards,
Chirdip

Hi,
I am also facing the same problem while updating ZUONR filed in BSEG.
FI_ITEMS_MASS_CHANGE is not updating all the line items in bseg. I called the FM inside loop-endloop at item table.
Still few items(randomly) are updating in first executuion of my program. Few in 2nd execution an so on.
I tried using COMMIT WORK and WAIT statements after calling the FM, but of no use!!
Please suggest is there any other way to update all the items in a single execution??
Otherwise do I have to go for BDC on FB02 ??
Thanks,
Sagar

Similar Messages

  • Enhancement for VL02N to update the item text(BSEG-SGTXT) during PGI

    Hello all,
    Actually, I need your help experts. I am trying to update the item text(BSEG-SGTXT) for accounting documents with the sales order number during their creation(post goods issue) from transaction VL02N, VL01N, VL09.
    I have checked the 17 exits available for these transactions and non of these 17 exits allow me to modify the item text(BSEG-SGTXT). I am currently investigating on the two badi's available for these transactions.
    I am not sure if it possible to make these modifications via Badi's.
    Does anyone have any idea or technique that can help me to find a way to modify/update the item text(BSEG-SGTXT) for any accounting document generated during post goods issue using transaction VL02N, VL01N, VL09?
    Thanks a lot in advance for your help experts.
    Kind Regards,
    Bryan

    Hello Ankur Agrawal,
    Thanks a lot for your help.
    I got the item text from the mentioned BADI.  I will get back to this post if it works.
    Thank again for your quick reply.
    Kind Regards,
    Bryan

  • Server 2012 VMs hosted on 2012 R2 Hyper-V fail to update, all other OS VMs are fine

    Host: 2012 R2
    VMs: 2008 R2, 2012, 2012 R2
    Systems has been running fine until I decided to update my VMs a few days ago with the Dec 10th updates.  2008 R2 VMs update no problem, 2012 R2 VMs update no problem, but 2012 VMs fail to update.  I spent 7 hours on the phone with MSFT and they
    can not figure it out.  They are going to continue working with me, but wanted to post this to see if anyone else was having issues updating their 2012 VMs on 2012 R2 Hyper-V.
    The 2012 VMs used to updated just fine until this round of updates.  
    To trouble shoot, I discounted all my storage and put a spare HDD into the host and setup up Hyper-V all over again and setup a few test VMs.  Even tested VMs on various storage options and direct connected drives.  Same deal... 2008 R2 and 2012
    R2 update, but 2012 will not update.  I even setup 2012 on ESXI and VMWARE Fusion and they both update straight away.  
    I'm 3 days into this... head is about to pop :(

    Hi ,
    It should happen within Gen2 VM , please refer to following link:
    http://technet.microsoft.com/en-us/security/advisory/2871690
    Best Regards
    Elton Ji
    If it not the answer , please unmark it to continue .
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Premiere CC 7.2.1 fails to update - all other apps update fine

    I keep gettingthe error - U44M1P7 - but ONLY on  Premiere all other apps update all the time - been over a week now - I have deleted the latest Premeire Cc log ifle, and repaired permissions 4 times inthe last week

    Moving this discussion to the Creative Cloud Download & Install forum.
    Walkerbuzzbell please see Installation failed. Error U44M1P7 | Updates - http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html for information on how to resolve the U44M1P7 error.

  • Updating all items of HTML itembox to Oracle table

    Hi friends,
    In my assignment,I need your help. I'm wondering how can I update all the items of my HTML itembox ,defined in one of the jsp page, to Oracle table.
    Thanks in advance.

    hsperhar wrote:
    Thanks ,in that I can deal with the servlet programming and collecting and updating the data in my oracle tables. But how would I collect the names/values of all the items of HTML itembox in my servlet/JSP, so that later I can update my oracle table with those string values.Method request.getParameter(String) will catch the selected items only of the itembox. How can I force the form to pass all the names of items of itembox to servlet. You need to pass them separately. But why do you need to do this? You already know at the server side which options are all in the dropdown. Simply because you couldn't have printed it to the response otherwise.
    Plus: how can we substract two arrays. I mean if A[]={1,2,3} & B[]={2,3} then how can I get C[]=A-B={1}Just write an utility method for that. Or use the Collections framework, the List API for example provides you a removeAll() method.

  • Spotlight failing to index all items after 10.5 upgrade

    I have found an issue (at least on my computer) where Spotlight does not index all items (in this case folders) on the local hard drive. I confirmed this by searching for a known folder and having Spotlight produce no results when searching for it. I then renamed the folder with a name such as "folder_old" and then created a new folder under 10.5 with the original name. I then moved the contents of the previous folder to the new one and then Spotlight successfully finds the folder. Here's the problem...I am a long time Mac user and I have thousands of folders. Has anyone else experienced a similar problem?
    I also feel Apple should allow users to select if they are searching for a file name or contents prior to the start of the find in the spotlight menu bar. Give the users some options.

    solution over here:
    http://discussions.apple.com/thread.jspa?messageID=5687094#5687094

  • Failing to update all rows in a table

    Hello, I want to go through every row in a tbale and update values, but it does not work. The error message complains about too small buffer size, and when I add bigger buffett size, (as included in the example), the execution never stops...
    CREATE OR REPLACE PROCEDURE convert_frn AS
    counter NUMBER;
    BEGIN
    DBMS_OUTPUT.enable(10000);
    SELECT COUNT(fixedcoupondatenb)
    INTO counter
    FROM floating_rate_note;
    FOR i IN 1 .. counter
    LOOP
    UPDATE floating_rate_note
    SET fixedcoupondatenb = '1'
    WHERE fixedcoupondatenb = 'YES';
    UPDATE floating_rate_note
    SET fixedcoupondatenb = '0'
    WHERE fixedcoupondatenb = 'NO';
    END LOOP;
    COMMIT;
    END convert_frn;
    best regards
    Harald

    You don't need a loop.
    You are working with SQL which means you have to think in sets. With your two update statements executed once ALL records in the floating_rate_note table with fixedcoupondatenb = 'YES' or 'NO' are updated in one shot.
    So your procedure should be:
    CREATE OR REPLACE PROCEDURE convert_frn
    AS
    BEGIN
      UPDATE floating_rate_note
      SET fixedcoupondatenb = decode(fixedcoupondatenb,'NO','0','YES','1')
      WHERE fixedcoupondatenb in ('YES','NO')
    END convert_frn;Regards,
    Rob.

  • Item text (BSEG-SGTXT) is not getting updated in Payment document generated

    Hi All,
    Item text (BSEG-SGTXT) is not getting updated in Payment document generated through F110.
    After generating the payment document via Transaction Code u2013 F110, system is not updating the
    Text field (BSEG-SGTXT) in the payment document with the text that we have entered in the Invoice (MIRO or FI Invoice).
    In case of manual payment (F-53) we can input the text manually hence that will get updated in
    payment document but this thing is not possible with F110.
    How can I update it?
    Is there any configuration for that?
    Thanks
    Daniel Dorta

    Hi All,
    I've applied the two notes as recommended. However, when I run FBL3N for payment run items, the Text field is update with wrong data, i.e. not from the Text field in FB60
    Thus, I'll like someone to help me with what should exactly be done on the 'Step', 'Pre-requisite' and 'Substitution' side of the Substitution rule (TCode GGB1), I did not fill anything in the Pre-requisite box - is this right?
    Thanx in advance.

  • Update FI item text from PO item text

    Hi all,
                     i am trying to update FI item text(bseg) from PO item text(ekpo).I know that bseg is a culster table therefore inner join is not allow.So is there a way i can join these two tables together so i can retrieve the line item and then i'll do a modify to update into FI item text.I have tried the various codes that are posted within this forum but can never get anything to write:/ out.
                       I've manage to retrieve the various info from PO (ekpo) and also manage to update the FI text field with some random words(but both seperately).What i need now is to create a link between bseg and ekpo.
                       I have attached my coding for better understanding..Thankss
    REPORT  ZSTKLILINTEST3 LINE-SIZE 1023 LINE-COUNT 1023 NO STANDARD PAGE HEADING.
    Table Declaration
    TABLES: ekpo, ekko, bseg, zstkll_1.
    Types Declaration
    TYPES:  BEGIN OF t_bseg,
            ebeln LIKE bseg-ebeln,
            hkont LIKE bseg-hkont,
            END OF t_bseg,
            BEGIN OF t_ekpo,
            ebeln LIKE ekpo-ebeln,
            txz01 LIKE ekpo-txz01,
            bukrs LIKE ekpo-bukrs,
            ebelp LIKE ekpo-ebelp,
            hkont LIKE bseg-hkont,
            END OF t_ekpo.
    Data  Declaration
    *grab data from t_ekpo then append it to zstkcy008
    DATA: ekpo_tab TYPE STANDARD TABLE OF t_ekpo WITH HEADER LINE,
          bseg_tab TYPE STANDARD TABLE OF t_bseg WITH HEADER LINE,
          zstkll_1_tab TYPE STANDARD TABLE OF zstkll_1,
          wa_zstkll_1 LIKE LINE OF zstkll_1_tab.
    Selection-Screen
    SELECT-OPTIONS: s_bukrs FOR ekpo-bukrs,
                    s_ebeln FOR ekpo-ebeln,
                    s_hkont FOR bseg-hkont.
    INITIALIZATION EVENT
    AT SELECTION-SCREEN EVENT
    START-OF-SELECTION
    START-OF-SELECTION.
      SELECT bukrs
      FROM ekpo
      INTO CORRESPONDING FIELDS OF TABLE ekpo_tab
      WHERE bukrs IN s_bukrs.
    IF ekpo_tab[] IS NOT INITIAL.
    SELECT ekkoebeln ebelp bedat txz01 ekkobukrs
    FROM ekpo INNER JOIN ekko
    ON ekpoebeln = ekkoebeln
    INTO CORRESPONDING FIELDS OF TABLE ekpo_tab
    FOR ALL ENTRIES IN ekpo_tab
    WHERE ekko~bukrs = ekpo_tab-bukrs
    AND ekko~ebeln IN s_ebeln.
        WRITE:/ 'Extracted Data:'.
        LOOP AT ekpo_tab.
          MOVE-CORRESPONDING ekpo_tab TO wa_zstkll_1.
          WRITE:/ ekpo_tab-bukrs, ekpo_tab-ebelp, ekpo_tab-txz01, ekpo_tab-ebeln, ekko-ebeln, ekko-bedat.
          AT END OF ebeln.
           APPEND wa_zstkll_1 TO zstkll_1_tab.
          ENDAT.
          CLEAR: wa_zstkll_1, ekpo_tab.
        ENDLOOP.
        SKIP 2.
        TRY.
            CLEAR sy-dbcnt.
    INSERT zstkll_1 FROM TABLE zstkll_1_tab.
          CATCH cx_root.
            WRITE:/ 'Record(s) already exist!'.
        ENDTRY.
        WRITE:/ sy-dbcnt, ' Records are inserted.'.
    ELSE.
    WRITE:/ 'No data Selected.'.
    ENDIF.
    END-OF-SELECTION
    END-OF-SELECTION.
    REPORT  ZSTKLILINTEST13.
    TABLES:bseg.
    DATA:it_bseg LIKE bseg OCCURS 0 WITH HEADER LINE.
    PARAMETERS:p_belnr LIKE bseg-belnr,
               p_bukrs LIKE bseg-bukrs,
               p_gjahr LIKE bseg-gjahr.
    START-OF-SELECTION.
    SELECT * FROM bseg INTO TABLE it_bseg WHERE belnr = p_belnr AND bukrs = p_bukrs AND gjahr = p_gjahr.
    MOVE 'IF THIS APPEAR UPDATE IS SUCCESSFUL' TO it_bseg-sgtxt.
    MODIFY it_bseg FROM it_bseg TRANSPORTING sgtxt where belnr = p_belnr AND bukrs = p_bukrs AND gjahr = p_gjahr.
    LOOP AT it_bseg.
    WRITE:/3 it_bseg-belnr, it_bseg-gjahr, it_bseg-sgtxt.
    ENDLOOP.
    MODIFY bseg FROM TABLE it_bseg.
    COMMIT WORK.
    IF sy-subrc EQ 0.
    WRITE:/3 'BSEG TABLE UPDATED SUCCESSFULLY WITH TEXT'.
    ENDIF.

    self solved

  • Failed to update in the Item Master Form ATO field checked

    Hi All ,
    I am trying to implement B2B ( Back to Back Order ) and to implement the B2B the ATO should be checked irrespective of Manufacturing is installed or not.
    Now the problem is I am able to update some of the item but failed to update some of the item and it gives error " the Sales Order Line is opened you can not
    check the ATO".
    Now I did to avoid this I updated the columns BUILD_IN_WIP_FLAG to 'Y' and REPLENISH_TO_ORDER_FLAG = 'Y' in the Item master table .
    And I was successfully able made further transaction of the open sales order line.
    I wanted to know to updating the field BUILD_IN_WIP_FLAG to 'Y' and REPLENISH_TO_ORDER_FLAG = 'Y' will impact our bussiness in Future.
    Regards,
    Sharad

    Hello Sharad,
    First thing, if you are implementing B2B in your system then your organization is a Manufacturing organization or distribution organization?
    If this is not a Manufacturing organization, then the item should be a Buy Item along with ATO attribute enabled. So that the B2B requisition created & then PO.
    If you are implementing Assemble to Order in Manufacturing organization, then your ordered item should be a make item not a buy item. For this sub assembly or finally assembly you need to define the bill, routing etc. After that once you book the ATO sales order, the work order will be created. & the process continues.
    The error "the Sales Order Line is opened you cannot check the ATO", comes when you are having open sales order exists & you are trying to update item attributes. It is always advisable to close all the sales order lines in this case before changing the same.
    Unless & until you are using BOM & WIP in your organization, change of BUILD_IN_WIP_FLAG will not affect. Please make sure not to update these attributes from backend using database update script.
    Regards,
    Jyoti Ranjan Mohanty

  • ALE BOM. Updates ALL! items with validity date & change no.

    Hi All,
    We are having problems where ALE-BOM sent with change in validity date (with change no) to a particular item. What happens is that ALE-BOM will instead update ALL! items with the same validity date and change number.
    Next,when we process ALE again for the same BOM with a different validity date(with change no), then only that
    particular item is updated with validity date and change no.
    Would anyone know what could be the problem that when changes are sent for the first time all items are updated?
    [Version: SAP 4.6C/ SAPKH46C48]
    Regards,
    Neeth

    Dear:
                   The error itself telling you the correction. You profit center which is assigned to your cost center has a validity date less than the one you are now assigning.You can check in KE52 against the profit center assigned to your cost center master data. However the best thing is to go to KS01 and create this cost center with desired validity date.
    This will resolve your issue.
    Regards

  • I have windows 8 and I have the most updated version of Itunes, my iphone 4s connects, but nothing plays from my itunes all items have the cloud next to it, and they are dithered out

      I have windows 8 and I have the most updated version of Itunes, my iphone 4s connects, but nothing plays from my itunes all items have the cloud next to it, and they are dithered out

    In the course of your troubleshooting to date, have you worked through the following document?
    No content shows up in iTunes after updating

  • Function module for BOM Update all line items at a time

    Hi,
    Please enlightenn us, which FM is do the update for BOM item datas. ( current FM is updated line item one item then come out and log in again updating another line item , thus cause more error are facing.)
    we want a FM to update one time all the line time and come out from the screen.
    Thx
    Sathiya

    HI,
    As suggested above use CEWB or if you want to manage it via a Z program then use:
    CSAP_MAT_BOM_MAINTAIN
    or
    CSAP_MAT_BOM_OPEN
    CSAP_BOM_ITEM_MAINTAIN (Use these 3 in sequence, refer to the help file on the FM)
    CSAP_MAT_BOM_CLOSE
    Hope it answers your query.
    Regards,
    Vivek

  • HI, I just bought an iPhone 4S. Although my iPad and other iPhone 3GS connect to our server (SBS2003) I cannot get through.  It checks all items in the connection and then I get the message :Cannot get mail, the connection to the server failed."

    HI, I just bought an iPhone 4S. Although my iPad and other iPhone 3GS connect to our server (SBS2003) I cannot get through.  It checks all items in the connection and then I get the message :Cannot get mail, the connection to the server failed."  I Tried everything, rebooting, reset all iPhone, etc.  All Apple devices work perfectly expect mine.  Please advise

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    Additional things to try.
    Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    On your iPad go to Settings > General > Reset > Reset network settings and see if that enables you to connect.
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
     Cheers, Tom

  • Any way to update attribute in all Items of an Item Type ?

    Is there any way an attribute in all items publish of a single item type?
    I want to change all File Items so that they open in a New Browser.
    Please note: This is not for all items that we will publish going forward, just for the current items. I dont want to go back in and update items one-at-a-time.
    Thanks

    Hi Mike,
    Go to Navigator>Shared Objects>Contents>Custom Types>Item Types. From there select the Item Type you want to change (probably file).
    From here click on the 'Attributes' tab and make sure that the Display Option is in the Selected Attributes box. Then look for Display Option under the Attribute Properties section and change 'Full Browser Window link' to 'New Browser Window Link'.
    I hope this helps. I haven't tested it but I think it should do the trick. If you want file items that you create in the future to behave differently then you will have to create another item type based on File but keep the Display Option set to 'Full Browser Window link'.
    Cheers,
    Steven

Maybe you are looking for

  • Why do Chatropolis entry pages give "403 Forbidden" error on all browsers?

    I've been running Mac OS 10.4.11 successfully since it's release, and I normally have the following browsers installed & working: Safari 3.1.1 (my default/first choice), Safari 2.0.4, Firefox 2.0.0.14, and the PC version of Internet Explorer (6.0.2)

  • How to get list of orders for current date.

    Hi, My requirement is to get list of orders for the date on which order was created such that I don't have to change the date in my application. Every time I run my application it should generate orders created on that current date without manually g

  • Is the OBIEE used to create a data warehouses dynamically?

    Management where I work wants to use the OBIEE Administrator to source a 3NF normalized database and create a "virtual data warehouse" in the Business Modeling Mapping layer of OBI Administrator as a Star Schema model is required by OBI Business Mode

  • Macbook pro 1.1 quitting unexpectedly..and frequently

    My Macbook pro 1.1 Intel cored Duo (2.16 GHz) has been unexpectedly and w/o warning quitting recently. Has ben for the last 2 weeks. On restart (which does not seem to be a problem) I get between 10 minutes and 4 days of use - then crash again. No wa

  • Refresh Child Table

    Hi , I am having the following scenario. I have to refresh the child table on click of hide/show of parent table. I have configured that through viewlink. And the child advance table is kept in detail disclosure of parent table. Thanks and regards, S