Need a PLSQL API for update the oe_order_headers_all table

Hi all,
I need a PLSQL API for update the oe_order_headers_all table.
Anyone know please help me.
Regards,
M.Soundrapandian.

Use the Process Order API to update this table.
Note: 746787.1 - Process Order API In Order Management
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=746787.1
Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115omapi.zip
Oracle Integration Repository
http://irep.oracle.com

Similar Messages

  • Help needed in PL/SQL for updating the column for multiple records

    Hi,
    I am new to PL/SQL and need some help. What is the most effiecient way to update some field in a table as I may need to update thousands of records. I have a coulmn groupid can have multiple records tied to it. All the records attached to some groupid have a priority field also.
    How can I update the prorityfield value for all the groupids in a profiecient way. Here is a sample data
    GroupId     Priority
    1            1
    1            2
    1            3
    1            4
    1            5
    2            1
    2            2
    2            3
    3            1Here I have three groups 1, 2, 3. Now if any group contains only one record the priority remains same e.g. groupid=3 on top. If any group contains more than one record e.g. groupid=1 & 2 I want to re-arrange the priority fields e.g. If I want to update groupid=1 now if I change the priority of 2 to 5 (make it the last) I want to rearrange the remaing records priority i.e. if 2 becomes 5 as I have 5 rows for groupid=1 then 5 becomes 4, 4 becomes 3, 3 becomes 2 and 1 remains the same.
    Same wya if I want to make the priority 1 to 3 for groupid=2 then need 2 to become 1 and 3 to become 2 etc....
    Any help is appreciated.
    Thanks

    Hi,
    You don't need PL/SQL to do this (though you can put the following in PL/SQL if you want to):
    UPDATE     table_x
    SET     priority = CASE
                   WHEN  groupid     = 1
                   AND   priority = 2
                        THEN  5
                   WHEN  groupod     = 1
                   AND   priority     BETWEEN 3 AND 5
                        THEN  priority - 1
                   WHEN  groupid = 2
                   THEN
                        CASE
                             WHEN  prioity = 1
                             THEN  3
                             ELSE  priority - 1
                        END
                 END
    WHERE     groupId          IN (1, 2)
    AND     (     priority     BETWEEN 2 AND 5
         OR     groupid          = 2
         );There are lots of different techniques that can reduce your coidng: for example, the nested CASE statement used for groupid=2 above.
    You could do several smaller UPDATEs (for example, one just for groupid=1). Execution will be slower, but coding and testing will be faster.
    You could make the "magic numbers" 2 (for groupid=1) and 1 (for groupid=2) variables, even outside of PL/SQL.
    If you need more help, post the information that Satyaki requested.

  • Hi all, i need to create a one method in assistance class for updating the custom table.

    Req as follows : 
    1. i need to create one method in a assistance calss  for updating custom table .
    2. now i  have to pass the multiple entries to that table then inside the method based need to update the Ztable. based on this entries
    3. My internal table is having 2 fields ( Customernumber (key field) , Shiftloc ).(Multiple entries ex : 500)
       based on customernumber need to update the new shiftloc in my custom table.
    Can any one give some inputs please. i have doubt can we pass mupltiple entries (internal) as a importing parameter to the method?
    Cheers,
    Venu

    Hi rama,
    thank you for your promt reply.
    i have one more query. Here i need to update the only Shipt to adress for particular customer number.
    i have written the code as below. Please clarify this code will work for my requirement.
       method UPDATE_SHIPTO.
      data : Lt_contract type ty_update_shipto_t.
      data : ls_contract like line of  Lt_contract .
      REFRESH : Lt_contract.
      lt_contract[] = LT_DATA[].
      loop at lt_contract into ls_contract.
    *    update  Zcustom  SET ship_to_adress  = ls_contract-new_bp
                                 WHERE  cust_no = ls_contract-custnum
        CLEAR : ls_contract.
      ENDLOOP.
    COMMIT WORK.
    endmethod.

  • Bapi for Updating the confirmation table(EKES)

    Hi,
    Could anyone let me know the BAPI to update the Vendor confirmation table EKES. And also the parameters to be passed to it.
    Thanks.

    Suman:
    After your call to FM ME_UPDATE_DOCUMENT is successful, please perform a explicit COMMIT.
    Umair:
    Use the FM ME_CONFIRMATION_UPDATE to update EKES table.
        CALL FUNCTION 'ME_CONFIRMATION_UPDATE'
          EXPORTING
            i_ebeln = ekko-ebeln
          TABLES
            xekes   = xekes
            yekes   = yekes.
    "yekes contains the EKES table in DB
    "xekes contains the changed values for EKES table
    Hope this helps. Reward points if helpful.
    Thanks
    Balaji
    Edited by: Balaji Ganapathiraman on Mar 20, 2008 1:10 PM

  • Re: FM for updating the ADR6 table

    Hi,
    In ME21N, I add an email to the vendor PO.
    Can someone tell me where can I find the FM that updates this into table ADR6?
    Thanks
    Bye

    Hello,
    Please use the below function Module for updating ADR6.
      1. ADDR_SAVE_INTERN
    Reward points if helps.
    Thanks,
    Krishnakumar

  • API for decrypt the encrypted credit card details

    Hi Friends,
    Is there any PLSQL API for decrypt the encrypted credit card detail in oracle application R12.
    Thanks,

    First, to prevent this from happening again, turn off "In App purchases" in the Restrictions settings on your iPad. You may also want to turn off the ability to install apps, to prevent purchases in case the child gets hold of your iTunes Store account information, and set the password to be required immediately. For more information, see:
    http://support.apple.com/kb/HT4213
    As to a refund, that's not automatic since the terms of sale for the iTunes Store state that all sales are final. You can contact the iTunes Store, explain the reason for your request, and ask, though:
    http://www.apple.com/support/itunes/contact.html
    They're usually pretty lenient in the case of inadvertent purchases by children. No guarantees, though, just as if your child was in a store and ate a bunch of food (in other words, something that can't just be returned).
    Good luck.

  • API for Updating ASO.ASO_PAYMENTS and OE_ORDER_HEADERS_ALL

    Hi
    I want the API for Updating ASO_PAYMENTS and OE_ORDER_HEADERS_ALL to update the credit card holder name field.
    Plz help me .

    use OE_ORDER_PUB to update OE_ORDER_HEADERS_ALL table

  • I am afraid for updating the os of my iphone4s to 7.0.3. right now i m on 7.0.2 need advice do i update or not ?????

    I am afraid for updating the os of my iphone4s to 7.0.3. right now i m on 7.0.2 need advice do i update or not ?????

    Why would you not update? iOS 7.0.3 is mostly bug fixes. Read here:
    http://support.apple.com/kb/DL1691

  • In OWB I need to update the target table with same field for match/update

    In OWb I am trying to update the target table with the match and the update on the same field can this be done. I am getting a error match merge error saying you cannot update and match on the same field. But in SQl my select is
    Update table
    set irf = 0
    where irf = 1
    and process_id = 'TEST'
    Hwo do i do this in OWB.

    table name is temp
    fields in the table
    field1 number
    field2 varchar2(10)
    field3 date
    values in the table are example
    0,'TEST',05/29/2009
    9,'TEST',05/29/2009
    0,'TEST1',03/01/2009
    1,'TEST1',03/01/2009
    In the above example I need to update the first row field1 to 1.
    Update temp
    set field1 = 1
    where field1 = 0
    and field2 = 'TEST'
    when I run this I just need one row to be updated and it should look like this below
    1,'TEST',05/29/2009
    9,'TEST',05/29/2009
    0,'TEST1',03/01/2009
    1,'TEST1',03/01/2009
    But when I run my mapping I am getting the rows like below the second row with 9 also is getting updated to 1.
    1,'TEST',05/29/2009
    1,'TEST',05/29/2009
    0,'TEST1',03/01/2009
    1,'TEST1',03/01/2009

  • API for updating Sales REP

    Hi
    I need to update sales rep ID for Credit Transaction Lines.
    Please can you let me know which API to use.
    Thanks and regards
    VJ

    Use process order api to update the sales rep.

  • Need exit or Badi for updating Warranty data in IE02 while Prod Order conf.

    Hi All,
    I need a user exit or Badi for updating the Warranty data in IE02(Equipment Master) while production order confirmation(CO15)?
    I need to update the Begin guarantee date from Production order and warranty master type in IE02 while confirming the production order.
    Thanks,
    Sudha

    Hi,
    Are you saying first create notification,then service order
    and then Sales order.
    But the requirement is create notification then sales order and when you go in va02 and while modifying the sales order and create service order.
    Thanks & regards,
    chetan.

  • Creation of function module for updating the ztable

    Hi,
    I am sending the requirement for ceation of function module for updating the ztable.
    Requirement----
    Table Updation rule (New record)
    While creating a new record the calling function will export the following to the table handling function.
    Table field     Probable Values
    ZORDERNO------->     Sales Delivery no in case of sales orderShipment no in case of transfer order
    UNAME----
    >     User ID
    ZORDTYPE----
    >     SALEOR in case of sales orderTRANSF in case of transfer order
    ZREFDOCNO----
    >Sales Order no in case of sales orderPurchase Order no in case of transfer order
    ZREFDOCNO1----
    >Delivery no in case of transfer order
    The table handling function will calculate the following fields
    Table field     Probable Values
    ZREQNO----
    >Running serial number (incremented by 1 for each new record)
    ZREQDAT     -
    >System date
    ZREQTIME----
    >     System time
    ZSTATUS----
    >OPEN (for all new records)
    Before inserting a new record the table handling function will always check if a previous record exists for the same order / shipment no. if record exists the function will not insert a new record.
    Table Updation rule (Status Update)
    While updating a record the calling function will export the following to the table handling function.
    Table field     Probable Values
    ZORDERNO----
    >Sales order no in case of sales orderShipment no in case of transfer order
    ZSTATUS----
    >CANCEL if cancellation successfulERROR if cancellation not possible (order already processed)
    The table handling function will calculate the following fields
    Table field     Probable Values
    ZSTATDAT----
    >System date
    ZSTATTIME----
    >     System time

    Do you have to create/update new record in Ztable through Function Module ?
    or you need to write FM only for validation?
    Any how, you need to create a Program with Input values for the fields of Ztable, and for rest of fields the Value can be calculated based on input as per your requirement.
    Let me know clearly what exactly u need ?
    Regards,
    Kiran

  • API for updating pay_people_groups table..

    Hi,
    Is there any API for updating pay_people_groups table. I know we can do it using hr_assignment_api.update_emp_asg_criteria but this API updates the assignement with the new pay_group_id. I want to know is there is any API which can only update the pay_people_groups and not the assignment.
    Regards,
    Shabana.

    Hi,
    Technically you want update values for people group. If you remember At the time of definition of people group you created value set and attached people group flex field.
    People group are created on the basis of combination of segments. So you have to update only values not people group.
    I doubt oracle provides API to update key flex field.
    You may get API to update values try out that option.
    Hope this helps.
    Sathish

  • API for Updating Draft Revenue once it is generated

    Hello All,
    Is anyone aware of any Oracle standard API to update the Draft Revenue once it is generated?
    It would be really helpful if anyone could please share the name of the API.
    Thanks & Regards
    Anuj

    After going to draft revenue lines -> details, there is GL account information. I want to change that GL account. Is there any API avialable?
    Thanks for your help.
    Thanks & Regards
    Anuj

  • Rfc enabled function module for the updating the database table

    Hi,
            I need one rfc enabled function module for the updating the database table from the legacy system.currently i am using the rfc_read_table to read the database table.similarly i need for the update.

    Hi
    I believe you need to create one by yourself
    Max

Maybe you are looking for

  • Report Links in OBIEE 11g Dashboard not displayed correctly

    In the Dashboard pages the Report Links for Export are not displayed correctly . Instead of showing the multiple options for export/download it shows just text.

  • Concept of circular interpolation

    Hi, I'm interested in knowing the concepts / formulas / algorithms invovled in circular interpolation. Suppose I give the position where the I have to reach in a 2-D plane and the radius of the circular arc, then the controller feeds the X-axis drive

  • Transfer of all files in a directory tree using FTP adapter?

    Hi, I'm looking for a solution to transfer a whole directory tree, including the content, from one location to another using the FTP adapter. Is there an easy way to accomplish this? Any help would be appreciated. Thanks Sigrid

  • Movie not listed in Movies but is in Recently Added.

    I added a movie into my iTunes but it didn't show in the movies tab, but showed in the recently added. Any ideas?

  • A question in the query

    Hi, i would lke to display 2 rows and 2 columns in the query. 2 rows: material nr and year 2 columns: Total amount for whole year and a quarter of this year eg.      material nr    year      amount for 2010    amount for 4. quarter 2010            00