To replace values of one of the field in the database table

How to replace values of one of the field in the database table with a new values? Pls help to solve

Hi
You can use the UPDATE command to update one of the field value in a table
see the UPDATE syntax and use it
but in real time you should not do like this
Regards
Anji

Similar Messages

  • Do you know of a standard tool to compare the fields of 2 database tables?

    do you know of a standard tool to compare the fields of 2 database tables? please note i dont want to compare data just the fields.
    ~Suresh

    Hi,
    I am not aware any standard tool but you can write custom report to use FM DDIF_FIELDINFO_GET to get fields information of SAP database table.
    Call the above FM twice in order to get field names for two different database tables. Then compare the results (table parameter DFIES_TAB) to find out the differences of field names.
    Hope this will help ...
    Regards,
    Ferry Lianto

  • How to Find the Data Type of the Field In a Database Table

    Hi Experts,
    I'm currently working on a program which needs to find out the data type of the given field in a database table. In addition to accessing DD03L directly, is there any other workaround such as function module to help me achieve this? It would be helpful if a demo example could be provided.
    Thanks a lot.

    Hi,
    Use this..
    DESCRIBE FIELD dobj  TYPE typ.
    write typ.
    type will contain the data type of the object.
    and check this thread also....
    Re: How to get datatype of fields in dynamic structures
    Cheers,
    Simha.
    Reward all the helpful answers..

  • I have to validate the field enter in that table  values is enter in the ra

    i have one table field with data
    1. <=0.5
    2. <=1
    3.textsfsfs
    4. >=2 like that
    i have to validate the field enter in that table  values is enter in the range of the above field.
    can you help me how to validate
    ex:
    if wa-upper =  wa2-sumplus  here i have to check the upper and lowe values
    if the user enter in between and eq based on the i have to give erro message.
    Please help me the same.
    Thanks
    Ramkumar

    Hi Lekha,
    Thank you this problem was solve.
    we did the this validation in back end insted of front end.
    i passed the table data in to ZFM there we are validating and giving the error message.
    thank you for helping me all the time.
    ONE problem:
    LV_TEXT is the context attribut containe type string.
    i amgetting the values in to LV_TEXT attribut.
    LV_TEXT = nkafjkafkafhkafksfkak<b>#</b>bshfsafkasfkasfkas.
    i wanto to split this and will get the before <b>#</b> values in to other other node workarea LS_dis_new.
    this LS_DIS_NEW i have to modify with table LT_DIS_NEW.
    i used the code : Split wa at '#' into table LT_DIS_NEW.
    this is not working.
    please help me the same.
    Thanks
    Ramkumar

  • How to set the default values of the field of the context.

    Hi Experts ,
    I want to set the default value of the field of the context.
    Where and how this declaration should be done.
    Thanks in Advance.

    In the context tab of the view. Select the attribute for which you want to set the default value.it will show the properties at the bottom. set the Default value property to the value which you want to set as the default value.
    Regards
    Naresh

  • How does the value filled in Appointment Date field reflect in IE_SHIPMENTSTATUS table?

    Hi Team,
    Just wanted to know : How does the value filled in Appointment Date field reflect in IE_SHIPMENTSTATUS table in OTM.
    Please help.
    Regards,
    John

    Sorry, wrong forum: created in ABAP forum instead.

  • Refurbished iPod touch 3rd gen won't start.  Just got it today to replace my broken one. It freezes at the screen with the apple logo, then flashes off and tries to restart again. Help,

    Refurbished iPod touch 3rd gen won't start.  Just got it today to replace my broken one. It freezes at the screen with the apple logo, then flashes off and tries to restart again. Help!

    I have tried holding the power home button but all that does is turn it off. When I try to start it again it goes into the same loop.

  • How to hide the field from the view in the webdynpro application?

    Hi Gurus,
    I got a requirement where in which ,default layout has the field name Time.......To......... which is (2 input box ) and one lable assigned to the container.........
    Now my requirement is to hide this field from the layout for all cases of leave......(all types of leave)....
    I got a few inputs from forum that we can achieve this by implementing the following steps..........
    Create In context => Value attribute => Say Visibility
    Go to its properties
    Select com.sap.ide.webdynpro.uielementdefinitions.Visibility
    In View Layout
    Select UI Element Set Visible property to this context variable Visibility.
    In wdDoModifyView() You can set this property to false
    wdContext.currentContextElement().setVisibility(false);
    Can you people tell me where to create the value attribute........
    In the view context or in the component context...........
    and field that am talking about is assign to the container you want me to assign this context variable property to all ......Like to input box ,label and the container..........
    Please calrify this ASAP...........
    Thanks in Advance,
    Dharani

    Hi Manoj......
    Hi Murutuza,
    As per your guidelines I have created the value attribute in View context (which has the field..... which needs to be hide)inside the value node say FieldVisibility.......and attribute name OldTimeDuration......and I set this value with uidefeneitions Visibility .......
    and I bind this vaule with the field property visible(Time.......To..........)which I need to hide...........
    Now in the view implementation tab ..........I have coded in the doinit method(since my requirement to hide the field from the layout in all cases).........
    wdContext.currentFieldVisibilityElement().setOldTimeDuration(WDVisibility.NONE);
    But if I deploy the application and see still am getting the same field dispalying in the screen.........
    I even tried putting this code in wdmodifyview method.........same results........
    Kindly tell me how to hide the field permenantly from the screen............(without any conditions.)
    Thanks in Advance,
    Dharani

  • Extracting Values of a Field from a Database Table in SAP ECC System

    Hi,
    I downloaded Extracting Values of a Field from a Database Table in SAP ECC System Using MII 12.0
    senario from sdn. I'm trying to do that senario in MII 12.05. But I have problem with section 6 in page 7 (you can supply senario from sdn)
    "6- Under the loop of Repeater, use action u2018Rowu2019 to append just the string part of the WA which will display only values for field u2018Batchu2019"
    I did not find WA elemen in Output element of Repeater_0
    How can I create WA element?
    Thanks.

    Cemil,
    Set up a SAP JCo Interface action block.  Use the RFC name RFC_READ_TABLE.
    In the link editor map the table to "MARA", set RowCount to something small (20 is good sample size) and create an xml transaction property named FIELDS and copy the following into it:
    <?xml version="1.0" encoding="UTF-8"?><FIELDS>
          <item>
            <FIELDNAME>MATNR</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>MTART</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>BSTME</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>XCHPF</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>DATAB</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
        </FIELDS>
    Then link the Transaction.FIELDS to SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/TABLES/FIELDS}.  You may run into problems with two other fields and optionally they can be removed (set link type to remove xml).  I usually remove them initially for testing.  The two fields are:
    SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/INPUT/NO_DATA}
    SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/INPUT/DELIMITER} (or you can set this to something like a semicolon,";" or tilda,"~".  I find it easier to caclulate position by length, but that is my own idiosyncrasy.)
    Once you get this one working, we can explore how to do filtering on the dataset.  Your output should be something like this:
    <?xml version="1.0" encoding="utf-8"?>
    <RFC_READ_TABLE>
      <INPUT>
        <DELIMITER />
        <NO_DATA />
        <QUERY_TABLE>MARA</QUERY_TABLE>
        <ROWCOUNT>20</ROWCOUNT>
        <ROWSKIPS>0</ROWSKIPS>
      </INPUT>
      <TABLES>
        <DATA>
          <item>
            <WA>000000000000000023ROH 00000000</WA>
          </item>
          <item>
            <WA>000000000000000038HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000043HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000058HIBE 00000000</WA>
          </item>
          <item>
            <WA>000000000000000059HIBE 00000000</WA>
          </item>
          <item>
            <WA>000000000000000068FHMI 00000000</WA>
          </item>
          <item>
            <WA>000000000000000078DIEN 00000000</WA>
          </item>
          <item>
            <WA>000000000000000088FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000089FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000098HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000170NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000178NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000188NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000288HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000358HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000359HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000521HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000578FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000597HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000598VERP 00000000</WA>
          </item>
        </DATA>
        <FIELDS>
          <item>
            <FIELDNAME>MATNR</FIELDNAME>
            <OFFSET>000000</OFFSET>
            <LENGTH>000018</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Material Number</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>MTART</FIELDNAME>
            <OFFSET>000018</OFFSET>
            <LENGTH>000004</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Material Type</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>BSTME</FIELDNAME>
            <OFFSET>000022</OFFSET>
            <LENGTH>000003</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Purchase Order Unit of Measure</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>XCHPF</FIELDNAME>
            <OFFSET>000025</OFFSET>
            <LENGTH>000001</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Batch management requirement indicator</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>DATAB</FIELDNAME>
            <OFFSET>000026</OFFSET>
            <LENGTH>000008</LENGTH>
            <TYPE>D</TYPE>
            <FIELDTEXT>Valid-From Date</FIELDTEXT>
          </item>
        </FIELDS>
        <OPTIONS />
      </TABLES>
    </RFC_READ_TABLE>
    Add a repeater sourced on:
    SAP_JCo_Interface_0.Response{/RFC_READ_TABLE/TABLES/DATA/item}
    Link your repeater output to a tracer with this:
    Repeater_0.Output{/item/WA}
    What you will see in each tracer message is a single line of data with all the fields contents concatenated together.  You can look up what each field in the string represents by the length of the field as returned in the Response segment of the RFC_READ_TABLE rfc.  Then you can parse out the data you are interested in.
    Give this a try and let me know how you succeeded.
    By the way, I could not find the scenario you referred to.  Can you post a link?
    Regards,
    Mike
    Edited by: Michael Appleby on Jan 12, 2009 5:16 PM

  • OVS - how to change the position of the fields in the OVS search criteria

    Hi,
    I have an OVS search screen where 4 search criterias are  there.Based on the search criteria , the values will be papulated in the OVS screen.
    Now I have to change the position of the fields in the search criteria.Means if the Maximum field (one of the search criteria) is in the first position,I need to put it in the last position.I have ro change the position of the search criteria field and not the result fields.
    Please suggest me how to do that.
    Regards
    -Sandip

    Hi Sandeep,
                      please go through this article for customizing Value Help:
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c6132f-4ea3-2b10-4d8f-e68d2e96113d]
    Thanks and Regards

  • I need find the fields to the work plan

    I need find the fields to the work plan customization of notification of approval of work plan
    I'm doing a customization in work plan, in notification of work plan
    The customer need some information in notification, but the developer not is finding some fields, i need for help to find this fields in table of project management.
    I need of one select to pick all information necessary what the customer need.
    The fields are:
    Physical Advancement general contractor
    Planned-Baseline Cost Variance
    Scheduled Finish - in days
    Baseline Finish - in days
    Scheduled-Baseline Finish Variance - in day
    show the difference between the values of the work plan submitted and the baseline

    Hi;
    Please check below and see its helpful:
    Workflow customization
    Re: Workflow Customization
    Also check:
    Oracle Workflow Best Practices Release 12 and Release 11i [ID 453137.1]
    Oracle® W ork?ow Administrator ’ s Guide
    http://download.oracle.com/docs/cd/B19306_01/workflow.102/b15852.pdf
    Oracle Workflow Developer's Guide
    http://download.oracle.com/docs/cd/B19306_01/workflow.102/b15853/T361836T362168.htm
    Regard
    Helios

  • Modelling the fields in the cube from different source system.......

    Hi,
    I need to create one query on the cube.
    User want some of the fields in the query which are present in diffrent source system , rest of the fields are present in the cube.
    These are master data fields ( 7 fields in total) from other source system.
    Cube gets data from one ODS.
    some steps I need to do are :
    1) create new source system
    2) Create corresponding objects in BW.
    3) Model the things in ODS and cube
    Can somebody let me know what is the best way/steps to model such scenario.
    Thanks, Jeetu

    Hi,
    Replicate both the data sources to BW.
    Create 2 infosources/transformations, map them to respective fields and infoobjects.
    Now assign them to cube and load the data
    hope this helps.
    Rgs,
    I.R.K

  • Can we change the lengh of a field in thestandard database tables using dat

    Hi Experts,
        I've a doubt in Data dictionary. can we modify the length of the field in data base tables using stanadrd table.
    My requirement is add customer data to business are field. but the lengh of business area field is 4 chars.and the customer field length is 10.So in sap note i've found a solution is there a table call replacement of business area(FLQGSBER_SUBST).in this first we've append the customer field to this table.then the structure of business area should be modified.
    can we modify the length of the standard table field?
    its an urjent issue
    reward points for helpful answers
    thanks in advance
    regards,
    Rekha

    Hi,
    Thank you for your reply.
    But there is solution i've found in SAP note is 'There is a standard table for business area called "FLQGSBER_SUBST" Replacement of business area.In this table we've to append the field.for ex here we've append the customer (kunnr) and
    the field business area field has no data. when we append the customer field then the data in customer field updated in business area field.when i've tried this
    and when execute this.in debugging the businee area updated with 4 chars only.
    it didnt take 10 chars(kunnr).
    is it possible...

  • Dear freinds how to open the fields in the PNP selection screen

    Dear Freinds,
             When you use the PNP selection screen , i dont find the Orgeh field in default selection screen .
    However , using the code at selection screen output i have closed certain feilds using the loop at screen,
    but when iam trying in similar way to show the field
    on the selection what is the code i have to use
    in the loop at screen...........especially for the field
    orgeh .
    i have tried the othere options like required.........this working when iam able to make the date fields mandatory, similary i want to try with the below
    code to get the field Orgeh on the selection as default feild when we execute the report.
    can any one  please modify me the code
      LOOP AT SCREEN.
        IF screen-group4 = '026'   .
          screen-active = 0.
          screen-invisible = 1.
           screen-input = 0.
        ENDIF.
        modify screen.
    endloop.
    what i have to use in the loop at screen for me to get the orgeh field on the selection screen.
    thanks & regards
    madhuri

    Hi Madhuri,
    Unless you dont declare the orgeh field in hr report category you cannot show it on the selection screen nor you can hide it.
    If you do not want to use hr report cateogry.
    What you can do is that declare a parameter or selection screen called p_orgeh type orgeh.
    Here you can do the hiding on conditions.
    Kindly note here that after get pernr you will have to put a check that
    check p0001-orgeh in p_orgeh.
    Because for the fields declared by you automatic filtering does not happen.
    Regards,
    Divya
    Pts valuable.

  • What version of iPhoto.  iPhoto 11 9.4.3 (720.91) -  What version of the Operating System. OSX 10.8.3 -  Detail.  I Attach my camera and the fields where the photos usually show up are empty and at the top of the screen it says all photos from camera are

    What version of iPhoto. iPhoto 11 9.4.3 (720.91)
    What version of the Operating System. OSX 10.8.3
    Detail.  I Attach my camera and the fields where the photos usually show up are empty and at the top of the screen it says all photos from camera are downloaded. But they are not. They can't be.
    I fixed the problem somewhat myself by removing the miniSD and manually inserting it. It did not populate automatically. I had to open iPhoto and then it populated only the most recent photos I had taken which fortunately were the only ones I need. No error messages this seems to be a new occurrence.
    Is there a way to just turn iPhoto off and download my photos to the folder of my own choosing?

    Sure - in the iPhoto prefercences set action when a camera is ocnnected to Image Capture
    LN
    Note - your cute formatting really does not add anything and makes your post hard to read and follow - try straight typing with no cute formatting in the future

Maybe you are looking for

  • Can I change my icloud email address in iOS 8?

    Can I change my iCloud email address in iOS 8.1?

  • I'm not able to do the DELETE and the SEARCH options on my list ( HELP!! )

    import java.io.*; public class StudentContactManager public static void main(String[] args) throws IOException char userSelection; final int maxStudents = 10; String [] Lname = new String [maxStudents];//LName= Last Name String [] FName= new String [

  • How do you identify who is currently using a procedure?

    Hello Im trying to update a procedure that is on our server but i get his message ORA-04021: timeout occurred while waiting to lock object TPJ.SP_ACC_POP_CV_SUM 04021. 00000 - "timeout occurred while waiting to lock object %s%s%s%s%s" *Cause: While w

  • Nokia 701 (BELLE) problems

    I have N8 and 701 both. There are some disappointments with 701. (1) Google Maps is NOT working in 701 (Belle), (2) While downloading Maps of India in Nokia Maps, the whole country map has to be downloaded at once for 701, whereas it can be downloade

  • Could I use jstl tag in the JSP page of Creator 2 final release?

    I have a JSP page used to work well in Creator 2EA2. The page has the following code snippets: <c:forEach items="${SessionBean1.webQuery1.details}" var="item">                                                     <tr>