Event DSAVC

Hi All,
I have a requirement where I need to populate some custom fields in BP transaction based on the other fields data.
I have used the BDT event "DSAVC-prepare data before save" to populate those custom fields. It worked fine.
Now when Iam trying to create BP using BAPI, I think that event is not getting triggred.
Does any body have any idea why that event is not getting triggered?
Please suggest.
Thank You,
Suresh.

Hi Manuel,
BUP MEMORY_BUT020_GET doesn't return anything. I have used BUP MEMORY_BUT020_FILL but as I don´t fill the field ADDRESS_GUID, the function module doesn´t work fine. My doubt: how to obtain an ADDREES_GUID since I have the ADDRNUMBER?????
Any idea?
Best Regards,
Rosa

Similar Messages

  • BDT Event DSAVE and Error Processing

    Hi there.
    I would appreciate it if someone can help me please.
    I have a requirement to update the contract account on the save of Business Partner changes. To do the BP Change I am using BAPI_ISUPARTNER_CHANGE.
    On the save the event DSAVE is entered and in there, we have a custom FM to update certain fields of the Contract Account.
    The core to my issue is that I wish to report any failure in the CA update back to the BAPI (BP Change)that has initiated the process in the event.
    I have been attempting this by FM:  'BUS_MESSAGE_STORE' in the event and then by calling FM:BUS_MESSAGE_GET in the BAPI BAPI_ISUPARTNER_CHANGE when processing returns from the event. This does not work unfortunately. I get the message: "Message handler not activated" from the BUS_MESSAGE_GET.
    I am sure I am missing a few steps here.
    Again, I would appreciate it if anyone can help me resolve this issue.
    Thanks in advance.
    Mick.
    Edited by: Mick Ahern on Jul 29, 2008 12:15 PM

    Hi Ankit,
    Try to do the enhancement in the BDT event DSAVC and would recommend you to use the FM  VKK_FICA_GLOBAL_MEMORY_GET for finding the lock information.
    Thanks,
    Amlan

  • User Exit or BADI for the Bank validation in BP transaction

    Hi All,
        My requirement goes like this, my customer wants to validate the bank keys whether the deletion flag is marked or not and if marked then throw the error message, in BP transaction. But when i was searching for the user exit or a BADI during "save" in BP transaction i was not able to get the appropriate user exit or a badi to do the validation. So can anyone help me finding the user exit or a BADI in the BP transaction
    Thanks and Regards,
    Praveenkumar T

    Hi Praveen,
    I don't think there is any Standard FM to validate the bank keys.
    You need to make a custom FM for the above requirement and call the FM during the save event of the BP.
    Go to Transaction Code-BUS7 and look for event-DSAVC
    Under the event DSAVC, assign the custom FM and place the X flag for calling the same.
    Hope it clarifies.
    Thanks,
    Amlan

  • BADI to update contact person relationshiop address.

    Hi,
    I have a requirement where I need to copy the Business Partner standard address into the Contact Person Relationship Address.
    This need to happen whenever a Contact Person Relationship is created .Is there any relevant badi for the same? I have tried using the badi PARTNER_UPDATE as this gets called every time the BP gets saved.But I found that in the standard documentation for this badi, any custom implementation is not recommended.
    I tried using the ADDRESS_UPDATE badi as well but it is not getting invoked when adding a new contact person relationship.
    Should I use transaction BUS7 here and assign a function module to the events DSAVC or DSAVE?
    Please let me know the right approach of doing this.
    Thanks,
    Samrat.

    Hi Samrat,
    In this case, you can also try to create a trigger on the save of the address of the BP. Maybe the logi can be as follws :
    If the address is a standard address, then copy it to the Contact Person also.
    For this, implement the ADDRESS_UPDATE BADI. It will give you the complete address content. If you now need any BP data or relationship data, you can make use of the CALLBACK modules -
    BUPA_ADDR_CALLBACK
    BUPA_BUT050_CALLBACK             
    BUPA_BUT051_CALLBACK    
    BUPA_BUT052_CALLBACK    
    BUPA_BUT053_CALLBACK    
    Now that you have all available data, you can go ahead and save it to the contact person. Do the database updates in UPDATE TASK.
    Also, it is just a recommendation to avoid custom implmentations for PARTNER_UPDATE. Lots of customers implement this BADI accoding to their business requirements.
    Hope this helps.
    Cheers,
    Rishu.

  • Best practice "changing several related objects via BDT" (Business Data Toolset) / Mehrere verbundene Objekte per BDT ändern

    Hallo,
    I want to start a
    discussion, to find a best practice method to change several related master
    data objects via BDT. At the moment we are faced with miscellaneous requirements,
    where we have a master data object which uses BDT framework for maintenance (in
    our case an insured objects). While changing or creating the insured objects a
    several related objects e.g. Business Partner should also be changed or
    created. So am searching for a best practices approach how to implement such a
    solution.
    One Idea was to so call a
    report via SUBMIT AND RETURN in Event DSAVC or DSAVE. Unfortunately this implementation
    method has only poor options to handle errors. Second it is also hard to keep LUW
    together.
    Another idea is to call an additional
    BDT instance in the DCHCK-event via FM BDT_INSTANCE_SELECT and the parameters
    iv_xpush_classic = ‘X’ and iv_xpop_classic = ‘X’. At this time we didn’t get
    this solution working correctly, because there is always something missing
    (e.g. global memory is not transferred correctly between the two BDT instances).
    So hopefully you can report
    about your implementations to find a best practice approach for facing such
    requirements.
    Hallo
    ich möchte an der Stelle eine Diskussion starten um einen Best Practice
    Ansatz zu finden, der eine BDT Implementierung/Erweiterung beschreibt, bei der
    verschiedene abhängige BDT-Objekte geändert werden. Momentan treffen bei uns
    mehrere Anforderungen an, bei deinen Änderungen eines BDT Objektes an ein
    anderes BDT Objekte vererbt werden sollen. Sprich es sollen weitere Objekte geänderte
    werden, wenn ein Objekt (in unserem Fall ein Versicherungsvertrag) angelegt
    oder geändert wird (zum Beispiel ein Geschäftspartner)
    Die erste unserer Ideen war es, im Zeitpunkt DSAVC oder DSAVE einen
    Report per SUBMIT AND RETURN aufzurufen. Dieser sollte dann die abhängigen Änderungen
    durchführen. Allerdings gibt es hier Probleme mit der Fehlerbehandlung, da
    diese asynchrone stattfinden muss. Weiterhin ist es auch schwer die Konsistenz der
    LUW zu garantieren.
    Ein anderer Ansatz den wir verfolgt hatten, war im Zeitpunkt
    DCHCK per FuBA BDT_INSTANCE_SELECT und den Parameter iv_xpush_classic = ‘X’ and
    iv_xpop_classic = ‘X’ eine neue BDT Instanz zu erzeugen. Leider konnten wir diese
    Lösung nicht endgültig zum Laufen bekommen, da es immer Probleme beim
    Übertragen der globalen Speicher der einzelnen BDT Instanzen gab.
    Ich hoffe Ihr könnt hier eure Implementierungen kurz beschreiben, dass wir
    eine Best Practice Ansatz für das Thema finden können
    BR/VG
    Dominik

  • SD customer creation in background when Business Partner (ISU) is created

    Hi,
    In ISU, when Business Partner is created via FPP1, it creates a SD customer in the background once required settings are maintained.
    I have observed that the name field passed in Customer is a combination of various name fields (such as: first name, last name, affixe, name supplement etc.) maintained in BP.
    The requirement is that only first and last name shall be passed in customer's name field.
    Please let me know how we can control this. Also share the information on how Customer creation is triggered (via Event/function module/work flow etc.) in the process of BP creation.
    Thanks in advance.
    Best Regards,
    Vandana

    Vandana,
    I assume that you know that the business partner (and also contract account) are implement by the means of BDT (business data toolset). The task menu of the business partner can be displayed with BUDT. The option 'business partner' -> 'control' -> 'Events' -> BUS7 (business data toolset) shows the define events that are processed during the processing of a business partner.
    At event DSAVC the SD customer is retrieved by means of muster_kun (function module ISU_BUPA_EVENT_DSAVC). In the exit  EXIT_SAPLES03_001 you should be in the position to change the data in the SD customer as you need it.
    Kind regards,
    Fritz

  • Training and Event Management - report on list of cancelled courses

    Hi All,
    Is there any standard report available to get the list of cancelled courses (be it business event grp , type or business event) Would appreciate your inputs on this.
    Kind regards
    Sathya

    S_AHR_61016216 - Cancellations per Attendee , i think there is no standard report for cencelation of business events, type and group.
    for cancellations per attendee reports is available in the system.
    good luck
    Devi

  • How can I see Calendar event END times at a glance?

    How can I display my Calendar event titles exactly as I type them? I do not want Calendar to remove duration from the titles of my events. Otherwise I can't see event END times at a glance in month view; only start times. How can I "trick" Calendar to just show my titles as I type them - as I always could before I upgraded. I used to be able to enter "Seminar 9am-5:45" and it would appear that way regardless of how or what I chose to enter (or not enter) for duration.
    I am running OSX 10.9.3.

    It's a bit weird, but if you type in the time info TWICE into the event title then Calendar uses/deletes one of them to populate the event details and leaves the other.
    Apple - Mac OS X - Feedback

  • Event List view in iCal?

    I would love to have an Event List view in iCal like I do on the calendar on my iPhone. Is there such a thing? The particular reason for wanting it (this time) is that one of the calendars in the ON MY MAC list has a number in a oval to the right.
    I believe this is trying to tell me that there is a new event that I need to do something about. Problem is, I don't know where to find it.

    ecernek,
    There is no event list option on iCal like the one on the iPhone.
    That number means that you have an event invitation. Use iCal>View>Show Notifications to choose what to do with the notification.

  • Can I show a color bar instead of a color bullet in iCal Monthly view for all my events in all calendars?

    In the Monthly view of iCal the only events that show a color bar in the event is the Birthday Calendar. All other events in all my other calendars only show a color bullet next to the event (unless I click on that event which then shows as a color bar). I would like to know if it is possible for all the calendar events to have a color bar in the monthly view instead of just that tiny color bullet.

    Greetings Judith,
    Before making any attempts at deleting calendar data, backup what you have just in case:
    Click on each calendar on the left hand side of iCal one at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
    iCal has an automated function located in iCal > Preferences > Advanced > Delete events "X" days after they have passed.  By typing in a value for days you can tell iCal to delete all events before that time frame.
    Example:
    Today is 4-16-2012.
    If I wanted to delete all events prior to 1 year ago (4-16-2011) I would type in "365" for the number of days.
    Once you type in the number of days you want kept in iCal, close the preferences and then quit iCal.
    Re-open iCal and check to see if the events are gone.  If not you may want to leave it open for several minutes and then quit again.
    Once the events are removed go back to  iCal > Preferences > Advanced > Delete events "X" days after they have passed and make sure the check mark is removed to prevent future deletion.
    Hope that helps.

  • Can you show at a glance which event images are in albums?

    Say I had an event containing multiple similar but different images, is there a way to show in the grid view for example which images have already been used in one or more albums?
    Would be handy to be able to select a 'show list of albums containing this image'dialogue box. I guess you could hide images you've used but that wouldn't work automatically, nor would any other tagging/rating.
    Another approach would be to make albums containing everything in a given event, then move the images out of that album once used, just seems fiddly to me.
    AC

    AC
    Would be handy to be able to select a 'show list of albums containing this image'dialogue box.
    Yes it would and many people have suggested tit. Add your voice to the chorus at iPhoto Menu -> Provide Apple Feedback.
    A workaround - and it's no better - is to go to an album and select al, then give all those pics a keyword. Then in grid view you can see which pics have the keyword. (View -> Keywords)
    Regards
    TD

  • Unable to capture startup and shutdown event of Photoshop in automation Plugin.

    Hi,
    I am creating an automation plugin and I want to register some events. I have seen listener plugin sample to register event in startup and unregister event in shutdown. I have used same code in my plugin but I am unable to capture the startup nad shutdown event of Photoshop. On clicking the menu item of my plugin the calls come inside the AutoPluginMain but during the startup or shutdown of plugin, the calls does not come inside the AutoPluginMain.
    I am unable to detect the cause of the problem. Can someone please giude me??
    Thanks in advance.

    Hi Tom,
    Thanks for the suggestion.
    Yes, I am working on Windows. As you suggested, I compiled .rc file but the compile option for .r file was disabled. After compiling the .rc file, I again rebuild the complete project and tested my build. But still I was not able to achive the desired result.
    Any other thing that I need to do to make it work?
    Thanks

  • Unable to capture button event in pageLayout Controller

    Hi Guys,
    I have the following layout
    pageLayout
    pageLayoutCO (controller)
    ----header (Region)
    ----------messageComponentLayout (Region)
    -----------------MessageLovInpurt
    -----------------MessageChoice(Item)
    -----------------MessageTextInput
    -----------------MessageLayout
    ----------HideShow (Region)
    -----------------MessageLovInpurt(Item)
    -----------------MessageChoice(Item)
    -----------------MessageTextInput(Item)
    -----------MessageComponentLayout (Region)
    -----------------MessageLayout
    ------------------------SubmitButton(ID:SearchBtn)
    ------------------------SubmitButton(ID:ClearBtn, fires partial action named clear)
    -----------header(Region)
    I am not able to capture the event fired by the button ClearBtn in the controller of the pagelayout.....
    The two methods I used as follows aren't worked:
    if ("clear".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    if (pageContext.getParameter("ClearBtn") != null) {
    what should i do in order to capture the button event in the pageLayout Controller
    Thanks in advance
    Mandy
    Edited by: user8898100 on 2011-8-2 上午7:49

    Mandy,
    Its really strange that its not able to caputure the event in CO.
    Below is the way in which we handle to Submit action at CO level.
    /Check whether ClearBtn is same in case too.
    if(pageContext.getParameter("ClearBtn")!=null){
    System.out.println("Inside the Clear Btn Action");
    Regards,
    Gyan

  • SAP event not triggering in B1if

    Hi,
    Facing an issue when creating JE in one company on trigger of this b1if scenario gets activated and create JE in another company,earlier it was working fine, after upgrading Integration Component from SAP 9.0 PL12 to SAP 9.0 PL15  issue occurred.
    In message log in b1if can't see any log(Success,Failure,Processing,Filtered).
    Any help would be appreciated.
    Thanks

    Hi,
    Please check on event sender setup.
    Have you click on "Create Complete Journal Entry Events" on 4th step of Event sender in Event Filter option ?
    Thanks,
    Tushar

  • When I sync my iPod to my MacBook through iTunes new events do not show up and old events are not deleted. I am using Snow Leopard  and not iSync.

    I am using Snow Leopard on a MacBook. I have an iPod touch 3G. I do not use iSync it Mobile Me. When I sync my iPod through iTunes new events on my iPod do not show up on my Mac and old events do not delete. I have read help instructions that include deleting the data on the iPod. The iPod has the correct data and the Mac does not so I have not followed those instructions. I need help as the only reason I bought the Mac was to be able to sync, back up, view and print my calendar. Currently it is useless. If only Apple could have learned from the elegance of the Palm software.

    Start here:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

Maybe you are looking for