Want to update table S066

Hello Experts,
I want to update the infostructure S066 when the credit limit is under the limit.
For example my scenario is like this.
I have a customer X whose credit limit is 2000 EUR. When I create a Order with 1500 EUR, the credit exposure is not updated at all.
Could you please help me in this regard.
Thanks for your help in advance.
Waiting for your valuable suggestions.
Best Regards,
Vasanth M

Hi
In MV45afzz include
Use the EXIT "USEREXIT_SAVEDOCUMENT_PREPARE"
Pick the exact entry from s066
and Code to Update the S066 Table.
Thanks & Regards,
Prasad.

Similar Messages

  • How to update table in EJB QL

    Hi friends,
    Anybody tell me how to modify data in the table using EJB QL....
    I am using XDoclet,Weblogic,EJB,MySQL
    I want to update table data using EJB QL,Xdoclet...Anybody help me
    thanks in advance
    priya

    don't double post. You can edit posts you know, or add a reply with the additional information.
    http://forums.sun.com/thread.jspa?threadID=5417462&tstart=0

  • Update table problem

    Hello,
    I want to update table building_test from table buildings if name is null or if county_id or region_id is null or -1
    The below query works fine if my building_test table contains null values. if I add a test value with region or county -1, I get the error below.
    Note: table building are in a remote DB. I just make it simple to post it to the forum.
    Tha datatypes of the tables are OK.
    Oracle is 9i
    BEGIN
    FOR i IN (
    SELECT building_id, name, county_id, region_id
    FROM buildings
    WHERE building_id IN (SELECT building_id
    FROM building_test
    WHERE name IS NULL
    OR county_id IS NULL
    OR region_id IS NULL
    OR county_id = '-1'
    OR region_id = '-1'
    LOOP
    UPDATE building_test
    SET name = i.name
    WHERE building_id = i.building_id
    AND name IS NULL;
    UPDATE building_test
    SET county_id = i.county_id
    WHERE building_id = i.building_id
    AND county_id IS NULL
    OR county_id = -1;
    UPDATE building_test
    SET region_id = i.region_id
    WHERE building_id = i.building_id
    AND region_id IS NULL
    OR region_id = -1;
    END LOOP;
    END;
    Error starting at line 5 in command:
    Error report:
    ORA-01401: inserted value too large for column
    ORA-06512: at line 17
    01401. 00000 - "inserted value too large for column"
    *Cause:   
    *Action:
    Any help will be much appreciated.
    Thank you.

    it's not always clear, what AND and OR combinations really do:
    WHERE building_id = i.building_id
    AND county_id IS NULL
    OR county_id = -1;can mean
    WHERE (building_id = i.building_id AND county_id IS NULL) OR county_id IS NULL 
    *OR*
    WHERE building_id = i.building_id AND (county_id IS NULL OR county_id IS NULL)try with brackets and post the result.

  • Update table using merge or Update statement

    Hi All,
    We have oracle 10G R2 On windows...
    We have tables BROK_DEALER_MAP and DTRMIS_REPORT.
    create table BROK_DEALER_MAP
    SL_NO NUMBER,     
    BROK_DLR_CODE VARCHAR2(30),     
    EMP_TAG     VARCHAR2(30),
    REMARKS     VARCHAR2(60),
    CONS_CODE VARCHAR2(30),     
    BROK_DLR_NAME VARCHAR2(50),
    BROKER_TYPE VARCHAR2(30),
    BROK_DLR_0 VARCHAR2(30),
    CATG_DESC VARCHAR2(60),     
    Category VARCHAR2(30));
    desc DTRMIS_REPORT
    SL_NO
    POSTED_DATE
    ZONE
    AMC_REGION
    CITY
    BROK_DLR_CODE
    BROK_DLR_NAME
    SUB_BROKER
    B_TYPE
    FOLIO_NO
    INVESTOR_NAME
    TAX_NO
    INV_TAG
    SCHEME_CODE
    SCHEME_NAME
    SCH_CLASS
    TRXN_MODE
    CHN_TAG
    FP_COUNT
    FP_AMOUNT
    AP_COUNT
    AP_AMOUNT
    PUR_COUNT
    PUR_AMOUNT
    SIP_COUNT
    SIP_AMOUNT
    SI_COUNT
    SI_AMOUNT
    RED_COUNT
    RED_AMOUNT
    SO_COUNT
    SO_AMOUNT
    DR_COUNT
    DR_AMOUNT
    STP_COUNT
    STP_AMOUNT
    NET_SALES
    DISTRIBUTOR_TYPE
    SCHEME_TYPE
    FOCUS_PRODUCT
    RM_CODE
    RM_NAMEtable BROK_DEALER_MAP doesn't have any duplicate records.
    table DTRMIS_REPORT have more than 2 lacks duplicate records.
    Now i want to update table DTRMIS_REPORT (DISTRIBUTOR_TYPY COLUMN) With the values of BROK_DEALER_MAP (CATEGORY COLUMN).
    For that i have written merge statement like below
    merge into dtrmis_report a
    using brok_dealer_map b
    on (a.brok_dlr_code=b.cons_code)
    when matched then
    update set a.Distributor_type=b.category
    where a.brok_dlr_code=b.cons_code;IT's giving error saying ORA-30926: unable to get a stable set of rows in the source tables.
    How to update the table.
    Please help.

    Chanchal Wankhade wrote:
    IT's giving error saying ORA-30926: unable to get a stable set of rows in the source tables.That means there are duplicate records in your source table.
    Please post the output of the below
    select cons_code
    from brok_dealer_map
    group by cons_code
    having count(*) > 1;In case of duplicate CONS_CODE, you need to decide with which the target table should get updated
    And are you seriously giving a where condition in merge like you posted..?
    Edited by: jeneesh on Dec 19, 2012 9:56 AM

  • Updating table in production

    I am facing  issue in extracting data from 0TCT_DS22 . As per the solution in one of the threads i want to update table RSDDSTATOBJLEVEL . I am not able to maintain it in SM30 neither can i create an entry in SE16 . Any pointers how can i update this table in production ( Apart from doing it through an abap code)?

    Which system you are trying to do it?
    If it is production then it will be show a error like this. You can generate in DEV server and transport it to Production.
    You can try this : In RSA1 --> Transport connection --> Object changeability --> If table/structure category is given here then change it to "All Changeable". Lof off and login and try to generate. If it is not fiven here then you have to transport only.

  • Want to update data in a view based on multiple tables

    Hi
    I am facing a problem i want to update data in tables using a view. As that view is based on multiple tables so i am unable to update data. i came to know we can update table from view only if view is based on single table. so if anyone knows any alternative please let me know.
    Thanx
    Devinder

    Devinder,
    The table can be updated through a view based on multiple tables, if and only if the table is a "key preserved" table. Rather than explaining myself, i avoided the burden of typing by finding the material in Oracle Docs and pasting it for you :-)
    If you want a join view to be updatable, all of the following conditions must be
    true:
    1. The DML statement must affect only one table underlying the join.
    2. For an INSERT statement, the view must not be created WITH CHECK
    OPTION, and all columns into which values are inserted must come from a
    key-preserved table. A key-preserved table in one for which every primary
    key or unique key value in the base table is also unique in the join view.
    3. For an UPDATE statement, all columns updated must be extracted from a
    key-preserved table. If the view was created WITH CHECK OPTION, join
    columns and columns taken from tables that are referenced more than once
    in the view must be shielded from UPDATE.
    4. For a DELETE statement, the join can have one and only one key-preserved
    table. That table can appear more than once in the join, unless the view was
    created WITH CHECK OPTION.
    HTH
    Naveen

  • I want to update date field in oracle table using database adaptor

    Hi Guys,
    I want to update date in oracle table field which is 'DATE' type , but i am getting following error.
    Pure SQL Exception.
    Pure SQL Execute of update crp3apps.IFACE_SO_DATE_CHANGES set PROCESSED_DATE=? where CTRL_ID=? failed. Caused by java.sql.SQLException: ORA-01830: date format picture ends before converting entire input string
    The Pure SQL option is for border use cases only and provides simple yet minimal functionality. Possibly try the "Perform an operation on a table" option instead.
    </summary>
    </part>
    - <part name="detail">
    <detail>
    ORA-01830: date format picture ends before converting entire input string
    </detail>
    i am formated the date using following code and assigned to one variable.
    ora:formatDate(ora:getCurrentDateTime(),'dd-MMM-yyyy hh:mm:ss ')
    this is update query
    update crp3apps.IFACE_SO_DATE_CHANGES set PROCESSED_DATE=#date where CTRL_ID=#id
    Please provide solution.
    regards
    janardhan

    The thing is that XSLT often doesn't deliver the functionality required when it comes to times.
    You suggest appening "Z" to the time but this means that the time is now in UTC time. What if the system from where the date is being converted is running in NZ using local time? Other systems that recieve the date (and correctly handle the time zone) will now have a time that is out by a number of hours.
    You often can't ignore the time zone (drop the 'Z') as if you send the time to a system it has to either assume the time is local to it (which may not be the case... the other system coudl be in a different time zone) or assume the time is UTC (I think crossfire does this by default).
    Typically can't just append a time zone (e.g. +11:00) either as many places have daylight savings so the value to appended is variable (you then need some way of determining what the value is... either Java Embedding or a Service).
    As you mention it does depend on the use case but in many circumstances using Jaba Embedding, not as suggested above but with the appropriate Java.util.Calendar classes, is the best way to handle date and time in BPEL. Even still you need to ascertain the format of times external to the system and ensure you parse them correctly.
    ANd even if you do all this you can still run into problems. I've seen a real world example where two systems which both handled time zones correctly and had previously been working together for quite a while, satrted reporting different times. It turns out that only one of them had had the most recent Java Time Zone patches applied and there had been a change in the dates for daylight savings here (Australia). Be warned!

  • Want to update a column with  different column of same table

    I have a table TEST_CDR which is having 250 millions records also having partition by hash.
    there are two column in this table ID and CDR_ID want to update ID in CDR_ID but it take too much time like 24 hours or more.
    please suggest me a simple way.

    Hi,
    You can try this. but be careful about your backups and go through CTAS,nologging and parallel concepts...
    Please refer this link.
    http://www.dba-oracle.com/t_fast_batch_updates_ctas.htm
    http://www.dba-oracle.com/t_nologging_append.htm
    http://www.dba-oracle.com/t_efficient_update_sql_dml_tips.htm
    http://eriglen.blogspot.in/2011/08/ctas-create-table-as-select-with.html
    1.CTAS with nologging and parallel..
    SQL> create table test_cdr_1(id,cdr_id) nologging parallel as select id,id from test_cdr;
    2.rebuild indexes, triggers and constraints to test_cdr_1
    3.rename test_cdr to bkup_test_cdr;
    4.rename test_cdr_1 to test_cdr;
    Regards,
    ragunath.

  • I want to update SAP standard tables

    Hi,
    I want to update SAP tables using BAPI. can you please suggest me how can i do this and which BAPI i should use for that purpose. I want to update KNVV , FKKMAKO , FKKVKP table.

    Hello Sourabh
    I am not sure if there is a BAPI around for updating KNVV customer data. The appropriate function module would be SD_CUSTOMER_MAINTAIN_ALL.
    Regards,
      Uwe

  • Want to Update  po_distributions_all Table

    Hello All,
    I want to Update field Requisition Number on PO_DISTRIBUTIONS_ALL table. I Searched for API to Update PO Distributions in oracle metalink and Google also but i didnt found that.
    can anybody help me for this.
    (Working on R12)
    Thanks
    Ravi.

    Thanks Shree for your reply,
    I used that but it always showing NO DATA FOUND error, it is coming from package. I verified the code for proper values also, but it is not working.
    Thanks
    Ravi Raj.

  • I want to update the Custom table using the data available in ITAB.

    Hi,
    I want to updaste the Custom Table which is created by me (Ztable) using the data available in itab.(which i got from defferent standard tables)
    I want to update the custom table using the itab data How is it possible?
    Is any possible by using Modify ?
    DPK.

    example here
    modifying datbase table useing internal table
    advises before updating this datbase table plz lock that table to avoid incosistency
    write the logic for modifying
    Modify the database table as per new dunning procedure
    MODIFY fkkvkp FROM TABLE lt_fkkvkp .
    and finally unlock the table
    example
    *To lock table for further operations
    constants: lc_tabname TYPE rstable-tabname VALUE 'FKKVKP' . "FKKVKP
    CALL FUNCTION 'ENQUEUE_E_TABLE'
    EXPORTING
    tabname = lc_tabname
    EXCEPTIONS
    foreign_lock = 1
    system_failure = 2
    OTHERS = 3.
    IF sy-subrc EQ 0.
    To fetch all the contract accounts for customers of the segment
    Households/SME.
    PERFORM fetch_contract_accounts using lc_tabname .
    ENDIF. " IF sy-subrc EQ 0.
    *wrote the logic
    Modify the database table as per new dunning procedure from internal table
    MODIFY fkkvkp FROM TABLE lt_fkkvkp .
    *unlock the tbale
    CALL FUNCTION 'DEQUEUE_E_TABLE'
    EXPORTING
    TABNAME = uc_tabname .

  • I want to update enhancement category in ECC6 for Z-Table

    Hi,
    I am working in Upgrade project from 4.5B to ECC6. In Ecc6 I want to update Enhancement category for Z-Table but this facility is not avilable in 4.5B.
    Unless updating enhancement category for Z-Table then it is throughing runtime error.
    But Z-Table has some datas. My question is if update enhancement category and save and activate this Z-Table then is there any problem affect to that table data.
    Or any other problem will be arised ?
    Waiting for quick response.
    Best Regards,
    Padhy

    Not to Worry Dear.. enhancement catagory is like u want urr table to be enhanceable (i.e the no of fields can be increase , decrease or edited)
    so its just an catagory setting or configuration like do you want to allow others to change fields setting in your table.
    so actual proble may occur when u add, remove or edit fields list. (ofcourse when you have made it enhanceable)
    so if there is possability of data truncation then u will get error and you have to go to SE14 for Table adjustment
    No Rewards Plz..

  • I want to update the FND_FLEX_VALUES_TL table "DESCRIPTION" Column

    Hi,
    i want to update the description column in Fnd_Flex_Values_Tl Table for a specific value set id, but my question is my client is having two languages AR & US he wants the description of AR in Description of US so help me to update the description column as per the AR language for all accounts.
    select ffv.flex_value_set_id,
    ffv.flex_value_id,
    ffv.flex_value,
    ffvtl.flex_value_id,
    ffvtl.language,
    ffvtl.description
    from fnd_flex_values_copy ffv,
    fnd_flex_values_tl_copy ffvtl
    where ffv.FLEX_VALUE_ID=ffvtl.FLEX_VALUE_ID
    and ffv.flex_value_set_id='1007630'
    order by flex_value,language
    Regards,
    Pasha

    As expected...
    Isn't that message self-explanatory?
    You're updating a child record, and if you're updating the cild_table.parent_id then that parent_id has to exist in the parent_table.
    SQL> create table prnt(a varchar2(10) primary key);
    Table created.
    SQL> create table chld(a varchar2(10), b varchar2(10) references prnt (a));
    Table created.
    SQL> insert into prnt values('Parent 1');
    1 row created.
    SQL> insert into chld values('Child 1','Parent 1');
    1 row created.
    SQL> update chld set b = 'Parent 2';
    update chld set b = 'Parent 2'
    ERROR at line 1:
    ORA-02291: integrity constraint (INFO.SYS_C00311351) violated - parent key not found
    SQL> insert into prnt values('Parent 2');
    1 row created.
    SQL> update chld set b = 'Parent 2';
    1 row updated.

  • Issue in data migration of PO contract (Updating table A215)

    Hi  All,
    I doing data migration for PO contract throught BDC, I wanted to update the table A215,
    I can't see the field of A215 on PO contract transaction screen (i.e. Transaction ME33K ).
    Can anybody tell me how to load the data in A215 thorugh BDC.
    Regards,
    Sagar

    How is this A215 table maintained manually? Thru ME33K  or a different transaction like MEK1?
    you are saying you do BDC, are yoou using a SAP given report or did you record the maintenance transaction yourself in SHDB?

  • How to update a table of contents when the feature "update table of contents" is unavailable?

    Hello folks,
    I've been struggling all morning with this issue and am completely desperate.
    First, some info:
    - I am making a spanish versions of an english documents: everything in the original doc was then edited, including TOCs. What I got at first, was a first spanish document already filled with spanish content.
    - I was not the primary creative of the document I'm workin on and am unable to get in touch with whoever that can be.
    - My document is a 200 pages text only document, with 12 chapters and, at the beginning of each chapter, a specific TOC for that very chapter.
    - Inside each chapter, there are only Sections and Subsections, no other style. Those are the two levels in the TOCs.
    - There is also a General TOC at the beginning of the document: that one only shows the Chapter names and the page number where to locate them.
    My problem:
    - Somewhere along the way, from one doc to another, the TOCs stopped to update the page numbers automatically.
    - Now I have sections and subsections that are shown in one page (for instance 204) but they actually are on page 135.
    - When I try to update the TOCs, I stand on the TOC itself as I was told in many tutorials, but the "update table of contents" feature is unavailable, even in the main TOC at the very beginning of the doc.
    It is like if I wasn't standing in the actual TOC, but there is no actual TOC anywhere that I could refer to.
    What can I do? I am changing the wrong page numbers manually but, of course, that is not ideal... and it may become more and more tricky while I keep producing new documents each based on the previous one.
    Any help will be much appreciated.
    Warm regard from sunny Paris, France!
    Sasha

    You've just confused me.
    My understanding of how this is set up is that either:
    This is a book, and there is a master TOC that includes all book documents and a document-specific TOC in each component file, or
    This is a single file and there is one master TOC that includes all sections and a section-specific TOC that includes only the individual section.
    In the first case, I think you would want two TOC styles set up, one that includes the chapter heads (if I understood how you said this worked) for the for the master, and you would include all docs in the book when you generate it, and a second style for the individual chapters, with the subheadings you want to include.
    In the second case, it would be similar, but instead of only one style to cover the section TOCS, I think you would need to create a unique set of pargraph styles for the headings in each section (they can all be the same format, based one section, just with unique names), and then make a TOC style for each section that includes only the styles from that section.
    OK,  wait a sec. I just reread what you said: "Another thing: when the numbers are "linked" and updating well, they  display indide a little box. Not a text box, but a kind of little frame  around the numbers. That frame makes it imposible to delete just one  number: when the TOC says that Section 6.1 is in page 135, for example,  you cannot delete just the 5, it deletes, not just the 3 numbers, but  also the doted tab."
    I think these are NOT normal TOCs created by using Layout > TOC (but you could replace them with ones that are, if you set up your styles properly and the text you want to include is appearing on the pages). Those little boxes you mention sound like cross-references, which should update automatically without any intervention at all. Unfortunately, cross-refs can be flakey, especially if they point to another document. I'd open the cross-refs panel and see if you need to recreate a bunch of links.

Maybe you are looking for

  • How do I get pop ups to stop even with pop up blocker enabled?

    Hi there! I need help soooo badly Recently I have been getting all of these pop ups on my computer and they wont stop. My computer speed is still perfectly fine but the pop ups wont quit on my Safari and Google Chrome. I did download ClamXav app on t

  • Payroll

    hi folks, I am running  (ZH99CWTR0_THIRD_PARTY_NEW) third party YTD payment report for a particular employee for the period 11/12 to 11/18. As the report should give Current Amount, the previous amount and the difference. This cycle was already run f

  • Bluetooth stick for Windows Vista

    I have a bluetooth stick for windows xp but I have now Windows Vista. How can i install my software now that it works?

  • OC4J Instance Failed when installing the SSO against FMW OID 11g

    Hi All, We are facing an problem when installing the SSO against OID 11g. The error is OC4J Instance Failed. In Installer log it is showing Target Invocation Exception. Please anyone advise. Thanks in Advance. Vaasu.

  • [ATI open source driver, laptop] Screen not refreshing properly.

    Hi guys, I've been using ATI Catalyst driver and everything was working well until I decided to switch to open source driver. Now I have strange problem. My screen is not refreshing properly, I mean, for example I use Facebook and I decide to read so