Debugging migo

Hello SCN.
I need your help, I am debugging trx MIGO y and I have the following Window, it says enhancement, what does it mean? is it an exit? can i find it by cmod or smod.
thank you for your help.

Hi enhique .
This is a enhancement point.
He can be standard or Z .
When isn´t standard your first letter name is Z.
It is a direct encoding in the standard code.
if it is hindering your process, check who did it and ask if you can change it.
If you need change it , then you can find many sites in internet step by step.

Similar Messages

  • Debugging MIGO transaction

    Hi to all,
             i am debugging standard <u><i><b>MIGO</b></i></u>. In the migo program <u><i><b>SAPLMIGO</b></i></u>
    [SE38] there is a include <u><i><b>LMIGOST2</b></i></u> in that include there is a code on line 113 col 31  <u><i><b>WHEN 'OK_POST' OR 'OK_POST1'</b></i></u> <b>{ [</b> <u><i><b>OK_POST/OK_POST1</b></i></u> is the fct code for <u><i><b>SAVE</b></i></u> Button <b>] }</b>. After this code there is a method  <u><i><b>CALL METHOD LCL_MIGO_GLOBALS=>KERNEL->DOCUMENT_POST.</b></i></u>. i want to enter into this method but i am unable to enter.Can anyone tell me how?

    Hi Nikhil,
    You will find it here...
    Include LMIGOKE1   Line 181....
    Regards,
    Raj

  • Debugging SAPM07DR forms called from MIGO -  another "infinite loop" case?

    SAMP07DR is an SAP-delivered include pool that calls SAPscript forms for various purposes, e.g. printing of GR slips when goods receipts are posted.
    A few months ago, the customer decided to make a Z version ZAPm07DR of this pool to create a custom version ZM07DRSONof the include  M07DRSON.
    We have now have a sporadic problem with GR slips not printing.
    Based on discussions here:
    Ouch! Ugh! Never seen something as ugly and embarassing as this!
    I think I am going to have to code an infinite loop in ZM07DRSON in order to trap it in SM50 after posting a goods receipt in MIGO.  This is because even when the print process fails, the MIGO goods receipt finishes OK with the usual "new mblnr" notification at the bottom of the screen.  So this tells me that the (S/Z)APMO7DR includes are being called asynchonously and can't be seen even with the
    But does anyone else know how you else you could debug SAPM07DR when its includes are called while posting a goods receipt in MIGO?
    I would hate to use the "infinite loop/SM50" approach except as a last resort.
    Thanks
    djh

    Hi Rich  -<br><br>
    1) it's gotta be asynch/background because as I said:-<br><br>
    a) the MIGO goods receipt finishes perfectly normally with the new mblnr notification on the bottom of the screen;<br>
    c) the SM13s are generated even though MIGO finishes mornally-<br><br>
    2) Regarding the infinite loop itself - we may not be able to reproduce the error in D or Q and I hate introducing an infinite loop into a P client on general principles, even if I condition it on my sy-uname, which of course I would do.<br><br>
    Regards<br>
    djh

  • MIGO print out debugging

    Hi Folks,
    I have a requirement in MIGO and I have to debug the smartforms called, do you have any idea how I can make it? the setting is 4 printed immediately. I had set a breakpoint in the smartforms but nothing happens when I execute.
    Appreciate your quick response.
    thanks.
    Regards,
    John

    Hi Jb,
    Please try to use update debugger using below steps,
    Put a breakpoint in your driver program.
    In MIGO, before pressing the SAVE button start debugging.
    Press the SAVE button.
    Start the update debugging by Settings > Update Debugging.
    As soon as you continue in debugging, it would open another debugging session for the Update debugging. You can press continue and it would stop at your breakpoint.
    Regards,
    Prasenjit

  • MIGO Transaction code debugging...

    Hi Friends,
    I want to display my material details by giving material number and year of the material. its working well for data which is present in database. but when i try to display archived data its showing that 'material Doesn't exist'.
    i have stored all the archived material details which is in internal table. i dont know where to pass this values while execution transaction code 'MIGO' for displaying archived material in MIGO screen.
    please help me on this..
    thanks and regards,
    Raja V.

    hi
    This is too peculiar... but upto my knowledge u should pass them into a BADI and show that the material is archeived one.. *(yet to face such a problem).
    check for any of the following  BADI which is flowing in MIGO as per ur req and
    MB_BATCH_MASTER     
    MB_RESERVATION_BADI 
    MB_QUAN_CHECK_BADI  
    MB_PHYSINV_INTERNAL 
    MB_MIGO_ITEM_BADI   
    MB_MIGO_BADI        
    MB_DOC_BADI_INTERNAL
    MB_DOCUMENT_UPDATE  
    MB_DOCUMENT_BADI    
    MB_CIN_MM07MFB7_QTY 
    MB_CIN_MM07MFB7     
    MB_CIN_LMBMBU04     
    MB_CHECK_LINE_BADI  
    ARC_MM_MATBEL_WRITE 
    ARC_MM_MATBEL_CHECK 
    check with a break-point whether u can bring those line items into this BADI. then it is possible to show an error or popup stating these materials are archeived.
    hope this might help u in some way...
    Regards,
    venkat.

  • How to Find Location of Error Message in MIGO Transaction

    I keep getting an error in transaction MIGO: Create account N450010 for 08/07/2007 as a cost element in controlling area BFP1. According to the functional person the account has been created. Any other way to find out besides a "where-used" on the message class and number to find out where this message is coming from? The where used is not bringing me any results.....Thanks.

    Hi
    Probably the message is called dynamically, so u should try to check by debug when that message is raised.
    U can set a break-point for the statament MESSAGE.
    Max

  • Reg:Error message in MIGO Transaction

    Hi All,
    I added the new tab strip in MIGO Screen. now i need to make all the fields as mandatory. so using BADI (MB_MIGO_BADI) i gave the mandatory check ( if the Zfield = ' ', then error message) while clicking the check button before posting the material number. But it prevents to proceed further, simply it skips the transaction because of error message. and at the same time 'i should not use the information message'. my requirement is 'Error message should be populated after clicking the check button but it should allow to enter the mandatory fields after the error message'. i.e it should not skip the transaction after the error message.
    Please help me.
    Thanks & Regards
    Vijay.R

    Hi
    Probably the message is called dynamically, so u should try to check by debug when that message is raised.
    U can set a break-point for the statament MESSAGE.
    Max

  • Exchange rate difference in MIGO and MIRO

    Dear Experts,
    Our local currency is INR.
    We have created PO and MIGO on 31.03.2015 with exchange rate 62.5908 without tick on fixed exchange rate in PO. OB08  is  also same on 31.03.2015. But at the time of MIRO system showing error massage for configure KDM even if i put exchange rate manually (62.5908) in MIRO.
                        GR/IR  Dr         62.5908
                               To Vendor        NIL 
                        Total                  63.5908
    I have also made down payment to this in UDS
    Local Curr(INR)
    Doc. Curr (USD)
    Ex. Rate
    PO No.
           32,081,541.24
               505,002.42
                   63.52750
    5500200091
           93,721,425.00
           1,494,998.00
                   62.69000
    Please advice how can i debug exchange rate 63.5908. if i assign GL on KDM then system will debit this difference in that GL
    Thanks in advance. Your suggestions will be highly appreciated.
    Best Regards,

    Hi Monika
    Please also exchange how you have set up the treatment of exchange rate differences for your company code for LIV under the path:
    IMG>Materials Management>Logistics Invoice verification> Incoming Invoice>Configure how exchange rate differences are treated
    Check if you have N or X maintained here. If you have any of this config, you will need to maintain the GL Account in KDM as well
    Regards
    Sanil Bhandari

  • MIGO Dump

    Hi all
    While doing MIGO for Delivery I am geeting a run time error, I am giving the details of the error below.
    Runtime Errors MESSAGE_TYPE_X
    Date and Time 05.11.2007 06:05:17
    Short dump has not been completely stored (too big)
    ShrtText
    The current application triggered a termination with a short dump.
    What happened?
    The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X).
    Error analysis
    Short text of error message:
    Could not determine recipients for message type INVCON
    Technical information about the message:
    Diagnosis
    An IDoc of message type INVCON was passed to the ALE layer, but the
    three receiver fields in the header record were not filled. In this
    case the ALE layer tries to determine the receivers from the
    entries in the distribution model. There are no entries available
    in the distribution model for the above message type.
    Procedure
    Define the receivers in your distribution model for this message
    type or deactivate distribution for these message types.
    Message classe...... "B1"
    Number.............. 003
    Variable 1.......... "INVCON"
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... " "
    Variable 3.......... " "
    Variable 4.......... " "
    gger Location of Runtime Error
    Program SAPLMBWL
    Include LMBWLU21
    Row 53
    Module type (FUNCTION)
    Module Name MB_POST_GOODS_MOVEMENT
    rce Code Extract
    e SourceCde
    23 ENDIF.
    24 xcommit = x. "Performance
    25 IF NOT xblnr_sd IS INITIAL.
    26 xmkpf-xblnr = xblnr_sd.
    27 MODIFY xmkpf INDEX 1.
    28 * when a goods movement for an inbound or outbound delivery is posted
    29 * directly from VL31N/ VL01N, XBLNR is not yet known when we call
    30 * CKMV_AC_DOCUMENT_CREATE, but the number is supposed to be stored in
    31 * BKPF as well. There is no other way to forward XBLNR to FI as not
    32 * every document is posted by MB_CREATE -> a new function module in
    33 * MBWL for transferring the information, called by FI, meant to load
    34 * the complete function group for all MBxx postings when this isn't
    35 * required (Performance). Would be the better way to transport the
    36 * information after switching off MBxx in later release.
    37 * corresponding IMPORT ... FROM MEMORY ... can be found in
    38 * AC_DOCUMENT_POST (FORM FI_DOCUMENT_PREPARE (LFACIF5D))
    39 l_mem_id = 'MKPF-XBLNR'. " 641365
    40 EXPORT xblnr = xblnr_sd TO MEMORY ID l_mem_id. " 641365
    41 ENDIF.
    42 IF xmkpf-xabln IS INITIAL. "note 434093
    43 CALL FUNCTION 'MB_XAB_NUMBER_GET'. "note 434093
    44 ENDIF. "note 434093
    45 CALL FUNCTION 'MB_CREATE_MATERIAL_DOCUMENT_UT'
    46 EXCEPTIONS error_message = 4.
    47 * As soon as we have started to put things into UPDATE TASK, we must
    48 * ensure that errors definitely terminate the transaction.
    49 * MESSAGE A is not sufficient because it can be catched from
    50 * external callers which COMMIT WORK afterwards, resulting in
    51 * incomplete updates. Read note 385830 for the full story.
    52 IF NOT sy-subrc IS INITIAL.
    >>> MESSAGE ID sy-msgid TYPE x NUMBER sy-msgno WITH "385830
    54 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    55 * MESSAGE A263.
    56 ENDIF.
    The programme was terminated in line 53 where there was a note 385830, I am trying to apply note 556000, is this the right approach.
    Please guide me.
    Suresh

    hi ,
    the dump is correct . becuase of inconsistency system going to dump.
    Put a break point at below FM and debug the FM and find out why sy-subrc eq 4 and where it is happenning. The reason for dump is not because of ABAP it is because of the Wrong functional process(some where in Config).
    CALL FUNCTION 'MB_CREATE_MATERIAL_DOCUMENT_UT'
        EXCEPTIONS
          error_message = 4.
    IF NOT sy-subrc IS INITIAL.( other than 0 goes to dump)
        MESSAGE ID sy-msgid TYPE x NUMBER sy-msgno WITH         "385830
                   sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        MESSAGE A263.
      ENDIF.

  • Run time error in MIGO after maintaining tax code

    Hello Experts,
    I had configured the new tax code ,which is working fine for the PO document ZLOC domestic and the account category Z.
    While doing the MIGO for purchase document type ZGEN general purchase , I am getting run time error:
      "Division by 0 (type P) in program "SAPLJ1IEX".
    When I debugged the code i found that inside FM: 'J_1IEX_DEFAULT_EXCISE_DUTY'
    one another FM is being called: 'J_1I6_UNIT_CONVERSION' which is returning the value "ls_ekpo-menge" as 0(Zero).
    later in the code when "ls_ekpo-menge" used in calculation then divide by 0 runtime error is coming.
    Please suggest what need to be done.
    Is there anything related to tax code? How should I correct it?

    Hi,
            There is not value in that field for PO quantity / Value it is missing while doing MIGO. Check whether you have maintained values for all required fields.
    Kiran

  • Profit Center Substitution Not getting reflected in FI document duirng MIGO

    Hello friends,
    I have implemented a substition exit for profit center replacement. The rule has been created with this exit. But when I do a MIGO, i see the FI documents getting created with original profit center, not with the profit center that we have manipulated in the substitution. Even though i see in the debugging mode that the profit center is being replaced within the code, when the accounting document is generated, I see the old profit center only in FB03. There is no other substitution exit that is overwriting the profit center. What else could impact this / any inputs would be of great help.
    Thanks,
    Mayank

    Are you using Accounting document substitution (Tcode OBBH)? Try using Controlling substitution (Tcode OKC9), this will substitute the coding block (COBL) of accounting doc where profit center (COBL-PRCTR) is found.

  • Goods Receipt for Inbound Delivery through MIGO

    Hi All,
    Can anyone pl. explain me in steps the process of GR for Inbound Delivery from MIGO transaction.
    Also I need the process of reversing this goods receipt done.
    For certain inbound deliveries a dump occurs in the program SAPLIE01 in 'EQUIPMENT_ADAPT_BUSVIEWS' fn module.
    I need to analyse the reason for the dump. Here is the extract from the dump
    <b>IF WA_EQUI IS INITIAL
      keine Equidaten vorhanden => EXCEPTION
    --->       RAISE ERR_ADAPT_BUSVIEWS . ENDIF.                     </b>                                          
    Advance Thanks

    Hi Sanjay and Srikanth,
    Thank you for the correction. I was just wondering over this number.
    Sanjay, regd the release level, it is 0017 for SAP_APPL.
    In brief, when GR is done for an inbound delivery, a fn moudle equipment_adapt_busviews is called, in which if the equipment data of the material (wa_equi) is initial, it gives dump.
    1. This fn module is called 3 or 4 times while the posting is done through MIGO
    2. In the 4th call, the parameter wa_equi is initial - which gives the dump.
    3. While debugging, when I reach this point,if I restart the debugging, I find that the posting is completed !!!! (so something happening after posting of GR gives the dump)
    4. I have to reverse this GR for replicating the same again.
    Any further clues !!
    Regards
    Aadarsh

  • Finding Program for triggering Print Program (MIGO - Goods Receipt)

    Hi all,
    Currently, I have developed customized print program and SMARTFORMS for Goods Receipt via MIGO, with output type ZZGR.
    Typically, this is a inter-plant transfer, where Plant A will issue a Delivery Order to Plant B, and Plant B will post goods receipt via MIGO (Movement Type 101), using Delivery Order number. As soon as the Material Document is posted, the SMARTFORMS shall be triggered by customized print program, in order to print out the goods receipt document upon material doc posted.
    The config for output determination (via TCODE NACE) for goods receipt is configured. I have tested post a goods receipt using Delivery Order, and Material Document is posted successfully. However, I got a message from SAP Inbox (Businees Area), saying that my Material Document having an update error, and the root cause is specifically from calling Function Module to trigger Smartforms in the print program. From tcode ST22, I realized that the error is due to empty parameter being passed to the function module (where the parameter is required field for further processing in Smartform).
    In order to rectify why empty parameter is bieng passed, I will have to debug the print program, after GR posted from MIGO. Therefore, can someone shed some lights on how to perform a debugging process, or any standard sap program involved, as I understand that the print program is triggered (in background) after GR posted?
    Also, can I know why the Material Document will not be committed to MKPF table after GR posted, is it due to the update error from the above mentioned?
    Many thanks.
    Best regards,
    Patrick
    P/S: I'm using SAP ECC6.

    Actually, this print program is being triggered in the update processing.
    Put a breakpoint in your driver program.
    In MIGO, before pressing the SAVE button start debugging.
    Press the SAVE button.
    Start the update debugging by Settings > Update Debugging.
    As soon as you continue in debugging, it would open another debugging session for the Update debugging. You can press continue and it would stop at your breakpoint.
    Regards,
    Naimesh Patel

  • Updating Batch classification data from MIGO for Purchase order

    Hi,
    I need to update batch classification data (in MSC3n) from MIGO for purchase order. The logic needed for this is as below,
    1) Pass material and batch to MCH1 table to get CUOBJ_BM.
    2) Pass CUOBJ_BM to INOB table to get INOB-OBJEK.
    3) Pass INOB-OBJEK to CLAF_CLASSIFICATION_OF_OBJECTS to get class name & characteristic name.
    4) Pass INOB-OBJEK, CLASS name and characteristic name to BAPI_OBJCL_CHANGE to update batch classification data.
    I created implicit enhancement at the bottom of FM "CLVF_VB_INSERT_CLASSIFICATION". But the problem is, the return parameter of BAPI_OBJCL_CHANGE is giving the following error.
    Class type 023, object type MCH1, object RAW-6             0000001151
    Object is currently locked by user
    The assignment was not changed
    Please let me know how to do it. Is there any BADI or User Exit?

    Hi,
    As you said the break point is not triggering did you activate your exit and activated even the project to which your exit is assigned.
    I hope you missed activating your project in CMOD transaction. Please verify it once and if it is not activated then immediately activate it and try debugging again.
    Regards,
    Rafi

  • BADI/EXIT for MIGO for accounting  document posting

    Hi
    I am using MIGO where SAP post Mat Document and Accountying document.
    This Uses FM  'MB_POST_GOODS_MOVEMENT  < Include LMIGOKG1>, once this FM executed both MKPF and BKPF data gets filled . I can see tha data for MKPF in debug but I am not able to see data for Accounting Document.Even I cant see the Acc. document no assigned by SAP
    I need to change some fieds for Acc. Document <BSEG-VBUND>
    Can any one help me to find in which structure or table I can get data for Accounting document

    am using the method POST_DOCUMENT,
    am writing the code like..
    sample code..
    DATA: wa_mseg type mseg,
    wa_mch1 type mch1,
    wa_ausp type ausp.
    loop at it_mseg into wa_mseg.
    *select single * from mch1 into wa_mch1 where matnr = wa_mseg-matnr*
                                                               and charg = wa_mseg-charg.
    if sy-subrc is initial.
    *select * from ausp into wa_ausp where objek = wa_mch1-cuonj_bm*
                                                   and klart = '023'.
    if sy-subrc is initial.
    if wa_ausp-atwrt EQ 'ACCEPTED'.
    continue.
    else.
    if wa_ausp-atwrt EQ 'REJECTED'.
    call function 'popup_to_display_text'.
    endif.
    endif.
    endif.
    endif.
    endloop.
    when i debug ,i find no data in the mch1 table ..
    any help..
    thanx

Maybe you are looking for

  • Error when using BAPI_ACC_DOCUMENT_POST...

    [code] Hello Experts, Iam using the said BAPI for the first time and I am not sure if I filled up the fields correctly. What I want to do is to post multiple debit entries(40) and a special G/L entry for vendor(posting key 39). I also need to generat

  • Creation of workspace in Apex fails

    Hi I installed the apex and able to login with the Admin credentials . But when i try to create a workspace its giving the below error . Please guide me. Error provisioning sample. ORA-20001: Request 2598524574381583 could not be processed. -20987 OR

  • How to set the File Path to run a javascript using Plugin Code?

    Hi All, Im new to Indesign Plugin Development.Can any one help me out with my problem. What i want to do is to run a javascript using Plugin Code.When i went through this forum i was able to find out that i should use the IscriptRunner Class to autom

  • Postings to profit center

    Hi Friends, I have a scenario in PCA where the cost is to be allocated to different profit centers. Entry: Repairs&Maintenance (GL)      A (Cost center)      1000 (Amount)    Dr Repairs&Maintenance (GL)      A (Cost center)      2000 (Amount)    Dr B

  • Importing Spreadsheets from Microsoft Works

    Is there any way to import Microsoft Works spreadsheets into AppleWorks? The file extension of the files I'm trying to import is .wks. I'd rather not have to recreate these sheets if at all possible. The files were created on an old Dell PC several y