Script to update vendor inactive date and invoice match option

As part of a review of our precure to pay process in 11.5.10, we have to make a change to a large number of suppliers (vendors).
We want to disable about 7000 suppliers by setting the inactive date and for the remaining suppliers change the invoice match option from receipt to purchase order
There does not appear to be any api that I can use to make these changes.
Does anyone have any experience in using a baisc update script to change the data.
Scripts would be something like:
Inactivate suppliers
update po_vendors
set end_date_active = sysdate
where vendor_id in <list of vendors to update>
update po_vendor_sites_all
set inactive_date = sysdate
where vendor_site_id = <list of vendors sites to update>
Change invoice match option
update po_vendors
set match_option = 'P'
where vendor_id in <list of vendors to update>
update po_vendor_sites_all
set match_option ='P'
where vendor_site_id = <list of vendors sites to update>

Hello.
In your place i would not have the guts to use SQL for a task like that. You know what Oracle says about using tools to modify data in the database. They always say that it is not supported and to use forms to modify the data. So I would suggest you to use a tool like DataLoad to query and modify your suppliers.
Octavio

Similar Messages

  • Payment terms in Vendor Master data and purchasing info record

    Hi, all, I met one trouble. While I create Purchase Order. In the header item, payment terms is automatically pop up from the data maintaining the vendor master data or purchasing info record if there is difference payment terms between in vendor master data and in purchasing info record. What happend?
    Sometimes, When you create purchase order, payment terms is not automatically pop up even you maintained in the vendor master data or purchasing info record. Why? Is it meaning that I can manually to input payment terms while create each purchase order which can be difference data with vendor master data or purchase info record?
    Thank you very much in advance,

    Hi,
    The payment terms is usually defaulted from either vendor master or purchasing master data record such as contract/outline agreement.  Unless it is set through configuration that the payment terms be set as mandatory, any failure to maintain payment terms won't stop you from posting your PO as this information will only be useful during invoice receipt maintenance.  Having said that if you are setting up your system with discount condition type as part of your PO pricing schema then it is necessary that the payment terms shall be maintained during PO creation.
    Cheers,
    HT

  • BAPI/function module to create/update vendor master data

    Hi
       We are on ECC 50 and have a need to update vendor master data through a programatic interface ( non-dialog ) with ABAP. What is a good function module that can be used to create/update vendor master data - I looked at BAPI_VENDOR_CREATE and did not find any input interfaces that can be passed to this BAPI.
    Previous experiences with the right BAPI for this purpose that can be shared is appreciated. <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Feb 26, 2008 5:58 PM

    Hi Kiran,
    If you want to load the vendor data into sap its better to go with LSMW batch input program.
    object 0040
    method 0001
    program name RFBIKR00
    Program type B
    this would be a good choice. Recently i did the same.

  • PO creation Date and Invoice creation Date

    Hi,
    Can any one help me regarding which table I can look for PO creation date and Invoice creation date. I require these fields for my reporting requirement.
    Thanks in advance,
    Arvind.

    Thanks for your response Bala.
    I got the Table which I require. I have one more question on this.
    Can you tell me Invoice Creation Date is RBKP-BLDAT(Document Date in Document) or RBKP-BUDAT(Posting Date in the Document) and PO creation Date is EKKO-AEDAT(Date on which the record was created) or EKKO-BEDAT(Document Date in Document).
    Points already rewarded.

  • Difference between doc date,posting date and invoice date

    hi bw guys
    can someone give a brief on the difference between doc date,posting date and invoice date.and the invidual definitions
    thank you

    Hi,
    Posting Date: Date which is used when entering the document in Financial Accounting or Controlling. The posting date can differ from both the entry date and the doc date.
    Document Date: The document date is the date on which the original document was issued. Ex: Inv date, Bill date etc.,
    Invoice Date : Usually the date when goods are shipped. Payment dates are set relative to the invoice date.
    -Vikram

  • Auto mail to vendor after GRN and Invoicing

    I need to work for my client in MM who needs a automail to vendor after GRN and Invoicing , kindly help  to know the procedure for Auto mail generation to Vendor or a work flow so that i can work with ABAP team just needed a flow.

    For Mail to Vendor after MIRO transaction, Please proceed as follows
    Go to NACE t code,
    Select MR for Invoice verification
    Create New output type by copying Invoice print out put type and set transmission medium 5 for external send
    Assign Program, processing routines. Set partner function VN-Vendor
    Maintain new output type to Message schema MR0002- MM-LIV- Message Determination.
    With the hep of basis do setting in SCOT tcode
    Create condition record in NACE for this output type
    You can send e-mail by MR90 tcode
    For Mail to Vendor after MIGO transaction,
    i think you have to go for the custom development since SAP don't have functionality of GR message to external send
    You may use badi- MB_DOCUMENT_BADI

  • Diff bet invoice date and Invoices list date

    Hello Experts.
    Good Morning to all.
    1) what is the difference between invoice date and invoicing list dates, please telltheir signigficance and  why they needed in customer master billing tab.
    2)what is the use of the field Payment guar proced field.what actully is its purpose.
    3)Subsequent invoice processing:- It indicates if the invoices for manual
    post processing should be printed out.If the business wants to post invoices manually(not
    by system automatically) that invoice can be printed out.
    In the above sentence what does manual posting means and what is automatic posting means?
    And tell me is there will be any need for this field in the real time , if so , then in which case?
    Thank you for all the replies..

    Dear SD Beginner,
    These fields will be used to assign the calendars that determines the schedule of billing dates and invoice list for the customer.
    Invoice dates (calendar identification)
    Identifies the calendar that determines the schedule of billing dates for the customer.
    Use
    If, for example, a customer wants to consolidate the invoices you send out, you can predefine the billing schedule in a calendar in the system. During billing, the system automatically proposes the appropriate billing date from the calendar.
    Procedure
    The system proposes the billing schedule from the customer master record of the payer. You can change the value manually in the sales document.
    Invoice list Dates (calendar identification)
    Identifies the customer's factory calendar that is used during the processing of invoice lists.
    Use
    An invoice list is a list of invoices (single or collective) that you create for the customer either periodically or on predefined dates. The periods and dates are defined in the customer's factory calendar. Typically, the recipient of an invoice list takes on the responsibility for collecting payments from numerous individual customers and receives a factoring or del credere discount for the service.
    Procedure
    If you want to create invoice lists for the customer, you must enter an identifier for a predefined factory calendar.
    Requirements
    You must first define a factory calendar for the customer either in Customizing for Sales or as part of the master data for Sales (Menu path: Logistics -> Sales & distribution -> Master data -> Others -> Billing schedules).
    I hope this will help you,
    Regards,
    Murali.

  • After the last iPhone 5 update, the calendar date do not match the respective weekday. i.e. November 1st 2013 is marked as Saturday on the iphone.

    After the last iPhone 5 update, the calendar date do not match the respective weekday. i.e. November 1st 2013 is marked as Saturday on the iphone.

    I have this exact same issue!
    I was on 2.0.1 running fine until late last week, noticed emails would not show up unless I had opened them in outlook. I thought I ran into a bug so I upgraded to 2.0.2. Now I can sync my email if outlook had them opened previously, but no calendar or contacts at all. I don't think my exchange admins will move me to another server, any other ideas?
    I love my iphone but if these features don't work I can't use it. I would appreciate any ideas.

  • Invoice match option on PO to Default to "PO"

    Can someone tell me how to get the Invoice match option on the PO shipments more tab to be set to default to "PO" currently it is defaulting to Receipt.
    Thanks

    I know the value is stored at the vendor level, but can it be overridden at the line item level on the PO?
    For example, you are purchasing 10 widgets which will be delivered & you want to pay for them based on receipt, however,
    the vendor is charging you a set up fee because you have special requirements. This setup fee is a 2-way match, and will need to
    be paid by invoice. Can this be done on one PO?

  • PO Releases 'invoice match option'

    Hi,
    The PO has one match option at the header and a different match option at the release line. This is causing an inability to match the invoice in Payables until it gets correctd.
    How do i check where this invoice match option is defaulting from?
    Is it from the supplier level or the Po header level.
    and how can this problem be corrected?
    Any ideas?
    Thanks,
    Ashwathy

    Hi,
    I think you are mixing the two things,well i think anyway. Match approval level and match invoice options are independent. You can set the match approval level as default in the setup to say 2-way. Assuming you have done that when you enter the shipment details you can select the match invoice option to PO or to receipt.
    Now match approval and match invoice are part of the optional information on the shipments. SO if you do not enter the match approval the default which is set to 2-way will be picked up.If you want match invoice to be PO, i suggest you don't enter any value for it, if the match invoice is NULL it will be displayed as PO so i am assuming it will be default unless you change it to receipt.
    I think this should resolve your issue.
    Regards,
    Utsav.

  • Purchase Orders - Invoice Matching Option=PO with 4 way matching

    Hi
    i am new to AP and would like to clarify the following
    what does the following combination mean ?
    Invoice matching option = PO and 4 way matching.
    Does it mean: invoice is matched against PO with out giving consideration for inspection and Delivery quantites ? because with 4 way matching, inspection, delivery are also matched, isnt it ?
    kindly can someone clarify this confusion ?
    Thanks in Advance

    Hi ,
    4 way matching should be with Receipt only , not with PO.
    pl.refer following link to clear your doubts.
    http://oracleappsyashrajvarsity.blogspot.in/2009/04/ramification-of-invoice-match-to-po-and.html
    http://docs.oracle.com/cd/A60725_05/html/comnls/us/ap/point04.htm
    HTH
    Sanjay

  • Invoice Match Option for PO in iSupplier Portal

    What should be the invoice match option for POs transmitting through iSupplier Portal?

    Pl do not post duplicates - Invoice Match Option for PO in iSupplier Portal

  • Navigation for invoice match option

    Hi Members,
    Can any one let me know the navigation for "Invoice Match Option" for the purchase order shipment.
    I want to set the invoice match option for a supplier site to "Receipt".

    Hi
    Navigation for changing Invoice match Option
    Financial Option-> Supplier Entry (Tab)
    In Supplier Entry Tab Change Invoice Match Option: To Receipt
    Thanking You
    Sunil

  • SUS POs update with Goods Receipts and Invoices Information

    Hi SRM Experts,
    We have a SRM - SUS - R/3 landscape.
    1. We create POs in SRM (extended classic scenario) and transfer them to R/3 (via RFC) and to SUS (via XI – Interfaces PurchaseOrderRequest_Out and PurchaseOrderChangeRequest_Out).
    2. We post Goods Receipts into SRM (or alternatively into R/3).
    3. We post Invoices into R/3.
    Is it possible to update SUS POs with Goods Receipts and Invoices Information?
    If yes, what do we have to do to update this information into SUS POs?
    Thank you very much and kind regards,
    Marco.

    Hi Marco,
    you want to update SUS POs with GR / IV data?
    In a SUS environment each document counts as an own document and needs to
    be customized. I am not sure about understanding your requirement.
    Using the SUS-MM scenario in a classic environment enables the exchange of
    documents for PO / GR / IV in a "ping-pong" mode. SUS always needs a document,
    on which the next action can be based on.
    Thanks,
    Claudia

  • To update Vendor master data

    I have 4300 records in vendor master data LFA1. I have to update  industry code corresponding to each vendor .
    Can anyone suggest me how can i  do it ?
    Is there any t-code availaible to do it. So i can make BDC program to do this.
    Help me on this ...
    << Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
    Edited by: Rob Burbank on Jun 24, 2011 4:20 PM

    Hey XK02 is for Vendor Master change.
    Make sure if you write BDC check the flag No BatchInput in SHDB recording.
    Or else Use the MASS transaction for doing so.
    Since you want to change only one field data LSMW is also simple way to do it.
    Hope this Helps,
    Regards,
    Bhargav

Maybe you are looking for

  • Time Machine and Sharing a Laptop

    My wife and I each have a MacBookPro. Recently, I bought a new one, so now my old one is our spare. We would like to use it as a spare for each of us, so we can quickly backup our stuff to the spare computer while our main one is in for repairs. We b

  • Power of File Naming during import

    Can you append the HH (Hour) MM (Minute) SS (Second) that the photo was shot to the name while importing? I have read that Aperture will not allow files to be renamed after in the Library to follow along with being non destructive. However I do not s

  • Portable Home Directories - Migrating from a PowerBook to MacBook Pro

    On my Powerbook, I'm using one account as PHD. Now, I bought a new MacBook Pro and at the initial setup, I transferred all data from the old Powerbook to the new MacBook Pro, including accounts. When I now login the first time to the Mac OS X Server

  • How to query in two tables

    Hi all How to query in two different tables? Should i use the following SET_BLOCK_PROPERTY('ins1', ONETIME_WHERE, 'serial = ''' || :GLOBAL.CODE || ''''); this is working but for one table if i want for both tables and and it display the related infor

  • My first PC build for video editing purposes

    I have done some research into building my own video editing PC. I want to spend about 800 pounds. I will list some of the components I have so far. Any suggestion would be welcomed and appreciated. ASRock Z77 Extreme6 Intel Z77 (Socket 1155) Motherb