DUMP in the MFBF transaction

Hi Folks,
Users getting the frequent dumps in production systems. actaully we observed that dumps are coming when the users accessing the MFBF transaction manually when the batch job was running for backflush and NRIV (number ranges) table is getting locked.
The dump details is:
ABAP/4 runtime error   DBIF_RSQL_SQL_ERROR
       Occurred on     16.04.2007 at 15:57:10
>> Short dump has not been completely stored. It is too big.
SQL error 60 occurred when accessing table "NRIV ".
What happened?
The database system detected a deadlock and avoided it by rolling back
your transaction.
Information on where termination occurred
The termination occurred in the ABAP/4 program "SAPLSNR3" in
"READ_NRIV".
The main program was "SAPLBARM".
The termination occurred in line 231
of the source code of program "LSNR3F01" (when calling the editor 2310).
The error occurred during batch input processing
Source code extract
002010             NRIV-TOYEAR    = BNRIV-TOYEAR.
002020             G_FOUND        = YES.
002030           WHEN 4.
002040           WHEN OTHERS.
002050             G_ERROR_IN_BUFFER = YES.
002060         ENDCASE.
002070       ENDIF.
002080
002090       IF BUFFER_ACTIVE = NO OR G_ERROR_IN_BUFFER = YES.
002100   *          Die Pufferversion ist nicht aktiv oder es wurde bereits
002110   *          ein Fehler im Puffer oder NrKreisServer festgestellt.
002120   *          Gⁿltiges NrKreisIntervall mit Bis-GeschΣftsjahr aus der
002130   *          DB ermitteln
002140   *
002150         SELECT * FROM NRIV WHERE OBJECT    = P_OBJECT
002160                              AND SUBOBJECT = P_SUBOBJECT
002170                              AND NRRANGENR = P_NR_RANGE_NR
002180                              AND TOYEAR   >= P_TOYEAR
002190                       ORDER BY PRIMARY KEY.
002200           G_FOUND = YES.
002210           EXIT.
002220         ENDSELECT.
002230       ENDIF.
002240
002250       IF G_FOUND = YES.
002260   *          Intervall lesen, um zu sperren
002270         SELECT SINGLE FOR UPDATE * FROM NRIV WHERE
002280                                     OBJECT    = NRIV-OBJECT
002290                                 AND SUBOBJECT = NRIV-SUBOBJECT
002300                                 AND NRRANGENR = NRIV-NRRANGENR
>                                 AND TOYEAR    = NRIV-TOYEAR.
002320         IF SY-SUBRC <> 0.
002330       MESSAGE E751 RAISING INTERVAL_NOT_FOUND WITH P_OBJECT
002340                                                    P_NR_RANGE_NR.
002350         ENDIF.
002360       ELSE.
002370       MESSAGE E751 RAISING INTERVAL_NOT_FOUND WITH P_OBJECT
002380                                                    P_NR_RANGE_NR.
002390       ENDIF.
002400     ENDIF.
002410
002420     IF NRIV-EXTERNIND <> SPACE.
002430       MESSAGE E752 RAISING NUMBER_RANGE_NOT_INTERN.
002440     ENDIF.
002450
002460   *    L&#931;nge (maximale Anzahl Stellen) der Nummern berechnen
002470     G_NR_LENGTH = STRLEN( NRIV-FROMNUMBER ).
002480
002490   *    Nummern in numerische Felder f&#8319;r sp&#931;tere Berechnungen &#8319;bernehmen
002500     ASSIGN NRIV-FROMNUMBER(G_NR_LENGTH) TO <G_F>.
Contents of system fields
SY field contents..................... SY field contents.....................
SY-SUBRC 0                             SY-INDEX 1
SY-TABIX 1                             SY-DBCNT 1
SY-FDPOS 32                            SY-LSIND 0
SY-PAGNO 0                             SY-LINNO 1
SY-COLNO 1
Chosen variables
Any help will get full points.
Regards
TAJUDDIN

Dear All,
Notes are available for 4.6c version. This problem is in 3.1i and for this there is no note. Can we modify this 4.6c note and use in 3.1?
Regards
TAJUDDIN

Similar Messages

  • User exit for MFBF Transaction when we save the Transaction

    Hi All,
    I have a requirement like this I am generating batch numbers for MFBF Transactioin for this I have written code in the user exit 'EXIT_SAPLV01Z-002' this user exit will generate the Batch Number accordingly client requirement and update the batch number to the cust table which I have created,But now the issue is if we will not save the MFBF Transaction or it got some error and terminated the Transaction MFBF still the batch Number is updating to the custom table I want to find which user exit will trigger when we will save the docuement in the Transaction 'MFBF'?
    Thanks&Regards
    Mahesh

    Hi Mahesh,
    Check these user exits.
    PTRM0001            User Exit for Lead Column in REM Planning Table
    SAPLRMPU            Customer Exits for Material Staging
    XMRM0001            User exits: Backflushing in Repetitive Manufacturing
    No of Exits:          3

  • Dump in the transaction J2I6 in ECC 6.0

    Dear all,
    I am getting a dump in the transaction J2I6 when i select the radiobutton RG23D and then give the excise group,start date and enddate.When I select the radiobutton Excel Format ,it throws a dump as follows:-
    Packed field contains incorrect BCD format.
    Error anakysis says that ''An arithmatic operation in the current program J_2IRG23 attemps to process a field of type P that contains an invalid BCD format.
    What can i do?plz help

    Hi,
    There are some OSS notes related to your problem.
    Pls check the OSS NOte 1096189. It may resolve your problem. Other related notes are 1155341.
    Please check which one is relevant to your system.
    Regrads,
    Lokesh./
    Edited by: Lokesh Tarey on Apr 22, 2010 3:24 PM

  • Graying out the option INITIAL SCREEN on MFBF transaction -reg

    Hi,
    We face issues with users keep on changing their initial screen of MFBF transaction where in which they encounter issues .
    for example for doing assembly backflush , some times with out knowledge they select component back flush radio button and click on the option initial screen , then for them on MFBF component backflush only selected by default .
    with thsi background if they try for processing assembly back flush back ground sessions they encounter error and then we have to analyse and find the problem with screen of MFBF
    we would like to take out the option of initial screen setting from the users
    we could not do it through any of authorizations
    any idea how to deactivate it ?
    can it be done user wise or for the whole transaction it has to be done ?
    regards,
    madhu kiran.

    hi,
    we could not find any objects to control it through authorization
    our basis personnel confirmed it
    if any authorization controlling object is there please let us know which object to be used
    or
    which user exit we have to activate which should not give any side effects to the existing business process
    regards,
    madhu kiran.

  • What are the main transaction codes in XI?

    What are the main transaction codes in XI?

    SAP XI TRANSACTION CODES
    ALRTCATDEF- Alerts Configuration.
    ALRTDISP - Display of Alerts Created
    SXMB_IFR -> Start Integration Builder
    SXMB_MONI -> Integration Engine - Monitoring
    SXI_MONITOR -> XI: Message Monitoring
    SXI_CACHE -> To Access IS runtime cache
    SXI_SUPPORT -> Test all the Repository and Directory Objects
    SXI_CACHE -> XI data directory cacheidx1 -> idoc adapter
    IDX2 -> idoc metadata
    IDX5 -> monitor idoc adapter
    SM21 -> log di sistema
    ST22 -> dump abap (analisi di eccezioni)
    SMQ1 -> messages inbound e outbound queue
    SMQ2 -> messages inbound e outbound queue
    SMICM -> J2EE administration
    ST06 -> stato della macchina cpu memory filesystem machine status - cpu, memory and file system.
    ST03 -> workload.
    SCC4 -> visualizza mandanti del sistema
    WE20 -> partner profiles
    sale - ale settings
    RZ10 - edit system profile
    SM59 ->mantain rfc destinations
    BD64 -> mantain distribution model (trasformazioni)
    SU01 -> users
    AL08 -> list all logged users(user login logon)
    SE10 -> Change Request
    SE09 -> Change Request
    WE05 -> All idocs
    WE19 -> IDoc Test Tool
    WE21 -> port definition
    SE11 -> Data dictionary
    SM21 -> log sistema xi
    se37 -> mantain funcion modules
    SICF -> http server configuration
    SMGW -> trace, alzare livello di trace.
    BD13 ->
    BD64 -> modelli di distribuzione
    PFCG -> Roles
    tabella TSTC -> sap transactions codes
    tabella TSTCT -> transaction descriptions
    STMS -> transports management
    SPAM -> apply ABAP support packages
    SPAU -> manage objects after apply support packages
    SE01 -> manage change requests
    SLDCHECK -> Test SLD Connection
    SLDAPICUST-> SLD API Customizing
    SXMB_ADM -> Integration Engine - Administration
    SXMB_MONI_BPE -> Process Engine - Monitoring
    SE38 -> ABAP Editor
    SE11 -> ABAP Dictionary
    ST22 -> ABAP dump analysis
    SPROXY-> ABAP Proxy Generation
    SE80 -> Object Navigator
    ABAPDOCU -> ABAP Documentation and Examples
    SE24-> Class Builder
    SM21-> Online System Log Analysis
    SMQ1-> qRFC Monitor (Outbound Queue)
    SMQ2-> qRFC Monitor (Inbound Queue)
    RZ70-> SLD Administration
    SM58-> Asynchronous RFC Error Log
    SM59-> RFC Destinations (Display/Maintain)
    SMICM-> ICM Monitor
    WE60-> Documentation for IDoc types
    BD87-> Status Monitor for ALE Messages
    IDX1-> Port Maintenance in IDoc Adapter
    IDX2-> Meta Data Overview in IDoc Adapter
    WE05-> IDoc Lists
    WE02-> Display IDoc
    WE19-> Test tool
    WE09-> Search for IDocs by Content
    WE20-> Partner Profiles
    WE21-> Port definition in XI
    SE16-> Data Browser
    SE93-> Maintain Transaction Codes
    SM30-> Call View Maintenance
    SU01-> User Maintenance
    SM02-> System Messages
    BD54 -Logical System Creation.
    SWXF_PBUILDER -> for Detail BPM Process
    SMQS - > to register the destination in QOUT scheduler
    WEOUTQUEUE - > to start the queue processing
    SMQR - > to register the queue
    IDXPW - > to activate the IDOC message package
    IDXP - > to monitor the message packages.
    SWF_XI_CUSTOMIZING -> transaction to check prerequisites for integration processes.
    http://www.erpgenie.com/abaptips/content/view/452/62/

  • Table and field for RP Backflush checkbox in MFBF transaction

    Dear All,
    I am working on enhancement for transaction MFBF wherein on MFBF screen RP backflush check box is part of enhancement.
    When I do operational confirmation by keeping check for RP backflush then it save the entry.
    I can see the operation entry in AFRU but I can not see the check for RP backflush check box.
    Can anybody help me by providing the information that in which table I will get RP backflush check box entry for the MFBF operational confirmation?
    Or else provide the logic that how system find/determine that user has selected/checked the RP backflush checkbox?
    Thanks,
    Narresh

    Hello Naresh,
    The purpose of the RP backflush to confirm the operation and component is assigned to such operation (reporting point) then the components and activities gets posted and during the last reporting point generally GR happens. For RP backflush maintained mailstone confirmation in control key indicator and same control key assign to operation in routing.
    Please check this table S028, CEZP and CPZP for RP backflush information.
    I hope this information helpful to you,
    Thanks & Regards
    Umesh Mali

  • Population of custom LIS tables thorugh MFBF transaction

    Hello Friends,
    I have created a custom LIS tables S728 for Shop floor control (04) and it is updated though REM Backflush (transaction MFBF). But some of the fields are not populated. Can someone help me to understand how this LIS table is populated? I am looking for piece of code where this table is populated.
    I see some includes inside main program for MFBF transaction related to LIS structures, but control does not stop there in while debugging MFBF Tran code.
    Any direction/suggestion will help.
    Thanks.
    Sujoy

    I added the following code at the beginning of the user exit and was able to prevent the execution of user exit for S031, S032 and S033 during reload of old material documents using OLI1 or OLI2.
    DATA: lv_ex_flg TYPE c.
    DATA: lfd_string TYPE string VALUE '(SAPLMCB1)XMCINF[]'.
    FIELD-SYMBOLS : <fs1> type any,
            <fs2> type any,
            <fs> TYPE table,
            <fs_wa> TYPE any.
    IF sy-tcode EQ 'OLI1' OR sy-tcode EQ 'OLI2'.
    ASSIGN (lfd_string) TO <fs>.
    IF sy-subrc EQ 0.
    LOOP AT <fs> ASSIGNING <fs_wa>.
       ASSIGN COMPONENT 'LOW' OF STRUCTURE <fs_wa> TO <fs1>.
       ASSIGN COMPONENT 'HIGH' OF STRUCTURE <fs_wa> TO <fs2>.
       IF <fs1> EQ 'S031' OR
         <fs1> EQ 'S032' OR
         <fs1> EQ 'S033'.
         lv_ex_flg = '1'.
         EXIT.
       ELSEIF <fs2> EQ 'S031' OR
              <fs2> EQ 'S032' OR
               <fs2> EQ 'S033'.
         lv_ex_flg = '1'.
         EXIT.
       ELSEIF <fs2> EQ 'S920' OR
               <fs1> EQ 'S920'.
         EXIT.
       ENDIF.
    ENDLOOP.
    ENDIF.
    ENDIF.
    CHECK lv_ex_flg NE '1'.

  • Dump issue in standard transaction

    I am getting a dump error in a standard transaction while clicking save option,
    could you please confirm me whether the issue is with SAP standard transaction path fill missing or some thing else since when we will do the same steps in same transaction to some other server its not giving dump error.
    Should I've to do any code changes in the standard transaction by registering access key request or is there would be any basis related issue.
    Also, I debugg a lot and not sure from where the issue is comming.
    Please suggest.

    I'm done with the debugging and found the reason for the problem.
    Secondly as I said it a pure slandered transaction and we have not done any code changes, enhancement, BDT/BRF etc
    so there in no way to get into depth for debugging since every line of code would be correct but the we need to find out where and why its getting stuck and  throughing  the dump.
    Where
                    In DSAVE BRF event only its giving  error as error message = E once no entry found in the internal table. however it has to get some data from some where but unfortunately its not collecting the data so it remain initial and its result error type and E which indicate dump with logical (feeder) system not determine
    Why      
                 SAP insurance  module consist of CD, CM, ISM, Banking and where BP will act as a  central component,
    so there would be by default integration between BP and CD,CM,ICM,Banking. But I think the default connection between these all is not exist in our server, therefore once we are clicking save option in our process its not getting the path for interconnection with CM.
    Final conclusion the integration between BP and CM is not establish hence its giving  dump.
    So could any one  please tell me how to establish the integration between BP an CM, it might be related to BASIS issue but I welcome all who ever can provide the solution. (Might be we have to do some configration or something in SPRO-cross application - SAP BP - etc. )
    Edited by: Helpfriends on May 23, 2011 10:15 AM

  • MFBF transaction help required for variant creation

    Dear experts,
    We have a requirment in using MFBF transaction.
    In assembly backflush tab after entering everything and pressing 'Post with correction button'
    a grid opens.Here we want quantity to be disabled.
    Second we click component backflush tab and after entering data and press
    'process component list' button.Here we want the same grid that we get should have quantity
    enabled.
    I tried using transaction variant and find it responding one way either enabled in both or diabled in both.
    That doesnot meet my purpose.
    Plz tell me some way. Can i use badi to do such stuff ?

    Dear experts,
    I dont know whether its a bug with sap or not,they may conclude themselves.For the time being
    i tried userexits
    EXIT_SAPLBARM_001
    EXIT_SAPLBARM_002
    EXIT_SAPLBARM_003
    EXIT_SAPLBARM_004 IN enhancement XMRM0001
    I activate my projects without any coding on these exits but only breakpoints statement.
    I find them stucking at breakpoints on activation which is what i want .
    But what happens at last is despite without any single piece of code on these exits
    i get information message dialog
    No components Found.Continue without components  ?
    If i say 'yes',i see a blank grid and otherwise material posted without document.
    Why such a behaviour ??

  • Repetitive Component Scrap for MTS scenario using MFBF transaction

    Hi,
    We are trying to replicate the functionality of posting a backflush document to process Repetitive material component Scrap for MTS scenario with BOM explosion using MFBF transaction into a custom RF program.
    We tried to use 'BAPI_REPMANCONF1_CREATE_MTS' to backflush the Scrap for the above scenario. But it did not help. And no other BAPI's exist. BDC'ing the transaction doesn't help as it contains Table Controls and lot of subscreens an dit is highly volatile for a RF screen.
    In view of above restrictions, we are not able to find a solution of how to implement the above functionailty in a RF program.
    Can someone please help us in this regard.
    Thanks.

    Any Body plz ? .. Even I need this.

  • Mfbf transaction

    while working with mfbf transaction i get message error in determining cost estimate can anyone guide me where am i wrong .i have also used transaction mf30 i still get message one product collector costed of which one with errors can anyone guide me how to proceed

    Amit,
    Kindly do the costing (CK11N) For your material with reference to the production version for which you're doing the confirmation. Just make sure there are no errors in the costing run. Also release the costing with CK24 after the costing run.
    Regards,
    Lodhi.S

  • BAPI_REPMANCONF_CREATE_MTS     (mfbf) TRANSACTION)

    Guru's,
    Pls help me on theis req...
    IN my module pool screen i got the data...
    matnr = mti010   plant =1001 storageloc=gfds serlnumber=12
    now i need to update into sap insteading of writing BDC..
    so in case of MTO while calling same as MFBF transaction..
    I need to use BAPI_REPMANCONF_CREATE_MTS...
    Please any body tell me how to pass the parameters and update the database tables.....
    I will give u full marks for this...
    Pls give me code as of now urgent tome...

    Hi,
    I'm also facing the same problem while i'm working with BAPI_REPMANCONF_CREATE_MTS. Hope u know the functionality of  PDC Number. From where i can get this. Please replay me.
    regards,
    bab

  • QALS table update while using MFBF transaction

    Hi ,
    I added new field with Z to QALS table and i want to fill this field when user use MFBF transaction while pushed save button.But i need mat. document number (mblnr) when i find value of new field which i added.I found  EXIT_SAPLQPL1_002 exit which i can change value of QALS table but when i enter into this exit mblnr filed is coming empty.I also tried to find a badi and found INSPECTIONLOT_UPDATE badi's CREATE_BEFORE_UPDATE method.Here i have all values of QALS.But when i change value of new field after this method it becomes empty again.Is there any way to fill this field from mfbf transaction using mblnr?

    Hi Mehul,
    You make use of Wait statement within the BAPI. let the system wait for 2 milliseconds.
    use wait = 2. then try doing the same. I think your error would be resolved.
    Reward points if this helps,
    Kiran

  • How to take a report for the assigned transaction and activity in a role

    Hi Colleagues,
    I want to take a report for the assigned transaction with activity for all roles, which are assigned to the users,
    Transaction list for a role i can able to take it from SUIM but not able to take the ACTVT for the role.
    Please suggest how to take this information.
    BR,
    Jai

    Hi Jaikumar from the post :
    I think you have reached the state of finding the USER to ROLE relationship
    Take the output to an excel,
    COPY just the roles column exactly in order do not rearrange , use AGR_1251 like other experts have mentioned
    insert the roles copied from you buffer and execute, the output will have multiple entries for each role take the output to an EXCEL again , make it unique and match the outputs between both the EXCELS.
    It will be a little tricky to do this, but I think you are proficient in MS EXCEL.
    This is one of the ways to do , there are many other ways to do it.

  • How can i pull the payment transactions for each invoice?

    Hi folks
    iam developing report for following requirement.
    want to disply the vendor transaction file for all company codes Fiscal year,of 2004,2005,2006, and 2007 (to date).
    The purpose of oureport is to analyze our company invoices and investigate potential overpayment opportunities. In order to effectively accomplish this, we need a single invoice record for each invoice that was received by compnay from their vendors. The single invoice record would contain at least the following columns: Vendor Number, Vendor Invoice Number, Invoice Date, Invoice Amount, SAP Document Number, Check/Wire Number, Check/Wire Date, Check/Wire Amount. SAP would have multiple rows in a table for any one invoice, whereas we would only want to see ONE row for every vendor invoice.
    if you know that company pays (for example) 75,000 invoices/year - then the transaction file you would have about 300,000 records in it. 75,000 Invoices * 4 years.
    inodrer to develop this report iam using table PAYR -payee
    BSIK ( closed items) BSAK ( open items).
    my question is any one tell me how can write logic to  pull the payment transactions for each invoice?
    regards
    neeru

    Hi rob,
    yes you are right,  an invovice may contaion duplicate records
    example  PAYR table contain
    invice no         compnay code  checkno vendor  fisclyear
    ( doc.number)
    2000134373     001                    10287200          2007
    2000134373     001                    10427890          2007
    so as per my requirement how can i write the logic.
    regards
    neeru

Maybe you are looking for