Badi for SC status changes

Hi All,
Do you know a BADI that is called when a SC status is changed?
I need to obtain the SC Nr or GUID and the new status of it.
Thanks in advance!
Regards,
Martin

Hello Martin,
We cannot control the SC status in BADI.
But you can use theDOC_SAVE_BADI and call the BBP_PD_SC_GETDETAIL to get the status of SC. If you have any specific requirement let me know.
Rgds,
Prasanna

Similar Messages

  • EXIT/ BADI/ Enhancement point for User Status change in Order

    Hi all,
    I am looking for an EXIT or a BADI or an enhancement point specifically for user status change in an order thru IW31/IW32.
    I have the exit names for Order PBO, PAI, 'SAVE' event etc. so m not looking for generic answers.
    I have to put some validations for the Order on USER STATUS CHANGE. Let me know if any of u have any pointers on that.
    Thanks and Regards,
    Sonal

    Hi,
    Use this Enhancement IWO10009 and call these function module to change the User Status
    STATUS_TEXT_EDIT --> To Read the existing status.
    STATUS_CHANGE_INTERN_VB --> to change the status.
    Regards,
    Satish

  • Coding for event "status change" in opportunity

    Hello,
    i need to process own coding if an opportunity was changed to status "lost".
    How would you realize this? Where do i find a god point to add this own coding which shall be processed on status change?
    Thank you
    Best regards
    Manfred

    Hi.
    It's very simple.
    You create your function module using the same interface that another ones in this transaction.
    Pick up an example, for instance the entry:
    BUS2000111  |  end of document processing (50)   |  priority: 40  | object STATUS | Event: after change | Atribute: <*> | function module: CRM_OPPORT_H_PROB_SET_EC
    Use the same interface for your function module:
    FUNCTION CRM_OPPORT_H_PROB_SET_EC.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(IV_OBJECT_NAME) TYPE  CRMT_OBJECT_NAME
    *"     REFERENCE(IV_EVENT_EXETIME) TYPE  CRMT_EVENT_EXETIME
    *"     REFERENCE(IV_EVENT) TYPE  CRMT_EVENT
    *"     REFERENCE(IV_ATTRIBUT) TYPE  CRMT_EVENT OPTIONAL
    *"     REFERENCE(IV_HEADER_GUID) TYPE  CRMT_OBJECT_GUID OPTIONAL
    *"     REFERENCE(IV_STRVAL_OLD) TYPE  ANY OPTIONAL
    *"     REFERENCE(IV_STRVAL_NEW) TYPE  ANY OPTIONAL
    All these parameters will going to be updated with current info while you are creating your opportunity document.
    In IV_STRVAL_OLD you will find info about the previous status (which is the object assigned), and in IV_STRVAL_NEW you will find the info about the new status that was assigned in the opportunity document.
    So what you have to do is:
    1 - create a Z function module with this same interface.
    2 - Assign it to object STATUS_H, on CRMV_OBJECT_FUNC view using SM30 transaction. Note: I am just not sure if you must use object STATUS_H or STATUS.
    3 - Create the event that must be:
    BUS2000111 | 1 - Imediatelly | Priority: 99 for instance | object: STATUS_H or STATUS | event: AFTER_CHANGE | Atribute <*> | your function module | check for function on header | callback: empty
    This is better than use the ORDER_SAVE badi because it executes your function module as soon as you change the status.
    I guess that using the CRM_ORDER_STATUS badi as it was sugested is also a good option.
    Regards.
    Susana Messias

  • Badi  for ME51N Item changes

    Hi ,
      Is there any Badi or user exit to make changes to the line item data in the purchase requisition create/change ME51N or ME52N transactions. We would want to populate few fields automatically on the item data, so would request if any of you have worked on any Badi for this transaction, please do post in immediately.
    Thanks,
    Sowmya

    Hi,
    1)BADI to be implemented: ME_PROCESS_REQ_CUST.
    Method to be used: PROCESS_ITEM.
    Place the below code in your implementation.
    data : l_item type MEREQ_ITEM.
    CALL METHOD im_item->get_data
    receiving
    re_data = l_item.
    *C-- L_ITEM-BEDNR is requirement tracking number
    2)Exit in ME51N
    MEREQ001 Customers' Own Data in Purchase Requisition
    You can implemet by this way
    You add your customer fields, which should be saved in the database, to
    the include CI_EBANDB (in table EBAN). You can also add customer fields
    that you want to use during the program run to the include CI_EBANMEM
    (in structure MEREQ_ITEM) These fields are not stored in database table
    EBAN.
    <b>Reward points</b>
    Regards

  • BADI For Commitment Item Change for Service PO

    Hi All,
    I want to change the commitment item in the PR on change of Material Group . I used the BADI ME_PROCESS_REQ_CUST for changing the commitment item and its working fine for all types of PR except Service PR .
    In service PR , its changing the commitment item only on clicking the Account Assigment button because at this instant only the BADI is getting trigger .
    I want to change the commitment item without clicking the Account Assigment button (on pressing enter or at saving time ) .
    Is there any way ?
    Thanks
    Manik L Dhakate

    We are using User Exit MEREQ  EXIT_SAPLMEREQ_010
    In our PR creation for ME51n, we are validating the Person through HR Org structure at the Point of Key in his Cost Center, whether he belong to his Department cost center, we use this User Exit MEREQ  EXIT_SAPLMEREQ_010. If he doesnu2019t not belong, the message pop up as u201C Please use your department cost centeru201D. This works very good in case of NB Document Type (Non stock & Materials).
    We have customized ZCPR (Service PRs), but for service PRs, the place where we enter Account Assignment is Different screen, either it is planned or unplanned service, the system take you to another separate screen to key in Cost Center & GL, here the validation is not happening,
    Please suggest & advice us, we tried in this BADI : ME_PROCESS_REQ_CUST, we can fix it. Any User Exit or BADI for Service PRu2019

  • Table for WBS status change with date

    Hi,
    Please assist me with a table name which should have WBS status with date on which statis was changed.
    Thanks,
    Manish.

    Hi
    You can use program (SE38) RBSVCDOC to track these changes. Else go manually in CJ20N to track these status changes.
    Use JCDS and JEST table for any other reporting on it.
    *Kindly mark your thread once your query is resolved.*
    Regards
    Saurabh

  • Is there any userexit OR BADI  for MIR7 WHEN change number of PO

    I know I can use badi  NVOICE_UPDATE- CHANGE_BEFORE_UPDATE method. to check PO's number when
    I save .
    I want to find an exit or badi to implement when I change number of PO, and  type enter  to  check the number .How can I do ??

    Hi,
    Please check this thread for the procedure to find the BADI for a transaction
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1276392,00.html#
    Or
    You goto se24 and specify the class CL_EXITHANDLER and in that double click on GET_INSTANCE method in that put a break point on the line 
    CALL METHOD cl_exithandler=>get_class_name_by_interface
    and run you transaction... for almost every action you will get this method trigger and in that check the exit name... And that's the BADI for the interaction made in that transactation.
    Please go through this link for Finding BADI using class CL_EXITHANDLER in detail.
    [Finding BADI|http://abapreports.blogspot.com/2008/06/badi-finding-in-abap.html]
    Hope this would help you.
    Good luck
    Narin
    Edited by: Narin Nandivada on Aug 19, 2008 5:30 PM

  • Exit or Badi for controlling the change of user status in notification

    Hi,
    I want to check the current user status of notification while saving the notificaton. If the current user status satisifies particular situation, then the notification should be save else not.
    Is there any user exit or Badi which can be used to control the change of user status in notification.
    Thanks
    SUMIT

    Hi Pushpa,
    Thanks for the reply.
    the problem over here is that the BADi IQS0_STATUS_MAINTAIN only allows to disable the user status.
    the other function module STATUS_READ only fetches the data from JEST.
    whereas my problem is that i want to check on the changed status on the screen(which is not saved also).
    Appreciate your reply on the same.
    Thanks
    SUMIT

  • BADI CRM_MKTPL and Status Change button! (Hide the standard system status)

    Hello,
    In transaction CRM_MKTPL, i need to delete some status that appears when i click on button Change status.
    I am trying to use the BADI: CRM_MKTPL using the method 'GET_DROPDOWNBOX_VALUE', but i didn't get what i
    want because this method is only valid (i think) for Listboxes for a field and not for a button, that is my
    requirement.
    Also i am trying to use the method 'p_fill_dropdown_listbox', but i don't know how to use this, and where, in
    whick part of the BADI CRM_MKTPL.
    I want to hide the standard system status in the dropdown list.
    Any ideas?
    Thanks in advance
    Best regards
    Message was edited by:
            yukimai maio

    just check in your badi there is any option is there for menu area customization or not in the implementation you can find attribute,interface ,subscreen like tab there check any menu area tab is there or not.. if it is not there then try for any menu exit and lastly you can try for transaction variant tcode SHD0.
    regards
    shiba dutta

  • Exits/Badis for FP03DM to change file format(row length)

    Hello Experts,
    I want to find out the exits/BADI's for changing the file format while submitting a file for collection agency during mass processing ( FP03DM ).
    I know there are events 5062, 5063, 5064 but they only enable me to change the existing  field contents and not the length..etc of rows in the file.
    Please suggest
    Thanks
    Ricky

    Hi Ricky,
    Your problem can have two solutions:
    1. Fill the data in event 5062, 5063 and 5064. These events update table 'dfkkcolfile_p_w'. From there by passing Issue Date and ID, you can pick all records to be submitted to Collection Agency. The using event 1799, you can pick all these records and create your own file. (Preferable)
    2. You can customize structures FKKCOLFILE_HEADER, FKKCOLFILE, FKKCOLFILE_TRAILER to include your own fields. But in this case, it fields would be in same order as structure.
    Thanks.
    Ravi

  • CJ20N Authorization Object for Project Status Changes

    Hi Gurus,
      Can any one knows the Authorization Object responsible to control the change of status for a project in the CJ20N?
      We want to control who can and who can't change the STATUS of a project independent from other changes.
    Regards
    Gustavo Balboa

    User authorization object B_USERSTAT. Before that u should define authorization key in Tcode:BS52 and assign it to User status in Tcode:OK02.
    In authorization object B_USERSTAT set ERSL=Authorization Key, so that the user can change the status of that perticular status only.
    Venkat

  • Badi for RFx document changes

    Hi Experts,
    We are running RFx document in SRM portal.For the RFx response we are creating a contract document.
    so my requirement is to replictate the contarct validity period in my RFx Header details.
    In which badi  should i write my logic
    Thanks in advance

    Hi Jay,
    We are not getting any error messages. As normal Document( not published document ), Published document also running with out error and warning messages. But Published Document is not updating the date. We have used BBP_PD_BID_SAVE function module, But Published RFx document not updating the values. Normal document is updating the value.
    BR,
    Srini M

  • PS BADIs for Set Status

    Hi all,
    When I  manually TECO a project in CJ20N, the system cascades down through the WBS elements > Networks > Activities and TECOs all these objects. It also hides any materials held on an activity.
    If I use the following BAPIs
    'BAPI_BUS2001_SET_STATUS' for Project
    'BAPI_BUS2002_SET_STATUS' for Network and Activities
    the Project, Network and Activities are all TECO'd but the materials remain on the activities.
    Can anyone shed any light on this and the implications of the mnaterials still being visible on the project.
    Thanks, Mart

    It's not possible to assign a keyboard shortcut to this command directly. However, since it's possible to script this command then it can be launched from a menu item, which can have a keyboard accelerator attached to it.

  • Email notification in Charm with several status changes

    Hello,
    according to OSS 1275036 I tried to implement email notification in my Charm-process using BADI  AGS_SDK_SCHED_ST_CHD in my schedule condition. If a new partner is responible in Charm-process, this partner should be notified by email. The email should be send if user status is changing.
    It still works for my change request (notification of change manager) and the first step of my change document (notification of developer). But for all following steps (e.g. notification of tester) no action for email-notification is found in my change document.
    In my actions I only use schedule conditions (according to OSS) and no start condition. To use the BADI for several user status, I maintained my user status in field value instead of inital value.
    Does anybody know, how to use this BADI for several status changes in my change document?
    Thanks,
    Laura

    Hello together,
    I solved my problem by using CRM Standardcustomizing. Forgot SAP note 1275036 and 865619. They are all bad and not sufficient for a complex Charm scenario.
    I only used note 1275036 for the first mail in my change document (email to developer). For all following mail notifcations I'm using actions based on workflow conditions instead of BADI.
    Just using normal CRM-Customizing and create one schedule and start condition for every used action.
    E.g. send mail to tester:
    schedule condition:
      &Servicevorgang CRM.Anwenderstatus&  [*] E0002+DHFHEAD 
      and    &Servicevorgang CRM.ErrorFreeFlag&  = X 
    start condition:
    &Servicevorgang CRM.Anwenderstatus&  [*] E0004+DHFHEAD 
      and    &Servicevorgang CRM.ErrorFreeFlag&  = X 
    This works perfect, because you won't get several mails for one status if you save your document more than one time, which is a problem with note 865619.
    Regards,
    Laura Mathes

  • Exit/Badi for Accounting Document

    Dear Friends
    Is there any user exit/BADI for accounting document. My requirement is quite simple which you would also faced in many implimentation. Client wants number ranges business area/plantwise. I was just thinking as plant/business area is a line item field it may be little difficult to have different number range controll at that level, so I thought we could use user id as the import parameter. But these is possible once I get any user exit/badi for number range change. We dont want to create so many document type also.
    Thanks and Regards
    Pankaj Gupta

    Hi Marta,
    Check these notes
    SAP Note 1259505 - FAQ: New cancellation procedure in SD,
    SAP Note 400000 - FAQ: Transaction VF11: Cancellation of SD billing documents
    See with attention note 1259505 question 4. It says
    Most of the userexits in the SD-FI interface (see note 301077) will not be
    performed.
    So, try to do it with BTE's
    Sorry, try with USEREXIT_PRICING_COPY in program RV61AFZA.
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Nov 21, 2011 9:15 AM

Maybe you are looking for

  • Why CMYK Color Profiles Warning?

    Hi guys, I just made a couple of CMYK shades of grey. Here is a sample: http://www.pixentral.com/show.php?picture=1fo01uualiQLkc4uuLbXfnAoWsiVw When i export the PDF to High Quality Printing, i get Warning Icon with the message "The preset specifies

  • Space around children in FormItem

    Can anyone help me or point me in the right direction? Inside a Form, I have FormItems with children, for example, RadioButtons (see below). For the life of me, I cannot figure out what property controls the "extra space" that FormItem seems to put t

  • MM vs FI for expenses

    Hi, Requirement is to push non po invoices and invoices related to expenses into SAP . we are looking to see whats the best approach in terms of pushing it to MM vs FI. From SAP document it seems like LIV(MM) can be used for expenses as well. but wou

  • Problems with MI 70 SP 16 and DB2e 912. Error: 500. XMAU/home/home_mgmt.do

    Hi,<br> i have problems with my MI and DB2e.<br> I installed database DB2e but i cannot do that this work.<br><br> My configuration is:<br> Mobile Infrastructure version: MI 70 SP 16 Patch 0<br> DB2e 9.1.2 <br><br> When i want to access to the applic

  • CALL SELECTION SCREEN problem

    Hello! I have a problem. In my riport I have a selection screen (1000), a main screen (2000), and a screen (400) this is called inside a loop, to fill some datas when you hit the print button.   CLEAR L_TOTAL.   SORT LT_EBAN BY BNFPO.   LOOP AT LT_EB