ME21N BADI which is used during messages

Hello,
we are looking for a BADI or user exit which is called if the user selects a message in ME21N e.g. eMail or printing.
In the user exit or BAPI we have to ask the user about some additional parameters (special screen) which we need to send e.g. the mail.
Thanks

Hi,
There is no perfect badi or user exit for this purpose. you need to doe some majic in coding. BADI ME_PROCESS_PO_CUST is one badi avl for POs and user exit EXIT_SAPLV61B_001 in messages.
Sanjeev

Similar Messages

  • Need, list of questionaries which we use during Q&A when implementation

    Hi,
    Model Q&A which we uses in ASAP during implementation.
    If possible send me all the for the entire client ( including all module)
    if not i want urgently for SD part.
    Need most urgently

    Dear Laxshmanan,
    Do ensure to reward suitable points to all helpful solutions, which motivates the contributor in the forum.
    Regards,
    Rajesh Banka
    Reward suitable points.
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

  • I'm getting an error message "Untrusted Connection" on my on-line bankig site which I use all the time. Now I can't access the site.

    This "Untrusted Connection" is coming up when I try to access my on-line banking site which I use all the time. I also get a OpenDNS message about Phishing and I'm not sure why or what that is. The same thing is happening on my laptop which has Windows 7.

    Did this and it now works.........and I was blaming firefox!!!!!
    ESET: setup -> advanced setup -> extend web and email tree -> SSL
    • SSL protocol: Do not scan SSL protocol

  • [svn] 1978: Bug: vendors. properties file which is used in vendor specific login commands was not being read properly and as a result some login related error messages were not being displayed correctly .

    Revision: 1978
    Author: [email protected]
    Date: 2008-06-06 08:05:34 -0700 (Fri, 06 Jun 2008)
    Log Message:
    Bug: vendors.properties file which is used in vendor specific login commands was not being read properly and as a result some login related error messages were not being displayed correctly.
    QA: Yes - we need automated tests to make sure that errors.properties and vendors.properties in BlazeDS/LCDS are loaded properly.
    Doc: No
    Modified Paths:
    blazeds/branches/3.0.x/modules/common/src/java/flex/messaging/util/PropertyStringResource Loader.java
    blazeds/branches/3.0.x/modules/opt/src/jrun/flex/messaging/security/JRunLoginCommand.java
    blazeds/branches/3.0.x/modules/opt/src/tomcat/flex/messaging/security/TomcatLoginCommand. java

    I have a lot of grief with this version of Windows Media Player.
    It is very buggy and frustrating to use.
    I have my Music library on a QNAP NAS, which is as reliable as they come.
    System notifications make it not save changes.  It also does not do a good job of interpreting albums and artists from folders.  Changes to track names are not saved, nor are tracks moved to other albums, renamed albums, changes to genre, artist
    or date.  It separates and merges albums/tracks without sense or reason.  Some changes I've made up to 4 times, then closed WMP and re-started my machine to check if it has/hasn't saved the changes.  Often it has not.
    This is the first time I've used WMP in this capacity, and I do not recommend it.
    New service pack please.

  • Which IDoc Type and Message Type to use for Credit Memo?

    Could you guys please tell me which IDoc type and Message Type to use for Credit Memo? Also if possible tell me the process code/ function module.
    Will certainly give points for right answer. Thank you for reading.

    Hi,
    You can use IDoc type FIDCCP02 with message type FIDCC1/FIDCC2 for Credit Memo.
    Also you can use this FM FI_IDOC_CREATE_FIDCC1/
    FI_IDOC_CREATE_FIDCC2 to generate the IDoc.
    Regards,
    Ferry Lianto

  • Which User Exit / BADI I can use?

    Hello All,
    While Saving PO or PR I need to check the value of commitment Item(FIPOS).
    Which User Exit / BADI I can use?
    Regards,
    Lijo John

    try this method;
    Go to Tranaction: SE24.
    open class CL_EXITHANDLER
    Open the method " GetInstance"
    Put Break point in the statement
    call method cl_exithandler=>get_class_name_by_interface
    when u run the  po transaction it will repeatedly stop at the breakpoint check the value of exit name there press  f8 to continue now when u just save the po then check the values of exitname in the debugger

  • IPhone 4 - Which microphone is used during video recording?

    I was wondering if anyone knew which of the iPhone 4's microphones are used during video recording. I'm not completely sure but it seems like only the noise canceling microphone is used, whereas voice memos use the bottom microphone only.

    Exactly correct. Why is was made this way, I have no clue.
    I think both should be using the top mic rather then the bottom as that is were your hand usually is. I think it should be made an option.

  • How will I know which Scenario is my message using?

    I have a problem figuring which scenario is my message using.  We have this interface which has 2 similar scenarios.  The scenarios are actually the same-everything inside it-the only difference is the scenario name.  How would I know which scenario is the message using? I tried looking into the trace but I cannot find it there.

    Mary,
    As replied in the above posts, U can not create two sender comm channel or receiver determination for same interface from same source. As told, ur objects might have been copied to two scenrios which  you have also confirmed.
    Scenario name can be treated just as a container to hold the objects logically which belong to one process. It doesnt have any role in the execution of ur process.
    You can try to change ur objects in any one scenario & same will be replicatd in other scenario also. So if I m nt wrong, I will conclude that scenario name is jst to combine the objects & doest have ny role in execution of process in XI.
    Regards
    Sushil

  • Badi/exit/Workflow called during  execution of the BSP "SRMSUS_SELFREG"

    Hi all,
    We are running on SRM 5.0.(SP06) Strategic sourcing scenario.We are using enterprise Portal as the front end.My query is that at the end of Supplier  registration process,when the Supplier admin creates the USER ID's for the Suppliers(through BSP SRMSUS_SELFREG),is there any way by which we can create the enterprise Portal users for those suppliers at the same time(Automation) ?My BASIS person told me that the automation is possible when the EP system is connected only to 1 backend but in our landscape we are having several systems connected to EP.
    Other alternative would be to send a mail to the EP administrator stating that the Vendors User ID's have been created in SRM and the EP ID's need to be created.
    For this ,i didnt get any BADi/exit which gets triggered during this USER ID creation process wherein i can write my logic for sending the mail to the EP admin.
    There are some Std workflows (e.g. WS10000209)for USER creation but these dont seem to be useful in this scenario.
    So the only method left is to modify the Std BSP which  we dont want.Has anybody worked on this kind of scenario?
    Any suggestions are welcome and will be rewarded as well.
    BR,
    Disha.

    Hi
    I am still searching.. but no BADI/Exit is called in this case..
    <u>Meanwhile, i found few SAP OSS notes, which you can go through -></u>
    Note 1031896 Delimiting of Supplier Reg URL due to Special characters
    Note  1031070 Supplier cannot be registered
    Note  996030 Need to relogin to srmsus_selfreg service when using aliases
    Note 1032573 FormofAddr field mandatory in userselfreg.htm page
    Note 1003820 Supplier cannot be registered
    Note 889451 Not Possible to register in Supplier self-registration
    Note  807511 Error message after self registration of supplier admin user
    Note 784883 Irrelevant warning message stops self registration
    Do let me know.
    Regards
    - Atul

  • Problem in ME21N BADI method

    Hi Experts,
    In my earlier thread, I asked which method to choose for ME_PROCESS_PO_CUST for ME21N Tcode.
    I got my answer as "CHECK" method, and I closed that thread.
    Now when I am writing a code there in CHECK method and activate it and going to create purchase order, I am not able to block save data.
    My query is to how I can make a check in SAVE button, when user left "PLANT or TINNO" fields blank, so that it will not be able to save the data to generate PO number.
    I am writing a code as :
    DATA : ls_mepoheader TYPE REF TO if_purchase_order_mm.
      DATA : l_header TYPE mepoheader.
      INCLUDE mm_messages_mac. "useful macros for message handling
      l_header = ls_mepoheader->get_data( ).
      IF SY-UCOMM EQ 'MESAVE' OR SY-UCOMM EQ 'MECHECKDOC'.
          IF l_header-plant EQ ' ' OR l_header-tinno EQ ' '.
            mmpur_message_forced 'E' 'ZMSG' '012' '' '' '' ''.
          ENDIF.
      ENDIF.
    Now when I am creating a PO from ME21N, it is showing an erorr message that i have given, but when click on SAVE button, it is saving the data and generate PO number.
    So I am confused which method to choose... so that it will not let save data.
    and also Please check the code i have given.
    Thanks,
    Deepanshu

    Hi ,
    you need call method INVALIDATE to stop users from saving ...check BADI-->sample/default codes to get some idea ...or read its documentation
    DATA : ls_mepoheader TYPE REF TO if_purchase_order_mm.
      DATA : l_header TYPE mepoheader.
      INCLUDE mm_messages_mac. "useful macros for message handling
      l_header = ls_mepoheader->get_data( ).
      IF SY-UCOMM EQ 'MESAVE' OR SY-UCOMM EQ 'MECHECKDOC'.
          IF l_header-plant EQ ' ' OR l_header-tinno EQ ' '.
            ls_mepoheader->INVALIDATE()."Call this method..... 
           mmpur_message_forced 'E' 'ZMSG' '012' '' '' '' ''.
          ENDIF.
      ENDIF.

  • User-exit /BADI to change mseg during migo

    HI
    Can someone tell me which user-exit/BADI to be used which lets one change mseg during MIGO. There are some user-exit/BADI during migo but everywhere mseg is an import param. Actually for certain cases I want
    to change the amount in local currency field (dmbtr). I can always forcibly do it from an update-module called from MB_DOCUMENT_BADI but this would lead to inconsistency as the same won't be passed to
    accounting document.
    Regards
    Saurav

    Hi,
    i've also tried using the BAdI mentioned to change for some changes required for price during goods movement.
    after discussion with developer, we found out that the when the program reach the BAdI mentioned, it is already too late as the standard program has already populated the accounting document structure to be posted.
    to change the amounts to be posted to the accounting document can be managed with enhancement spots in inlcude program of LRWCLF01.
    but requires heavy logic to restrict to specific scenarios and  intensive testing, not recommended as it is not within the boundaries of standard SAP allowed changes.
    Cheers,
    Joaquin

  • Anyone have experience using ALE message FIDCC2 in a high volume scenario?

    Hi,
    We are evaluating the use of message type FIDCC2 to send complete FI documents from one SAP system (logisitics) to another SAP system (finance).  I'm particularly interested in throughput performance, as this will be a high volume scenario (300K+ docs per month).  Additionally, each SAP system has a customer include code block extension (CI_COBL) to BSEG, that will be carried via an IDOC enhancement (custom segment), for which we are considering using XI to map the IDOCs between the two systems.  I would appreciate any info you can share regarding use of FIDCC2 in a high volume scenario.  Thanks in advance.
    Regards,
    - Allen

    Hi Allen,
    In my past experiences, I used the message variant (EDIDC-MESCOD) and message function (EDIDC-MESFCT) to execute multiple inbound IDoc jobs to run parallel  for a given message type and IDoc type (execute program RBDAPP01 in different application servers).
    I used message variant and message function to group all sales order IDocs based on location and customer numbers. 
    You need to enter message variant and/or message function during partner profile setup (WE20). Also the middleware system (i.e. SAP XI) must maintain the above fields accordingly for IDoc inbound processing.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Reg Batch determination using Process messages

    Dear all,
    Please suggest which BAPI to used so that we can carryout batch determination using process messages
    what we need is batch should be picked using FEFO during process message processing
    Thanks in advance
    Regards
    venkat

    Dear,
    In process order you can't find out the date on which batch determination is carried out
    only possible way is activate Order Change management
    So that changes will be recorded, if the batch determination is carried out IN CO02,
    You can see the changes in table PCDHDR, PCDPOS
    or by program RSSCD200,RSSCD150 &RSSCD100
    or through AUT10
    If Batch determination is carried out No change log means, at that time of creation batch is determined

  • ABAP-HR Name of the BADI which updates merit salary in infotype 759 and 15.

    Hi Friends,
        I want the name of BADI which updates merit lump sum in infotype 15 .
    Example 1.
       Employee’s base pay = 34,000
       Merit increase amount = 1,500
       Employee’s Salary Range =  25,000 – 35,000.(This is taken from T710)
      IT0759 STXX Pick-up subtypes related to the following plans  (MSST, ,MSWH,  MSPA, MSAN) = 1,000
      IT0015 ST  E408 Merit Lump Sum = 500.
    In the above example out of 15000(Merit increase amount). 1000 will get updated
    in infotype 759. and 500 wll be updated in Infotype 0015.
    Question. Which enhancement does this operation. there is BADI called HRPAD00INFTY but this can update only one infotype at one point of time
    because new_innnn-infty is a structure which holds only one Infotype at run time.
    I would be greateful for this information.

    Hi,
            Try HRECM00_GDEGP
    other way
    Implement this BAdI HRECM00_CONSISTENCY in SE19 & put your validations in the method CHECK_CONSISTENCY .. You will have to use the function module HR_ECM_ADD_MESSAGE to fill your messages & show it on the front end
    <b>Reward points</b>
    Regards

  • What is badi and where used?

    Tell me about badi and its uses in abap?
    Thanks.

    Hi
    BAdi's are used as similar to user exits for most of the transactions using OOPS concepts
    DEFINING THE BADI
    1) execute Tcode SE18.
    2) Specify a definition Name : ZBADI_SPFLI
    3) Press create
    4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
    multiple use.
    5) Choose the interface tab
    6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
    7) Dbl clk on interface name to start class builder . specify a method name (name,
    level, desc).
    Method level desc
    Linese;ection instance methos some desc
    8) place the cursor on the method name desc its parameters to define the interface.
    Parameter type refe field desc
    I_carrid import spfli-carrid some
    I_connid import spefi-connid some
    9) save , check and activate…adapter class proposed by system is
    ZCL_IM_IM_LINESEL is genereated.
    IMPLEMENTATION OF BADI DEFINITION
    1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
    2) Specify aname for implementation ZIM_LINESEL
    3) Specify short desc.
    4) Choose interface tab. System proposes a name fo the implementation class.
    ZCL_IM_IMLINESEL which is already generarted.
    5) Specify short desc for method
    6) Dbl clk on method to insert code..(check the code in “AAA”).
    7) Save , check and activate the code.
    Some useful URL
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    Now write a sample program to use this badi method..
    Look for “BBB” sample program.
    “AAA”
    data : wa_flights type sflight,
    it_flights type table of sflight.
    format color col_heading.
    write:/ 'Flight info of:', i_carrid, i_connid.
    format color col_normal.
    select * from sflight
    into corresponding fields of table it_flights
    where carrid = i_carrid
    and connid = i_connid.
    loop at it_flights into wa_flights.
    write:/ wa_flights-fldate,
    wa_flights-planetype,
    wa_flights-price currency wa_flights-currency,
    wa_flights-seatsmax,
    wa_flights-seatsocc.
    endloop.
    “BBB”
    *& Report ZBADI_TEST *
    REPORT ZBADI_TEST .
    tables: spfli.
    data: wa_spfli type spfli,
    it_spfli type table of spfli with key carrid connid.
    *Initialise the object of the interface.
    data: exit_ref type ref to ZCL_IM_IM_LINESEL,
    exit_ref1 type ref to ZIF_EX_BADISPFLI1.
    selection-screen begin of block b1.
    select-options: s_carr for spfli-carrid.
    selection-screen end of block b1.
    start-of-selection.
    select * from spfli into corresponding fields of table it_spfli
    where carrid in s_carr.
    end-of-selection.
    loop at it_spfli into wa_spfli.
    write:/ wa_spfli-carrid,
    wa_spfli-connid,
    wa_spfli-cityfrom,
    wa_spfli-deptime,
    wa_spfli-arrtime.
    hide: wa_spfli-carrid, wa_spfli-connid.
    endloop.
    at line-selection.
    check not wa_spfli-carrid is initial.
    create object exit_ref.
    exit_ref1 = exit_ref.
    call method exit_ref1->lineselection
    EXPORTING
    i_carrid = wa_spfli-carrid
    i_connid = wa_spfli-connid.
    clear wa_spfli.
    Check this link to learn more about differences between user-exits and badis:
    http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm
    <b>Difference Between BADI and User Exits</b>
    Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
    As with customer exits two different views are available:
    In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.
    In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
    In contrast to customer exits, Business Add-Ins no longer assume a two-level infrastructure (SAP and customer solutions), but instead allow for a multi-level system landscape (SAP, partner, and customer solutions, as well as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.
    SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
    The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time. In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example).
    All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard. A single Business Add-In contains all of the interfaces necessary to implement a specific task.
    The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects.
    What is difference between badi and user-exists?
    What is difference between enhancements and user-exists? and what is the full form of BADI?
    I have another doubt in BDC IN BDC WE HAVE MSEGCALL (i did not remember the > correct name) where the error logs are stored, MSEGCALL is a table or structure.
    <b>Difference between BADI and USER-EXIT.</b>
    i) BADI's can be used any number of times, where as USER-EXITS can be used only one time.
    Ex:- if your assigning a USER-EXIT to a project in (CMOD), then you can not assign the same to other project.
    ii) BADI's are oops based.
    Reward points for useful Answers
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

Maybe you are looking for