SAP Note 1005901 related to MM

Hello friends,
                    Can anyone explain me the below sap note 1005901 (MM module , tcode :- MB5B). I am not able to understand perfectly...
16.08.2010 Page 1 of 4
SAP Note 1005901 - MB5B: Performance problems
Note Language: English Version: 3 Validity: Valid Since 05.12.2006
Summary
Symptom
o The user starts transaction MB5B, or the respective report
RM07MLBD, for a very large number of materials or for all materials
in a plant.
o The transaction terminates with the ABAP runtime error
DBIF_RSQL_INVALID_RSQL.
o The transaction runtime is very long and it terminates with the
ABAP runtime error TIME_OUT.
o During the runtime of transaction MB5B, goods movements are posted
in parallel:
- The results of transaction MB5B are incorrect.
- Each run of transaction MB5B returns different results for the
same combination of "material + plant".
Other terms
MB5B, RM07MLBD, runtime, performance, short dump
Reason and Prerequisites
The DBIF_RSQL_INVALID_RSQL runtime error may occur if you enter too many
individual material numbers in the selection screen for the database
selection.
The runtime is long because of the way report RM07MLBD works. It reads the
stocks and values from the material masters first, then the MM documents
and, in "Valuated Stock" mode, it then reads the respective FI documents.
If there are many MM and FI documents in the system, the runtimes can be
very long.
If goods movements are posted during the runtime of transaction MB5B for
materials that should also be processed by transaction MB5B, transaction
MB5B may return incorrect results.
Example: Transaction MB5B should process 100 materials with 10,000 MM
documents each. The system takes approximately 1 second to read the
material master data and it takes approximately 1 hour to read the MM and
FI documents. A goods movement for a material to be processed is posted
approximately 10 minutes after you start transaction MB5B. The stock for
this material before this posting has already been determined. The new MM
document is also read, however. The stock read before the posting is used
as the basis for calculating the stocks for the start and end date.
If you execute transaction MB5B during a time when no goods movements are
posted, these incorrect results do not occur.
Solution
The SAP standard release does not include a solution that allows you to
16.08.2010 Page 2 of 4
SAP Note 1005901 - MB5B: Performance problems
process mass data using transaction MB5B. The requirements for transaction
MB5B are very customer-specific. To allow for these customer-specific
requirements, we provide the following proposed implementation:
Implementation proposal:
o You should call transaction MB5B for only one "material + plant"
combination at a time.
o The list outputs for each of these runs are collected and at the
end of the processing they are prepared for a large list output.
You need three reports and one database table for this function. You can
store the lists in the INDX cluster table.
o Define work database table ZZ_MB5B with the following fields:
- Material number
- Plant
- Valuation area
- Key field for INDX cluster table
o The size category of the table should be based on the number of
entries in material valuation table MBEW.
Report ZZ_MB5B_PREPARE
In the first step, this report deletes all existing entries from the
ZZ_MB5B work table and the INDX cluster table from the last mass data
processing run of transaction MB5B.
o The ZZ_MB5B work table is filled in accordance with the selected
mode of transaction MB5B:
- Stock type mode = Valuated stock
- Include one entry in work table ZZ_MB5B for every "material +
valuation area" combination from table MBEW.
o Other modes:
- Include one entry in work table ZZ_MB5B for every "material +
plant" combination from table MARC
Furthermore, the new entries in work table ZZ_MB5B are assigned a unique
22-character string that later serves as a key term for cluster table INDX.
Report ZZ_MB5B_MONITOR
This report reads the entries sequentially in work table ZZ_MB5B. Depending
on the mode of transaction MB5B, a lock is executed as follows:
o Stock type mode = Valuated stock
16.08.2010 Page 3 of 4
SAP Note 1005901 - MB5B: Performance problems
- For every "material + valuation area" combination, the system
determines all "material + plant" combinations. All determined
"material + plant" combinations are locked.
o Other modes:
- Every "material + plant" combination is locked.
- The entries from the ZZ_MB5B work table can be processed as
follows only if they have been locked successfully.
- Start report RM07MLBD for the current "Material + plant"
combination, or "material + valuation area" combination,
depending on the required mode.
- The list created is stored with the generated key term in the
INDX cluster table.
- The current entry is deleted from the ZZ_MB5B work table.
- Database updates are executed with COMMIT WORK AND WAIT.
- The lock is released.
- The system reads the next entry in the ZZ_MB5B work table.
Application
- The lock ensures that no goods movements can be posted during
the runtime of the RM07MLBD report for the "material + Plant"
combination to be processed.
- You can start several instances of this report at the same
time. This method ensures that all "material + plant"
combinations can be processed at the same time.
- The system takes just a few seconds to process a "material +
Plant" combination so there is just minimum disruption to
production operation.
- This report is started until there are no more entries in the
ZZ_MB5B work table.
- If the report terminates or is interrupted, it can be started
again at any time.
Report ZZ_MB5B_PRINT
You can use this report when all combinations of "material + plant", or
"material + valuation area" from the ZZ_MB5B work table have been
processed. The report reads the saved lists from the INDX cluster table and
adds these individual lists to a complete list output.
Estimated implementation effort
16.08.2010 Page 4 of 4
SAP Note 1005901 - MB5B: Performance problems
An experienced ABAP programmer requires an estimated three to five days to
create the ZZ_MB5B work table and these three reports. You can find a
similar program as an example in Note 32236: MBMSSQUA.
If you need support during the implementation, contact your SAP consultant.
Header Data
Release Status: Released for Customer
Released on: 05.12.2006 16:14:11
Master Language: German
Priority: Recommendations/additional info
Category: Consulting
Primary Component: MM-IM-GF-REP IM Reporting (no LIS)
The Note is release-independent
Thank you.

SAP suggests you to build a pre-calculated data table and a z-report to solve the problem of performance getting poor of transaction MB5B. They give suggestions to write programs that fill the new database table and a report to substitute MB5B transaction
First download and install in development or sandbox system the transport request of [Note 32236 - Incorrect stock qty or stock value in material master|https://service.sap.com/sap/support/notes/32236] and check the included reports which are very similar.
Regards,
Raymond

Similar Messages

  • SAP Note for iw32

    Hi,
    Good day guys
    Ive the user exit for iw32 for creating the settelment rules. iam getting all values except cost center. Right now we are using Ecc 6.0.
    Plz let me know if any sap note for iw32 to get the cost center value.
    Regards

    Hi,
    I tried to find some oss message but there is only one SAP note 1250669 related to your problem. Please check this one.
    But looks that i has been published on 09.2008. So it might be in your system already.
    Regards,
    Lokesh.

  • Related to SAP Notes

    Hi Folks,
    1.Will there be a SAP Notes even for Script too or SAP will provide a new script when there is a change in the layout,say for changes in J1INCERT-CIN.
    2.We are currently working on 4.7c and we generally apply notes as and when an error arises in a Standard transaction,by checking all the possible solutions like searching in SAP Market Place for SAP Notes availablity,if any.Won't SAP will notify all its customers regarding the SAP Notes to be implemented based on the version rather than we searching in SAP Market Place when an error arises.May be the query sounds crude but what I had experienced here is there are lot many SAP Notes that are pending and not implemented in my system and now we are finding it tough to collate
    Kindly let me know,
    Thanks,
    K.Kiran.

    Amit,
    As there is a change in SAP Script Layout for J1INCERT we had copied the script and done the changes manually(as we are not aware of that there is a SAP Note available) both in the Script as well as the Program and it is fine.We had tough time in terms of allignment when changing the Script :-).
    Kewl, the Notes even provides the Script.But how to open a file type of SAR.Gone through the notes 13719,seems we need to take the help of Basis Team.Nice if anyone here can provide me some info related to the downloading a file from SAP Note like SCRIPT.
    Thanks alot,Amit for the information on "OSS:1046758,891923 for J1INCERT"
    Any idea about the 2nd query?
    Vivek,check the OSS notes mentioned by Amit.
    Thanks,
    K.Kiran.

  • Related notes in SAP note

    Hi All,
    While implementing a SAP note, hope it is mandatory to implement the pre-requisite notes.
    Is it also necessary to implement the related notes mentioned in the note?
    Thanks in advance!
    Regards
    Vidhya

    You only have to implement the pre-requisite notes, not the related notes. These are often just referring to notes that resemble the ones you are implementing, meaning they share some similar error for example.

  • SAP note related to QA08 transaction

    Hi all,
    I am trying to activate inspection type using QA08 Transaction (for which we have written a BDC). The program runs successfully but the client says there is an internal error due to which the subsequent transactions are affected.
    We are pretty sure that our program has no bugs.
    Can anybody let me know are there any SAP Notes related to this Transaction.
    Thankyou in advance,
    Lakshmi

    Hi,
    Use follwonig transactions
    OSS1 / SNOTES.
    You can always go to http://service.sap.com/
    and search for notes.
    Regards,
    Shashank

  • REQ: List of SAP notes related to QM

    HI,
    Can anyone help me with a list of SAP notes name/no. related to QM?
    Thanks in advance!

    Swarnanli
    its really very difficult to get such list directly.You have to get the Market place lo-gin & check relevant to QM in QM category"Its very Huge list

  • Price List Error in Bill of Materials in relation to SAP Note 1056208

    Hi Experts,
    I have uploaded the Bill of Materials --both the Header and Lines using DTW successfully but when I try to update the Product Price of the Parent manually in the Bill of Materials, this error occurs:
    "Variation between number of price lists and number of price lists for items"
    I have also tried running the script provided in SAP Note 1056208 to check if there are any inconsistencies in the Price List records but there is none.  The number of records in both tables are the same.
    We have 3 levels of Bill of Materials (FG, WIP1, WIP2).  I need to update the Product Price of WIP2 first so that its price will appear in the line items since it is a component of WIP1.
    I hope you could help me with my problem and I would appreciate your prompt replies.
    Thank you very much!

    Hi!
    In BOM u will find a Orange Color Drop Down Arrow @ Right-Bottom Corner. You have to click on that to generate Price for your Parent based on the Child.
    Select the Approp Price List in Header of BOM and in Row Level. Update prices for Child Items, now Follow the above step.

  • Related to SAP Notes Implementation

    Hi Guys,
    I have a dbt and need a clarification on SAP Note.
    How I will be able to know by seeing the SAP Note or how I can judge my self that either (SAP Note)  should be implemented thru manually or using SNOTE transaction.
    Regards,
    Ravi Ganji

    hi Ravi,
       SNOTE Transaction is available from 4.6C version owards only ... and to know whether you have to apply it manually or through SNOTE you will have to confirm it by the user ... for details refer
    OSS Note
    http://www.sappoint.com/basis/.pdf
    http://www.sap-img.com/basis/oss-notes.htm
    http://www.sap-img.com/basis/manually-applying-the-oss-note.htm
    Regards,
    Santosh

  • SAP Note related to RSWUWFML2

    Hi,
    I am currently working on 4.6C, I need to download the RSWUWFML2 (latest version) program, so which SAP note should I use?
    Thank You,
    SB.

    Here is an idea: search SAP notes for RSWUWFML2.

  • Doubts relating to SAP Notes?

    Dear All,
    Being a new bee to ABAP environment, I am eager to know some information regarding SAP Notes.
    often I am hearing that SAP notes have to be implemented for some programmes. Why we implement SAP notes, and how we add sap notes to the programmes.
    If I want to add a note to Purchase Order process, under which transaction can I add, does it change any standard behavior of the system?
    What is Development, how does it differs with standard sap process?
    under which transaction all this developments take place,
    How can I see all developments done by a consultant in a project?
    Please clarify my doubts and your help will be highly appreciated
    thank you
    Raghu Ram

    Hi,
    Please do not create multiple threads for same question.
    Your question has been answered in ABAP general forum.
    How and Where SAP Notes have to be implemented?

  • Sap notes for 103 movement type and 105 movement types in sap

    Hi all,
    Please let me know if there are any sap notes for 103 movement type and 105 movement type in sap as soon as possible
    points will be awarded.
    thanking u in advance,
    srinivas.

    There are many SAP notes related to these movement types e.g 514609,750836,
    533833, 808029, 317823,etc.
    You can search them at http://service.sap.com
    Regards,
    Amit

  • Performance credit master data (FD32)--SAP Note 705317

    Hi,
    When running the FD32 tranasaction,I am changing the credit account and saving the transaction...it is taking quite a long time and going for dump....TIME_OUT error.
    The appropriate notes for this problem are 705317 and 9937.
    I shall give the details details of the note.
    SymptomLong runtimes occur for the reorganization of credit data in SD documents.
    This reorganization can occur in two situation:
    - You start report RFDKLI20.
    - You create or change credit master data in Transaction FD32.
    Reason and PrerequisitesIn the credit management, you change assignments in Customizing or create or change
    credit master data. The transfer of the changed settings into existing SD documents
    requires a reorganization of these documents.
    The reorganization is triggered from Transaction FD32 or using report RFDKLI20. Since
    the relevant partner function in the credit management is the payer, all open sales
    documents for a payer are selectedfor the reorganization.
    The selection is performed within function module SD_CREDIT_RECREATE, which is called
    from both Transaction FD32 and report RFDKLI20.
    The documents are selected according to one of the two following options:1. Partner index VAKPA
    The relevant documents are selected via partner index VAKPA. In index table VAKPA,
    the system updates all SD documents for a customer number in dependency on the
    partner function. All documents for a payer can be determined using index table
    VAKPA.
    CAUTION: Partner index VAKPA is only updated if the corresponding partner
    functions and transactions are activated in Customizing table TINPA. Table TINPA
    does not provide any update for the payer partnerfunction in the standard system!
    2. Document table VBPA
    If the update for the payer is not active in table TINPA, the relevant documents
    are selected via application table VBPA. Table VBPA contains the used partners
    (customer numbers) for SD documents.
    The access to table VBPA with the customer number of the payer requires a long
    SAP Note Nr. 705317 07.02.2008 Page 1
    runtime because the customer number is not a key field in table VBPA. It might
    result in a TIME_OUT.
    Solution
    Due to the technical conditions described above, there are two possible solutions for
    runtime problems in Transaction FD32 or with report RFDKLI20:
    1. Activate the update of index table VAKPA for the payer partner function:
    Activate the update of index table VAKPA for the payer partner function by
    creating an entry with transaction = 0, partner function = RG in table TINPA. You
    can use Transaction SM31 for that.
    Subsequently, a reorganization of index table VAKPA is absolutely required!! You
    can execute the reorganization with report RVV05IVB. Note that all existing SD
    documents thus also those ones already closed are indexed again by this report.
    Depending on the number of your documents in the system, this can result in a
    runtime which is correspondingly long. Therefore test this beforehand in a copy of
    your production system!
    2. Create a database secondary index for table VBPA:
    If a reorganization of index table VAKPA is not possible or not wanted, you can
    optimize the access via document table VBPA. For that, create a database secondary
    index for table VBPA.
    We cannot provide a general recommendation on how you have to define the secondary
    index in detail. This basically depends on your dataset.
    Use the SQL trace with Transaction ST05 in order to analyze the access onto table
    VBPA within function module SD_CREDIT_RECREATE. Then define a suitable database
    secondary index for table VBPA according to your analysis results.
    For example, you could create the secondary index for VBPA fields KUNNR and PARVW.
    Test the new secondary index by creating an SQL trace with Transaction ST05 again
    in order to check the effectiveness of the database access and the runtime.
    Also take the related notes into account.
    Use Note 99937 to avoid the automatic reorganization - and thus runtime problems - in
    Transaction FD32. Note that this does not solve the runtime problem during the
    reorganization in general, but shifts it to RFDKLI20 which you can schedule as a job.
    Thus, you are not disturbed by the runtime problem.
    Please can anyone help me as to in  which table and what fields i need to take to create secondary index.Thank you,
    madhu.

    Hi
    Instead of creating Indexxes u contact basis to increase the the time limit for the execution
    Regards
    Shiva

  • Stack Dump while creating Write Optimized DSO on BW 7.3, MS SQL - any SAP Notes?

    While attempting to create a Write Optimized DSO on BW 7.3, MS SQL, we had a stack dump - ABAP Program     CL_RSD_ODSO_VERS==============CP with short text " Access using NULL object reference is not possible. "
    Has anyone seen any SAP Notes on this subject?

    Hi John,
    Was any field deleted from the DSO, if yes, probably the system is not able to relate the pointer from the DSO table. Error like these come up very often when fields are deleted from DSO. Solution is to remove the field manually from the table also. However, the system is supposed to do but sometimes such ambiguity causes such issues.

  • SAP B1 Drag & Relate causes DMP Error

    SBO Version: 8.82 PL09
    Forum,
    We have noticed for windows 7 / windows 8.1 machines that when we come to use the 'Drag & Relate' facility, it is causing those SAP clients to crash with the following error:
    I have found on this forum a thread which indicates this may be a bug, fixed in 8.82 PL10. Is anyone able to provide me with the SAP Note number?
    Thanks,
    Sarah

    Hi,
    Please attach found thread here to check. Also check SAP note:
    1755387 - Overview Note for SAP Business One 8.82 PL09
    Thanks & Regards,
    Nagarajan

  • SAP Notes 488619 & 864481

    Hi All,
    has anyone tried to implement SAP Notes 488619 & 864481 for SRM 4.0 (SRM Server 5)?
    These notes are supposed to correct the fact that the BAPI's for transferring Purchase Order data only transfer 22 characters for the Vendor Part Number, after applying these notes (and two other notes to R/3) then 35 characters should be transferred.
    I get the following errors when trying to implement these notes
          Note 488619 - cannot add field VENDOR_MAT_LONG with component type
          IDNLF to structure BBPS_BAPIEKPOC as error message "Field
          VEND_MAT_LONG: Component type or domain used not active or does not
          exist" is generated.
          Note 864481 - the structure BAPIEKPOC which is described in the note
          does not exist in EBP nor does the component type LABNR.
    Has anyone ever applied these notes? I've logged this with SAP but as the system version is old they claim it's charageable work.
    Cheers
    Chris

    Hi
    <b>Please ensure you have done the following activities as mentioned in the SAP OSS Note - 488619.</b>
    1. <b>Implement Notes 826541, 444770 and 455879.</b>
    2. <u>First, check whether Note 864481 needs to be implemented in your system (this depends on the back end that you use).</u>
    3. For SRM 3.0 or lower, proceed as follows:
    Call transaction SE11.
    Enter structure "BAPIEBANV" as the data type and choose "Change".
    Add field "VEND_MAT_LONG" to the structure and use component type "IDNLF".
    Save and activate your changes.
    Proceed in the same way for the following structures:
                        BAPIEBANV
                        BAPIEBAN
                        BAPIEBANC
                        BAPIEKPOC
                        bbpekpoc46b
                        bbpekpoc46c
                        BAPIEKPO
    Call transaction SE80.
    In screen 3001 of function group "BBP_SC", replace field 'BAPIEBAN-VENDMAT' with field 'ITEMS-PARTNER_PROD'.
    Save and activate your changes.
    4. For SRM 4.0:
    Call transaction SE11.
    Enter structure "BBPS_BAPIEKPOC" as the data type and choose "Change".
    Add field "VEND_MAT_LONG" to the structure and use component type "IDNLF".
    Save and activate your changes.
    5. For SRM 5.0:
    Call transaction SE11.
    Enter structure "BBPS_BAPIEKPO" as the data type and choose "Change".
    Add field "VEND_MAT_LONG" to the structure and use component type "CHAR35".
    Save and activate your changes.
    Proceed in the same way for the following structures:
                        BBPS_BAPIEKPOC
                        BBPS_BS_RQ_ITEM_45B
                        BBPS_BS_RQ_ITEM_46C
                        BBPS_BS_RQ_ITEM_470
                        BBPS_BS_PO_ITEM_45B
                        BBPS_BS_PO_ITEM_46B
                        BBPS_BS_PO_ITEM_470
                        BBPS_BS_PO_ITEM_470_1
                        BBPS_BS_PO_ITEM_ERP10
                        BBPS_BADI_PO_ITEM_1
                        BBPS_BADI_RQ_ITEM
                        BBPEKPOC46B
                        BBPEKPOC46C
    <b>Caution:
    The structures that are specified in this note must be exactly the same in the EBP system as they are in the relevant back-end system. If the structures differ, adjust them. If you do not adjust them, it is very likely that the solution will not work. This means that you must also create fields that exist in the BAPI* structures in the relevant SRM structures.</b>
    6. Implement the correction instructions.
    <u><b>As mentioned in the SAP OSS Note 864481 - Changing struct 'BAPIEKPOC' of Release 4.6C and 4.7</b></u>
    Consulting Note. - After implementing note 626747 or applying Support Package SAPKH46C46 for R/3 46C or Support Package SAPKH47016 for R/3 470, structure 'BAPIEKPOC' is extended to a new field.
    Make the following changes according to listed steps:
    1. Add the following features to structure BAPIEKPOC using Transaction SE11 (Field 'Data type') after the last field:
    2. For releases EBP3.0 and EBP3.5:
    a) Component     : PR_CLOSED
    b) Component type: EBAKZ
    3. For Releases EBP3.0, EBP3.5, EBP4.0, SRM 4.0, SRM 5.0:
    a) Component     : ACKNOWL_NO
    b) Component type: LABNR
    4. Save and generate the object.
    <b>Other related SAP OSS Notes to check out -></b>
    Note 747132 APIs in BUS2105 and vendor's material number
    Note 488619 Vendor's material numbers with more than 22 characters
    Note 455879 BAPI_REQUISITION_CREATE BAPI_PO_CREATE: Vendor material
    Note 827614 Vendor product number truncated with backend PO
    Note 826541 BAPI_PO_GETDETAIL: Vendor material
    Note 662300 BAPI_INFORECORD_GETLIST: VEND_MAT not complete
    Note 892206 - SRM invoice: Enlarge Vendor product number to 35 chars
    Note 887581 - SRM invoice: Vendor product number not transferred
    <b>Do let me know.</b>
    Regards
    - Atul

Maybe you are looking for

  • Problem with opening query in Report Designer

    i am not able to open any quey in report desingner and facing RFc connection failed RSOBOLAP . is there any solution to solve the problem.

  • How can I measure the length of a 2D array?

    The grades [] [] is a 2D array and i want to return the length of the second dimension, that is 8. And grades[].length doesn't work, so what's the problem? Thanks!!!!!!!!   static String [] [] grades={{"A","B","B","D","D","C","A","F"},               

  • Smart forms item Details Displayed

    hi Experts,           Could u please send me the details i need to display the multiple values for items in my smartforms for that i got the Folowing inputs by using this i need to display the multiple values Please Go through this Values And Suggest

  • Regarding PO Module Data Fields

    Hi, I am working in Reports for Purchasing module. I have issue to find the following data fields in the Purchasing responsibility front end.Could you please help me regarding this... 1. Bill to Phone 2. Bill to Fax 3. Ship to Phone 4. Ship to Fax 5.

  • FALSE option of Alternative not being called

    Hello all, I'm having a strange problem in my smartform.  I'm attempting to control the order of pages using an alternative:  checklist-direct_dep = 'X'.  I've put breakpoint program lines in both true and false, but the program will only ever stop w