MIRO Screen Exit

Dear All,
   I've a requirement wherein I need to disable the quantity field if in case we are entering the PO number in MIRO. Kindly advise if this is feasible & any Exit is available for the same.
Thanks:
Gaurav
Moderator message: please do some research before asking.
Edited by: Thomas Zloch on Feb 28, 2011 9:20 AM

Hi
data: l_zsdper type zsdper,
        l_ebeln type ebeln,
       wa_drseg like line of it_drseg,
       mmcr_drseg type drseg.
" IT_drseg is an intenal table  which is an importing parameter.
loop at it_drseg into wa_drseg.
l_ebeln = wa_drseg-ebeln.
endloop.
select single zsdper
            from ekko
             into l_zsdper
           where ebeln eq l_ebeln.
if sy-subrc eq 0.
move l_zsdper to mmcr_drseg-zsdper.
" mmcr_drseg-zsdper is my screen field which is getting value throhgh debugging.
endif.
in PBO " If i pass hard code value, its displaying in screen.
move 15 to mmcr_drseg-zsdper.

Similar Messages

  • Runtime error in MIRO while using User/Screen exit

    Hello,
    I have implemented an exit in ABAP for MIRO which when transported to Quality server through runtime error.
    I have used EXIT (SMOD) : LFDCB001 which contains FM -> EXIT_SAPLFDCB_001 and include -> ZXM08U31. In this exit I have written my code to disable Inv. Party field. This field exist in Details Tab in Miro Transaction.
    Location of the field: MIRO -> Details (tab) -> Inv. Party (Field)
    Code written in include ZXM08U31 is:
    LOOP AT SCREEN.
      IF screen-name = 'INVFO-LIFRE'.
        screen-input = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    This exit is assigned to a project in CMOD and I tested the same in Development system. It is working perfectly.
    Now I transported the TR (Includes program ZXM08U31 and Customer enhancement projects ZMIRO). Now when I run MIRO in quality server it triggers the my logic and then through runtime error.
    Runtime error says:
    Short text
        Dynpro does not exist
    Error analysis
        The system attempted to use dynpro 0400 in program "SAPLXM08".
        This dynpro does not exist.
    I agree that screen 400 does not exists in program for MIRO but it does not exists in development system as well. So if the runtime error is valid in QEC server then why not in DEV server. And when it can run successfully in DEV server why cant it run in QEC server.
    Hope I have explained all the things in detail.
    Please provide me the solution since user can bombard anytime for the MIRO dump everytime in QEC.
    Regards,
    Harjeet Grover

    Hi Harjeet,
    Reason of your Dump is that the enhancement "LFDCB001" which you used contains one Function module exit "EXIT_SAPLFDCB_001" and another one screen exit in calling screen  "SAPLFDCB" number 0150.
    So when you activate your project these above mentioned both components were activated.
    So when you execute transaction SAP looks for called screen "SAPLXM08" No-0400 but as you havn't created and program go for DUMP.
    Solution - Just Create called screen  "SAPLXM08" No-0400 and activate.
    Thanks,
    Vijay

  • Field/Screen Exit for MIRO

    Hi Friends,
    The client requirement is to fix an Exit to disable or inactive the field INVFO-LIFRE or to put the INVFO-LIFRE field (invoice party in Details tab) as display mode where the user not able to change it while posting invouces in MIRO.
    I've tried by program screen enhancement in 'SAPLFDCB' but i couldn't able to fix it since the screen name of INVFO-LIFRE is not showing/coming while posting MIRO (checked in debugging mode).
    Instead of fixing error message through BADI/USER EXIT, is there any way to make field/screen exit to disable or inactive the filed??
    Please advise.
    Thanks & regards
    Sankar.

    Hi,
    Check the below link.
    [Screen exit for MIRO transaction;
    [Re: steps to create field exit;
    Regards
    Sunil

  • Screen exit problem MIRO

    Hi,
    I can't find screen exits on MIRO. My requirement is to display popup but i can't use field-exit and i need create a screen exit . Please let me know the screen-exit for the same. Regards
    Bye

    Hi Marcos,
    Please make a habit of searching in SCN first. On this topic, you will find lot of material. As you are new to the SCN, therefore for your help, refer to the following links:
    User exit in Standard transaction
    Screen Exit
    Hope this will help you...

  • Screen EXIT for MIRO

    Hi ,
    I want to add two extra field in the Item Level of MIRO transaction .Is it possible to add two more field in the Item Level .
    I got one SCREEN EXIT -
    LMR1M001 , But that is in Header Level .I want at the Item Level .
    Please reply me .

    Hi,
    Check these Badi's
    BADI     SAPLSADR-LSADRU04     ADDR_PRINTFORM_SHORT
    BADI     LMR1MF79                     BADI_ENJ_ALT_ADR
    BADI     SAPLMR1M                     BADI_ENJ_ALT_ADR
    BADI     SAPLFDCB                     BADI_ENJ_ALT_ADR
    BADI     SAPLFACS-LFACSU15     FAGL_PERIOD_CHECK
    BADI     SAPLFACS-LFACSU42     FI_TRANS_DATE_DERIVE
    BADI     SAPLMRMC-LMRMCU21     INVOICE_UPDATE
    BADI     LMR1MI2G                     MR_CIN_LMR1MI2G
    BADI     SAPLMR1M                     MR_CIN_LMR1MI2G
    BADI     LMR1MI10                                     MR_CIN_LMR1MI2G
    BADI     LMR1MI1N                     MR_CIN_LMR1MI2G_SEL
    BADI     SAPLMR1M                     MR_CIN_LMR1MI2G_SEL
    BADI     LMR1MI10                                     MR_CIN_LMR1MI2G_SEL

  • BADI to modify the line items display in MIRO screen.

    Hello All,
    I am looking for a BADI to make some changes in the MIRO transaction.
    I am looking for following changes there:
    After entering the amount and the other details in MIRO screen if we press 'Simulate' button, we get the tax, amount and other details in a pop-up screen.
    I want to change the line items in the popup screen and add 1 more line item to it.
    I found out a BADI "INVOICE_UPDATE" for the same but i am not sure how far it will be of use in this regard.
    Moreover there are no export parameters in this BADI, so will it make any modifications in the pop-up screen?
    Could one of you please give me the answers to following questions in regard to above description:-
    1) Suggestions to make carry forward the above mentioned changes
    2) How to make sure if the BADI 'INVOICE_UPDATE' is apt for above scenario or not
    3) How to start with the implementations for the same if this BADI is the apt for the required changes
    Regards,
    Akanksha

    Hi,
    Try
    Exit: LMR1M001   -         User exits in Logistics Invoice Verification
    BADI or Enhancement Spot- INVOICE_UPDATE
    Use Method CHANGE_BEFORE_UPDATE -     Invoice Document Before Update
    Refer Link:[INVOICE_UPDATE|Regarding BADI , INVOICE_UPDATE ( MIRO transaction );

  • Need to add the field on the MIRO screen...!!!!

    Hi All,
    Customer has a requirment to add the one field under the 'Details' tab of the MIRO screen.
    I tried searching Screen Exits for this, but no success..
    Is there any OSS note for this which can serve the purpose?
    Thanks in advance.
    -Sanjay

    My requirement is To display automatic cash management group with reference to account group in vendor master.
    In vendor master initial screen if user enters Account group (LFA1-KTOKK) as “VWOP or DMST in the accounting information screen Cash management group field (LFB1 – FDGRV) planning group code A1 has to display.
    In change mode if any of the user trys to change planning group code an error massage “change is not possible” has to appear..
    Now i ve coded in the method PRESET_VALUES_CCODE which is in the BADI definition VENDOR_ADD_DATA this method is getting triggered even after the accounting information screen displayed and could you please help me in displayin the error message? The error message is getting displayed but in the form of a pop when u say yes it leaves the transaction.. but I want the error message as a normal red colored error message which comes in the bottom line.. please tell me how could I do this.. this is the codin which I have done.. please give some solution please..
    method IF_EX_VENDOR_ADD_DATA~PRESET_VALUES_CCODE .
    break-point.
    if E_LFB1-FDGRV is initial.
    if I_LFA1-ktokk = 'DMST' or I_LFA1-ktokk = 'VWOP'.
    E_LFB1-FDGRV = 'A1' .
    ENDIF.
    else.
    if I_LFA1-ktokk = 'DMST' or I_LFA1-ktokk = 'VWOP' .
    if E_LFB1-FDGRV <> 'A1'.
    message id 'ZZ' type 'E' number '108' with
        'Change is not possible' .
    *message e108(zz).
    *CALL FUNCTION 'C14Z_MESSAGES_SHOW_AS_POPUP'
    *EXPORTING
    *I_MSGID = 'ZZ'
    *I_MSGTY = 'E'
    *I_MSGNO = '108'
    *I_MSGV1 = 'change is not possible'
    I_MSGV2 =
    I_MSGV3 =
    I_MSGV4 =
    I_LINENO =
    TABLES
    I_MESSAGE_TAB =
    *IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    endif.
    endif.
    endif.
    endmethod.

  • Urgent - screen exits

    HI ,
    in miro transaction while posting document ,whenever we select g/l account in next screen instead of assignment field data we need to put corresponding po data
    HOw can i do this?
    reg

    hi
    here r the ways to find out the screen exits for a tcode
    1. go to the transaction you are workin on.
    2. go to system --> status and there you'l find your package name.
    3. now go to SE81 --> info systems --> enhancements --> customer exits --> enhancements and give your package name there.
    now you'l get your screen exit here.
    or
    Finding the Exits of a TCode:
    1) Goto Program of Tcode and get the Package of that program.
    2) Now go to SMOD(TCode) in enhancements press f4.
    3) now click on information and give the package u will find all the enhancements. Check the component of enhancement where u will find the function Module of exits.
    If u find it useful mark the points
    SIRI

  • Internal order and g/l number trying to give in miro screen

    hi experts
    i am facing a problem in miro screen. i want to change the internal order and g/l a/c in miro screen. is it possible to change in miro?as i know this internal order and g/l a/c is generally given at the time of po and grn. but my cleint want to change it in miro screen if requeired. can you please suggest me whethere it is possible or not. if possible then how can i configure it?
    thanks and regards
    rishi
    Moderator: Yes, it's configurable (OME9). Please, search SDN properly and post in the right forum. This questions relates to MM

    hi
    not possible in std configuration chek with user exit
    MBCF0002 ( EXIT_SAPMM07M_001 ).
    got the below patch from net try it
    ->However you cannot directly chnage as MSEG is available as importing parameter and whatever you change here will ->have no impact on main prog. Instead you can use following code -
    ->
    ->FIELD-SYMBOLS <F2> TYPE ANY,"Field Symbol for the GL ACCOUNT
    ->
    ->DATA : W_KONTO_NAME(50) VALUE '(SAPMM07M)DM07M-KONTO'.
    ->
    ->ASSIGN (W_KONTO_NAME) TO <F2>.
    ->MOVE "GLACCOUNT" TO <F2>.
    ->
    ->"GLACCOUNT" is the new GL account you want to change.
    ->
    ->or try field exit:
    ->
    ->report RSMODPRF
    regards
    kunal

  • How to find out a screen exit

    hi seniors
    can any one tell me abt screen exit n thier search.
    pls hurry
    points will be rewarded
    offer valid for today only.
    Sameer

    hi,
    How to Find a Screen Exit in a Given SAP Standard T-code
    Program
    REPORT YSMOD2 .
    TABLES: MODSAP, MODACT, TSTC.
    PARAMETERS: INPUT1 LIKE TSTC-TCODE DEFAULT ' ',
                INPUT2 LIKE MODSAP-TYP DEFAULT ' '.
    DATA: SEARCH1(6),
          SEARCH2(3),
          SEARCH3 LIKE MODSAP-MEMBER.
    DATA : FIRST_ROW VALUE 'Y'.
    CONCATENATE: '%' INPUT1 '%' INTO SEARCH1,
    '%' INPUT2 INTO SEARCH2.
    SELECT * FROM TSTC WHERE TCODE LIKE SEARCH1.
    FIRST_ROW = 'Y'.
    CHECK TSTC-PGMNA NE SPACE.
    CONCATENATE '%' TSTC-PGMNA '%' INTO SEARCH3.
    SELECT * FROM MODSAP WHERE TYP LIKE SEARCH2
    AND MEMBER LIKE SEARCH3.
    SELECT SINGLE * FROM MODACT WHERE MEMBER = MODSAP-NAME.
    IF FIRST_ROW EQ 'Y'.
       WRITE: /0 TSTC-TCODE, 6 TSTC-PGMNA, 16 MODSAP-NAME, 32 MODSAP-TYP,
              45 MODSAP-MEMBER, 70 MODACT-NAME.
       FIRST_ROW = 'N'.
    ELSE.
       WRITE: /16 MODSAP-NAME, 32 MODSAP-TYP, 45 MODSAP-MEMBER, 70 MODACT-NAME. 
    ENDIF.
    CLEAR : MODSAP, MODACT.
    ENDSELECT.
    IF SY-SUBRC NE 0.
       WRITE : /0 TSTC-TCODE, 6 TSTC-PGMNA, 30 'No exits found'.
    ENDIF.
    CLEAR TSTC.
    ENDSELECT.
    END-OF-SELECTION.
    CLEAR: SEARCH1, SEARCH2, SEARCH3.
    Regards
    Sudheer

  • Creation of sales order- screen exit

    Hi all,
    I have a requirement like while creation of sales order need to develop one screen field in additional data B.i developed that field. and now while creation of sales order it will save in vbak table. now the problem is that screen field will be enable in that particular sales order type only otherwise it will be disable. how to do this. screen exit.

    Hi
    See SAP Note 209278 - Display of customer-specific fields in sales doc
    Check also, SAP Note 302497 - Additional cust. fields not displayed in 'Additional data B' and SAP Note 386694 - Additional data not displayed in screen 8459 and 8309
    Regards
    Eduardo

  • Screen-exit for profit center creation - transaction KE51.

    Hi All,
    Background: The client has the requirement of importing profit centre master data from legacy system into SAP ECC system. Few of the legacy data could not be filled into existing sap fields, hence the requirement has been to populate the data into custom fields.
    The client also has the requirement, that the same fields are required during online entry. For this we need to enhance the profit centre creation screen (transaction code KE51) with two additional custom fields.
    Requirement: To enhance profit centre creation screen with custom fields. Screen-exit for KE51 transaction.
    Pre-work: Program SAPLRKPM in SAP ECC system is the main program. It does not have any screen or sub screen area for custom fields addition. Debugged the program to check for screen-exits, found none.
    Below user-exits are not either screen-exits or cannot be used for enhancing profit center screen.
    PCA00001  EC-PCA: Document changes for data transfer
    PCA00002  Profit Center Accounting: derivation of representative mat.
    PCA00003  Derive Partner Profit Center for External Deliveries
    PCA00004  Check valuation for invoice verification with transfer price
    PCA00005  Check valuation for invoice verification with transfer price
    PCASELEK  EC-PCA: Selection criteria for data transfer
    Solution required for: Could anyone please let me know if it is possible to enhance the profit center creation screen. If yes, please provide the names of the screen-exit/  badi exit.
    (Just a thought, modifying the standard seems to be the only solution, this should be the last option and i agree, please provide your inputs.)
    Thanks in advance.
    Warm Regards,
    Goutham.

    Thank you Manohar for the response.
    The requirement is to display custom fields on standard sap screen and there are no screen-exits. So, i suppose the standard screen has to be modified.
    Could you please provide brief explanation on
    May be you should consider maintaining custom mapping table instead of going for chaning standard.
    With Regards,
    Goutham.

  • Screen exit/BADI for adding custom field in IW31/IW32

    Hi all,
    The requirement is to add the permit field in the Header component of IW31. Searched SDN and found user exit IWO10018 for the same which includes a screen exit.
    The activation of the same is adding a tab in the screen while user wants the field under header Component tab.
    How this can be done. Any suggestion.
    Thanks
    anya

    Hi,
      You can perform append structure to add your custom field(s)in VBAP table. Next step, go to SE51 (Screen Painter)to modify SAP Program SAPMV45A Screen number 4459 for Additional data A or Screen number 8459 for Additional data B to add your append structure custom fields.
    Once the above steps done, you can place your logic to populate custom fields in include program MV45AFZZ. i.e USEREXIT_MOVE_FIELD_TO_VBAP.
    At the end, please ensure all program and screen are activated. Hope this will help.
    Regards
    Kiran Sure

  • How can i add field to screen exit ?

    ver 4.7
    trans.  me21n
    add field in screen exit .
    i implement screen exit MM06E005->SAPMM06E->0111
    in the layout i try to add field  by pressing
    button in the toolbar ( dictionary field window ) ,
    but when i press "save" in me21n  ,
    i get message "No data changed".
    i choose in the dialog window
    field from structure "ci_ekpodb" , field that i already
    been add  .
    thanks .

    Hi
    You have to implement the exit to import/export the data into/from screen-exit:
    EXIT_SAPMM06E_016 and EXIT_SAPMM06E_018
    Max

  • Adding field in MIRO screen

    Hi  ,
    There is a requirement to add a new field in MIRO screen.
    I mean that a new field needs to be made visible.
    Please let me know of how to proceed with it in SPRO.
    Thanks

    Hi,
    maybe this can help you:
    https://wiki.sdn.sap.com/wiki/display/Snippets/Displaycustomerfieldsinheaderoflogisticsinvoiceverification+transactions
    Best regards.

Maybe you are looking for

  • How do I delete OD from a Mavericks Installer?

    Hi, I do not want to run OSX Server, yet each time I try and download a new version, I find my MacBook Pro continues to run OD and other OSX server components.  How do I get the OSX version?

  • Problems with running programs after upgrade

    I have tried to look for a solution elsewhere, but was not lucky to get it. My problem is that I have upgraded my Macbook pro from Tiger to Snow Leopard. Unfortunatelly when I try to start certain programs I get error message that Version of the soft

  • HT201150 How do I configure what the Power Button does?

    How do I configure my power button so hitting it does not automatically put it to sleep? Because it is right by the delete key I am hitting it accidentally all the time.  Also my cat is constantly putting my computer to sleep when I am working.  Is t

  • SAP Fax : Integration of MS Outlook and Genifax

    Hello SDN Users, For our R3 System (SAP_BASIS  620 0067), we have a third party connector named "Genifax" for sending/receiving faxes from SAP. Cuurently we have a requirement to check the possibilty for return receipt message , for every failed fax

  • Displays diagonal, jagged, white lines on a gray background

    The eMac (1.25GHz, 512 MB RAM) does the following. It boots (grey rotating spokes), then displays jagged, diagonal, white lines on a gray background. However, when I boot it into target disk mode, there's no problem w/ the display, and I could booted