How to use MAM30_011_CREATE BADI - IF_EX_ALM_ME_010_NOTIF~MAM30_CREATE ?

Hi,
I have an customer field "ZZEXT_XY" in the table "QMEL".
When the user creates a new notification on mobile device the information for that customer field is saved in the notification syncBo as enhancement field for CE_NOTIF_HEADER (MAM30_010Item030).
During sync the functional modul "MAM30_011_CREATE" is called by the middleware.
Now I want to use the BADI "IF_EX_ALM_ME_010_NOTIF~MAM30_CREATE" to save this information in the table field "ZZEXT_XY" in table "QMEL" (wich includes "CI_QMEL" with the enhanced table fields, like "ZZEXT_XY").
Is this possible?
And if yes, how can I implement this?
Because I don't see any type in the BADI which contains the customer field "ZZEXT_XY".
I thought I can use a reference type for the structure ALM_ME_CUSTOM_NOTIF_HEADER.
But this is not working.
I'm getting a "OBJECTS_MOVE_NOT_SUPPORTED" runtime error during executing the functional modul "MAM30_011_CREATE".
Thanks for your help.

Hi Frank!
I hope I can help you a little bit.
You must extend the Customer Include CI_ALM_ME_NOTIF_HEADER with your own field ZZEXT_XY. When you have done this, you have to implement the BADI Method in order to get your customer field into the database. The Customer BADI is called after the standard creation of the notification.
I have extend the task list and it works fine.
best regards
Matthias

Similar Messages

  • How to use the BADI  WORKORDER_GOODSMVT to meet my requirement?

    Hello Abapers,
    My requirement is I need to display Batch Number in confirmation of production order(co15) which is entered in creation of production order(co01).While debugging the CO15,i got badi as WORKORDER_GOODSMVT.
    I am new to BAdi,HOW to use this badi to meet my requirement.
    Please help for me to solve my problem.
    If any one implemented batch mangement in PP.Please tell the procedure how u achieved?
    waiitng for your favourable replies
    Regards
    Maruthi.

    Hai,
    IN my reuqiremnt,i used GOODS_RECEIPT method to meet my requirement.
    Regards
    Maruthi.K

  • How to use standard BADi?

    Good day experts.
    I have a requirement which I need to save details (such as amount, description, doc. no. etc) on F-22 (screen 0700) into a ztable which I will going to create. Since F-22 is a SAP standard, I need to use Exits or BADi to accomplish my requirement. I do some readings about BADi before I make did post.
    First, I research on how to check what are the available BADi on F-22. So, there is that tutorial on how to get the exit handler of that particular transaction. In my case, the name of the BADi is FI_RES_ITEM_CURRENCY. However, I am not lucky to get some more information what to do next. As for my further readings, I have to use SE18 and SE19. When I use se18, I can see the interface and methods of this SAP BADi. Since this BADi is a SAP standard, I cannot insert any codes in its method. So, what I did is, I make a zclass. I copied this class "CL_DEF_IM_FI_RES_ITEM_CURRENCY" in se24 and make a zcopy of it. Now I can now insert some Abap codes in its method. But my question again is, how to implement this class into the BADi, "FI_RES_ITEM_CURRENCY" which is a SAP standard.
    Can anyone help me what is the next step/s for me to do to accomplish my requirement? Thanks a lot for your kind help.

    Hi,
    as you already concluded SE18 is only for defining BAdIs definition or View the BAdI Definition. To implement the BAdI you may use transaction SE19.
    Depending on your SAP Release it's either quite easy or (starting with 6.0) you probably have to create a enhancement befor you can implement a actual BAdI.
    Hope this helps.
    BR
    Tobias Kugelmann

  • How to use the BADI CRM_MKTLIST_BADI in External List Management?

    Hi Experts,
    I am using ELM tool to upload new accounts from an excel file. I need to do some coding before the BPs get created into CRM. This coding is for mapping some fields & doing a few validation checks. We have a BADI CRM_MKTLIST_BADI for this. But when I try to stop that BADI by putting breakpoints, it doesnot stop. I have assigned the required filter for my implementation of the BADI too. But somehow the breakpoint doesnot work & the control never stops in the BADI implementation. Could the experts out there please help me out in this as this is really urgent...
    Points will be rewarded generously for helpful answers...
    Thanks & Regards,
    Sangeeta.

    Hi Sangeeta,
    Set the user parameter CRM_DEBUG_CODE to "MKLIST" for your user in SU3. Put a break-point in the BADI method.
    This will call the debugger once the BADI is triggered.
    Regards,
    Susanta

  • How to Assign Customized BADI to Standard T.Code  Example ME51N

    Dear all,
    It would be really appriciate if you provide me a solutions.
    I have Created Customized BADI using SE18,SE19. But I am not aware How to Use those BADI in Standard Transaction.
    Example : I have Created PR Related BADI (ZPURREQ_ACC_CHK). How to utilize this BADI In ME51N,ME52N.
    Please advice me.
    Thanks
    Best Regards,
    KSK

    I think what you need to do is find what exits or existing BAdIs are available for the transaction.  Then in the user exit you can call your customized code.  That way you avoid changing SAP's code for the transaction.  You can find BAdIs related to purchasing by going to transaction SPRO and then following this path:
    Materials Management -> Purchasing -> Business Add-Ins for Purchasing
    I hope this helps.
    - April King

  • How can I use a bad IMEI AT&T iphone 5 with straight talk ?

    Someone sold me a bad IMEI AT&T iphone 5. I had an AT&T iphone 4 with straight talk prior to buying this phone. I didn't know the IMEI was bad so I bought the iphone 5 hoping to switch. I cut my SIM card and put it into the iphone 5. Everything worked perfectly fine so I went ahead and gave the dude the money. I went to sleep and wake up the next day and try to make a call and I get a message saying my phone has been blocked from the network. I contacted straight talk and they thought it was a problem of theirs so somehow they got my phone to work again. Everything was good , calls, texts , and data. 2 hours later, the same problem happens. So I call straight talk again , tell them the problem. They fix It again, 2 hours later , THE SAME PROBLEM. I gave up this time and began looking for answers. Is there any way I can use this iphone 5 with straight talk ? There was a comment I saw through my search for answers where if I get another straight talk sim everything would work again. Is this true? How can I use a bad IMEI AT&T iphone 5 with straight talk ?

    If that IMEI has been blacklisted by AT&T, then it is blacklisted by all USA carriers, as well as several participating Canadian and Mexican carriers.
    As of 31 October 2012, USA Cellular Providers are sharing a common IMEI/ESN database to ensure that phones blacklisted on one carrier can't be activated on another carrier.  AT&T and T-Mobile are also participating members of the GSM-networks global shared blacklists.

  • 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

  • SRM 7.0 BADI Define Agents-- How to use type /sapsrm/t_wf_area_entity

    Hi Experts,
    I'm using SRM 7.0. When implementing BADI /SAPSRM/BADI_DET_AG (Define the agents of  procsess controlled workflow), I created the sub-class of interface /SAPSRM/IF_WF_AREA to develop my won logic in method GET_RESPONSIBLE_APPROVERS.
    I want use the data in workflow container, seems the method GET_AREA_ENTITY_IDS of /SAPSRM/IF_WF_AREA  can provide a pointer which type is /sapsrm/t_wf_area_entity and point workflow area.
    My question is how to use this pointer (or how to use the type /sapsrm/t_wf_area_entity )? Many thanks.
    PS. I found some example code delivered by sap, but i want know the full structure which /sapsrm/t_wf_area_entity point. Below code for your reference:
    METHOD /sapsrm/if_wf_area~get_responsible_approvers.
      DATA lt_area_entity_id TYPE /sapsrm/t_wf_area_entity_id.
      DATA lr_area_entity_id TYPE REF TO /sapsrm/wf_area_entity_id.
      DATA ls_actor_id       TYPE swhactor.
      DATA lt_approver       TYPE /sapsrm/t_wf_approver.
      FIELD-SYMBOLS: <ls_agent_id> TYPE /sapsrm/s_wf_approver.
      lt_area_entity_id = me->/sapsrm/if_wf_area~get_area_entity_ids( ).
      LOOP AT lt_area_entity_id REFERENCE INTO lr_area_entity_id.
        ASSIGN lr_area_entity_id->* TO <ls_agent_id> CASTING.
        TRY.
            ls_actor_id-otype = <ls_agent_id>-approver_ot.
            ls_actor_id-objid = <ls_agent_id>-approver_id.
            lt_approver = /sapsrm/cl_wf_config_user=>get_manager_list( ls_actor_id ).
            APPEND LINES OF lt_approver TO rt_approver.
          CATCH /sapsrm/cx_wf_error /sapsrm/cx_wf_abort.
            CONTINUE.
        ENDTRY.
      ENDLOOP.
    ENDMETHOD.

    Hi Darcy,
    You can also use FM SAP_WAPI_READ_CONTAINER to read workflow container values.
    Please state if you have some other specific requierment.
    Regards,
    Saumya

  • 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

  • How to handle the bad record while using bulk collect with limit.

    Hi
    How to handle the Bad record as part of the insertion/updation to avoid the transaction.
    Example:
    I am inserting into table with LIMIT of 1000 records and i've got error at 588th record.
    i want to commit the transaction with 588 inserted record in table and log the error into
    error logging table then i've to continue with transaction with 560th record.
    Can anyone suggest me in this case.
    Regards,
    yuva

    >
    How to handle the Bad record as part of the insertion/updation to avoid the transaction.
    >
    Use the SAVE EXCEPTIONS clause of the FORALL if you are doing bulk inserts.
    See SAVE EXCEPTIONS in the PL/SQL Language doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/tuning.htm
    And then see Example 12-9 Bulk Operation that continues despite exceptions
    >
    Example 12-9 Bulk Operation that Continues Despite Exceptions
    -- Temporary table for this example:
    CREATE TABLE emp_temp AS SELECT * FROM employees;
    DECLARE
    TYPE empid_tab IS TABLE OF employees.employee_id%TYPE;
    emp_sr empid_tab;
    -- Exception handler for ORA-24381:
    errors NUMBER;
    dml_errors EXCEPTION;
    PRAGMA EXCEPTION_INIT(dml_errors, -24381);
    BEGIN
    SELECT employee_id
    BULK COLLECT INTO emp_sr FROM emp_temp
    WHERE hire_date < '30-DEC-94';
    -- Add '_SR' to job_id of most senior employees:
    FORALL i IN emp_sr.FIRST..emp_sr.LAST SAVE EXCEPTIONS
    UPDATE emp_temp SET job_id = job_id || '_SR'
    WHERE emp_sr(i) = emp_temp.employee_id;
    -- If errors occurred during FORALL SAVE EXCEPTIONS,
    -- a single exception is raised when the statement completes.
    EXCEPTION
    -- Figure out what failed and why
    WHEN dml_errors THEN
    errors := SQL%BULK_EXCEPTIONS.COUNT;
    DBMS_OUTPUT.PUT_LINE
    ('Number of statements that failed: ' || errors);
    FOR i IN 1..errors LOOP
    DBMS_OUTPUT.PUT_LINE('Error #' || i || ' occurred during '||
    'iteration #' || SQL%BULK_EXCEPTIONS(i).ERROR_INDEX);
    DBMS_OUTPUT.PUT_LINE('Error message is ' ||
    SQLERRM(-SQL%BULK_EXCEPTIONS(i).ERROR_CODE));
    END LOOP;
    END;
    DROP TABLE emp_temp;

  • MAX(SummaryNum) +1 bad idea, but how to use sequence part composite column

    Hi,
    My relational mode is as follows
    Policy (policynum PK) has 1:M with Summary (policynum FK, SummaryNum part of PK, other columns part of PK)
    Basically for each policy users can enter notes with SummaryNum 1, 2, 3, 4.... These numbers are shown to the user for tracking purpose. I need to make sure summary notes for EACH policy start with 1 (cannot really use sequence in the table in the strictest sense) and are incremented by 1. The current Oracle form basically creates the next highest possible value of SummaryNum by adding one to the currently available highest value. In brief, it is like a sequence number for summaries of a particular policy in the summary table.
    PRE-INSERT
    SELECT MAX(SummaryNum ) + 1
    FROM Summary
    I am trying to replicate this in ADF BC (using 11g) and know that not using sequencing and adding one to get the next number is a very bad idea due to concurrency challenges (transactional ACID properties). The reasons are as follows.
    •     Using MAX(policy_memo_seq_num) + 1 is not scalable,
    •     It will lead to duplicates in a multi-user environment, whether ADF BC, Oracle Forms, or any other technology
    I also know how to use create a sequence in db, a related trigger, and then set the attribute in EO properties as DBSequence. My challenge is that since SummaryNum is not a primary key, and instead is part of a composite key in my case, how do I make sure that summary notes for EACH policy start with 1 in the Summary Table.
    I appears that i cannot really use sequence in the table in the strictest sense as this will mean that for policies the summaryNum will start from the next available sequence number, but what i really want is to have it start by one for all policies.*
    I would appreciate any help.
    Thanks,

    Not sure if there is a better way, but here is one way. Let's say your table was like this:
        SQL> desc versioned_item
         Name         Null?    Type
         ID           NOT NULL NUMBER
         VERSION      NOT NULL NUMBER
         DESCRIPTION           VARCHAR2(20)and lets say your data looked like this:
        SQL> select * from versioned_item order by id, version
                ID    VERSION DESCRIPTION
              1001          1 Item 1001
              1001          2 Item 1001
              1001          3 Item 1001
              1002          1 Item 1002
              1002          2 Item 1002
              1003          1 Item 1003To select only the rows for the max-version-id, you could do this:
        select id, version,description
        from versioned_item
        where (id,version) in (select id,max(version) from versioned_item group by id)
        order by id
                ID    VERSION DESCRIPTION
              1001          3 Item 1001
              1002          2 Item 1002
              1003          1 Item 1003To capture this as a view object, you'd only just need to paste in the WHERE clause above into the Where clause box of the view object. No need to use expert-mode since you're not changing the select list or from clause.

  • How to: Using BADI for reporting variables

    I am familiar with using the exit RSR0001. However I never used a BADI to implement such a variable.
    Is there some information available to get me started?

    Hi,
    These should help you:
    [Implementing a Business Add In (BAdI) in an Enhancement|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0456c54-0901-0010-f0b3-cd765fb99702]
    [Enhancing DataSources with BAdI RSU5_SAPI_BADI|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7]
    Even check these blogs:
    [Which carries stronger SAP "guarantees": BAdI's or Exits?|Which carries stronger SAP "guarantees": BAdI's or Exits?]
    [SAP Network Blog: A new kid(BAdI) in town|A new kid(BAdI) in town]
    Cheers,
    Habeeb

  • How to use airport time capsule with multiple computers?

    I'm sure there are some thread about this but i couldn't find it... so sorry for that but hear me out! =)
    I bought the AirPort Time Capsule to back up my MBP
    And so i did.
    then i thought "let give this one a fresh start" so i erased all of it with the disk utility and re-installed the MBP from the recovery disk.
    I dont want all of the stuff i backed up just a few files and some pictures so i brought that back.. so far so good.
    Now i want to do a new back up of my MBP so i open time machine settings, pick the drive on the time capsule and then "Choose" i wait for the beck up to begin, and then it fails.  It says (sorry for my bad english, im swedish haha) "the mount /Volume/Data-1/StiflersMBP.sparsebundle is already in use for back up.
    this is what i want:
    i want the "StiflersMBP.sparsebundle" to just be so i can get some stuf when i need them. it's never to be erased.
    i want to make a new back up of my MBP as if it's a second computer...
    so guys and girls, what is the easiest and best solution?
    Best regards!

    TM does not work like that.
    If you want files to use later.. do not use TM.
    Or do not use TM to the same location. Plug a USB drive into the computer and use that as the target for the permanent backup.
    Read some details of how TM works so you understand what it will do.
    http://pondini.org/TM/Works.html
    Use a clone or different software for a permanent backup.
    http://pondini.org/TM/Clones.html
    How to use TC
    http://pondini.org/TM/Time_Capsule.html
    This is helpful.. particularly Q3.
    Why you don't want to use TM.
    Q20 here. http://pondini.org/TM/FAQ.html

  • How to use alias in "From" field when I send a mail with utl_smtp ?

    Hi all,
    I'm using a PL/SQL package with an Oracle 11G database to send mails. It works fine but instead of use of my mail in "From" field like "[email protected]" as sender E-mail address, I would like to have "Toto" in the sender address. I tryied to use utl_smtp.mail(l_connection, '<toto> [email protected]') but it doesn't work. The only way I can send mail is when I set utl_smtp.mail(l_connection, '<[email protected]>') directly. When I use the Alias, I have an error from smtp server telling that I use a bad syntax address.
    Does someone know how to use the alias ? Where do I do a mistake ?
    Thank you for your help.
    sis2b

    Thank you, I find how to solve the problem thanks to your link.
    I try to send HTML E-mail so I had the From in the from field writen in the header of the mail and not to initialize the connection.
    sis2b.

  • How to use EXTENSION_IN in FM BAPI_OUTB_DELIVERY_CREATE_SLS...

    Hi friends,
    I have a requirement to extend LIKP table with custom fields and populate the custom fields using EXTENSION_IN/EXTENSION_OUT parameters in tables parameter.
    The documentaion says
    FU BAPI_OUTB_DELIVERY_CREATE_SLS EXTENSION_IN
    Short Text
    Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
    Description
    In parameter EXTENSION_IN, you can transfer additional data.
    This data can be processed with the following BAdI:
    Enhancement spot:  ES_SAPVL50I_BADI
    BADI definition:  BADI_DLV_CREATE_SLS_EXTIN
    Method:  ADDITIONAL_INPUT
    Short Text
    Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
    Description
    In parameter EXTENSION_OUT, you can return additional data to a synchronous caller.
    The following BAdI is available for doing this:
    Enhancement spot:  ES_SAPVL50I_BADI
    BADI definition:  BADI_DLV_CREATE_EXTOUT
    Method:  ADDITIONAL_OUTPUT
    I appreciate if someone helps me how to populate the parameters EXTENSION_IN and EXTENSION_OUT and how to implement BADI method step by step and also share the code if anyone has.
    Thank you in advance.
    Regards,
    Satya Denduluri.

    Hi Satya,
    implement the enhancement spot  ES_SAPLV50I_BADI.
    implemented the method ADDITIONAL_INPUT.
    use one function module with tables parameter as  extension_in  and pass all the extension_in internal table to global internal tables of function group.
    give structure name in structure field , and values in VALUEPART1,VALUEPART2,VALUEPART3,VALUEPART4
    implement  BADI, LE_SHP_DELIVERY_PROC
    using the badi LE_SHP_DELIVERY_PROC.
    implemented the method SAVE_DOCUMENT_PREPARE.
    use one function module with tables parameter as  extension_in and pass all the global internal tables of function group to local extension_in internal table and pass it to the standard internal tables of likp,lips.
    Hope this will solve your problem.
    >
    Regards
    VINAYKUMARJASTI.

Maybe you are looking for

  • What are the required settings to enable HTTP Compression?

    I am running into download speed issues with some of my clients.  I am looking for ways to improve download response without having to rewrite my system(s). On the server side, I am using CF 8.01 on a W2003 system.  I have enable HTTP Compression for

  • How do i set up columns in pages

    How do I set up 2 columns within a page. That is full page, no column text above the columns and text below the columns? I have made columns, and have the text above, how do I turn off or set the bottom border of the columns/ Thanks

  • SwingWorker in Applet

    Hi, I have a question on using class SwingWorker and Applets. My usecase is this: I have an applet with a menue (java.awt.Choice). My applet implements ItemListener and so I can register the applet as itemlistener for the menue. I have an inner class

  • JNDI, EARs and managed servers

    I have an EAR file containing a WAR and two EJB JAR files. When I deploy this EAR onto a server (admin server), assign a target to the 3 modules and run, evertying is fine. I now have a scenario where I have added a managed server (so there are two t

  • Button Fire Event Multiple Times

    Hey everyone.  I've somewhat inherited a LabVIEW program for a project I'm working on.  I need to fire an event in an event structure 20 times in a row to fully collect my data.  Right now i just have the event structure connected to a slider so i ju