BAdI for creating PR in ECS

Hi
We are using the ECS.But for some material groups we want to use classic scenario where the SC created a PR in the backend.
The BAdis activated are BBP_CREATE_BE_PO_NEW and BBP_EXTLOCALPO_BADI

Hi
You can do it technically by making use of BADIs using SE18 Transaction.
Use
BBP_TARGET_OBJECTS BADI.
or
You can use the Business Add-In BBP_TARGET_OBJTYPE if you wish to implement a different logic for creating documents in the backend system.
The following documents can be created:
->Purchase requisition
->Purchase order
-> Reservation
<u>Solution using Functional Settings</u>
<b>SPRO Configuration Path in SRM system.</b>
<u>Supplier Relationship Management -> SRM Server -> Cross-Application Basic Settings -> Define Objects in Backend System (Purch. Reqs, Reservations, Purchase Orders, etc.)</u>
Regards
- Atul

Similar Messages

  • User-Exit or BAdI for creating a PR in MRP and in ENJOY

    Dear experts,
    I have the following problem:
    PR are created in 2 ways in our system.
    a) Manually in ENJOY transitions (ME53N)
    b) via MRP run (MD04, MD15,...)
    My request is to fill the field "vendor material number" in the PR with the value of the connected InfoSet  record (if there is one).
    For PRs that are created manually (a) ) I achieved this very easy by using the BAdI  ME_PROCESS_REQ_CUST and the method PROCESS_ITEM. there I read the infoset record and I fill the fields as required.
    Unfortunately the BAdi is not used when a PR is created by using MRP. I then tried to use the user exit SAPLMEWQ with its component EXIT_SAPLMEWQ_001. but as far as I can see this exit is not used in MRP as well.
    Does anyone has a hint for me how I can achieve this functionality for the MRP run as well?
    thanks!
    Alex

    Hi,
    I have implemented the BAdi as you suggested.
    In the method IF_EX_MD_CHANGE_MRP_DATA~CHANGE_MDPSX_EBAN I have set a breakpoint to see if I stop there if I create my PR.
    I have starte a MRP run (report RMMRP000) and then I transferd my planned order to a PR in transaction MD15.
    Unfortunately the PR is created without the program to stop.
    what am I doing wrong? or am I missing something?
    best regards, and thanks for any help!
    Alex

  • User exit Or Badi for  creating Service order while modifying sales order.

    Hi Experts,
    I am creating Notification using transaction IW51.
    In IW51 there is a button to create a sales order.
    I click on sales order button and create a sales order.
    Now notification and sales order are created.
    Now i go in transaction VA02 and click on avalibility check push button .It gives me some popups in which i select copy all options.Then  i click on save button
    .At this point service order gets created.
    My requirement :
    Before the service order gets created i want to pass the notification data ; for ex- Equnr(Equipment number) to service order.
    Thanks & Regards,
    Chetan

    Hi,
    Are you saying first create notification,then service order
    and then Sales order.
    But the requirement is create notification then sales order and when you go in va02 and while modifying the sales order and create service order.
    Thanks & regards,
    chetan.

  • User-Exit or BADI for creating TO using TR in WM

    Dear Experts,
    I am preparing Transfer Order using Transfer Request through transaction code LT04.
    Now when I am doing Putaway (either background or foreground), system itself evaluates and suggests destination bins as per SAP standard logic. For me the destination bins suggested by system is correct, but what I want is to get complete list of destination bins suggested by system, since I want destination bins to be selected based on my logic from that list and not as per standard system logic.

    Hi Ashish,
    Are you able to see the list of destination bins suggested by the system in TO creation transaction?
    I think system will show only one destination bin. You can check it in debugging mode while creating TO.
    FM L_TO_PREPARE_ITEM_INT will propose the destination bin , after execution of this FM you will get the destination
    bin in e_ltap-nlpla parameter of this FM.
    Regards,
    Pawan

  • Exit/BADI for creating settlement rules in IW32 upon release of order

    I need settlement rules to be populated in IW32 when an order is released.
    The data for the settlement rules population will be obtained from a Z table based on Order type and Maintenance Activity Type.
    I am not able to find out a suitable BADI/EXIT to fulfill this requirement. Has anybody worked on this kind of requirement earlier? Please suggest an EXIT/BADI/BTE for this.
    Thanks in Advance!!

    Hi Harveen,
    How did you populate the fields in K_ORDER_SRULE_ADD. Which ones did you populate. I keep getting an error message.
    Receiver categ. is not allowed by settlement prof. PM0001 for this sender
    Message no. KD031 Diagnosis The settlement profile specifies which receiver
    categories you can settle a sender to. Receiver category is not allowed by
    settlement profile PM0001 for this sender.
    Procedure
    You can do the following:
       Assign a settlement profile to the sender, that implements the
    required receiver category .
        Choose "Goto -> Settlement Parameters".
       Specify another receiver for distribution rule 009. If you already
    used this rule for a previous settlement, enter a valid-to period. Then
    enter a new rule for the next settlement with a receiver category. This
    category must be one that is allowed by settlement profile PM0001.
    Procedure for System Administration
    If necessary, maintain a suitable settlement profile.
    Would very much appreciate your help.
    Cheers
    Eunice

  • Badi for create/change outbound delivery

    Hi,
    I want to write a custom code on the create/change of outbound delivery.
    found a badi def: DELIVERY_PUBLISH and method: delivery_publish_after_save.
    I want to know if this is correct place to write my include or any other place?
    Thanks & regards,
    Ravish

    Hi,
    Check SAP Note 415716 - User exits in delivery processing also.
    Regards,
    Eduardo

  • Badi for creating financial statement

    Hi People
    I have a financial statement in Excel file and I need to create a new financial statement in transaction OB58.
    Is there anyway to do this by ABAP programming?
    Kind Regards,
    Emerson

    Hi,
    (not a solution, some hints...)
    The FM FI_IMPORT_BALANCE_SHEET_TEXT copies FSV texts into internal table X011Q.
    The FM FI_IMPORT_BALANCE_SHEET_POS copies FSV values into internal table X011Z, X011P, X011S and X011V (try the function in SE37 for understanding the contents of theses internal tables).
    I'm using these functions in some programs for finding the general accounts under a given node.
    I have seen the existence of FM FI_EXPORT_BALANCE_SHEET_TEXT and FI_EXPORT_BALANCE_SHEET_POS, so I think it is also possible to copy the data from internal tables to FSV, but these functions are not released and I don't know any official program in which they are used. I didn't see any documentation for the usage of these functions, so I should not use them ...
    (I'm working in 4.7)

  • Exit for creating a custom bacth number in tcode msc1n

    Hi Experts,
    Batch Number as per Custom Requirement in
    Tcode MSC1N.
    how to find out which is the rite exit/badi for
    creating a batch number as per my necessity
    i found the following ,but couldnt get the desired result
    when using.
    SAPLV1ZE
    EXIT_SAPLV01Z_002
    Enhancement PPCO0001 with user-exit EXIT_SAPLCOBT_001.
    Experts,can you sugesst which is the rite one.

    Hi Nabheet,
    As per my Requirement,the user gives batch code in a particular format
    for eg:for a particular material if the material name
    ends with 'Lit'
    the batch code would be given  10j11a0001.
    where
    10-material number
    j-prod plant
    11-year
    a-month
    0001-batch number
    Regards,
    Ashok.

  • User-exit BADI for XK01/XK02

    Hi Gurus,
    There is a requirement that when we create and change 'PAN No' in vendor master through tcode 'XK02', we want to have some check on it.
    Is there any user-exit or BADI for create/change in vendor master through tcode XK01/XK02.
    Thanx in advance
    RR

    Hi Rajiv,
                   For your requirement, there is an enhancement "SAPMF02K" . You can create an enhancement project with this to solve your requirement .
    Regards,
    Kumaar.S

  • Search user-exit for create purchase order

    Hi all,
    i'm searching the user-exit (or BADI) for create purchase order.
    Thanks for help.

    Hi CECG,
    GOTO SMOD and press F4
    then Click on  Information system
    and in the Package name give as     ME
    and press enter.
    you will get all user exits for Purchase Orders
    Hope this solves your problem.
    Please reward points if found helpful.
    Thanks and regards,
    Rajeshwar.

  • How to create a BADI for the sceanrio

    Hi abapers,
    I have a scenario as follows.
    I create a Transaction where in i put the details of the product and quantity for a particular project's site. The amount gets calculated based on the products  unit value and its displayed in net value field. Now the user saves the transaction and a number gets generated. If the net value amount is less than 500 then the user can approve , if its greater than 501 and less than 1500 then a mail should be generated to his superior who is able to approve and ifs amount is greater than 1501 then a mail should be generated to the top of hierarchy who should approve it.
    Now the real challenge is if the same project card  has more than 1  new request and the amount is less than 500 the user should not be able to approve  instead it should generate a mail to his hierarchy for approval  since  the site has already been exceeded its limit of approval. bcoz earlier 500 and current 400 which will make it to greater than 500.similarly for the hiearchy.How do i go about  it.
    Now i want to create a BADI  on the save event of transaction to check the net value amount as well as check for earlier amounts saved for the particular site.
    Any help will be appreciated.
    Regards,
    Navin .

    hai navin
    r u using ECC 6.0 or 4.7 if 4.7 u can create badi defintiion directly form se18 transaction
    and define the interface and its methods , once u define them activate them
    and to use in ur code u create an instance of ur badi name
    and then use
                     cl_exithandler=>get_instance  method in instance name parameter just pass ur badi name and this will create a badi defintion in ur code, and an oen can implement it
    if u r usign ecc6.0 then u can either create new badis usign enhancments or classical badis
    for clasical badis just go to menu  utilites and create classical badis and follw the sam eprocedure
    regards
    m.a

  • Creating BADI for datasource enhancement in CRM system

    Hi,
    I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for datasource enhancement in CRM.
    Thanks in advance
    Moumita

    Hi Kushal,
    You can find the BADI name by,
    Go to Transaction SE24
    Enter the Object Type CL_EXITHANDLER and click on Display.
    Double Click on method "GET_INSTANCE".
    Put a Break-point on Call method cl_exithandler=>get_class_name_by_interface
    Run RSA3 transaction and execute the DataSource.
    The execution will stop at the break point.
    Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    Thanks,
    Kokila

  • Creating BADI for datasource enhancement in CRM.

    Hi,
    I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for datasource enhancement in CRM.
    Thanks in advance
    Moumita

    Hi Prasad Reddy,
    This are the available badis and exits for this t.code:
    Enhancement/ Business Add-in            Description
    Enhancement
    MGA00001                                Material Master (Industry): Checks and Enhancements
    MGA00002                                Material Master (Industry): Number Assignment
    MGA00003                                Material Master (Industry and Retail): Number Display
    Business Add-in
    MG_MASS_NEWSEG                          User-Specific Fields & Segments in Mass Maintenance
    MATGRP_SKU_UPD
    CDT_CHECK_MATERIAL                      Checks for Existence of a Material in a CDT
    BADI_MM_MATNR
    BADI_MAT_F_SPEC_SEL                     BAdI for Material Special Field Selection
    BADI_MATNR_CHECK_PVS
    BADI_MATERIAL_REF                       Addition of customer-defined default data for material
    BADI_MATERIAL_OD
    BADI_MATERIAL_CHECK                     Enhanced checks for material master table
    BADI_GTIN_VARIANT
    BADI_EAN_SYSTEMATIC
    o.of Exits:          3
    o.of BADis:         11
    Find the Exact  exits and badis for ur requirement.
    How to fine the exact badi:
    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
    Rgds,
    P.Naganjana Reddy
    if you follow this 7 steps, you will find a suitable BADI.

  • User Exit / BADI for Transfer Requirement Create

    Hi All,
    I have looked into the system and i could not find any User Exit or BADI for creation of Transfer requirement. This is for manual creation through LB01 and not interface with PP or IM. I am aware of the Userexits available for those, but i could not find any for WM TR Manual creation.
    Let me know if you are aware of any.
    Thanks
    Jithin

    When you create a transfer requirement, i want to make it mandatory to enter the destination bin, for example. The Transfer Requirement should not be saved if it is not entered.
    I know we can do this by creating multiple movement types for each destination, but i want to know if there is a way where the user can enter the destination when creating a TR with a single movement type.
    Jithin

  • BADi used for creating customer own data in transaction me52n

    Hi experts,
    please any one tell me what is the procedure for creating or changing. How to get access for customer own data in transaction me52n. How to get authorization checks.
    thank you,
    regards
    vijay krishna

    Hi
      check this link.
    Name of Badi used with transaction ME52N
    Thanks
    Viquar Iqbal

Maybe you are looking for

  • Sectioned graphs output to PDF/print issue OBIEE 11G

    I've created a series of graphs by placing the field that varies in the "Sections" area, so that each graph displays data for each unique item (in this case). When viewing in IE or Firefox, the graphs look perfect, each one accurately displaying the

  • Force user to change resolution

    Is there a way to force the user to change resolution size? because my interface is sized 1024x768. I also want it to reset back to the resolution size that they set to when they exit director

  • HT6146 how to upgrade IOS 4.1 in IPhone 3GS?

    Microsoft Windows 7 Home Premium Edition Service Pack 1 (Build 7601) XFX MG-63MI-7109 iTunes 11.1.4.62 QuickTime not available FairPlay 2.5.16 Apple Application Support 3.0 iPod Updater Library 11.1f5 CD Driver 2.2.3.0 CD Driver DLL 2.1.3.1 Apple Mob

  • Variable to be declared when calculating ratio.

    Hi ABAP Experts, I need to calculate ratio of the following: Lv_Ratio = lv_var1 / lv_var2. Note: TYPE of lv_var1 and lv_var2  = Currency, Length 13, Dec 2. I would like to know, what 'TYPE' should the variable lv_ratio be declared? Thanks a lot in ad

  • Error when accessing Administration of Room Part Templates

    Hi, We migrated from EP 6 SP 19 to EP7 SP14. There is an error when accessing the Administration of Room Part Templates under Content Administration -> Collaboration Content. Also, on existing rooms or new ones, there is an error when accessing Room