BDT Events / BADI

Hi
I am looking for updating newly added Z fields of BUT000 table to databse.
I got confused to two different solutions, as BADI and BUPT Events. Anyone suggest which is the right one. I have used BUPT Control- Screens to enable the Z fields under business partner BP. But got stuck in the next step which we need to update the values from screen to database.
Can anyone throw some inputs on how to use BADI BUPA_GENERAL_UPDATE or BUPA_GENERAL_EXPORT?? or the SAVE Event. Need your valuable inputs.
Its a bit urgent to me..pls.
Cheers
Manohar

Hi Debasish,
Thanks a lot for your help.
Here is my briefing.
Steps to do update into BUT000 table
1.     Create a new field group, where it should have the new Z fields like BUT000 (Table) ZSUBSEG(Field name)
2.     Create a new view with Subscreen details with program name and screen number, Before Output and After Entry function modules.
     Here are the details which go into respective function modules
     Before Output : Use BUP_BUPA_BUT000_GET fm to get the details from database buffer, then assign these data in your screen fields.
     After Entry   : Use BUP_BUPA_BUT000_GET fm to get the details of BUT000 from memory, then assign BUT000-Z1 to the imported structure of BUT000, then pass this strucute to BUP_BUPA_BUT000_COLLECT fm with i_subname as include name or append sturucture name.
     Important point to remember is the FM of PBO, PAI and screen number should be in same function group.
     Assign the above created (step1) field group to this view.
3.     Create a new section and assign your view create above in step 2.
4.     Assign the Z fields into BUT000 in BUSB transction.
If you need any further details pls let me know.
Regards
Manohar

Similar Messages

  • BADI/BDT Event to Update Zfields into BUT000

    Hi
    I am looking for updating newly added Z fields of BUT000 table to databse.
    I got confused to two different solutions, as BADI and BUPT Events. Anyone suggest which is the right one. I have used BUPT Control- Screens to enable the Z fields under business partner BP. But got stuck in the next step which we need to update the values from screen to database.
    Can anyone throw some inputs on how to use BADI BUPA_GENERAL_UPDATE or BUPA_GENERAL_EXPORT?? or the SAVE Event. Need your valuable inputs.
    Its a bit urgent to me..pls.
    Cheers
    Manohar

    Hi Manohar,
    You had probably created another thread in the ABAP forum for this.
    BDT Events / BADI
    which has been solved.
    Please close this thread.
    Thanks, Debasish

  • 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

  • BDT events calls. FMCA_PSOB public sector

    Hi experts !
    We have a BDT implemation for contract objects. PSOBWORK. We have created two new aplication ZALO and ZASA, so, now we have 4 aplication PSOB, PAAC, ZALO and ZASA. We have already the image secuences working, the trx only shows the view we want and do not go through the other aplication PBO nor PAI. Everything perfect till now.
    BUT, for the events, even if we set ZALO or ZASA or PSOB or PAAC  as aplication for the event, every events is lauch.
    Example:
    Event ISSTA.
    1010000     PSOB_PSOB_EVENT_ISSTA        X       PSOB
    1020000     PAAC_PSOB_EVENT_ISSTA        X       PAAC
    6111101     ZTRM_TAX_LO_EVENT_ISSTA        X       ZALO
    6111102     ZTRM_TAX_SA_EVENT_ISSTA       X       ZASA
    What we want is that when launching trx PSOBWORK if the object type is SANC only
    ZTRM_TAX_SA_EVENT_ISSTA should be executed and viceversa if object type is LIOB only ZTRM_TAX_LO_EVENT_ISSTA should be executed. But it does not work, all function modules are launch ?
    Any suggestion ?

  • BDT event for delete role in BP transaction

    Hi,
    I have requirement where in I need to display specific fields on UI when user adds a role to a business partner in BP transactions and also need to save the user inputs into the tables. I was able display the fields and also save the inputs that was entered in UI into the table, But I have requirement were in I need to delete the data from tables when user deletes the role in BP the transaction.
    I would like to know if there is any event in BDT that would be triggered when user deletes a role from the Business partner in BP transaction.
    It would be helpful if some one can provide some inputs on this.
    Thanks
    Raghavendra

    Hi Smita,
    Thank you for response. Following are steps that are followed for deleting a role from a Business Partner in BP transaction.
    1 Select a Business Partner that has multiple role in BP transaction.
    2 Click on the Role Details button, all the Role that associated with the business partner is displayed.
    3 Select a Role from the list and then click on the delete button.
    4 After Delete Button, Click on the Enter Button.
    5 Save the Business partner. Now the role has been deleted from the business partner.
    Thanks,
    Raghavendra

  • Ending date in repeated events bad

    In Spanish iCal, at least, when you build a repeating event and try to write the ending date, iCal only shows you one digit for the month day. Then you need to place your selection there and use up/down arrows to reach the desired final date. Since the first digit of that day is not seen you need to imagine it based on the changing month under the arrows up/down scrolling of days!

    Am facing the same issue with an iPad; but this is not the first time I've seen this happen. It has also happened when syncing from iCal to a Blackberry Curve via Blackberry Desktop Manager. Any repeated events - and not just from the iOS side of things - ANY repeated events cause this to happen.
    iCal has the correct number of events and times, but as soon as you sync to another device, it becomes unusable. My wife runs a cleaning business where she constantly has to rearrange schedules for repeating customers. As soon as she does it once, she's got 2 copies of the same. Change the event twice, and suddenly she has 4 copies.
    Please help.
    todd

  • ICal Randomly moving events - BAD

    I have a good friend who just missed a flight by a day because iCal keeps automatically & randomly moving events on her iCal.
    iCal is current and up to date. She doesn't use MobileMe to Sync. She does have an iPhone but Syncs manually only once in awhile. She's on Leopard.
    She does fly around a lot and is constantly changing time-zones & thus she changes the time on her computer a lot.
    "For instance - if I type something for Monday while in Chicago - and then when I go to Delhi - it is listed as Tuesday because of the time diff?
    But I cannot imagine why it would not flop back when I returned to Chicago - and most of my travel during the i-cal changes has been domestic - which has no more than a 3 hour time change"

    I have exactly the same problem!!
    It drives me nuts. I create an event, maybe move it around once or twice, then iCal keeps moving for me.
    I try quitting and restarting, refreshing all calendars etc... but no luck. I also think iCal is not very good with it's integration with Exchange servers. I accept invitations to events but the status is not updated, etc.

  • Function call. BDT, APPLC event

    Hi experts:
    I've got a question about some standar code in the BDT. This is the code
        IF SY-SUBRC = 0.
    *----- ... Zeitpunktfunktionsbausteine aufrufen ------------------------
            LOOP AT LT_TBZ1F ASSIGNING <TBZ1F> WHERE ZTPKT = 'APPLC'
            AND NOT XAKTV IS INITIAL.
            CALL FUNCTION <TBZ1F>-FNAME
              CHANGING
                CT_TBZ0A = LT_TBZ0A.
            ENDLOOP.
          gv_applc_has_run = 'X'.
        ENDIF.
    LT_TBZ0A is defined this way:
    DATA LT_TBZ0A  TYPE TABLE OF TBZ0A.
    I've created a function module and set in the export section the next parameter declaration:
    CT_TBZ0A     TYPE     TBZ0A     Aplicaciones BDT
    As you can suppose, I'm recieving only the header of  LT_TBZ0A in the function and i need all the itable.  What  am i doing something wrong ?  Is it possible that SAP's mistaken the code ?
    There is an OSS Note about that, but i've already aplicate it. This is part of the BDT, event APPLC.
    Thank you very much.

    Chagne the CT_TBZ0A definition to table type fo the TBZ0A in the Import parameter.
    CT_TBZ0A TYPE TY_TBZ0A Aplicaciones BDT   " << TY_TBZ0A
    Regards,
    Naimesh Patel

  • Marvell RAID Utility Event Notification (Bad Sector)

    Dear All,
    I have got twice "Bad Sector ...." message as following recently..
    Should I plan to replce those two hard disk (disk 19/20) now ?
    Regards,
    Cody.
    Q
    Hello, MRU User.
    This mail is automatically sent out by Marvell RAID Utility.Please don't reply to this mail.
    The following event(s) have ocurred on the machine(DM149D20).
    04/19/2010 07:27 : [Info] PD Event : Bad Sector is fixed on disk 20 at LBA(0x000000000537c7fb), count=1, flag=0x00000012
    04/19/2010 07:27 : [Info] PD Event : Bad Sector is fixed on disk 19 at LBA(0x000000000537c7fb), count=1, flag=0x00000029
    Uq
    Q
    Hello, MRU User.
    This mail is automatically sent out by Marvell RAID Utility.Please don't reply to this mail.
    The following event(s) have ocurred on the machine(DM149D20).
    04/16/2010 20:16 : [Info] PD Event : Bad Sector is fixed on disk 19 at LBA(0x000000000537c361), count=1, flag=0x00000029
    04/16/2010 20:16 : [Info] PD Event : Bad Sector is fixed on disk 20 at LBA(0x000000000537c361), count=1, flag=0x00000012
    04/15/2010 09:41 : [Info] Adapter Event : Adapter 0 is detected, serial number not available
    Uq

    bad sectors happen all the time.   i wouldn't worry about replacing a drive until you see a critical failure.   if you have no other means of backup (since RAID shouldn't be used as a means of backup anyway) then you may want to look into either OLDB (online data backup) and/or keeping spare drives around in the event of a unrecoverable failure.
    ThinkStation C20
    ThinkPad X1C · X220 · X60T · s30 · 600

  • BDT custom SFCs not shown on screen

    We have to set up some custom SFC categories, and I have to create new screens for them so that they are included in claims. According to OSS Note 704333, the following needs to be done (this is copied directly from the note):
    Enter a new category in the IMG under Claims Management -> Structuring Business Processes -> Structured Facts Capture -> Enhance Facts Capture Categories. Also refer to the documentation for this IMGnode.
    Create a BDT view. You have to enter different subscreens and function modules in the view, depending on whether it is a quick question sequence or standard question sequence (dialog box). As examples, you can use view ICLQ08 for the quick question sequence and ICLQ03 for the standard question sequence.
    With the standard question sequence you must also assign field groups 50 and 51 to the view.
    For a standard question sequence, use screen 300 in SAPLICL_SFC_BDT, for a quick question sequence, on the other hand, use 112 (depending on the desired size).
    For the PBO and PAI modules, you have to enter the function modules mentioned for the above views (depending on the category). The PBC module has to be created specifically for your view; the modules entered with the above views can also serve as a template.
    In the PBC you have to fill the following fields of structure ICL_SFC:
    FACTSCAT: Your new SFC category
    DSTSUBCLAIM: Subclaim to which the SFC refers
    SUBOBJECT: The key by which the object is clearing identified in the claim, e.g. the number of the damaged object
    XREADONLY: To be set in the display mode of the claim
    You can fill PBTEXT and VIEW using function module ICL_TBSFC004_GET.
    You use function module ICL_SFC_ACTINST_SET to set the values in function group ICL_SFC_BDT. Add the newly created BDT view to the provided screen sequence.
    Create a question sequence for your SFC category and assign this to the corresponding internal claim type.
    I followed the instructions and created new views for the new SFC's (this is so that I could use my own Function modules in the PBC events. This is the only thing I changed - the PAI and PBO both call standard SAP modules, and all the other stuff, i.e. application etc. I left the same as the standard). I assigned the views to sections --> screens etc. The screen where the SFC should appear, is there but it is blank, i.e. it doesn't show any buttons or anything.
    I also hard-coded break points into my PBC modules but these never seem to be called either, because the processing never gets there, evidently. So this leads me to believe that I've missed something out in setting up the funtionality. Any ideas? Also, do I need to do anything in the BDT events to populate the new SFC's or does the system do this automatically? 
    Thanks for your help.

    No I don't think you want ECSFO001 for ISUSDPART either.  I recall implementing that last year to disable the create/change functions in the "Search and Display" component as they bypassed BDT field-group security.
    I'm not sure where in CIC you want your custom field to display.  Do you want to show it in the navigation area?
    As for search results (ISUFINDER), I seem to recall that it was possible to configure the finder to show additional attributes of the BOR object type, such as ISUPARTNER.  But I might be having myself on there as it's only a vague memory.
    As standard, the finder displays columns for the the key and default attribute of the search object, in this case BOR object type ISUPARTNER.  The default attribute in this case is name shorttext (can't recall what the attribute is called right now).  You could implement a sub-type and override the implementation of this default attribute so that you also display an icon of some sort in the name text if your custom field is set.
    Cheers,
    Scott

  • ECC BUPA BDT: setting default CAM "Communication language"

    Hi,
    I thought I'd better ask for help before I'm starting to feel like I'm loosing sanity... My system is NW 702 SAPKB70211, IS-UT 605 SAPK-60508INISUT, all screens and behaviours from Transaction BP.
    I'm trying to set the defaults for Central Address Management (CAM) Communication language and country for Organizations and Groups (and Correspondence language for Persons). I've done the ISDAT BDT "Event" FM reccomended so often on SCN, setting the busdefault-country and busdefault-langu using  BUP_BUPA_FIELDVALUES_SET, and all seems well - the Address tab at least:
    - for Person:
    - for Org and Group:
    The trouble starts when one tries to create Adress from Address Overview of Org or Group - the default language is just not there, and neither is country:
    It turns out that, after defaults have been taken over in BUA_BUPA_PBO_BUA110 once, SAP standard resets (why, Hasso, why on earth would your guys need to do something like that.!?! ) the busdefault-langu if the BP type is other than Person (and telnr, faxnr_call, mc_city1, country, mc_street, post_code1, house_num1 for all types). In my desperation I even tried to use the SET/GET parameter SPR from FORM d0100_read_address of LSZA1O02. The trouble is - BUPA calls the thousand and one global flags CAM monstrocity so that g_address_is_optional is always set.
    So... before I start controlling what of their glabal data for BUPA defaults SAP logic can or can not modify via implicit inhancement in BUP_BUPA_FIELDVALUES_SET (if the logic is fine with taking those over once per session, why not n times...) does anyone know a straightforward and reliable way of defaulting CAM language and country (for organization and group)?
    I've searched OSS up and down but found nothing appliccable that would be helpful.
    Thank you and cheers
    Janis

    Ok, since the standard logic for BP default values is barely more than "useless" (defaults taken over only once, if the transaction mode for BP is create... meaning, they will not be taken over if you create an address in change mode of BP...), I ended up with:
    - implicit enhancement at the begin of BUP_BUPA_FIELDVALUES_SET protecting (SAPLBUD0)-gl_busdefault against overwriting via this FM (it obviously can't protect from changes within SAPLBUD0 itself... of which there are plenty);
    - implicit enhancement at the end of BUP_BUPA_FIELDVALUES_GET, delivering e_busdefault from the state protected within my singleton;
    - implicit enhancement at the beginning of ADDR_EXP_SUBSCREEN, setting the VALUE(SUGGESTED_VALUES) from busdefault state protected within my singleton for ADDRESS_GROUP 'BP' (I shouldn't really be changing input parameters inside the FM, I know, I know...) AND pushing the protected state back into (SAPLBUD0)-gl_busdefault via BUP_BUPA_FIELDVALUES_SET...
    The latter I needed to fight against standard logic loosing default country for Persons if one navigates to Address overview and deletes the standard address...
    The reason I'm going to such lengths to set this stuff programmatically rather than via SHD0 transaction variants or something similar... I don't want to have to find every transaction within ECC that permits to edit BP and create variants for them; I don't want to have to adjust those variants when something changes in dynpros.
    I'm thorougly fedup with BP and ECC and am ready for "R/4" (or whatever replaces it)
    cheers
    Janis

  • 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

  • BDT Function Code for button

    Hello Folks ,
    Iv'e Created a new screen using BDT technology and added a button inside screen .
    how can i handle the function code within this screen in a way that i won't have system messeage "Unknown function code XXX" while clicking on this button.
    tanks in advance.
    Herzel .

    Hi,
    You need to implement for your button a function module for the BDT event FCODE. You can have a look at the fms *_BUPA_EVENT_FCODE, to get an idea on how to implement it.
    Thanks and warm regards,
    Smita.

  • Plant Maintenance Order - BADi/user exit for operation change

    I need to send a mail on plant maintenance order (IW32) save event if there is any change in operation - requirement assignment person. Means if the operation is assigned to a person then notify that person on order save event.
    Can anybody help me on this in finding some BADi or user exit?
    Thanks in advance.

    Hi,
    User Exits:-
    IWO10009  Customer Check for 'Save' Event
    BAdI:-
    ALM_ME_001_ORDER      Order/Operation Data
    ALM_ME_ORDER_OPER   MAM 1.0 Order Operations
    IBAPI_ALM_OPR_GETDET BADI for Reading Fields for BAPI_ALM_OPERATION_GET_DETAIL
    Check with these User Exits & BAdI's.
    regards,
    Venkatesan Anandan

  • User_exit in CRM BP transaction

    Can anyone tell me whether an user exit(s) exist in CRM's BP transaction? I know I can extend BP functionality through the BDT but BDT-events are not triggered in the portal. Anyone, any suggestions? Tiest.

    There are a number fo BADI's in CRM that serve the same purpose as the user exits in R/3, which is to allow you to run some custom code in various places in the transactions. 
    Transaction SE18 will allow you an overview of the various badi's.  Search the various definitions using wild cards and key words.  For example price will show you several, etc.  Look for the badi's via subject matter and then read the documentation for the interfaces. 
    Hopefully, this will lead you to one that serves your purpose.
    Good luck,
    Brent

Maybe you are looking for

  • Sync problems with Outlook 2007

    I had some problems with syncing to outlook 2007: the agenda and contacts where not syncing anymore. I have a 32G 2nd gen iPod Touch (4.1) and using iTunes 10.0.1.22. Details: some weeks ago suddenly the address and contacts items did not sync anymor

  • Cannot use the "check out" feature on some sites, have to use IE as my browser in order to check out.

    I went through the process of spec-ing the product, and got to the check-out page. None of the amounts would be listed. No quantity, no prices. I had to use Internet Explorer as my browser to complete my order.

  • ECess and HSCess Purchase Tax Account Ledgers in Liability

    Hello All     By default when you select IN_COA Chart of Accounts why Cess and HSCess Purchase Account Ledgers are in liability Drawer, in Reality were the purchase tax what you paid is Asset. Please Clarify Thanks Santhosh.k

  • Condition Based Measurements

    Consider the following scenario: worker measures air flow outside of machine filter and manually creates measurement documents. Upper and lower threshold limits are 5 and -5 units. What should be the best way to utilize SAP PM to analyze these measur

  • DateFormat from regional setting

    Hi, I have requirement to display the date in the format what is selected in the system's regional setting. I am able pick the format with the help of code written below ((SimpleDateFormat)DateFormat.getInstance(DateFormat.Short, Locale.getDefault)).