RF Transaction LM58 (Inventory) Enhancement BADI (BADI_DCC_SCREEN_151)

Hi Everyone,
My client requires changes to the RF screens for Physical Inventory - txn LM58 (System Guided). It is not possible to implement a custom screen in the usual way in RF (by pointing custom screen to logical screen etc). I found a badi 'BADI_DCC_SCREEN_151' which allows the customer to point the standard screen to a new custom one. I have implemented this BADI and specified my custom screen which now displays when I call txn LM58.
However my problem is in setting data to my custom screen. I created a new custom implementing class based on the standard class 'CL_EXM_IM_BADI_DCC_SCREEN_151'. This class has two methods to set data to instance and get data from instance i.e. IF_EX_BADI_DCC_SCREEN_151PUT_DATA_TO_INSTANCE  F_EX_BADI_DCC_SCREEN_151GET_DATA_FROM_INSTANCE
I am trying to use the method PUT_DATA_TO_INSTANCE to populate custom screen but I am unsure how to do this.  I would appreciate if someone could help with this. How do I link this method to my custom screen etc. There is hardly any documentation on this and I cannot find a similiar example by searching on here.
Thanks for taking the time. I appreciate any help at all on this matter.
Kind Regards
Damien.

Hi I think it should be straight forward ...
You just copy the code from example implementation and put it in your methode and uncomment the code ...
Basically you will need this .
You need to have susbreen created in your function group ...
Check what are the field you need to populated have the screen name fields populated then .
so code will be something like this ..
GV_LGNUM = I_LGNUM.
GV_LGTYP = I_LGTYP.
GV_LENUM = I_LENUM.
GV_LGPLA = I_LGPLA.
GV_MATNR = I_MATNR.
GV_TCODE = I_TCODE.
GV_CLGPLA = I_CLGPLA.
GV_BIN_TYPE = I_BIN_TYPE.
you just need to copy the codes into your example implematation ....check whether note 831770 has been implemented in your system or not ....

Similar Messages

  • Enhancement/BAdi/User Exit for ME21N

    Hi
    i am looking for a modification/enhancement/BAdi or userexit that would  be triggered when the document type is changed on purchase order type in transaction ME21N.
    can anyone help?
    i have seen there are lots of many exits available, but i am after something more specific....
    if anyone could help and point me in the right direction it would be much appreciated.
    i found enhancement MEQUERY1, but not sure if i could utilise this for my needs.
    thanks

    i used the BAdi ME_PROCESS_PO_CUST and method PROCESS_ITEM
    with this code:
    METHOD if_ex_me_process_po_cust~process_item.
      DATA: ls_mepoitem   TYPE mepoitem,
            ls_mepoheader TYPE mepoheader.
      DATA: header_obj TYPE REF TO if_purchase_order_mm.
    * get header data
      header_obj = im_item->get_header( ).
      ls_mepoheader = header_obj->get_data( ).
    * get item data
      ls_mepoitem = im_item->get_data( ).
      IF ls_mepoheader-bsart = 'ZPSC' AND ls_mepoitem-umson IS INITIAL.
    * Message: PSC Order requires 'Free' indicator selected
        MESSAGE e017(zenhance_msgcl).
      ENDIF.
    ENDMETHOD.

  • PMS: Creation of new tabs for reference elements of ENHANCE BADis

    Dear Experts,
    I am on a PMS EHP5 implementation (for all practical purposes, it's an EHP4 implementation as we are not using the pre-defined template) and have the below problem.
    I have the ENHANCE_FIX and ENHANCE_FREE BADIs included at the VA level (as the requirement is to create immediate child objects for the template through these BADIs). I have a reference element (VB) defined for these BADIs.
    Example template (L1 = Level 1, L2 = Level 2, L3 = Level 3):
    L1 - VA
    ---- L2 - VB1
    --------- L3 VC1
    --------- L3 VC2
    ---- L2 - VB2
    ---- L2 - VB3
    In the above example template, the ENHANCE* BADIs will add VBs (example: VB4 and VB5) at the L2 level (appearing in the document below VB2 and VB3).
    The requirement is to have separate tabs for each VB at the L2 level (so I will have one tab for VA and 5 tabs for VB from the above example).
    I am unable to specify creation of new tabs for the reference element VB when I carry out my tabs and process configuration.
    I have not been able to find any information on this aspect either. Would appreciate any help that can come my way.
    Thanks.

    Thanks Maurice.
    I still feel that the product should leave that option to the designer of the solution. There are a lot of solutions which can get chaotic. If designed appropriately, I guess this chaos can be controlled.
    At the very least, I am sure that I have not left anything out in configuration. I will raise this with SAP over a CSS.
    Thank you for your input.

  • Setup of  approval for Miscellaneous issue transaction in Inventory

    Dear Experts,
    We have a requirement from client to setup approval for Miscellaneous issue/
    receipt transaction in Inventory.
    Is it possible to fulfill the above requirement using Approval Management Engine (AME)?.
    If it is possible, Kindly explain me in detail about the setup steps needed for the
    configuration of Miscellaneous issue/receipt transaction in Inventory.
    Kindly respond at the earliest as the requirement is needed urgently for our client.
    Thanks in advance !
    Best Regards,
    Naveen.

    D
    Dear Lavanya,
    The material should be first reeived to Inventort then transferred to projects
    Ex        100 Quantity is Received @ 10 Each - Inventory Material value will be 1000   Unit Price 10
    Now     10 Quantity is Issued(Samples) @ 0 each -       Inventory material Value will be 1000   Unit Price  11.11
    Now Transfer the remaining quantity to Projects i,e 90 quantity, & inventory material value will be 1000, unit price will be 11.11 (Use Project related Misc Transaction for Project Issues)
    Even though material is issued with 0 unit price A/c entries will be generated
    Dr. Given A/c
    Cr. Inventory material value A/c
    Here first the material is directly received into Inventory (Not related to projects organization) Miscellaneous Issue (For samples) is done with 0 unit cost after that The material is transferred to projects (Project Issues)
    For Miscellaneous Issue (Samples Issue) a Personalization is need to done such that the Unit price will be freeze to 0.
    Regards
    Shaan

  • Enhance BADI

    Hi ,
    I have a requierement to Enhance the standard function module IDOC_INPUT_MBGMCR to perform update to Ztable and to Perform validation to prevent duplicated record (this will handle in PI or need validation to be built within the function module) .
    I know the process how to enhance badi steps but i am not getting where should i put the code for update the Ztable.
    Please let me know the soln

    I don't think any BADI/Enhancement Points available in FM: IDOC_INPUT_MBGMCR.  You may have to look at the enhancements available in BAPI "BAPI_GOODSMVT_CREATE" which is called from this function module (Line No 214).
    If you are looking at updating the Z table after the Goods movement is posted, see the Enhancement points available after the subroutine call to "mb_post_goods_movement".
    Regards, Vinod

  • Please provide some important using Enhancements/BADIs in Self service proc

    Hi experts,
    Please provide some important generally using Enhancements/BADIs in Self service procurement with classic Scenario.
    Also pls provide some details regarding those enhancements.
    Also pls. provide some important reports in SAP-SRM
    Thanks
    Reshma

    Not sure what u r trying to do.
    Nornally many requirements are fulfilled with doc change Badi.
    SRM provides very basic reports but if u want good reports u need BI
    Regards,
    NNK

  • Enhancement/ BADI for Planned Order Routings CA01/ CA02

    Hello Experts,
    The reqt. is
               An iDoc should get generated in SAP each time a Planned Order routing is: Created/ Updated/ Cancelled
               The iDoc generated should contain Planned Order attributes plus the routings.
    I am extending Idoc type LOIROU02 adding a custom segment with a field for Work center.
    Now where to populate value for this newly added field?
    Any Userexit/ enhancement/ BADI is available for this?
    PS: There is no Userexit for this as far as I know.
    Please help. Its urgent.

    Hi Sharah,
    Welcome to scn.
    [Extension|http://help.sap.com/saphelp_45b/helpdata/en/35/b0e82c87a62488e10000009b38f9b7/frameset.htm][Process to extend idoc|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80677e5d-dc79-2c10-b7bb-a7e99767c8f6?QuickLink=index&overridelayout=true]
    Regards,
    Madhu.

  • Enhancements & BADI?

    Give the detail deffrence between enhancements , BADI & modification
    regards
    sami

    Exits are basically the hooks whcih SAP has provided to add your own code. There are two types of Exits:
    1. Customer exits: Implemented as Function Modules within z includes. Anybody can change it and no access key is required.
    2. User Exit: Implemented as subroutines within includes (any include except y or z includes). You need access for the specific include and then you can any subroutine (user exit) within that Include.
    BADIs are the enhanced version of user exits where the same logic is implemented via classes and object (OOP)
    Enchancement point is the latest once introduces with ECC6.0 . Not very sure about that but you can change it without any access key.
    Please go through the following link which will help you understand the exits in a much better way:
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/content.htm
    http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm
    http://sap.niraj.tripod.com/id21.html
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    http://www.sap-img.com/ab038.htm
    User Exits.
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    customer exits
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
    Menu Exit.
    http://www.sappoint.com/abap/spmp.pdf
    http://www.sappoint.com/abap/userexit.pdf
    http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
    http://www.sapdevelopment.co.uk/enhance/enhancehome.htm
    BADI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40921dd7-d5cf-2910-1894-bb62316afbd1
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
    http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    http://help.sap.com//saphelp_470/helpdata/EN/eb/3e7cee940e11d295df0000e82de14a/frameset.htm
    Rewards if useful........
    Minal

  • Fixed Enhancement BADI in Onjective settings & Appraisals (OSA)

    Hello,
    We are planning to use Fixed Enhancement BADI to prepopulate certain goals such as
    1. Supervisor's goals
    2. Employee Qualifications, etc
    My question is, when these Supervisor goals / employee qualification requirements changes, will they be automatically reflected in the employee's appraisal form?
    Thank you & Regards
    Raghu Kolukuluri

    Hello,
    I found an answer to my Question:
    Any changes to the element text will be reflected in the appraisal. But if new elements are added, that will not get reflected in the appraisal as the Fix Enhancement BADI will be triggered only when the appraisal document is created.
    Regards
    Raghu Kolukuluri

  • User Exit/Enhancement/BADI for IQ04 transaction

    Hi Experts,
             As IQ04 is a bulk upload transaction for creation of serial numbers for given material, I need to put certain validations before creation of Sr.no. , please tell me the enhancemnet where I can put it's needed before saving .
    Thanks .

    Hi,
    Use Function Module Exit: EXIT_SAPMIEQ0_001 Check of Customer-Defined Rules Before Equipment Update
    Exit names for IQ04
    IEQM0001            Add. checks for equip. installation at functional locations
    IEQM0002            Additional checks for definition of equipment hierarchies
    IEQM0003            Additional checks before equipment update
    IEQM0004            Object is allowed for contract partner (Order->MaintCont.)
    IEQM0005            Object allowed for SD contract (MaintContract->MaintCont.)
    IEQM0006            Object allowed for SD contract (Maintain maintenance cont.)
    IEQM0007            Check/change manufacturer field in equipment master

  • Inventory Management - BADI

    Good day,
    Currently the Inventory Management extractors(2LIS_03_BF, 2LIS_03_BX, 2LIS_03_UM) only extracts Local Currency. We would like to extract the values in Group Currency as well. Doing currency translations is not an option for several business reasons. We have to have the Group currency as it appears in the Material Ledger. I debugged the standard extractor for Inventory management and noticed that the extractor caters for a BAdI(Business Add In). Can anyone please give me an indication where I can look for this BAdI. I looked on SPRO on R/3 and there is a list of BAdI's under BW, but I don't know which one to use and how to use it. I would appreciate help in this regard.
    Thank you.
    Regards.
    Verushca Hunter

    Hi dear and welcome on board !
    I think you have to fill your additional field in the usual exit provided for customer enhancement (RSAP0001) in CMOD transaction, EXIT_SAPLRSAP_001 in the include ZXRSAU01...
    Otherwise you can go fot the new RSU5_SAPI_BADI...
    Hope it helps!
    Bye,
    ROberto
    ...and please don't forget to reward the answers...it's THE way to say thanks here !

  • How to make a field on the screen of any transaction 'display only' in BADI

    Hello All,
    I am working on BADI. The requirement is that for a specific condition, the user should not be able to change the 'plant' field on the screen of the standard MM transactions ME22N or ME23N.
    The field 'plant' should be grayed out and the user should not be able to even enter anything in that field. Is that possible? If yes, how?
    Please help, it is urgent.

    hi radhika
    yes u can do that
    probably u will have to do the customization  using exits
    the possible exits fotr these trxns are
    <b>Exit Name           Description</b>
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MM06E011            Activate PReq Block
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    AMPL0001            User subscreen for additional data on AMPL
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    regards
    ravish
    <b>plz dont forget to reward points if useful</b>

  • Custom TAB in txn WCOCO using Screen Enhancement(BADI Implementation)

    Hi,
    My requirement is to add a custom  tab with some fields in the Header in transaction WCOCO. I implemented the enhancement spot WCB_CC_VIEW_SPOT and the BAdi WCB_HEADER_DATA_TAB_I_BADI and am able to create the custom tab. All the details for the implementation are given in the BAdi's documentation.
    Now, I need to make this custom tab enable/disbale i.e., make it visible/invisible based on the Condition Contract type. I tried to handle this in the PBO of the subscreen (my custom tab is a subscreen, defined as per the BAdi documentation)... but commands SET/LEAVE Screen cannot be used in a subscreen, so unable to handle it.
    Any help on this is greatly appreciated.
    Thanks,
    Veeru.

    Hi Prosengit,
    I am not aure about u r BADI,
    BUt last week i have custom tab in the PO header data using this enahncement 'MM06E005'.
    IN thi senhancement u have thrre screen exits.In this enhancement
    SAPMM06E        0111 CUSTSCR1 SAPLXM06        0111 Subscreen: PO item
    u can add subscreen and u can add u r own fields here .
    and u can write u r code in 'EXIT_SAPMM06E_006'.
    if u want to change the title of the program.
    Go to program SAPLXM06 then go to text element give text symbol no as '111' and u can change the title of u r tab.
    I hope this solves u r problem.

  • Enhancement, BAdI management with SOLAR02

    Dear all,
    We are managing Transaction&Program List related with processes on SOLAR02 transaction.
    There are several object type we can select.
    WAPA                                BSP Application
    WTAG                                BSP Extension
    CLAS                                  Class/Interface
    BMDD                                 Document
    FUGR                                  Function Group
    FUNC                                  Function Module
    REPS                                  Include
    IASP                                   Internet Service
    WDY_JAVA_SOLMAN         Java Web Dynpro Application in Solution Manager
    DEVC                                  Package
    PROG                                  Program
    TRAN                                  Transaction
    BMTR                                  Transaction Request
    WDY_APPLICATION Web   Dynpro Application
    But, we want to manage the Enhancement(User-exit) and BAdI object list, also.
    So, we will add the new object type "SMOD" and "CMOD".
    (We know how to add the object type already)
    But, I wonder if someone of you is managing this type object already and how to manage enhancement
    and BAdI list. (ex.by adding new object type etc...)
    Please give me good opinions for managing enhancement list.
    Thank you.
    Best regards,
    jihyun cho

    Hi,
    please check this blog Extend SAP Solution Manager to Manage New Object Types
    Regards
    Andreas

  • Enhancement/Badi/Enhancement Spot required for BP at the time of SAVE

    Dear Friends,
    I have a requirement to update the custom field(Created by using EEWB)  in BP transaction at the time of Save, based on the condition Risk Class Category, Could any one help me in finding the solution such as BAdi/Enhancement Spot/User exit where I can find the values of Risk Class category, Credit segment category and the custom field I can change at the time of save.
    Appreciate Ur help Thanks alot in advance.
    Br,
    Naveen

    Hello Selva,
    I tried both the options.
    The SDVFX008 is getting triggered.
    *if cvbrp-netwr is INITIAL and cvbrp-fkimg is NOT INITIAL.
    *  MESSAGE 'Not Valid' TYPE 'S' DISPLAY LIKE 'E'.
    * ENDIF .
    this is my logic but the values are initials.
    Is there nay other method which I can use?

Maybe you are looking for

  • Most of my music left un-downloaded after sync

    I have an iPhone 4S 64GB using ios7.0.2.  I am syncing with my old trusty MacBook 10.6.8 running iTunes 11.1.1 The problem is two-fold.  I connect the iPhone to the MacBook via USB and the settings are ticked to update via WiFi, I start the sync and

  • What does it mean when I get this message: "an error occurred while processing this directive"

    www.sprint.com main page loads with this error message all over the page. If I click on business at top of site and then back to personal all loads correctly. What do I have to do to have it load the first time?

  • Link in 365 Email Disclaimer

    Hi, Is it possible to put a link in an email disclaimer in Office 365? (Mailflow, Rules) This topic first appeared in the Spiceworks Community

  • Where is the LOGIC folder ???

    Hi. I installed Logic 7 on my Dual 2.3 for the first time today . I have 2 hard drives , one just for audio , so the install went to my system drive. Under applications i can see the Logic Icon which opens the program. Where is the physical folder ,

  • ChatRoulette isn't working

    Hi, Ever since updating Flash (to 10.1.53.64), sites like http://chatroulette.com/ aren't working.  If, however, I enable outbound connections in my firewall then these sites do work. I'm using Firefox 3.6.6 on Windows 7 64-bit, and my firewall is ju