UI API: Poor performance in Goods Receipt (PO) while inserting rows

Hi all,
we wrote small procedure, where we import some data from .txt file into Good Receipt (PO) document. There is no many infos there, we fill only these columns in GR matrix:
ItemCode, Quantity, Warehouse
For inserting data into document's row we use this code:
oItCdCol.Cells(lRow).Specific.Value = Trim(sItm)
oQtyCol.Cells(lRow).Specific.Value = Trim(sQty)
oWHSCol.Cells(lRow).Specific.Value = Trim(sWHS)
lRow = lRow + 1
but with more than 30 lines in import file the performance is very poor, with cca. 300 lines it takes many hours. The GoodReceipt form is during import freezed of course.
We use SBO2005 SP01 Patch 22. Is there performance problem with documents generally in this patch or something else?
Thanks in advice.
Kind regards
Libor Mego.

Are you working with Visual Basic 6 or Visual Basic from Visual Studio?.
If you response VS, then try to use directly
oItCdCol.Cells(lRow).Specific.Value = sItm.<b>Trim</b>()
There is not the same througputh with olders function versus the newest.
My recomendation is the same from Microsoft, "enjoy" always to use the Class routines like Trim, Integer.parse, <object>.ToString, ....

Similar Messages

  • Perform Post Goods Receipt Against Scheduling Agreement

    Dear all,
    I've weird problem here. This is concering GR against Scheduling Agreement. I've a "LPA" type Scheduling Agreement and all the delivery schedule maintained and schedule line released successfully in ME38.
    When I do GR via MIGO by entering the Scheduling Agreement #, a prompt was given with no items selected. Note: My schedule line delivery date = GR posting date.
    What I did was, inside MIGO I go to Settings | Default Values and check on "Propose All Items". Finally, the affected line item appears but with "blank" quantity. So, I key in the actual quantity per the released schedule line and complete the GR posting successfully.
    Question 1: Why do I need to perform the MIGO propose all items setting? Normal PGR against PO doesn't require this.
    Question 2: Is this a standard SAP behavior or I'm doing PGR - scheduling agreement process the wrong way?
    Appreciate any expert clarification.
    Thanks in advance.
    Steven

    Hi Jurgen,
    I've read Notes 493404 and I'm facing Question 10
    10. Question:
    For the goods receipt for the scheduling agreement the system displays error M7 064: "Document xx does not contain any selectable items".
    Answer:
    A possible reason is that the document is subject to a release strategy and has yet to be released. You can check this using transaction ME33 and release it subsequently if necessary.
    Another reason can be that although a confirmation control key that contains a confirmation category with GR assignment has been maintained for the scheduling agreement item, this category has yet to be confirmed. You can check this using transactions ME33 and OMGZ. If necessary, create the relevant confirmation.
    Another reason may be that no undelivered schedule line exists up to the posting date. If nevertheless you want to post the GR, you can use transaction ME38 to bring the next schedule line date forward, or in transaction MB01 you can select the "Suggest Zero Lines" field or in transaction MIGO the "Propose All Items" field under Settings - Default values.
    From the snapshot of the notes 493404 above:
    1. I don't have a release strategy for the scheduling agreement. Have checked via ME33L
    2. I didn't implement any confirmation control in the scheduling agreement. Have checked via ME33L
    3. I've a delivery schedule line up to the posting date. In my scenario, schedule line date = GR posting date
    Therefore, I'm still truly puzzle with the system behavior. Any further help will be most appreciated.
    Thanks.
    Steven

  • Require api to perform Un-invoiced receipt conversion

    Can someone kindlly let me know the api used for Un-invoiced receipt conversion.
    Thanks....

    The below query takes a very long time to complete. Please could any experts advice me whats wrong in this? https://forums.oracle.com/forums/search.jspa?threadID=&q=Query+AND+Slow&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Query+AND+Performance&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Goods Receipt failed While Processing through IDOC

    Hi,
    We rae processing the GR through IDOC from PCS System.
    Goods Receipt for some Material failed in IDOC.Because of following error
    Error : Enter the shelf life expiration date
    We have checked the SLD for Material in MSC3N and it is maintained for that material.
    can yoy tell me the reason behind that ?

    Hello
    Please check the IDOC in WE19, weather the SLED filed is populating the date or not and also in exact format .
    Thanks and Regards
    Pavan

  • Extremely poor performance on good machine (dual xeon, Revodrive, SLI etc.)

    Hello,
    I've looked for answer, read all the articles about making better performance of PS and I still can't solve the problem... I even tried Photoshop CC and the performance was... worse. I measured time it took to open some files or make some of my actions.
    Programs performance is so incredible bad, it's not even annoying it is some disaster... sometimes I have to wait more than 10 seconds for response when I'm moving a layer or few seconds when applying some very simple transformations to smart object (logo etc.). I spent a lot of money on my workstation hoping it will work smooth and fine, and it seems that it is working worse than my old machine for 1/10 of its price. I hoped that moving to Cloud will solve the problem and the new software understands better new hardware I own, but NO! as I mentioned it is working even slower.
    The problem only affects Photoshop and Illustrator, After Effects run perfectly fast... but I work mostly on Photoshop and Illustrator. Most of the time both programs are opened.
    Some more hardware details of my workstation:
    Dual Xeon 2630 @ 2.3 GHz
    32 GB Ram
    System Drive: PCI-E Revodrive 3 x2 240 GB
    Storage Drive: 3GB WD
    Graphic Card: 2x GF GTX 680 in SLI (2GB memory each)
    System: Windows 8.1 Pro 64-bit
    Adobe Suite CS 6 Master
    I keep to all advices from "Photoshop performance" articles. I tried another SSD drive as scratch drive, all drivers are up to date, system is "fresh installed" without any garbage...
    I'll really apreciate any good advice that could help me solve the problem, so I'll be able to work normal. Without lost hours on waiting for the simpliest actions.

    I just to reinstalled drivers and NOTHING... (Latest nVidia drivers clean install)... I also looked on my resources manager and after few munutes photoshop easly uses more than 50% of avaiable RAM... when I'M working procesor usage is about 5-9% (12% was maximum) and when I run also Adobe Illustrator memory usage goes above 60% but cpu usage is still low (5-7%). I have 32GB of memory... PSD file I work on is 750MB... Maybe there is some issue with my memory, buffer or something like this? Any idea?
    When I copy 1920x1080px layer from one program to the other it takes few minutes, and sometimes programes crush... even if I'm not working the memory usage is now above 60% - shouldn't it go down?
    oth Photoshop and files I work on are on the same drive (PCI-E SSD OCZ RevoDrive 3x2 - so it shoulb be super-fast...).
    Sorry for bad spellings - I'm so angry now!!!
    HELP PLEASE!

  • Confirm performance of Service/Goods Receipt

    We are using SRM 4.0 SRM Server 5.0 in extended classic scenario.  Our backend is a R/3 system version 4.70. 
    When changing a purchase order via transaction BBP_POC on the header data tab, go to the follow-on documents.  At the top of this screen is a Document Ctrl section.  There is a box titled "Confirm Performance of Service/Goods Receipt".  We understand that removing the check mark from this box is essentially telling the system that you do not want to perform a goods receipt for this purchase order.  When the invoice is received in R/3, the system will pay the invoice and not put it in a block status.  The business is asking for this ability at a line item level.  In essence they want to tell the system that a goods receipt is not required by line item.  Apparently this capability exists in a purchase requisition in R/3.  Does anyone know if this is possible in SRM?
    Best regards,
    Shawn O'Connor

    Hello Shawn,
    I don't understand your request, because document control in BBP_POC transaction ("Process Purchase Order") is done at item level...
    Could you clarify ?
    EDIT:
    Sorry, i did not see your are in SRM 4.0...
    In SRM 5.0, document control for follow-on document is done at item level.
    EDIT:
    Regards.
    Laurent.
    Edited by: Laurent Burtaire on Mar 14, 2008 3:54 PM

  • Performing goods receipt based on TO confirmation for putaway

    Hi All,
    I am testing the possiblity of creation/confirmation of TO that will post goods receipt the purcharse order or inbound delivery. I have set the Shipping control value to 2 - Copy WM quantity as delivery quantity and post GR/GI. But what is the process to make sure when I perform the confirmation of putaway transfer order it performs the goods receipt. I tried creating a PO followed by creation of TO manually using LT01 for 101 movement type (yes i made config changes to allow 101 to be used for manual TO creation). And finally confirmed the TO. Nothing happened.. there is deficit in 902 storage type.
    Or is this functionality just for picking??

    Hello,
    1. If you are using Handling Unit you can configure the posting of the delivery before or after the TO.
        For that you should go into the IMG and select: Logistics - General->Handling Unit Management->Basics->Delivery->Define                                                                               
    Sequence of Transfer Order - Goods Receipt.
        Within you can specify for each warehouse and delivery item category when to post.
        Remarks:
             1. For working with inbound delivery you should set the Control Confirmation Key to 0004 in the PO/Info rec.
             2. You can not post before TO together with Partial posting of HU. you need to decide.
    2. If you do not work with HU then you will have the minus in 902 area till you post GR.
        option 1: you post the GR with transaction MIGO and create the TO imidiately automatically after posting (customizing via the
                       WM&IM interface).
        option 2: you can use the user exit at the end of TO confirmation and call the function "BAPI_GOODSMVT_CREATE" to post the GR
                       with the TO confirmation quantities. Remark: you need to execute commit before you call the BAPI again.
    Yours Sincerely,
    Yair Ben-Shaul
    SAP LE Senior consultant,
    Ness Ltd.

  • Receiving Services as Materials in order not to perform goods receipt

    I am on a project that is implementing SRM in May. The company has decided to upload 15 Vendors for Services and to perform the goods receipts in order to achieve a 3 way match. One of the Vendors (Huge Spend) will not get a goods receipt performed as no one wants to perform the goods receipt (this was just decided yesterday).  We will create the shopping cart and SRM PO and pay the invoices in R/3. In order to do this we have to enter the shopping cart as a material in order not to have a goods receipt performed in SRM (as I am told). Has anyone ever experienced this? Is there any problems that we, as a company, may not be aware of Is there someone out there that has experienced this or close to this? Please advise. Thanks

    Dear Kimberly
    In SRM every implementation requires a backend systems and in any of the Technical scenarios goods receipt can be done in any of the system either in SRM or in R/3.
    However we can resrrict the goods receipts not done in SRM by modifying the role in PFCG and remove Confirmation of goods/servies from the role.
    This will force the users to do goods receitps in R/3 systems only.
    The Leading Po can be created in any of system either in SRM or in R/3.
    regards,
    Nimish Sheth
    NB - Do rewards points for helpful answer.

  • Goods Receipt of HU for Process Order

    Hi All,
    I have the following scenario.
    We are looking to implement HUM.
    We are using externally numbered HU's.
    Every HU when packed in prodcution may have a different quantity so we will not use packing instructions to save the deletion of non used HU's.
    Do I need to use COWBPACK to assign HU's to the process order. Issue with this is standard SAP does not allow assignment of externally numbered HU's.
    Or
    Can I assign the HU's a point of Goods Receipt. I see that COWBHUWE allows the process order to be added and then the HU's.
    I assume that is HU's were assigned in COWBPACK this would automatically populate when the process order was entered.
    Can I just eneter the process order and manually add the HU's.
    If not we will have to look at BADI's or custom transaction.
    Thanks in advance
    Stuart

    Hi Vishal,
    We will be building the Hu's as we perform the packing packing process order. We pack Box HU's in to a Tote HU.
    The Tote HU has a re-usable HU number on (externally number assignment)
    We will not use packing instructions to define the Hu structure.
    What we need to be able to do is perform a goods receipt of the packed HU's against the process order.
    I am starting to think that this is a custom development.
    When you use COWBHUWE do you have to have assigned HU's in COWBPACK??
    We cannot use COWBAPCK as it does not allow external numbered HU's to be assigned.
    Thanks
    Stuart

  • Packaging material is not appearing in the Goods receipt of STPO

    Dear All,
    We are currently dealing one Roll-Out project for one multinational company. In that from sales side, one of the main processes defined is u201CStock Transport Purchase Order processu201D. As a regular process, outbound delivery document also created with ref to STPO.
    As per the client requirement the u201CPackaging materialu201D needs to be added as additional line item in the delivery to calculate the packaging cost. This packaging material is a "Stockable and Valuated" material. So while performing the PGI the stock will get reduced from SD side.
    The problem is, using this same STPO delivery document the Goods receipt is planned to do in the another side of company code. while doing the Goods receipt system is displaying only the "Finished Product" only. The packaging material is not displaying while doing the goods receipt in the another company code.
    due to this we are not able to complete our test cycle.
    so we need the expert opinion to solve this issue.
    if the packaging material is added as additional line item while doing Goods receipt then, the problem is solved.
    Kindly suggest us...
    Regards,
    MANI
    frWe have customized that also and now u201CPackaging materialu201D is adding as a new line item in the delivery document as a non valuated material.
    But the issue is, the Billing type u201CZICu201D is not getting determined while creation of billing if u201CPackaging materialu201D is added as a new line item. If u201CPackaging materialu201D is not added as a line item then, billing type is getting determined automatically without any issue.
    We have checked in LIKP table, its containing the billing type as u201CZICu2019. But if packaging material is added then, the billing type determination is not happening.
    We are assuming that some customizing needs to be done from MM/SD point of view. I am seeking the experts help regarding this issue to solve the problem.
    Regards,
    MANI

    Dear Friends,
              Thanks for the Feedback.
    Even though it is a associated company, in one company code the packaging material stock was reduced and packed for the STPO shipment.
    After receiving the consignment, in the receiving company code they will perform the goods receipt with ref to "Outbound Delivery" document.
    Since in the outbound delivery document "Packaging material" also available. So as a business strategy we are expecting the same "packaging material" also should available for goods receipt.
    I hope i have explained with max of my knowledge to clear your doubt.

  • Prevent quantity updating during Goods Receipt

    Hi,
    We have a particular requirement for a type of subcontracting process (not the standard SAP subcontracting) as mentioned below.
    We create a Purchase Order for a material (without a standard cost) and giving an account assignment category in the PO. The Net price mentioned in the PO is the processing charges for the vendor (service charges). It does not indicate price for the material.
    When we receive the finished material from the vendor, we perform a Goods receipt. The stock gets updated and accounting documents are created.
    Our requirement is to stop this quantity updating during Goods Receipt. But, at the same time, we would like the accounting documents to be created as we need to pay the vendor.
    Is there any way of achieving this?
    Pl let me know. Any inputs would be appreciated.

    Hi,
    Thanks for the response!
    I understand that in the standard process, the parent item inforecord takes care of the processing charges. But this is process that has been customized differently as the client has SAP as well as legacy systems talking to each other.
    Turning off the qty updating at the material type level will turn it off for all purchase orders created for the material at that particular plant which is something we would like to avoid.
    We would basically like to turn it off for particular purchase order type. The reason for turning it off is that after the GR is done, there is a separate process that comes from the legacy system and updates the same quantity of finished product and also posts the consumption of components.
    So, our basic requirement is , is it possible to turn off qty updating for the GR of a particular purchase order document type and yet create accounting document. Material is not a valuated material and has a standard cost zero.
    Any inputs in this regard will be helpful.
    Regards

  • Post Goods Receipt for Inbound Delivery with BAPI_GOODSMVT_CREATE

    Hello,
    I try to post GR for an Inbound Delivey with BAPI_GOODSMVT_CREATE and it is not working.
    I know delivery number and PO number and give both to the bapi.
    I am not sure how to set the movement indicator in the item.
    When I set it to B.
    I do get a shortdump from MB_POST_GOODS_MOVEMENT numer 143, stating that this type of movement is not allowed with this transaction
    when setting to L I do get an error stating
    "Update control of movement type is incorrect (entry 101 X X _ L)"  from message class M7.
    Below is the coding for it.
    Thank you very much for your help
    Michael
    * Füllen der Kopfdaten
      ls_gm_header-pstng_date = sy-datum.
      ls_gm_header-doc_date = sy-datum.
      ls_gm_header-ref_doc_no = delivery_header-lifex.
      ls_gm_header-bill_of_lading = delivery_header-bolnr.
      ls_gm_header-gr_gi_slip_no = delivery_header-xabln.
      ls_gm_header-pr_uname = sy-uname.
      ls_gm_header-ref_doc_no_long = delivery_header-lifex.
      ls_gm_header-bill_of_lading_long = delivery_header-bolnr.
      lv_gm_code = '01'.
    * Füllen der Positionsdaten
      LOOP AT selected_delivery_items INTO ls_delivery_item.
        ls_gm_items-material          =  ls_delivery_item-matnr.
        ls_gm_items-plant             = ls_delivery_item-werks. "             0001
        ls_gm_items-stge_loc = ls_delivery_item-lgort.
        ls_gm_items-move_type ='101'. "101
        ls_gm_items-entry_qnt                      = ls_delivery_item-lfimg. "          10,000
        ls_gm_items-entry_uom                      = ls_delivery_item-vrkme.
        ls_gm_items-po_number                      = ls_delivery_item-vgbel. "55001582
        ls_gm_items-po_item                        = ls_delivery_item-vgpos. "00010
        ls_gm_items-mvt_ind = 'B'.
        ls_gm_items-expirydate = sy-datum + 30 .
        ls_gm_items-deliv_numb = ls_delivery_item-vbeln.
        ls_gm_items-deliv_item = ls_delivery_item-posnr.
        APPEND ls_gm_items TO lt_gm_items.
      ENDLOOP.
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header               = ls_gm_header
          goodsmvt_code                 =  lv_gm_code
    *     testrun                       = 'X'
    *   GOODSMVT_REF_EWM              =
       IMPORTING
         goodsmvt_headret              =  ls_gm_header_ret
         materialdocument              = lv_mat_docno
         matdocumentyear               = lv_mat_year
        TABLES
          goodsmvt_item                 = lt_gm_items
         goodsmvt_serialnumber         = lt_gm_serial_numbers
          return                        = lt_return
      if lt_return is INITIAL.
      endif.

    Hello Pranav,
    the input for the business data is correct.
    When performing the goods receipt with Migo it works.
    I think the B in the movement indicator is correct, but there might be something wrong with the other data.
    Best regards
    Michael

  • Error during subcontracting goods receipt

    Hi,
    I'm receiving the following error message when performing a goods receipt of a subcontracting PO for an article variant in SAP Retail ECC6.
    Check table MDVW: entry 2 does not exist
    Message no. M7001
    The error does not occur for single article items - only variants of generic articles.
    MDVW is a strcture within the program - it's not a table. I think the message is generated in the include:
    MM07MFLO_LOHNBEARBEITUNG
    Any ideas? I haven't found any notes that seem to relate to this problem.
    Many thanks

    Will you pl mention which movement type and transaction you are using for making reciept against subcontraction PO. Generally such error encountered because system unable to derive PO line item. Are you reversing the document posted because i had faced such error while reversing GR doc.?
    Enjoy SAP,
    Parag Mahajan

  • Difference between inbound delivery and Goods Receipt

    Can any one explain difference between inbound delivery and goods Receipt??

    Hi dear,
    Inbound delivery is one confirmation used to indicate the expected goods receipts in advance, so that the related process partners like warehouse personnel , planning personnel can utilise this data for initiation of actions and planning. Also , we can make this confirmation relevant to Planning in the customisation, to enhance the performance.
    In general , we need confirmations only as a kind of assurance/information , in absence of the goods.
    But if the goods are received physically , obviously we do not need any confirmations , we would perform the goods receipt .
    When working with Inbound delivery , the goods receipt is done with respect to specific inbound delivery( though not compulsary to do so) , so that the integration done in the system works to the advantage of the users.

  • QA495 Error message during Good Receipt

    Dear Gurus,
    we would like to perform a good receipt with a custom movement (ZD1 as copy of 101) in order to do not activate QM inspection in certain cases. In OMJJ we flagged ZD1 as u201CQM not activeu201D but, since in the material master an Inspection type (with Lot Origin 01) is set, the following error during good receipt (MIGO) occur:
    "Change the inspection stock of material RAP4829AA_AG in QM only
    Error message QA495"
    The problem can be that, in the material document that we are trying to save, the stock type is automatically set to u201C2 - Quality Inspectionu201D. If we change it manually, leaving it blank (unrestricted use), the good receipt is correctly performed, otherwise the QA495 error message appear.
    The questions are:
    Is not enough deactivate u201CQM activeu201D flag in OMJJ for a specific movement type?
    Otherwise, how can we drive stock type (in MIGO) by the movement type?
    Thanks a lot,
    Regards
    Ale

    Hi Anand,
    as you told:
    "As I understand your requirement, you want to carry out goods receipt with ZD1 movement type (which is a copy of 101) and for which you donu2019t want to generate any inspection lot."
    Correct, but this is done simply deactivating QM at mov type level in OMJJ (flag "QM not active")
    My requirement is also to perform good receipt putting stock automatically in unrestricted use, and not in QI
    The inspection lot is not generated (if I perform GR changing manually stock type to unrestricted), but I would like that it will be automatically done, and we cannot understand what drives this field (stock type), despite of I removed lot origin (and all other reference to 101 mov type) from ZD1 custom movement.
    I suppose is automatically inherits from PO, so the question is:
    How can I drive/set "stock type" to make it Blank (unrestricted use) in good receipt or in purchase order??
    Thanks for help
    Ale

Maybe you are looking for

  • Can't sign into iTunes Store since upgrading to 10.6.0.40 on Windows 7.

    The iTunes 10.6.0.40 upgrade will not allow me to sign into the iTunes Store on my Windows 7 laptop.  I did a uninstall and reinstall following the technote titled "Removing and reinstalling iTunes, QuickTime, and other software components for Window

  • How to Remove Disabled Add-ons

    Working add-ons can be removed easily with a single button - whereas, disabled ones are not presented in the Add-on Manager with a means for removal. Seems an oversight; but in any event, with nothing in the FAQs about removing disabled add-ons, I'm

  • Triggering events for the Lost Triggers!!! Going Nuts....

    Gurus, Oracle ver 11g I am going nuts and crazy here.... Can you think of any possible reasons that I have lost all my objects that I created for triggers ( approx 65 objects) and how to get back those objects. I don't have the script to re-create al

  • Fixing image size irrespective of the monitor dimensions

    Hi , I have an HTML region, which has an image displayed from WORKSPACE_IMAGES. This regions exists at column 3 and is in the midst of two other regions which are at coulmn 1 (navigation region) and 9 (side bar region). Apparently I want this image t

  • Change R/3 client after EP7 / NW2004s double stack installation (UME settin

    Hello everyone, we have install NW2004s with choosing usage type EP as double stack installation (means ABAP and Java) and using SAP R/3 as user persistence. At the install point, only the client 001 is known / can be used. After the installation (EP