Extract the new , changed , deleted  vendor  master data -urgent pls

Hi all,
I have require ment like i need to extract all new, changed and deleted data from SAP TO MAXIMO
i need to send to a windows environment which both systems share,
i am using LFA1 ,CDHDR , CDPOS Tables , i will get the reuired information , can i use gui_download
to download to windows environment which both system are mapped to a common shared folder.
i will extract the infrmation and sent to a shared folder.
this a backround job  schedule daily once.and also i have to sent the file contents to spool also.
please suggent some code existing or how to do the logic behind.
shall i use open data set
                read data set
                close data set.
please suggest ways of doing............urgent.
regards
kodamanchili

With regards to the writing out of the data that, you are correct that you should use the Data Set commands if you are attempting to write a file out to the application server.  If you are using any sort of EAI tool then there maybe are other ways specific to the tool for sending data, such as some of the tools utilize RFCs to send the data.
For the actual identifying of the changed records, it is best not to write delta interfaces directly against the change document tables (CDHDR and CDPOS).  Instead you should be ustilizing change pointers.  Change pointers are transient data stored in the BDCP and BDCPS tables (combiend togehter into view BDCPV) or stored in BDCP2 if configured to use this newer change poitner table for much better performance.
An instance of a change pointer in the change pointer tables will indicate the record that has changed and point to the changed document in the change document tables that can be referenced to extract more specific information.
The nice thing about change pointers are:
- They are transient, at the end of your extract you clear the ones that you've extracted so that the next time you will get the ones that have been pulled since then.
- You can setup instances of your change pointer object that are specific to an extract program so that two extract programs for similiar or even completly the same data won't itnerfere with each other.
- The CDHDR and CDPOS tables are great for extracting changes that have occured over time for a specific instance of a buisenss document (ex. Vendor) but do not perform well over time for extracting all changes associated with all instances of a buisness document (ex. All vendors that have had changes since the last run of the program).  Programs that extract directly against CDHDR and CDPOS do perform delta extract functionality are oftern a performance problem as time progresses and the tables grow in size.  If used properly Change Pointers are efficient becuase the tabels can be kept small and are optimized for the extracting of deltas.
For any tables that log change documents in CDHDR and CDPOS you can configure change pointers to be populated in the BDCP* tables.
Change pointer configuration:
- BD61 - Activate change pointers globally within the SAP instance
- WE81 - Need to create an ALE message type (even if you're not actaully going to connect it to an IDoc)
- BD50 - Activate change pointer functionality for your message type
- BD52 - Define the individual change documents, tables and fields that you want to have as part of your tracking
Your extract program will use two functions:
- CHANGE_POINTERS_READ - Use this to get a list of all change pointers since the last execution
- CHANGE_POINTERS_STATUS_WRITE - Use this to mark the change pointers as extracted so that they won't get picked up on the next execution
Transaction BD22 (Program RBDCPCLR) should be scheduled to run regularily to delete from the change pointer tables the records that have been marked as processesd.
Note - A common mistake that is made is that the change pointers are read, some filtering is done for specific ones that should be extracted and then only the extracted ones have their change pointer status updated.  It's important to update the status on all of the change pointers because otherwise they'll be picked up again on the next run of the program and will be filtered out again, so over time the number of selected change pointers will keep growing since they will never get purged from the change poitner tables.
Note that the BDCP and BDCPS tables have a number of performance issues when the selections are done against them due to the way they are joined and the crieteria that is used for selecting.  Becuase of this SAP has implimented a new change pointer table BDCP2 which is a single table as opposed to using a join.  In order to utilize BDCP2:
- Used SM30 to update V_TBDME.  For your message type turn on the checkbox for BDCP2.
- Run program RBDCPMIG for your message type, this will migrate existing pointers over to the BDCP2 table.  If you can guarentee that there are no existing pointers then you can use SM30 to update for your message type the target of the pointers as being BDCP2
~Ian

Similar Messages

  • Delete Vendor Master Data in a Purchasing Organization

    Hello Experts
    I want to delete a Vendor Master Record that I have created, but not mark for deletion, I want to delete from the system.
    I saw the transaction OBR2 to delete master redords, but I found that it is only possible to delete vendor for a Company Code. So how can I also delete the view of these vendors for the purchasing organzation?
    Thank you in advance,
    Best regards

    Hi,
    You can set the deletion at t.code via XK06 used to set the Flag for deletion .
    Company code data,
    Purchasing organisation data,
    General data,
    All area
    Here,Check-box used to flagged the Vendor master to set the flag for deletion.
    By using transaction OBR2 can set the deletion flag for the vendor master data not at purchasing and company code level.
    Regards,
    thiru

  • Delete Vendor Master Data xk01

    I have created Vendor Master in XK01 including purchase organization.
    I want to delete it permanently.  I have not made any POS and data.

    Go to Tcode : SARA, enter the Object FI_ACCPAYB
    Then :
    1 Maintain write variant, it depends, if the vendor data only create for Purchasing Level only,than you can choose MM data.
    When you archive MM data for vendor master records, the system automatically checks whether the following conditions have been met:
    · The deletion flag is set.
    · Dependent data of the following types no longer exists in the system:
    Purchasing documents
    Purchasing info records
    Vendor partner roles
    2. Maintain Deletion variant--> start deletion process --> this step will completely remove data from table.
    If then some dependent data of above mention still exist,then you need also to close /archive the dependent data also.
    Read below link also
    http://help.sap.com/saphelp_erp2005/helpdata/en/8d/3e4c11462a11d189000000e8323d3a/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ba/4b68b8327911d2a25c0000e8a5f24f/frameset.htm

  • Want three Sales Employee in master data ( Urgent pls )

    Hai
    I want to define three sales employee in bp master data.
    this sales employee should be reflected in sales document with respective commison percenatge should be added in the document, how to do this in business one.
    pls help me out on this.....
    For this i did some thing which is following,,,
    By using udf i included in master data as additional screen,
    in  sales document i added collumns for respective sales employees d commisson as each three.
    this is think which i did, in this we have to select manually by using drop down list in udf column. but it has to come default if once i defined in master data of BP.  how do it
    SO PLS HELP OUT IN THIS . ITS VERY EMERGENCY

    Hai
    Thank u for ur Response.
    Wat i am trying to say means,
    Generally in master data we are giving one sales employee and this sales employee is defaultly coming in sales order for respective customer.( If we defined the Commisson % for sales employee it also will come to sales order ), like this
    For me i want to add three sales employee in the master data and this employee's want to come in sales order  with thier respective commisson percentage.
    How do to this.
    Already i have done something which i mentioned eralier through UDF But i am not satisfied with that, pls give me a good solution for this.............

  • Mass change of vendor master data

    I need to change the "payment term" for over 1500 vendors of a particular account grp and company code.
    How do i do it??

    hit execute button and it will take you to the selection screen here
    you can enter all your vendor which needs to be change and than execute
    here you will see all the vendor payment term will show
    enter your new payment term at the tope filed and hit carry mass change button and once it's done than save
    First try with few vendors

  • Vendor master data changes

    Hi all,
    Please help me with some useful information regarding the history of master data creationa and changes. I need to create a query for creation and changes of vendor master data. Data for creation of the vendor master data are saved in LFA1 but for changes I cannot find table.
    Thank you,
    Desimira

    Hi,
    You can use the standard report for Vendor master data changes, S_ALR_87012089 - Display Changes to Vendors.
    Regards,
    SAPFICO

  • Vendor master data - massive change

    Hello all,
    I have to change payment method for several vendors.
    Do you know how to do a massive change in vendor master data?
    Thanks,
    Davide

    Hi:
             Please execute XK99...Vendor Master (Company Code)....LFB1.
             Regards
    Edited by: Atif Farooq on Oct 4, 2011 12:30 PM

  • Delete Customer Master Data OBR2

    Hi
    I'm using LSMW to import data. I would like to delete it afterwards. Transaction OBR2 which is in spro Financial Accounting (New) -> Accounts Receivable And Payable -> Customer Accounts -> Master Data -> Delete Customer master data.
    But it does not delete the sales are segment, it also does not allow me to delete general data if sales segment exists.
    Can anyone please let me know if there is another way around this? Any other way to delete this test data???
    Thanks in advance

    Hi
    Please go through the SAP documentation on how to perform deletion of customer master data.
    This may help you in executing the function correctly.
    <b>Delete Customer Master Data</b>
    In this activity, you delete the master records for customers by using a program. Only use this program in the test phase.
    Note
    The company code for which master records are to be deleted, may not yet be flagged as productive.
    Only master records for accounts which do not have any transaction data may be deleted.
    Requirements
    The general customer master data is only deleted for customers who are not also created as customers in Sales and Distribution.
    Activities
    Delete the master records for the required company codes.
    Additional information
    Refer to the SAPF019 program documentation for further information on the program.
    Deleting Master Data
    Description
    This program deletes master data in Financial Accounting and is designed for preparing the system for productive startup. It deletes:
    •     Customer master data
    •     Vendor master data
    •     G/L account master data
    You can run this program in three different ways:
    1. Deleting general master data (in G/L accounts in one chart of accounts)
    2. Deleting master data dependent on company code
    3. Deleting general master data and master data dependent on company code
    For each deletion run, you can specify whether or not the system should take into account the deletion flag in master records ("Delete per deletion flag only"). If it takes into account deletion flags, it uses the following standard logic:
    Option 1: The "All areas" deletion flag must be set.
    Option 2: The "Specified co. code" deletion flag must be set.
    Option 3: It is sufficient to have the "All areas" deletion flag set.
    Note: Deletion blocks are always checked at general data and company code-dependent data level. If there is a block at company code-dependent data level, then the general data is not deleted either. The deletion block takes precedence over the deletion flag.
    General master data in Financial Accounting can also be used in other SAP applications:
    •     Customer master data in Sales and Distribution
    •     Vendor master data in Purchasing
    •     G/L accounts as primary cost elements in Cost Accounting
    The program deletes the following:
    •     Change documents for master data
    •     SAPscript text files
    •     The following data is deleted for customers:
    o     General master data
    o     Bank details
    o     VAT registration numbers
    o     Addresses
    o     Classifications
    o     Credit management: across control areas
    o     Credit management: centrally
    o     Unloading points
    o     Tax indicators
    o     Contact persons
    o     Licenses
    o     Partner function limit
    o     Shipping data
    o     Master data in the company code
    o     Dunning data
    o     Linked data
    •     The following data is deleted for vendors:
    o     General master data
    o     Bank details
    o     Contact persons
    o     VAT registration numbers
    o     Addresses
    o     Classifications
    o     Master data in the company code
    o     Dunning data
    o     Linked data
    •     The following data is deleted for G/L accounts:
    o     General master data in the chart of accounts
    o     Names in the chart of accounts
    o     Key word list in the chart of accounts
    o     Master data in the company code
    o     Sample accounts, if selected
    For customer and vendor contact persons, the addresses are not determined from central address management until the actual runtime. Therefore differences can arise as to the number of addresses in the detail log between the test run and the update run.
    Automatic worklists for customers and vendors are also deleted with the general master data. Matchcodes are always deleted.
    You may have to fix the number ranges after the program run.
    The system makes changes to the database in the update run only. It will then also write a system log entry for documentation.
    Requirements
    General master data can only be deleted if no other application makes reference to the account. Use the resetting programs from
    •     Sales and Distribution (customer master data)
    •     Purchasing (vendor master data)
    •     Cost Accounting (G/L account master data)
    If you want to delete only general master data, master data dependent on company code cannot have been created in Financial Accounting.
    If you want to delete master data in a test company code, master data dependent on company code cannot have been created in any other company code except the test company code. The productive indicator cannot be set for the company code.
    If a customer or vendor is referenced by another customer or vendor (for example, via fiscal address or alternative payee), you can only delete the referenced master record by deleting the referencing master record at the same time.
    Furthermore, you can only delete master data in Financial Accounting if no transactions have been posted to the corresponding accounts. If there are transaction figures in one of the selected accounts, you have to manually access and run program SAPF020 (reset transaction data from a company code) before you can delete that account.
    Output
    The log lists every table which is processed in the program selection.
    You can also create a detail log for each account type to find out why certain data cannot be deleted. The detail logs show you what other company codes and applications use the data and how customers and vendors are linked to one another.
    Note
    Since deleting or displaying even smaller volumes of data can result in runtime problems, you should run this program as a background job. Currently, the program individually deletes matchcodes for each master record in the database. Several match code IDs refer to each matchcode. This can place a considerable load on the database.
    You cannot delete transaction data in individual accounts.
    Important: The archiving programs in Financial Accounting are designed for the productive system.
    If you are running this deletion program for the first time, then you must start program SAPF047 before deletion in order to generate link information.
    I hope this may be of help to you
    Good Luck
    Hari

  • Vendor master data

    Hi all,
    I want send vendor master data to XI system using ALE.
    what is the IDOC triggered when we create the vendor in SAP system?
    what is the IDOC triggered when we change the vendor?
    Kiran

    hi,
    I think when we create/change a vendor Master data. <b>CREMAS04</b>  is the IDOC triggered.
    you can try the TCODE <b>BD14 - Outbound program for vendor master</b>
    rewards if useful,
    regards,
    nazeer
    Message was edited by:
            'Nazeer'

  • Issue with Vendor Master Data-field notes ID  (Table ADRT-REMARK)

    Hello,
    I have a issue related to Vendor Master Data maintenance.
    The client wants to maintain the u201CNotesu201D field in vendor master data. The field gets populated from the field u201CADTR-REMARKu201D table ADRT.
    Now client wants to maintain some alphabet to distinguish some of vendors (i.e. 1250) out of 5000 vendors. We tried to develop LSMW, however it is not getting generated as this field is not getting recorded as the field is inside the tab (next to e-mail id field) which requires click. It seems BDC also is also not working as it is not populating these fields except e-mail id.
    The table ADRT contains filed ADDRNUMBER which is the same field in LFA1, and it is ADRNR (Address number).
    Also please note that CATT/e CATT is not permitted at all the client level.
    Can any body suggest the way to change the master data through some way.
    Regards,
    Chepan

    Hi,
    Did you heard about SAP GUI Scripting? There is SAP functionality - seems to Excel Macros. You are able to record SAP  like macros, then after small code modifcation (code is in Visual Basic), and special excel origin (there could be excel prepared like for CATT) upload data to VMD.
    If you have any questions I try to help you?
    Best regards,
    Piotr
    Edited by: Piotr Wieczerzak on Jan 26, 2010 9:35 PM

  • Can VMD_EI_API handle Create, Edit, and Delete Vendor Master records?

    Hi Everyone,
    I have a development that requires to create, edit, and delete vendor master records through a webportal ui. Technically, it will be a background process in SAP because it must not have a dialog screen. In my search so far, there is no standard BAPI or Function module that can handle this one.
    Can the class VMD_EI_API handle the requirements?
    Regards,
    John

    Hi,
    Yes, You can use this class to create/modify/delete vendor master data. You can find in SCN documents with example how use it.
    Jarek

  • Creation of Vendor Master Data

    Hi,
    In my company they are currently using this process to create Vendor Master Data: The Vendor Master Data is created in the Production Server and refreshed to Development Server and to Quality Server, using ALE.
    Is this the right process? If not can you let me know the steps to create Vendor Master Data.
    regards,
    raj

    Hi Raj,
    ALE and IDoc is the best way to transfer master data between SAP system. They have excellent error handling and reprocessing capabilities (Recommended by SAP).
    In order to automate the vendor master data transfer, you need to do the following steps.
    1. Create Logical System (if not available) for PROD, QA and DEV system.
    2. Create RFC Destination (SM59) from PROD to QA and DEV system.
    3. Create Distribution Model from PROD to QA/DEV (BD64) for message type CREMAS (Vendor Master).  
    4. Create Partner Profile (WE20) for message type CREMAS in PROD, QA and DEV system.
    5. Execute transaction code BD14 (Send Vendor) from PROD to QA and DEV system.
    6. To monitor the IDoc, you can use transaction code WE02.
    If you are not familiar with ALE/IDoc setup, please work with technical folk.
    Hope this will help and give an idea.
    Regards,
    Ferry Lianto

  • Alternate address in vendor master data

    Hi,
    I have an requirment to maintain the Alternate address in vendor master data.
    My client is having requirement that the vendor must be same but may be situated in two different locations so they wants to maintain two addresses in vendor master.
    If we maintain parner functions then we have to create an additional master data of vendor which is not accepting by the client and they want to create only one vendor with two different addresses.
    Can any one please suggest me how to maintain alternate address in vendor master? as i could not able to see any alternate address fields in vendor master data.
    Best Regards, Abdul

    Hi Chakrapani,
    In that case if we use parner function we have to create addtitional mater data right? please find the below schenario.
    I have vendor number "X" where as an invoicing party I created vendor "A" which I maintained as parner function of invoicing party with different address.
    If invoice generated on which vendor account this invoice will reflect? if it in "X" or in "A".
    If the invoice open item creates in vendor account number "X" then it would be fine with me, also if possible please let me know how to configure the partner functions and the functionality in this case.
    Many thanks in advance.
    Best Regards, Abdul

  • Can we use idoc technique to change or delete the vendor master data?

    Hi,gurus,
    Can we use idoc technique to change or delete the vendor master data?You know we can create vendor data using idoc CREMAS03 as the receiver adapter,but when change or delete the specified vendor data,must we use RFC adapter technique?
    Another question:I found the bapi which creates a vendor master data doesn't have the parameter account group,then we turned to idoc technique.But which adapter should I use when change or delete the vendor data?
    Thanks in advance.

    Hi,
    >>>I found the field of the segment of deletion flag at different level,and very appreaciate your help.
    yes - LOEVM  - but remember this will not delete the record but only mark it for deletion
    >>>It's a long time to wait for your new blog,what new and interesting things do you find?
    at least 4 new in my head - 2 simple but important and 2 new + I'd also like to write something for XI guys about
    BO data integrator which can also work as EAI tool (BTW I know it's ETL) but how knows when they will appear
    Regards,
    Michal Krawczyk

  • No view of the changes of Customer /Vendor master data

    Hi Experts,
    I have a problem, when I run the standard report to view the changes of customer/vendor master data, I don't find the change relative to a bank account .
    I found in the report the technical field that the user has changed, but I haven't found the text of the data in the tab "bank account".
    Can you help me, please?
    Thanks in advance.
    Best regards
    Giampaolo

    Dear Ram,
    thank you for your answer , but my problem is still present. If I want to see the modify of the Customer/Vendor Master Data  for the Payment transaction Data  details, I don't try this information in the TCODE FD04.
    Do you know a different report or TCODE that I can use?
    Thank you in advance.
    Best Regards
    Giampaolo

Maybe you are looking for

  • Unable to open the Production Order

    Hi All, there is a message error while trying to open the Production Order using tcode CO03.  The message is "User AA is currently processiong order 123456". User AA is already log-off from the system, but still giving the same error message. How to

  • Photo does not appear on my blog

    Hello everyone, I'm a newbie in Photoshop and require your kind help! I recently created a blog dedicated to Baby Names: http://www.babynameslog.com/top-baby-names-2013/ I'm trying to show a 728x90 image under the main menu, I've created a nice (don'

  • Restricting ouput type for a purchase order

    Hi, I don't want an ouput type to be selected for a purchase order ( specific to vendor and plant combination ) by default. But, in my case a default message 'print output' is displayed. Please help how this can be disabled. Thanks Sravan

  • DBMS_METADATA package issue

    All, When I use the DBMS_METADATA.GET_DDL('INDEX',indexnm) package, I am getting the entire DB spcecifications as follows CREATE INDEX "T_OD"."XIE3OD_ORDER" ON "T_OD"."OD_ORDER" ("ORD_MNT_DTM") PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS ST

  • Change default value (200) of Max No of Hits for selection screen in WAD

    How do i change the default value of Maximum Number of Hits from 200 to 1000 for selection screen's find box in Web Application Designer . Thanks in Advance Points will be surely Rewarded