Add field with 1

maybe someone now about elgant way to add field with content '1' to my internal table for all the data i have in table
ex.
score***ggg
1*********23
1*********32
1*********25
1*********23
regards

Hi anotonio,
Here is solution you are for.........
          LOOP AT internal_table INTO work_area.
             CONCATENATE '1'  work_area-fieldname1 INTO work_area-fieldname1.
             CONCATENATE '1'  work_area-fieldname2 INTO work_area-fieldname2.
             CONCATENATE '1'  work_area-fieldname3 INTO work_area-fieldname3.
            MODIFY internal_table  FROM work_area.
        ENDLOOP.
In this way you acheive, your desired output.
Reward,if helps.
Regards,
V.Raghavender.

Similar Messages

  • How do I count/add fields with numbers and fields with letters?

    This is an attendance calendar I'm making for my work.
    Cells in CLIENT A column will be marked with either a number ( >0, indicating how many hours attended) or a letter (A = absent, H = Holiday).
    I need 2 formulas/scripts I suppose:
    1) I would like cell DP1 to represent how many cells in the CLIENT A column are marked only with a number >0 -indicating how many days were attended, not how many total hours there are.
    2) I would like cell DA1 to represent how many cells in the CLIENT A column are marked only with the letter A -indicating how many days were not attended.

    Let's say there are 20 fields in the column. In that case you can use these scripts:
    Custom calculation script for "DPA"
    var total = 0;
    for (var i=1; i<=20; i++) {
        var v = +this.getField("CA"+i).value;
        if (isNaN(v)==false && v>0)
            total++;
    event.value = total;
    Custom calculation script for "DPB"
    var total = 0;
    for (var i=1; i<=20; i++) {
        var v = this.getField("CA"+i).value;
        if (v=="A")
            total++;
    event.value = total;

  • How do I add and remove text in a text field with a checkbox?

    How do I add and/or remove text in a text field with a checkbox?
    this is my script in the text box......
    event.value="Hello, this is my narrative. \r\n\nFamily: \r\n\n" + this get.Field("FirstName").value + " " + this.getField("LastName").value + was born on"=this.getField("DOB.value + "\r\n\n + this.getField("drpField").value + "\r\n\n" + this getField("Father").value
    The text box looks like this...
    Hello, this is my narrative.
    FAMILY:
    John Smith was born on 08/02/2000
    Boby Lou
    Jack Smith
    I need to add/or remove the father field (Jack Smith) & r/n/n with a check box.
    Does anyone know how to do this?

    There are multiple errors in your code...
    Use this code instead (adjust the name of the check-box):
    var msg = "Hello, this is my narrative. \r\n\nFamily: \r\n\n" + this get.Field("FirstName").value + " " + this.getField("LastName").value + was born on" + this.getField("DOB.value) + "\r\n\n" + this.getField("drpField").value;
    if (this.getField("FatherCheckBox").value!="Off")
         msg += "\r\n\n" + this getField("Father").value;
    event.value = msg;

  • How can I add table fields with existing structure ?

    I like to add PSTLZ field to stucture KOMGG.Is it possible to add table field with the existind structure.If yes how can I do this?kindly help me on this.

    hi
    go to se11
    in change mode select the button append
    create new append which starts from Zpstlz in this komgg structure and add data element and domain to this field and activate with request number
    then in field catalogue this field should be visible ,here ends your append
    now it is ready to use in condition tables.
    reward if helps !!!!!

  • ADF Query Panel with Tree Table -- Add Fields

    I created ADF Query Panel with Tree Table using JDeveloper 11G. Under Advance Search, Add Fields pull down only list the fields in the master table. My questions are,
    1) Can I search fields in detail table? If yes, how can I do it?
    2) How can I customized this pull down list? Currently it just show the entire view of master table with unnecessary id type data.
    Thanks in advance.
    Edited by: kxc on Nov 9, 2009 9:21 AM

    1) Can I search fields in detail table? If yes, how can I do it?
    Are there anyway to search the second level node?You can. But you need to evaluate if the arrangement works for you.
    I assume you have a view link from the master to detail VO.
    To do so, in your master view criteria (the one which you use in the query panel), shuttle the attributes of your detail VO (in master attributes list, you'l see the detail view link accessor - on selecting this, the detail atteributes are available to you)
    In the Add Fields, it shows as student_id AND student_name. I was unable to delete the student_id field in the view since it is PKYou can set its 'display' UI hint to 'hide' in your VO.

  • Add input field with date salector inside a TableView

    I’m trying to build an user interface for my ones step-screen flow command, this user interface needs a TableView and for each row i need an input field with date selector.
    I’ve been trying to use de DefaultTableViewModel as the model for my TableView. I create a method to build my vector with the data for my DefaultTableViewModel as follow.
         private Vector createData() {
              Vector dataVec = new Vector();
              Vector retVector= new Vector();
              TextView text1 = new TextView("text1");
              dataVec.addElement(text1);
              TextView text2 = new TextView("text2");
              dataVec.addElement(text2);
              InputField date1 = new InputField("date1");
              date1.setType(DataType.DATE);
              dataVec.add(date1);
              retVector.add(dataVec);
              return retVector;
    then i use the vector as follow:
    Vector data=createData();
              Vector colName = new Vector();
              colName.addElement("Col1");
              colName.addElement("Col2");
              DefaultTableViewModel model = new DefaultTableViewModel(data, colName);
              TableView tabla = new TableView("tabla", model);
    But when I Display my user interface the TableView shows a string that I thing is a reference of the Input and the TextView inside my TableView instead of showing the components.
    Any Ideas?
    Regards,
    Orlando Covault

    Hi Orlando,
       Check this thread on date selector in tableview.
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=198839">Tableview</a>
    Hope it helps.
    Regards,
    Saravanan

  • Add new field with Report ME80FN

    I would like to Add Invoice number and order acknowlegment field with standreport ME80FN. How can I add these field with that report.pls any1 sugesst me ?
    Thanks in advance

    This report is a query on logical database MEPOLDB, why don't you build your own query ?
    Regards,
    Raymond

  • How can I modify the Contacts Template to display additional fields with out selecting "add field" everytime?

    How can I modify the contacts template in either iCloud, my iPhone, or my iPad to display additional fields that I always use ... example: How can I get Job Title to always be a fillable field with out selecting "add field" everytime?

    Let the HairSalon implement the java.lang.Comparable interface. You'll need to write code for
    public int compareTo(Object o1, Object o2)
    The compare method would cast the Objects to HairSalons and return the difference in price.
    Then use java.util.Arrays.sort(Object []);

  • How can I add some fields with LSMW standard program(Direct methods)

    Is this possible to add some fields with LSMW standard program?I like to upload data for MM01 using LSMW direct method,but some fields are not in standard program.How can I solve this problem?kindly help me pls.....

    Hi
    I think this should be possible. While doing LSMW, when the first record is uploaded system reads the fields ans stores them.
    Regards]
    Aravind

  • How to add an animation to a text field with two lines?

    I have a text field with two or more lines. Why isn't it possible now to apply a text animation?

    For certain tasks, Titler and its Presets can be very good, and can simplify things greatly.
    However, when one gets beyond the limitations of the Titler, I really like to create my Titles in Photoshop, and Import those as Still Images into my Project. I then use the power of Keyframing various Effects over time. This allows me much more control, BUT does require more hand-work. Still, that added control is too important to me, and I sort of like doing the handwork.
    For the "alignment" of multiple Titles, to get multiple lines of Text, you can create the first Title, and then chose Duplicate Title. Initially, that will be identical, but you just change it, as is necessary. After you have changed that "second line of Text," place that Duplicate on the next Video Track, above the first Title, and use the Fixed Effect>Motion>Position, to move it down, to where it would be (by the height of the font, plus any desired Leading), if one had created a second line of Text on one Title.
    I also like to use Alignment Grids, when things get critical, and create those in Photoshop, with a trasparent background, and just place them, on say Video Track 2, with all of my Titles above that. Just do not forget to remove any Alignment Grids, before you Export/Share the Timeline, or they will be part of the output video.
    For more background on Keyframing (so very useful with more than just Titles), Steve Grisetti has done a multi-part tutorial, available as Basic Keyframing on Muvipix.com. I highly recommend it. Keyframing is simple to do, but can be a bit of a tough concept to grasp initially, and it's a subject that is tough to write about - takes longer to type instructions, than to do the work.
    Good luck,
    Hunt
    PS - Do not know if you saw them, but Titler has two Alignment Tools - Align Horizontally, and Align Vertically, that can be helpful to center Text.

  • How to add fields to already loaded cube or dso and how to fill records in

    how to add fields to already loaded cube or dso and how to fill  it.can any one tell me the critical issues in data loading process..?

    This is sensitive task with regards to large volumes of data in infoproviders.
    The issue is to reload of data in case of adjusted structures of infoproviders.
    Indeed there are some tricks. See following:
    http://weblogs.sdn.sap.com/cs/blank/view/wlg/19300
    https://service.sap.com/sap/support/notes/1287382

  • Error while adding a custom field with Input help via AET

    Hi All,
    I need to add two custom field under Service orders at Item level in component BT140I_SRVP.
    One field is required to have the input search help f4 and autopopulates the second field
    I am able to add one field(not requiring help) successfully through AET .
    I have created one Zsearch_help in se11 and its successfully running  and Autopopulating seocnd field while I am testing it
    While adding second field through AET,I need to enter following details as -
    field label,search relevant ,serach help etc.
    When I type the name of my 'Zsearch_help' against field search help it gives me following error
    'Search help is not compatible'.
    Secondly,not getting getter and setter methods for the attrributes in BTAdminI.
    Last,please tell me if i create zhelp and activate it,would it automatically appear in the list on AETwhile assiging it to input field?
    Please help me out.Kindly be detailed as I am new to SAP CRM.
    Thanks,
    Shivani

    The question is answered in CRM 7.0 forum:
    Getting error while adding a custom field (with input help) through AET

  • How to ADD field in iview ?

    hi,
    in portal-iview i want to add a field.
    when i go to 'portal-content -> open the iview with right click -> preview' and then
    do ctrl-alt-right-mouse click i got to the customizing of the fields.
    i know how to HIDE fields there, but i don't know how to add fields ? in the list
    of the fields the necessary fields are available, BUT i only have to options:
    hide -> YES or NOT PERSONALIZED
    any ideas ?
    reg, Martin

    Gopal,
    the root element of this fields does NOT have the option 'decorate'.
    it is the quoata overview of ESS : sap.com/ess~quotas
    the top of the tree has option 'decorate', but this is above the necessary table where
    i select the data.
    my adrl is 
    martin.svik(at)denzel.at
    maybe we can 'change' some screenshots where you can send me yours and i can
    send you mine to explain it in a better way
    reg, Martin

  • Add fields to Existing DSO and DS in R/3

    Hi Friends,
    I have got to change my LO datasource which is running on production, 2lis_va_vatim, i need to add 2 fields to the exisitng DS from Comm Stru, so could anyone point me inthe right direction, Hoow to Add the fields with out disturbing the production,
    and the same way i need to cgane my DSO aswell for new fields, please tell me how to meet this.
    Thanks,
    Kiran.

    Hi Kiran,
    Before applying your changes in Production do the below steps:
    1)run V3 job as immediate, which picks data to delta queue and delete the acive V3 job.
    2)run the IP which loads data to BW(Delta IP).
    3)Apply your changes to the 2lis_va_vatim and DSO.
      i)Do the changes(adding your fields to 2lis_va_vatim and DSO)in DEV and active the 2lis_va_vatim and DSO.(insert this in transports).
    ii)first apply the R3 transport and then BW side.
    4)from now on wards your 2 fileds will get populated in BW side.
    5)Maintain the V3 job for 2lis_va_vatim in R3.
    If you need any clarification how to add fields to 2lis_va_vatim and create transport req pelase check the below article.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/2050db8b-9d90-2c10-2980-b13a4b0938f6
    Hope this helps.
    Regards,
    Venkatesh.

  • Co41 enhancement for add field in ALV output

    I must add a custom filed to ALV output of transaction CO41 and i trying to use all the 25 enhancements provided (that i find in other post CO41- Enhancement ), but i haven't found any way to get the desired results.
    Can any body help me?
    Thanks in advance.

    Hi,
    I had the same requirement to add a custom field to ALV output of transaction CO41.
    1. I first added the custom field to an new append-structure to the structure SFC_POCO.
    2. Then i added this field to the Dynpro-Screen 200 in the function-group COUP (by choosing the table control, pressing F6 and then adding the custom field of SFC_POCO).
    3. At last i added an Enhancement to the function CO_UP_PLANNED_ORDERS_SELECT and filled my custom field with data there.
    Please reward if useful.
    Regards,
    Henry

Maybe you are looking for

  • FCP Quicktime Codec for Windows

    I have an HD sequence that I exported using Export to Quicktime (movie is self contained); This gives me a .mov file that is uncompressed and has a smaller file size than any other way I export. I tried to play the file at my friends house on his PC

  • Autofill primary key with another field

    I have 2 fields: DISTRIB_CODE ex. ABC DISTRIBUTOR ex. ABC COMPANY I want the DISTRIB_CODE to be the primary key, but I cannot do that because DISTRIB_CODE occasionally changes. So, I think I thought of a way to work around it: DISTRIB_ID (PK constrai

  • Repeating email in my Drafts folder

    I have been getting the same email showing up in my Drafts folder for several weeks now.  I have repeatedly deleted it, including emptying the Trash folders, but it keeps popping up.   This was originally a response I sent to an email that was sent t

  • Can I use whatsapp in my ipod touch 4g

    Whatsapp say is NO, exist some solution ?

  • Low Volume - any cure?

    Finding the maximum volume is really low, especially when using skype, even with all on MAX volume.  Been through all settings on Realtek Audio to increase it but to no avail.  Anybody have a fix for this, are there updated audio drivers from Realtek