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

Similar Messages

  • 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

  • Updating Zfields in the BUT000 table

    Hi ,
    I have created new zfields for but000 table . Is there any FM present to Update the newly created Z fields  . ( here  business partner number  is already created using the FM CRM_ISA_REGISTER_CONSUMER .Now i want to update the Zfileds for this business partner created)
    Thanks
    Sruthi

    Hi! Sruthi
    You can use the follwing FM to update the Z fields in BP u jast have to pass the partner guid along with the field that u need to update.
          CALL FUNCTION 'BUPA_CENTRAL_CI_CHANGE'
            EXPORTING
              is_bus000_eew = new Z fields
              iv_xsave      = 'X'
            IMPORTING
              et_return     = return  table.
    Regards
    Mayank

  • "iCal got an error: Can't Make id of event of calendar 4 into type referen

    Hello everyone. i am completely new to MAC's and very new to scripting. Thanks in advance for any help.
    I am tying to run an Apple Script that is called Scheduled Delivery.
    I'm running 10.4.10 and have the most recent version of the script.
    Basically what happens is I type up and email, add in the email address and save it to my drafts folder. The Scheduled Deliver script, when run, finds all the emails in my drafts folder and uses iCal to schedule a time to mail them (which is a specific time I enter)
    Here is my process I go through-
    I run the apple script by double clicking on the Scheduled deliver Icon, which was in my appications/MailScript folder. It brings up a new window with all my saved drafts. I select the draft I want to schedule a specific time to deliver. This is great.
    When I click on the lower right button "Update Schedule" I get an error message...
    "iCal got an error: Can't Make id of event of calendar 4 into type reference. (-1700)"
    I cannot figure this out. I've tried testing it anyway. I can close the Scheduled Deliver window but the "Done" button is always grey out. It seems to place an event in iCal but no message ever gets sent.
    Any help is greatly appreciated.
    Thanks

    Anyone? Any help is greatly appreciated.

  • Badi for Z-Fields updating using BAPI_CONTRACT_CREATE

    Hi Experts,
    I need badi name required for updating Custom fields in contract while creating purchase contract.
    I am using BAPI_CONTRACT_CREATE for creating contract.
    Thanks & Regards,
    Sushant singh

    1. did you pass your z-fields to BAPI_CONTRACT_CREATE
    using EXTENSIONIN strucutre?
    2. put break-point into your BADI and check if program stops there....
    reards,darek

  • 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

  • Event message updates wrong event handler

    EM Gurus.
    I have a Strange problem that I'm trying to debug right now.
    I'm sending an event message to inactivate an event handler.  The event handler is not updated.
    When I look in log SLG1 I see that a different event handler with a different event was updated!!
    I repeat the same process 4 times and each time I look in SLG1 a different Event Handler and Event Message
    can be seen.
    On my 5th attempt my message posts correctly.
    I'm guessing there must be some bad or old data that has the same guid and each time I send a message it clears
    the bad/old data.
    This probably helps explain a similar problem I have seen where the Expected Event Monitor did not update as expected.
    Has anybody else seen this behaviour? 
    Cheers.
    Zenon.

    Problem solved.
    A locally developed Z program was not updating using the event handler tracking id correctly.

  • Background job finishes but error Error While Updating Material into Standard SAP5678

    Dear
    we run background job which finishes successfully but when we sqw logs it shows
    Error While Updating Material into Standard SAP5678
    Kindly share the reasons
    Regards

    This is an ERP Upgrade space and you should consider raising threads in the right space for prompt replies. Next time consider using SAP NetWeaver Administrator space for issues like these. Also you should consider closing your previous thread with the correct answer for future reference.
    What I see is a custom job. You should check what the job does and also the trace file of the work process and the consult with the application team or the developer for more information. Unfortunately with that screenshot there is nothing much we can advice you.
    Regards
    RB

  • How to get new and updated data into LO Excel in Xcelsius

    Dear Experts,
    I have created dashboard on top of webi report by using Live-Office connection. Latest data of webi report is imported into excel and mapped data with components and generated SWF file and exported into server.
    To day my webi report has latest instance with new and updated data. But until unless by clicking "Refresh All Objects" i am not getting updated data into excel.
    When i am trying to open dashboard in BI Launch Pad/CMC it is showing data whatever exist in excel(i.e yesterday data). But here we need to show data of latest instance of webi report.(i.e New and updated data as of now).
    I have selected option "Latest instance: From latest instance scheduled by" in "refresh options".
    My Question & Doubts:
    1) Is it mandatory to open dashboard every day and need to click on "Refresh All Objects" to get updated data into excel or dashboard.
    2) Is there any option to automate this process.
    Regards,
    PRK.

    Hi,
    Schedule the webi report to get the latest data from the source. To answer your query no is doesn't require to open the dashboard every time to refresh the excel to get the latest data.
    Please use the Refresh Before Components are Loaded: Select this option to refresh the data each time the model loads and to use that data as the initial data for the model (using a Reset Button component, it will reset the data to the values from the last time the model was loaded).
    You are using the Live Office  so here automatic refresh is not possible without touch the swf file, you need to use the refresh but to get the latest data. If you are using QAAWS, Web Service & XML then automatic refresh is possible.
    For more information please check the below document for in-depth idea on the design pattern.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b02e31fb-3568-2e10-e78f-92412c3c0a96?overridelayout=t…
    Kindly revert for more clarification!!!
    --SumanT

  • My iphoto events were not transformed into albums in Photo. Is there a way I can retrieve them?

    My iphoto "events" were not transformed into albums in the new Photos for Yosemite, and therefore I am back with my bulk pics, not filed. Is there a way I can retrieve the classification I had made, please?

    Whenever you connect iPhone in iTunes, it syncs and a backup is created. Check backup folder if you have that time-stamped file saved.

  • HT201328 Hi. i bought an iphone 4 from china in a local store, before its software version was 4.3.5 now i updated it into ios 6 but my phone in locked now... so how can i unlock this phone? someone told me its a locked phone from at&t.

    Hi. i bought an iphone 4 from china in a local store, before its software version was 4.3.5 now i updated it into ios 6 but my phone in locked now... so how can i unlock this phone? someone told me its a locked phone from at&t.

    Only the carrier can unlock your iPhone.

  • In imovie 10.0.1 while trying to update projects and events in get a box telling me iMovie could not find any projects or events to update

    in imovie 10.0.1 while trying to update projects and events i get a box telling me that imovie could not find any projects or events to update. Help, please.

    Do you have Projects and Events form an earlier version of iMovie?
    Matt

  • How to updated matrix into related table?

    hi, can anyone help me below coding how to updated matrix into related table?
    Thank you.
                For rowNum = 0 To oMatrix.RowCount
                    oRecordset.Fields.Item("Code").Value = oMatrix.Columns.Item("DSCode").Cells.Item(rowNum).Specific.Value
                    oRecordset.Fields.Item("Name").Value = oMatrix.Columns.Item("DSName").Cells.Item(rowNum).Specific.Value
                    oRecordset.Fields.Item("U_RPTC").Value = oMatrix.Columns.Item("DSReport").Cells.Item(rowNum).Specific.Value
                    oRecordset.Fields.Item("U_USRC").Value = oMatrix.Columns.Item("DSUser").Cells.Item(rowNum).Specific.Value
                    oRecordset.MoveNext()
                Next

    For Fast Matrix Loading you can user some thing like this.
            Dim Column As SAPbouiCOM.Column
            Dim Matrix As SAPbouiCOM.Matrix
            Dim Table As SAPbouiCOM.DataTable
            Table = oForm.DataSources.DataTables.Add("Documents")
            Table.Columns.Add("Code", SAPbouiCOM.BoFieldsType.ft_Integer)
            Table.Columns.Add("Name", SAPbouiCOM.BoFieldsType.ft_Integer)
            Table.Columns.Add("U_RPTC", SAPbouiCOM.BoFieldsType.ft_AlphaNumeric, 255)
            Table.Columns.Add("U_USRC", SAPbouiCOM.BoFieldsType.ft_AlphaNumeric, 255)
            Matrix = oForm.Items.Item("MatrixUID").Specific
            Column = Matrix.Columns.Item("Code")
            Column.DataBind.Bind("Documents", "Code")
            Column = Matrix.Columns.Item("Name")
            Column.DataBind.Bind("Documents", "Name")
            Column = Matrix.Columns.Item("U_RPTC")
            Column.DataBind.Bind("Documents", "U_RPTC")
            Column = Matrix.Columns.Item("U_USRC")
            Column.DataBind.Bind("Documents", "U_USRC")
            Table.ExecuteQuery(SQLQuery)
            Matrix.LoadFromDataSource() 'Load The Data to the Matrix
    To pull the data form the display back to the Table you can use this
    Matrix.FlushToDataSource()

  • I am attempting to update from iMovie 9 to iMovie 10. I have many movies with iMovie 9. Yet, on iMovie 10, when I press "update projects and events", it states "iMovie could not find any projects or events to update". What do I do?

    I am attempting to update from iMovie 9 to iMovie 10. I have many movies with iMovie 9. Yet, on iMovie 10, when I press "update projects and events", it states "iMovie could not find any projects or events to update". Somehow it doesnt' see all the movies I have on iMovie 9 library.  What do I do?

    I'm dealing with this same issue. At one point, it did recognize the Update function but then said it could not import the cache.mov and plist files which apparently means that imovie 10 can't see any of these past events. I can't figure it out.

  • How fix lost dialog box for typing in wanted web site url after installing security update 20110811165603 into Mac OS 10.6 snow leopard today 6.04.2011.

    Today, was prompted to install new security update. Did so. Now when click on + to open new tab the words New Tab appear in the tab. But, no dialog boxes appear to type in wanted new URL and no google dialog box appears in the tab area.
    Every thing was fine before installed this new security update 20110811165603 into Mac OS 10.6 snow leopard computer.

    Thanks for your reply and sorry for the delayed response - have been away for a few days over the holidays.
    I understand your point about backups and disk permissions. I do have a back up copy and will adopt using the 'verify disk' step in future; so, for me the loss shouldn't amount to any more than the time I have spent, as frustrating as that is. However, I think the point I'd like to make is that doing a disk permissions check is fine for those like me [or others on this forum] since I work in a hi-tech industry, and have worked in a Unix/Linux environment for the last ~20 years so understand about permissions etc. , but I know people with Macs for whom the key advantage is that the they largely 'manage themselves' seamlessly. So, if the verify step is simply a pushbutton check-then-repair step and omitting it can lead to such fatal errors, then why can't it be built into the update script as the first automatic step ? What I mean is; my computer reached this unusable state simply by pressing 'ok' on a planned update, so to the average-Joe user it looks like a 'stop and catch fire mode'.
    For info: I have now used Disk Warrior, which is reporting a disk malfunction, but can recover the user data. It seems to be a remarkable coincidence though, because there were no system problems exhibited before the update.

Maybe you are looking for

  • What is the meaning of VW_NSO_1 on an explain plan result (10gR2)

    I verified that VW_NSO_1 is not a user defined view. but it seems that oracle some how defines this object. Any idea what this object is and how it is made use of? PLAN_TABLE_OUTPUT Plan hash value: 3445229878 | Id  | Operation                      

  • Changing Audio on a Quicktime Movie

    I have a Quicktime movie that was made for me. I would like to change the audio on it. I have Final Cut Express HD version 3.5.1, iDVD and iMovie. Where would be the best place to change it. How do I change it? Do I need to give more details? Thanks!

  • Tax Calculation in PO Printing prrogram - medruck- URGENT

    My requirement is, In PO Printout I hv to print Tax amount  along with Item gross price ( Tax should display at item level) Now i found that , it is in TABLE KONP as condition type is created by functional consultant for particular one tax code i.e.

  • Use of CMS/JDI for portal development

    I have recently installed JDI offline and online and configured it for use of XI develpoment but now i am asked to Use CMS to transport portal components or contents. My Question, is it possible to Use CMS for portal transports and Can i get any kind

  • GR qty should not exceed GI qty for an order.

    Dear All, GR for an Prodn order should be restrictected if the Qty exceeds the GI qty done against the order. Eg.The target qty for a production order is 100 MT.The GI is done for 80 MT(261),the system should allow MB31(101)only upto 80 MT not more t