How to use a screen-field when applying BADI or User Exit to a T Code

Hi Experts,
I need your help on this problem.
I have created a BADI for the transaction code miro. I have got the Exit name on which the enhancement has to be done. I want to perform a check on a text field (Scrren field name INVFO-SGTXT).
When my break point occurs i enter INVFO-SGTXT in the field to check the value present in it. But it shows that no such field exists.
My Basic doubt is how to use a value entered in a text field in a tcode while performing a User Exit or BADI on it.
Do I have to declare it. If yes please mention how?
Thanks in advance guys.

Hi,
The first question here would be... do you plan on having multiple implementations down the road because if not there really isn't any reason to create a BADI inside the exit.  If that is the case then add the field as an importing parameter in your BADI interface and then you should be able to see it inside the BADI at your break-point.
Regards,
Ryan Crosby

Similar Messages

  • Screen field (MEPO1211-KONNR) not populated user exit ZXM06U43

    Hi Expert,
                      I have to check  Outline agreement (EKKO-KONNR) in the user exit ZXM06U43 when creating or changing PO. one screen field (MEPO1211-KONNR) is provided for that. But value is not populated  into that field(MEPO1211-KONNR) for this user exit ZXM06U43, its always blank. Infact hole structure (MEPO1211) is blank for this exit. 
    So can anybody provide me the screen field name so I can get the value of KONNR in this exit.

    Hi,
    In the user exit - EXIT_SAPMM06E_012, YOU CAN ONLY DO CHECKS/VALIDATIONS;
    you have a paramter I_BSTYP which hold the type of the document(PO/Out Agreement/PR).
    Paramter I_EKKO will hold the data entered on the screen. It will be the incoming data which can be used to validate.
    TO PASS THE DATA, CHECK the below exit:
    EXIT_SAPMM06E_018 : Import Data from Customer Subscreen for Purchasing Document
    EXIT_SAPMM06E_007/EXIT_SAPMM06E_006: Export Data to Customer Subscreen for Purchasing Document Header
    Hope this helps
    Regards
    Shiva

  • How to set focus on a custom PO Item screen field when in error?

    Hi All,
    I have an interesting situation that i'm wondering if others have solved.  We have extended the PO item table (EKPO) by adding two new fields.  We then have implemented two BAdI's:  ME_GUI_PO_CUST and ME_PROCESS_PO_CUST to add them to the ME21N/ME22N/ME23N screens and logic to do some validation, via these respective BAdI's mentioned.  Everything works perfectly - with one small issue.  When we are doing some validation via a method on the ME_PROCESS_PO_CUST - and "invalidate" the field (and throw an error) when it is in error - I also want to be able to "set focus" on the field in question (basically: go to the particular tab on the ME* screen and highlight the field).  I have tried using SET CURSOR FIELD *****  within this BAdI (ME_PROCESS_PO_CUST) - but doesn't seem to work.  Has anyone tried to do this and have come up with a solution?  Would be much appreciative if you shared it!!!  Thanks much.
    Cheers,
    Matt
    ERP version that we have is:  ECC 6.0

    Just have a look at oss note 310154 - ME21N/ME51N: Customer-specific check, generating error log.
    In short:
    Add your error messages in EXIT_SAPMM06E_012 (using specific macros).
    Sample code (provided in Oss note) :
      loop at tekpo where knttp eq 'X'.
        loop at tekkn where ebeln eq tekpo-ebeln and
                            ebelp eq tekpo-ebelp and
                            kostl eq space.
          if not tekkn-id is initial.
            mmpur_business_obj_id tekkn-id.
            mmpur_metafield MMMFD_ACCOUNTINGS.
          endif.
          mmpur_message_forced 'E' 'ZE' '777' '' '' '' ''.
        endloop.
      endloop.

  • I want to be able to monitor my teen daughter's computer from home using screen sharing.  Anyone know how to set up screen sharing when my daughter's school has her computer set up for Apple Remote Desktop?

    I want to be able to monitor my teen daughter's computer from home using screen sharing.  Anyone know how to set up screen sharing when my daughter's school has her computer set up for Apple Remote Desktop? 

    ARD won't be as smooth as you think  over the Internet and be a security risk for your daughter.
    Your best bet would be to install nannyware, then when she's asleep you can review the logs.
    This is the best and Mac friendly
    http://www.internetsafety.com/

  • HOW TO USE SELECTION SCREEN

    HOW TO USE SELECTION SCREEN
    I WANT TO INSERT PURCHASE DOCUMENT NUMBER
    AND WANT TO SEE ALL INFORMATION FOR THAT PURCHASE DOCUMNET NUMBER.
    THANKS IN ADVANCED.

    The main use of the selection-screen is to select screen in the back ground
    ex :    
    TABNAME
    IN THE ABOVE FIGURE  TABNAME IS THE FIELD AND THE BACK END IS   CREATED SCREEN IN THE BACK END
    THIS SCREEN CREATION WE CAN USED THE SCREEN SELECTION

  • How to use 'several screen function' used to be in os x 10.6

    hi ! ^^
    how r u ? good !
    how to use 'several screen function' used to be in os x 10.6 ??
    it was possible to change whole screen with 'command + arrow keys' (option + arrow keys maybe ??)
    but, in os x 10.7, it seems it is not possible. and instread of it 'mission controls' that is not uesful ..
    no windows drive direct access. no several screen function. crash when control panel ask me administration right.
    os x 10.5 or 10.4 was much easy to control.  
    plz fix and add good functions of 10.6 , remove good functions is not called 'upgrade'.

    You can still do it with CONTROL + Arrow keys, the same as 10.6
    Regards,
    Captfred

  • In layout  how we can define screen field ie customer no -------- to ------

    hi,
       in layout  how we can define screen field ie
                    customer no -
    to -
                     my screen should be like this?
           reply me soon.

    we cannt able declare select-options in module pool program .But we have ranges
       so delclare two varibles
    DATA:  v_kun_low LIKE zcust-kunnr ,
           v_kun_high LIKE zcust-kunnr.
    RANGES r_kunnr FOR zcust-kunnr  .
       in PAI
             CASE SY-UCOMM.
                WHEN 'FCTCODE'.
                 r_KUNNR-low = v_KUN_low.
                 r_KUNNR-high = v_KUN_high.
                 r_KUNNR-option = 'BT'.
                 r_KUNNR-sign = 'I'.
             APPEND r_budat.
    in screen designing
       ie layout>f6>get from program fields

  • How can we make screen fields obligatory?

    hi, guru's
             how can we make screen fields obligatory while desiging a screen in screen painter (se51)?
    regards,
         satheesh.

    Hi,
    Go to attributes of the field in layout..
    go to program tab and check input field..
    and in drop downlist put required..
    Thats it..
    Reward points if it helps..
    Regards,
    Omkar.

  • Screen Saver does not use selected Screen Saver when activated

    Screen Saver does not use selected Screen Saver when activated. After "Start screen saver" elapse time has been reached, a blank black full screen is displayed. I can activate the selected screen saver by using the hot corners function. Any help with this matter will be greatfully received.

    Hi again sassey,
    You're assuming correctly. Simply change the settings so that your screen saver activates before the sleep settings.
    Hope this solves your problem...

  • HT201210 I am using a 3GS iphone.While attempting a download of the new OS IO6 my phone has frozen on the itunes screen. When i attempt to restore I get the Error code 1611. This happens on different laptops. I've followed all the given resolutions with n

    I am using a 3GS iphone. While attempting a download of the new OS IO6 my phone has frozen on the itunes screen. When i attempt to restore I get the Error code 1611. This happens on different laptops. I've followed all the given resolutions with no change.I am using a 3GS iphone.While attempting a download of the new OS IO6 my phone has frozen on the itunes screen. When i attempt to restore I get the Error code 1611. This happens on different laptops. I've followed all the given resolutions with no change?

    If you are having the same issue on several computers then it is a hardware issue! Not a software issue! Replacement is the only resolution!
    http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipho ne

  • How to use split screen on a mac like on windows 7

    how to use split screen on a mac like on windows 7

    It does not function the same as windows, in that it does not have an automatic snap function.  You can put multiple apps up side by side though.  You might want to consider using Spaces instead.

  • How to Use the same iview for both KM End User and the KM Administrator

    Hi friends,
    *This is my scenario :* How to Use the same iview for both KM End User and the KM Administrator but with different Context
    Menu Options.
    i followed these steps but im getting same context menu for both KM End User and the KM Administrator .
    Assign the role Content Administrator to the user km_admin. This is needed so that km_admin can change
    the presentation settings for the KM Folder u201EReports_kmFolder‟.
    Now, login with user km_admin. Navigate to the Km Folder reports_kmFolder through Content Administration
    -> Km Content. Click on Details link of the folder reports_kmFolder.
    Go To Settings -> Presentation. Click on the tab u201ESettings for You‟-> Click on button u201ESelect Profile‟.
    Select the radio button corresponding to u201Elayout Set‟, and choose u201EConsumerExplorer‟ from the dropdown.
    Click u201EOK‟.
    Select both the check boxes corresponding to Items Affected as shown above, and click u201ESave‟
    Now, remove the u201ESuper Administrator‟ role from the user km_admin and login with this user.
    How rto resolve this????
    Regards,
    Prasad.

    Hello Prasad,
    Most likely the user km_admin still has system principal roles assigned, even though you removed the Super Admin role, you should check that this user doesn't have any other admin roles, otherwise it will be considered a System Principal user and will therefore still have access to all content. For more information see http://help.sap.com/saphelp_nw70/helpdata/en/19/56f28fbd4e11d5993b00508b6b8b11/frameset.htm
    Try creating a new user with just read access to the content and you should see that it will not be able to make any changes etc.
    Regards,
    Lorcan.

  • How to use the Include Statement in the BADI

    Dear All,
            I am trying to implement the BADI. So i need to use the Include in the BADI.
    How to use the Include statement in the BADI. I cant able to use it in the Public, Private and protected statement.
    Where should i mention that,,,,
    Thanks
    Yogesh

    Hi Sharat,
      Thanks for your reply.
    I need to use the BADI HRWPC_PCR_APPR_FORM. In which the values are available in the Container. So if i need to use the container values then i need to use that include <cntain>.
    Is there any possible ways to make it.
    Thanks
    Yogesh

  • How do I make a backup when there are 4 users on my mac

    How do I make a backup when there are 4 users on my mac?

    Welcome to the Apple Support Communities
    If you have more than one user, the backup is just the same as if you have one user. All users are backed up and there isn't any difference between a backup made on a Mac with one user and on a Mac with multiple users. Then, if you want to restore that backup in the future, you will be able to select which users you want to restore

  • BADI OR USER EXIT AT THE TIME OF SAVING THE TCODE MIGO TO UPDAT FIELD LSMNG

    Hello Guru,
    I am using BAPI  BAPI_GOODSMVT_CREATE for GRN creation it is working fine. But i want to update DELIVERY NOTE QUANTITY (LSMNG) at the time of GRN Creation . This field is not provided in the BAPI .
    What i had done i had applied BADI MB_MIGO_BADI to update this field but this badi does not call at the time of saving ( THIS BADI ONLY CALL WHEN WE ARE USING MIGO TCODE AND ON THE SCREEN WE ARE PRESSING ENTER) . so i am not able to update the field (LSMNG).
    So i need a badi of user exit which can updates this field at the time of saving.
    there are exit which are updating other fields at the time of saving but not this one .
    Why i need the badi or userexit which will update the field at the time of saving because when we are using bapi only those badi or user exit are called which are
    used at the time of Saving.
    Kindly suggest any solution.
    Thankyou
    With Regards
    Shantanu Modi

    Hi
    <b>Here is the sample code...</b>
    method if_ex_mb_migo_badi~post_document .
      data: ls_migo_badi_example type migo_badi_exampl,
            lt_migo_badi_example type table of migo_badi_exampl,
            ls_extdata type migo_badi_example_screen_field,
            ls_xmseg   type mseg.
      field-symbols: <gt_extdata> type migo_badi_example_screen_field.
    * Transaction MIGO will now post a material document.
    * Any errors here MUST be issued as A-message (better: X-message)
    * Copy data from material document into internal table
      loop at gt_extdata into ls_extdata.
        if g_cancel is initial.
          read table it_mseg into ls_xmseg
             with key line_id = ls_extdata-line_id.
        else.
          read table it_mseg into ls_xmseg
             with key smbln = ls_extdata-mblnr
                      smblp = ls_extdata-zeile
                      sjahr = ls_extdata-mjahr.
        endif.
        if sy-subrc is initial.
          move-corresponding ls_extdata to ls_migo_badi_example.
          move-corresponding ls_xmseg   to ls_migo_badi_example.
          append ls_migo_badi_example to lt_migo_badi_example.
        endif.
      endloop.
    * The data from external detail screen can be saved now:
      check gt_extdata is not initial.
      call function 'MIGO_BADI_EXAMPLE_UPATE_DATA' in update task
        tables
          it_migo_badi_example = lt_migo_badi_example.
    * The data from external header screen can be saved now:
      move-corresponding is_mkpf to gs_exdata_header.
      call function 'MIGO_BADI_EXAMPLE_UPDATE_HEAD' in update task
        exporting
          is_migo_badi_header_fields = gs_exdata_header.
    endmethod.                    "IF_EX_MB_MIGO_BADI~POST_DOCUMENT
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

Maybe you are looking for

  • What needed to save in move from 8.6 to 9.2.2 and new HD?

    I'm installing a new 40G HD in my 266 iMac with OS 8.6. I was going to burn the files and applications I want to keep to a disc, then move them over after I install 9.2.2 on the new drive. Most of the applications and data files I use are on my deskt

  • Live cam video im pro email servers trouble

    when i go to email a photo or video it only allowes me to go to outlook express and doesn't let me have the opion to use my yahoo email or even copy into a yahoo email can someone please help Message Edited by tlranger12 on 02-20-2009 02:03 PM Messag

  • HP 6500 all-in-one gets stuck

    hi, i have a year and a half old HP6500 709n. it works fine most of the time, but every now and then it stucks. the panel lit up and nothing respondes, not the panel buttons, and not commands from the computer (print, scan etc.) the only way to relea

  • Show SVG-Image in WebView

    Hello everybody, I would like to reopen the following discussion: Show SVG-Image in WebView (JavaFX 8) In our IDE (Eclipse Luna) running with jdk1.8.0_25 we load a html page into the webengine. The html page contains <img> tags with '.png' and '.svg'

  • XMII version 12 installation

    Hi. I have just started looking at xMII version 12, and have been searching around for some information. I have xMII installation guide and have been looking at Netweaver installation but...... I need to install a local, disconnected version of xMII