BAPI or IDOC to create the Delivery in R/3 for the SaleOrder created in CRM

Dear All,
When ever I create a sales order and save the sales order in the crm system, an outbound delivery is created in the R/3 system.
I have added some new fields in the tables LIKP and LIPS.(related to delivery)
Now I have to populate data into these new fields with the CRM data.
So can any one tell me when I create a sales order in CRM, does the system uses any BAPI or IDOC to create the Delivery in R/3.
The BAPI name or Idoc information will be very useful.so that I can extend them
In crm the BDOC ‘BUS_TRANSACTION_MESSAGE’ is used.
Thanks in advance.
Regards
Shafath

Hi All,
I found a solution to my problem.
The BAPI ‘BAPI_DELIVERYPROCESSING_EXEC’ will be enhanced to add the new fields into the BAPI structure.
The BADI ‘/SPE/BAPI_DLVEXEC_EX’ and the user exit ‘EXIT_SAPLV50R_CREA_001’ will be used to populate the data into the new fields created in the BAPI structure and the new fields added into the tables LIKP and LIPS.
Regards
Shafath

Similar Messages

  • How can I check on the delivery of an photo but that I created and sent to a friend.  I have the order number but I can't find the tracking information.

    How can I check on the delivery of a photo book that I created and sent to a friend.  I have the order number but I can't find the tracking information.

  • Posting GR against inbound delivery document by MIGO for the movt type 101

    Hello Team
    To put my question in a simple way, i have changed the subject also. my requirement as below.
    In my legacy system GR against PO is happening and the same data is passing to SAP system through PI. Where i need to post GR against the inbound delivery document of that PO.
    I followed the below steps
    1. i have used idoc mbgmcr03 and copied the FM ZIDOC_INPUT_MBGMCR.
    2. In PI system i am doing all relavent mappings.
    Now i want to retrieve the inbound delivery document from SAP for the PO which i got from legacy system. Then i need to post the GR against that inbound delivery document. Finally IDOC should gets created with that inbound delivery document details.
    So please let me know the procedure to follow to resolve my issue.
    Thanks in advance.
    Regards
    Sree
    Edited by: sree@technical on May 11, 2010 5:20 PM

    Hi
    As far as my experiance with SAP says we don't have any SAP Standard setting to update the entry related to T-code. Internally all the ABAP code reads the t-code and based on the processing type define it execute the code and update the table so that later analysis can be done by which t-code the document got generated

  • How to create a custom task in SRM for the standard task

    Hi Gurus,
    How to create a custom task in SRM for the standard task  eg: TS10407929
    regards,
    George.

    from PFTC itself. Same.

  • I have ad Apple ID on my iPad , when I use the apple on my iPhone for the first time, I put in my Apple ID for the iPad, didn't work. Need to create a new one. Why? How can I just use my iPad ID on my iPhone?

    I have ad Apple ID on my iPad , when I use the apple on my iPhone for the first time, I put in my Apple ID for the iPad, didn't work. Need to create a new one. Why? How can I just use my iPad ID on my iPhone?

    Hi kamfong,
    Went to Settings where?
    If you want to use your exisiting Apple ID on your iPad, you need to:
    1.     Go to Settings>iTunes & App Store and sign out the new ID, and then sign on the old one
    2.     Go to Settings>iCloud, scroll to the bottom and delete the iCloud account, and the sign back onto iCloud using the old ID
    You still have not indindated why you are saying that using your old ID originally "didn't work". What do you mean by that? Did you get some sort of error when you tried to sign on with your exisiting Apple ID?
    Cheers,
    GB

  • How can I create a new E-mail address for the Marketing Manager

    Hullo,
    how can I create a new E-mail address for the Marketing Manager (i.e. marketing professional role in SAP CRM) please.
    That when you go and create a new E-mail campaign you need to choose an E-mail form in addition to the E-mail address of the Marketing Manager.
    Kind Regards.

    Hi Alhussien
    Add it to his Position in the Organisational Model. Transaction PPOMA_CRM.
    Under there address section is an option to populate the email address.
    Regards
    Arden

  • Creating a project in Flex Builder for the Hybrid Store sample Application

    Hi all,
    How to create a project in Flexbuilder for the hybrid store
    sample application.
    I downloaded the source code of hybridstore application,
    Now i have to create a project for it to run that application
    in my system,
    will you please tell me how to create a project for this
    sample.
    I have also read the readme.html file. but i could not follow
    exactly what they are saying.
    what i did is, I unzipped the source code into a folder
    hybridstore.
    I opened the flexbuilder : File -- new -- flexproject ( i
    have selected) then i have given name to my file (hybridstore) ,
    and set the path to the hybridstore folder where the source code
    exists.
    but it as created hybridstore.mxml file also.
    it is not working.
    will you please till me how to create project for this
    application.
    I have created project for other samples like restaurent
    finder, dashboard. they are working fine.
    I got problem with this sample only.
    Thanks in advance
    Regards
    Avanthika

    Hi,
    thanks for your reply,
    I have tried to open using file import, but still it is not
    working.
    in the readme file for this application , contains how to
    Creating a project in Flex Builder for the Hybrid Store
    application:
    Name your default application catalog.mxml.
    Prevent Flex Builder from generating an HTML wrapper: select
    Project > Properties. Select the Flex Compiler page, deselect
    the Generate HTML wrapper file option .
    Create a Run configuration for your project but deselect the
    Use defaults option and instead assign the Run setting to the
    hybridstore.html in your project's bin directory.
    To enable debugging of the Hybrid Store application you must
    create a copy of hybridstore.html. Open it in an editor (you can
    right-click on the file and select Open With > Text Editor).
    Find the line that says "src", "catalog" and change it to "src",
    "catalog-debug". Assign the Debug setting to this new HTML file.
    As i am new to flex , i could not know how to do this.
    please help me how to do this.
    regards
    Avanthika

  • Prevent GR with the delivery complete indicator set in the purchase order

    Dear friends,
    During GR reference to PO, if goods are received partially and the delivery complete indicator is set, the PO line item is deemed to be closed.
    However, if reference is made again to the same PO line item, GR can still be done to the item that delivery complete indicator was set.(due to there is still quantity to be received)
    Is there anyway, we could prevent reference to be made to a PO line item that has delivery complete indicator set?
    Thank you.
    Regards.

    it is by design that you still can receive material.
    See SAPs explanation here:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/a5/63343943a211d189410000e829fbbd/frameset.htm
    The delivery complete indicator only reduces the commitment values to zero.
    If you want restrict further good receipts, then you have to reduce PO quantity to equal the received quantity and must not allow overdelvivery. Further you can enter a latest GR date, which will not allow receipt beyond this date.
    Locking the item will as well prevent further actions, but this should only be a short term solution, because the PO will still be considered in MRP runs and will never treated as beeing closed. And you will not be able to archive such POs

  • Hello. I have adobe forms and received the alert that it will be ending in July. Then I received an email about Adobe Acrobat XI Pro which can create forms. I signed up for the free trial and when I began to make a new form it brings me back to Adobe Form

    Hello. I have adobe forms and received the alert that it will be ending in July. Then I received an email about Adobe Acrobat XI Pro which can create forms. I signed up for the free trial and when I began to make a new form it brings me back to Adobe Forms. My question is, when Adobe Forms ends on July 28th will Adobe Acrobat XI Pro be able to create forms or will it now? and if not, then why is adobe advertising for it still?

    What you're calling "Adobe Forms" is really Adobe FormsCentral. The FormsCentral service is indeed going away soon, but you can always create PDF forms (AcroForms) with Acrobat. Acrobat also comes with a desktop version of the FormsCentral desiger, which can be used to create simple PDF forms that can be used apart from the FormsCentral service. So you'll no longer be able to create and host web forms with the FormsCentral service or use PDF forms with the FormsCentral service. You will be able to create standalone PDF forms with Acrobat and simple PDF forms with the FormsCentral desktop app.

  • When a new user is created on the Server Computer,Why profile for the user is created as computername.username?

    When a new user is created on the Server Computer,Why profile for the user is created as computername.username?

    This is done if there are domain users with the same name. For example, if there is a domain user named 'test' who has logged in on the server, he will get the profile 'test'. If you then create a local user named 'test', the profile 'test' already exists
    and the computer will create the profile 'computername.test'

  • Error while creating Absence as "APP-PAY-51271: The assignment is not eligible for the element

    Hi,
    "APP-PAY-51271: The assignment is not eligible for the element."

    Hi Nandhu,
    Can you check below two things which can be cause of this error:
    1. The link definition of the non-recurring element which is tagged with this absence type, as a best practice this should be an open link. If the link definition and the assignment eligibility is not matching then you may receive this error.
    2. If you have defined an accrual plan for this absence type,then check if the accrual plan recurring element is been tagged to the assignment for which you are receiving this error.
    Thanks,
    Sanjay

  • Transaction to see the Open stock transfer order for the plant

    HI ,
    i need to develop one report in that client to make the report for the all open stock transfer order & the cost of the open stock transfer order for the plant .
    I need how to cretae the stock transfer order for the material , whci material master is required for this process.
    please give me step by step details for this .
    regards
    satish
    Edited by: satish kapartiwar on Jul 16, 2009 9:33 AM

    Hi Satish,
    You can see open stock transfer quantity in MB5T and stock value in MB5L. If you want to make stock transfer, there is two types intra company transfer(with in same company code) and inter company transfer (different company codes).
    Steps for Intra company stock transfer:
    This is only within the comp.code(w/o SD)
    (w/o SD) 351101 MvT. and (with SD) 641101
    1. Mat.(1434)should be maintained in both the plants.(@1000&1100).
    2. Should have enough stock in supplying plant(1000).
    3. Make its supplying plant as a vendor in vendor master record in receiving plant(1100).
    4. Make it receiving plant as a customer in customization.
    Create customer (xd01) & and define the shipping data for plants in both the plants.
    Path: spro u2013 img u2013 material mgmt u2013 purchasing u2013 po u2013 set up STO u2013 define shipping data
    (1 by1 )
    In Receiving plant (1100)
    Customer num. 123345 (for ex.)
    Sales org. yyy
    Dist. Channel yy
    Sales div. y
    In Supplying plant (1000)
    Customer num. -
    (don't fill)
    Sales org. yyy
    Dist. Channel yy
    Sales div. y
    5. Assign doc. Type is "NL" for intra company STO. If STO is inter company, Assign doc. Type is "NLCC".
    Position doc type is "UB"
    Enter supplying plant(1000) & doc type (NL)&checking rule (ex:01)
    6.Assign doc. Type is "UB" to u'r plants.(PO)
    Go for new entries
    Enter supplying plant(1000) & Receiving plant (1100)&doc type (UB).
    7. Create a PO, choose the doc type is 'UB' & item cat.'U', Enter supplying plant as a vendor in PO of the receiving plant(1100).
    8. Provide this num (PO) to SD people, they will do the delivery by using transactional code is VL10B.
    9. Sales people they will provide "out bound delivery num".
    10. Do the GR. In GR the second tab 05 outbound delivery instead of PO mov.type 101.
    11. See the stock overview in the receiving & supplying plants.
    Steps for Inter company Transfer:
    1) Create one Customer Master in XD01 with respect to Supplying Plant Sales Area and assign this Customer no with Receiving Plant in OLME->PO-> set up STO->Define shipping data for plant and for the supplying Plant assign the above sales area.( Make sure, In Customer Master, sales Area Tab: you are maintaining shipping condition)
    2) For Receiving Plant Pur. Org and Co.Code Combination create Vendor master in XK01 and in this vendor master assign the Supplying plant in Pur.Org.Data screen->Extras--> Add.Pur.data
    3) OLME->PO-> Set up STO------>For your supplying plant assign document type NB, Delivery type NLCC and Checking Rule RP
    4)then For your supplying Plant and receiving Plant assign Document type NB
    5)Make sure you are maintaining Sales View for the material at supplying Plant and in Sales /Gen plant Data view maintain Availability check, Loading group and Transportation group.
    6) In SPRo-->Logistics execution> Shipping->Basic shipping functions->Shipping point Determination>assign shipping points-> For your Loading group, Shipping Condition and Supplying plant combination, Assign shipping point
    these are the configuration settings you have to do in background.
    Then Create STO from Receiving Plant in ME21N with document type NB.
    Based on that STO, Create Delivery in VL10B from supplying Plant
    Do PGI in VL02N from Supplying plant
    Do GR in MIGO at Receiving Plant keeping Outbound delivery as a ref. document.
    Now your STO bet. two plants belongs to diff. Co.Codes will be completed.
    Regards,
    Prasath

  • Could you Please Send me the Step by Step guide for the BADI

    Hi ABAPers,
      Could you Please Send me the Step by Step guide for the BADI.It is very Urgent
    Thanks & Regards,
    Ashok.

    Each BAdI has a definition and more than one implementation. The definition means the methods(in class concept) that are used for performing various functions. The BAdI definition can be viewed in SE18 transaction(for standard ones) and user-defined BAdIs can be created in the same transaction as well.
    When you create a BAdI definition, an class interface will be automatically created and you can define your methods in the interface. The implementation of the methods can be done in SE19 transaction .
    YOu can go through these links...
    http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    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/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
    just refer to the link below. it will of great help to u.
    http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g
    (SAP link- ultimate material )
    suppose your working for XK01 then for that the BADI being VENDOR_ADD_DATA then this implemetation procedure.
    Steps:
    1. Execute Business Add-In(BADI) transaction SE18
    2. Enter BADI name i.e. VENDOR_ADD_DATAand press the display
    button
    3. Select menu option Implementation->Create
    4. Give implementation a name such as Z_VENDOR_ADD_DATA
    5. You can now make any changes you require to the BADI within this
    implementation, for example choose the Interface tab
    6. Double click on the method you want to change, you can now enter
    any code you require.
    7. Please note to find out what import and export parameters a
    method has got return the original BADI definition
    (i.e. VENDOR_ADD_DATA) and double click on the method name
    for example within VENDOR_ADD_DATA contract is a method
    8. When changes have been made activate the implementation
    BADI(Business Add-In) is the object oriented method of user exits...
    Each BAdI has a definition and more than one implementation. The definition means the methods(in class concept) that are used for performing various functions. The BAdI definition can be viewed in SE18 transaction(for standard ones) and user-defined BAdIs can be created in the same transaction as well.
    When you create a BAdI definition, an class interface will be automatically created and you can define your methods in the interface. The implementation of the methods can be done in SE19 transaction
    Intro.....
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    Check these links for info about badi..
    BADI's
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    BADI's
    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://www.esnips.com/web/BAdI
    http://www.allsaplinks.com/badi.html
    New to Badi
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    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
    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.
    u can find BADI's in different ways...
    1>First go to any transaction->iN THE menu bar SYSTEM->STATUS->Get the program name ->double click->u will go to the program attached to the tcode.Now search term will be CALL CL_EXITHANDLER.Now u will get list of BADI'S available..
    2>Goto SE24->Give class name as CL_EXITHANDLER->Display->double click on get_instance mathod->Now u will go inside the method->Now put break point on the cl_exithandler.Now go to any transaction code and pass dat..U will see that it will be stopped on the break point which u set on the cl_exithandler...In the exit name u can find list of badi's attached to the tcode..
    There are multiple ways of searching for BADI.
    • Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    • Finding BADI Using SQL Trace (TCODE-ST05).
    • Finding BADI Using Repository Information System (TCODE- SE84).
    1. Go to the Transaction, for which we want to find the BADI, take the example of Transaction VD02. Click on System->Status. Double click on the program name. Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.
    Make sure the radio button “In main program” is checked. A list of all the programs with call to the BADI’s will be listed.
    The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it. The changing parameter ‘INSTANCE’ will have the interface assigned to it. Double click on the method to enter the source code.Definition of Instance would give you the Interface name.
    2. Start transaction ST05 (Performance Analysis).
    Set flag field "Buffer trace"
    Remark: We need to trace also the buffer calls, because BADI database tables are buffered. (Especially view V_EXT_IMP and V_EXT_ACT)
    Push the button "Activate Trace". Start transaction VA02 in a new GUI session. Go back to the Performance trace session.
    Push the button "Deactivate Trace".
    Push the button "Display Trace".
    The popup screen "Set Restrictions for Displaying Trace" appears.
    Now, filter the trace on Objects:
    • V_EXT_IMP
    • V_EXT_ACT
    Push button "Multiple selections" button behind field Objects
    Fill: V_EXT_IMP and V_EXT_ACT
    All the interface class names of view V_EXT_IMP start with IF_EX_. This is the standard SAP prefix for BADI class interfaces. The BADI name is after the IF_EX_.
    So the BADI name of IF_EX_CUSTOMER_ADD_DATA is CUSTOMER_ADD_DATA
    3. Go to “Maintain Transaction” (TCODE- SE93).
    Enter the Transaction VD02 for which you want to find BADI.
    Click on the Display push buttons.
    Get the Package Name. (Package VS in this case)
    Go to TCode: SE84->Enhancements->Business Add-inns->Definition
    Enter the Package Name and Execute.
    Here you get a list of all the Enhancement BADI’s for the given package MB.
    The simplese way for finding BADI is
    1. chooes Tcode Program & package for that Tcode.
    2. Go to Tcode se18
    3. Press F4
    4. search by package or by program.
    http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf7940e11d295df0000e82de14a/frameset.htm
    and
    http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf7940e11d295df0000e82de14a/frameset.htm
    Badihttp://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
    sample code for Purchase requisition
    BAdI Name: ZPUR_RFQ (Implementation name) Purchase Requisitions
    Definition Name: ME_REQ_POSTED
    Interface Name : IF_EX_ME_REQ_POSTED
    Implementing Class: ZCL_IM_PUR_REQ
    Method : POSTED
    METHOD if_ex_me_req_posted~posted .
    DATA : v_mtart TYPE mtart.
    DATA l_s_eban TYPE ueban.
    LOOP AT im_eban INTO l_s_eban.
    IF l_s_eban-estkz NE 'B'.
    CLEAR v_mtart.
    SELECT SINGLE mtart INTO v_mtart FROM mara WHERE matnr = l_s_eban-matnr.
    IF v_mtart EQ 'ZERS' OR v_mtart EQ 'FHMI' OR v_mtart EQ 'UNBW'.
    MESSAGE e000(zm_msg) WITH 'You are not allowed' 'to create PR for stock items'.
    ENDIF.
    ENDIF.
    IF l_s_eban-knttp NE 'F' OR l_s_eban-pstyp NE '9'.
    IF l_s_eban-knttp NE 'A'.
    IF ( l_s_eban-pstyp NE '9' AND l_s_eban-pstyp NE 'D' ) AND l_s_eban-matnr EQ
    space.
    MESSAGE e000(zm_msg) WITH 'You cannot create' 'a PR without material number'.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDLOOP.
    ENDMETHOD.
    Reward points for useful Answers
    Reward if it helps..

  • To Get the list of sales orders for a Business partner in CRM.

    Hi all
    Is there any Function module or BAPI to get the Sales orders for a Business partner in CRM. I know there is a BAPI to get the list of sales orders for a customer in ECC, but I donu2019t know how to get the list of sales orders for a Business Partner in CRM.
    Can anybody tell me if there is an inbuilt function module or BAPI available?
    If not how can I pick the sales orders of a business partner in CRM? Between which tables should I apply a join and write SELECT statement to get list of sales orders for a business partner in CRM.

    Hi Jessica,
    Try CRM function module CRM_BUPA_READ_ORDER_OBJECTS.
    You'll get a table with the documents associated to that partner, where you can work on.
    Kind regards.

  • The e-mail message could not be sent. Make sure the outgoing e-mail settings for the server are configured correctly

    I have a 2 server SharePoint farm.
    All outgoing emails were working fine.
    I just restarted both servers and now after that none of the emails are being sent. I am using OOB publishing workflow and it shows message:
    The e-mail message could not be sent. Make sure the outgoing e-mail settings for the server are configured correctly.
    Even if I setup Alert on some list, it doesn't send email.
    I have checked that outgoing email setting in CA is defined and like I said it was working fine without problems but after restart it is showing error.
    What could be the cause of this and how to fix it?
    EDIT
    I removed outgoing mail server in CA, added again and restart IIS but still emails from OOB workflow is not being sent. But email from Alerts are being sent. Don't know what to do now.

    This is really weird, It works when an alert is set but workflows doesn't send emails... Can you create a simple 1 Step workflow in SPD to send an email when a specific field is set. See if this sends an email..
    AJ MCTS: SP 2010 Configuration MCSA: Windows 7 If you find this post useful kindly please mark it as an answer :) TY
    I created a test workflow which sends email to user and it is also not sending email. But I am getting email from SharePoint regarding "variation" page changes as well as alerts which I told above.

Maybe you are looking for