Implementing BADI for PO

Dear All,
<b>In the PO creation badi, in create/change/save methods, i need to clear the purchase info record defaulted by SAP.
Also in create method, PO price needs to be defaulted as the same as PR price, if the reference PR is found. User should be able to change this default price and save the PO.</b>  Hence, I have to restrict this logic only to create method.
Now i am trying to implement BADI for PO def (ME_PROCESS_PO_CUST) with (impl name: ZMM_POCREATE). For clearing the purchase info record i put the code in 2 different methods
1. PROCESS_ITEM
  DATA: ls_mepoitem TYPE mepoitem.
  break LAKSHMIS.
Get the PO item Details
  ls_mepoitem = im_item->get_data( ).
  ls_mepoitem-INFNR = space.
Set the item data
  CALL METHOD im_item->set_data
    EXPORTING
      im_data = ls_mepoitem.
2. OPEN
  DATA:
  ls_header   TYPE mepoheader,
  ls_mepoitem TYPE mepoitem.
  break lakshmis.
  CALL METHOD im_header->get_data
    RECEIVING
      re_data = ls_header.
Get the items for the PO using get items method and change the purch info record to SPACE and set the values using SET_DATA on item.
<b>However, in both the cases the value doesnot get changed (as i dont see any changing parameters provided). However the documentation of BADI says that we can change the HEADER as well as ITEM information in this BADI.</b>
Can anyone please suggest, where i am going wrong and what needs to be done in order to achieve the above two requirements.
Thanks in advance.
Regards,
Lakshmi

BADI
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
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/63ee7f486cc143a560799d8803ce29/content.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/badi-general+information&
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
The specified item was not found.
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
http://www.allsaplinks.com/badi.html
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-serieshttps [original link is broken]:///people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
/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 /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
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
http://www.esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
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

Similar Messages

  • Implementing Badi for additional tab page & creating views in cProjects 3.1

    Hi,
    I am implementing DPR_ADD_SAP_TAB_I for adding new tab page in Cprojects 3.1.
    Please tell me whether we have to create any veiw?
    if it is please tell me the procedure & steps

    Hi...
    Implement the BAdI DPR_ADD_SAP_TAB_I
    and write following code in its method GET_ADD_TAB_DATA
    method IF_EX_DPR_ADD_SAP_TAB_I~GET_ADD_TAB_DATA .
      field-symbols: <tab_data> type DPR_TS_SAP_TAB_CTRL.
      data: lt_tab_data type DPR_TT_SAP_TAB_CTRL.
      constants: lc_pre_ctrl   type string value 'CTRL_TAB_',
                         lc_suff_ctrl  type string value '.DO'.
      lt_tab_data = ct_comp_ctrl.
      loop at lt_tab_data assigning <tab_data>.
        case <tab_data>-obj_type.
       project definition
          when CL_DPR_CO=>SC_OT_PROJECT.
            <tab_data>-tab_title = 'otr(zotr_cust_txt/proj_txt)'.
            concatenate lc_pre_ctrl CL_DPR_CO=>SC_OT_PROJECT lc_suff_ctrl
    into <tab_data>-controller.
        endcase.
      endloop.
      ct_comp_ctrl = lt_tab_data.
      EV_BSP_APPL = 'CST_ADD'.
    endmethod.
    Regards,
    Reema.

  • Implementing BADI for logbook

    Hi,
    I want to implement logbook for PM module for that there are some BADI's , can you please tell me how to implement those BADI and where to see my logbook.
    What is the transaction for logbook.

    answered

  • Implement badi for vms isolate action

    Dear expert,
      I am developing the VMS(vehicle management system) action which is set as "isolate" action.
      I use badi for isolate action to perform execution logic (like update ztable and populate some value to VMS table).
      but the problem is, the history of vehicle, status of vehicle and green light at navigation pannel is not updated even the message display successful.
      Do I need to put some FM call after execute logic within this isolate badi?
      Can some give me some sample?
       Thank a lot.
    Regards,
    Boonsom

    Hi Tim,
    You can execute a method call in Action definition.
    This method call is a badi implementation.
    Badi: EXEC_METHODCALL_PPF
    In this method call you can trigger your external interface.
    Steps:
    1) Implement badi EXEC_METHODCALL_PPF to create you method implementation from which you will trigger your external interface
    2) Create an action definition in Action profile, in third level configuration for action profile, specifiy Method Call and assign the badi implemented method here.
    3) Schedule the action condition.
    Thats all.
    Test the Scenario.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Implementing Badi for CRM IC

    Hi,
    User don't want empty interaction record to be created. I have found a badi which will restrict it. But I don't know how to use that BADI as am new to CRM. Please help me to use BADI CRM_IC_IARECORD to restrict record creation.
    Thanks
    Subin Samuel

    Hi Subin,
    I would actually ask WHY do you want to suppress the creation of the Interaction Record? Doing so is actually not recommended as a lot of functionality in the Interaction Center relies on the IR including reporting; creating follow-on business transactions; and INTO/INTA linking of emails, service requests, solutions/knowledge articles, etc.
    A better idea would just be to remove the IR object from the screen so that agents don't see it and don't need to fill it out, but still allow it to be created in the background.
    You can find a little more info in this blog post by Gert Tackaert, "Everything you need to know about the Interaction Record..."
    Regards,
    John

  • Implementing BADI

    Hi,
    How to implement BADI?
    I want to Implement Badi for t.code FBL3N .
    In This i need to update BSEG table.
    please give me solution
    Edited by: Santhosh on Jan 22, 2008 4:50 PM

    Business Add-Ins
    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 (SMOD/CMOD Page 40), 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-system infrastructure (SAP and customers), but instead allow for multiple levels of software development (by SAP, partners, and customers, and 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. In Release 4.6A, program and menu enhancements can be made with Business Add-Ins. 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
    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
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f3202186-0601-0010-6591-b832b1a0d0de
    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.
    Regards

  • BADI for ME21N to deactivate HOLD button?

    Hi All,
    I have one doubt in ME21N t'code i:e
    i want to  implement badi for me21n for deactivating for HOLD button. how can i do this one.
    <removed_by_moderator>
    Thanks in Advance,
    Srinivas.
    Edited by: Julius Bussche on Oct 29, 2008 10:36 AM

    you have badi for doing this .ME_HOLD_PO this is badi . Implement this in se19 . You have IS_ALLOWED method . In this method  write ch_allowed = ' '. This will solve your requirement.
    Edited by: A kumar on Oct 29, 2008 10:34 AM

  • I have implemted badi  for adding tab vl01 t.code?

    Hi abapers,
    I have implemented badi  for adding tab vl01 t.code?But additional tab is not appearing in vl01?

    Hi,
    I found something similar.hope it helps.
    lets say u have to add fields to standard table  EKPO.
    U can add a customer field in a standard table only for those standard table which has given the provision for adding fields .
    Go to se11 and check out the table. there u will have CI_EKPODB  . "CI " stands for custom include.
    i u can add my field.
    Read the following----
    To add the customer field :
    Go to SE11 --> EKPO -->Display --> then doube click the data element "CI_EKPODB"... it will ask whether u want to create a field ...press YES and then continue with adding the field.. "ZZPAYMENT" in that ...
    Creating the field in the table:
    Give the name of the componenet "ZZPAYMENT" and the related data element (if the field "ZZPAYMENT" is of type CHAR give the data element as "CHAR" and give the needed length of the field say (15)...... then save and activate ur table........ it will show some warnings .... (ignore that) now ur table with the customer field will be ready
    Hope this helps u out.
    regards,
    Hari Kiran

  • BADI for Customer

    Hi,
    i want to implement BADI for Customer field in table BSEG . For that T.Code is FBL3N.
    please tell me
    How to find the BADI and How to Implement the BADI

    Hello,
    I think that the use case page 105 of the documentation is exactly what you need :
    "Use case: A new field of an R/3 standard table is to be communicated to the CRM Online application
    Assume that you have an additional field in R/3 table KNA1 (customer master). The field is called ZZCONT. It shows in which continent a customer lives. Assume that the R/3 application will be enhanced in a way that the field can be maintained. To realize the communication to CRM you have to perform the following steps.
    Hope this will help you,
    Regards,
    Frédéric

  • Implementation Of BADI For Enjoy Purchase Order

    I have implemented a 'ME_GUI_PO_CUST' BADI for ME21n. The control is going to Subscribe and Map Dynpro methods. But the control is not going to other methods like TRANSPORT_FROM_MODEL
    TRANSPORT_TO_DYNP
    TRANSPORT_FROM_DYNP
    TRANSPORT_TO_MODEL.
    Please explain how we can make the control to move to these methods.
    Thanks In Advance.

    ME21N - PO Enhancement using BADI

  • BADI for XK02-multiple implementation conflict

    I have implemented a BADI for XK02 ,consider method as X there i pass some values to screen based on some calculation . another person has also implemented same badi same method X and he also passes some value to screen based on some calculation. will it overwrite ? if yes What should i do now?

    What is the BAdI that you're using? If it's XK02, i think you might be using VENDOR_ADD_DATA in conjunction with VENDOR_ADD_DATA_CS.
    VENDOR_ADD_DATA_CS is a filter dependent BAdI with filter on the "Vendor Screen Group". So i think even if you've multiple implementations, there shouldn't be a concern if the filters are defined.
    BR,
    Suhas
    PS: Next time onwards provide sufficient details for better analysis. In this case you could have given the BAdI name, method etc. details

  • Practical example for implementing BADI

    Hi all,
    Can anybody give me a link or documentatiom for implementing BADI with an example not theoritical practical.
    with regards,
    chandu.

    hi this thread will explain u the badi implementation related to purchase order...
    ME21N - PO Enhancement using BADI
    Just go thru that to get some idea on badi enhancement
    SAP help on BADI enhancement with sample badi
    http://help.sap.com/saphelp_nw04/helpdata/en/3e/0e1089c24611d1ad09080009b0fb56/frameset.htm
    regards
    gv
    Message was edited by: Venkat

  • Implement BADI CKMLAVR_SIM for AVR Cost Component.

    Hello All,
    I am trying to implement badi CKMLAVR_SIM.
    I am refering OSS note 896461.
    I populated :
    gw_ckmlhd-kalnr = '100524889'.
    gw_ckmlhd-bwkey = 'AB'.
    gw_ckmlkeph-kalnr = '100524889'.
    gw_ckmlkeph-bdatj = '2011'.
    gw_ckmlkeph-poper = '1'.
    gw_ckmlkeph-categ = 'AB'.
    gw_ckmlkeph-keart = 'H'.
    gw_ckmlkeph-mlcct = 'E'.
    gw_ckmlkeph-kkzst = 'X'.
    gw_ckmlkeph-curtp = '10'.
    gw_ckmlkeph-waers = 'ZAR'.
    gw_ckmlkeph-kst001 = '1000'.
    I think so i am missing something.
    Please suggest if anybody has initialize the actual value of cost component using badi CKMLAVR_SIM.
    Thanks,
    Ankit.

    Hi Experts,
    I am facing the same problem.
    Need your input on this..
    Thanks in Advance.
    Thanks,
    Ankit.

  • Reg. Exit/BADI for changing item data of PO in ME22N

    Hi all,
    My requirement is to update the field LABNR (Order Ack.) of few specific line items of a PO, in the Transaction ME22N, using Exit/BADI.
    I have tried the BADI  ME_PROCESS_PO_CUST. But the PROCESS_ITEM method of this BADI processes only the line item which has been changed/inserted in ME22N transaction. But my requirement is to update line items irrespective of whether that line item was "changed/not changed" during the process in ME22N screen.
    Could you please suggest me some suitable Exit/BADI for this requirement.
    Regards,
    Anbarasan K

    Thanks Martin.
    Problem solved by implementing the method Process_Header.
    1. Get the items from Header                              -  im_header->get_items
    2. Loop the item list and get the line item record   - re_item-item->get_data
    3. <- Logic to Update the line item - >.
    4. Update the line item                                       - re_item-item->set_data
    Thank you very much.. Martin.
    Regards,
    Anbarasan K

  • User Exit/ BADI for PO release

    Hi Experts,
    Can anyone please tell me about the User Exit or BADI for Sub contract PO release.Also tel me how to proceed for the following 2 requirement ,
    i have to send an IDOC as & when the Sub contract PO releases.
    And automatically resent if changes are made in PO with the repeat output function in ME22N.
    Regards,
    Nik

    Hi,
      Use trx SE19 to implement your BADI: create an ZME_PROCESS_PO_CUST using ME_PROCESS_PO_CUST as definition.
    Now in Interface Tabs you can see the METHODs you can use as "user-exit", in particular there's PROCESS_ITEM to manage items data.
    You have to write your code into this method.
    This method has IM_ITEM like parameter in its interface, and it's like the type IF_PURCHASE_ORDER_ITEM_MM.
    This type has the method IF_LONGTEXTS_MM~SET_TEXT, you can try to use it to set your text in item.
    This is code for example:
    DATA: TLINE TYPE MMPUR_T_TEXTLINES.
    CALL METHOD IM_ITEM->IF_LONGTEXTS_MM~SET_TEXT
    EXPORTING
    IM_TDID = <YOUR ID>
    IM_TEXTLINES = TLINE.
    So you should read the text you want to copy and pass it to TLINE.
    You can use the METHOD PROCESS_HEADER to read the text you need. This METHOD has IM_HEADER as parameter and it's like the type IF_PURCHASE_ORDER_MM, this type has the method IF_LONGTEXTS_MM~GET_TEXT to read header logn text.
    Anyway while you're in implementation of the BADI go to:
    GoTo->Sample Code
    Here you can try an example how to implement the method you need to use.
    Regards

Maybe you are looking for

  • Can I create a local calendar in the iPad?

    I eliminate the iPad calendar to have them all sync with iCloud, but I would like to have it back. Can I create it from my iPad, but ouside iCloud?

  • JAEHYLEE  (R12 IBY)  Format Batch Error

    Symptoms- On 12.0.2 in Production: payment batch the Format Payment Instruction Program 수행시 다음과 같은 에러 발생 ERROR IBY_FD_PAYMENT_FORMAT module: Format Payment Instructions SQLException occurred: ORA-01422: exact fetch returns more than requested number

  • UCCX-Max JTAPI triggers that can be associated with a single script

    Hi,      We are on UCCX 7.0(1)SR5 cluster. I would like to know if there is any maximum limit on the number of JTAPI triggers that can be associated with a single UCCX application/script. I have this requirement where in I will have to create 80+ JTA

  • Problem while converting a Form to ADF using Jheadstart

    Hi, As I convert the forms to ADF . When I am in the 1st step to extarct the application defination.xml and ADF BC's . When I click on forms2ADF generation to generate the xml and ABF business components . I receive the following error: java.lang.Exc

  • "Available" contacts NOT available

    Why is it that my contacts that say are available are actually NOT available?  Whenever I log in it's the same set of people that are said to be available.