I want to add column heading like 'Product Desc.' in forms from Text elemen

Dear All,
I have added my description in first column like 'Product Desc' and I want to add second column like 'Cast No' in main window. Please let me know how to write the code in forms(se71) from text elements.
example:
Product desc        Cast No     yield stress
My logic:
/:  BOX WIDTH 90 CM HEIGHT '3' LN FRAME 10 TW
Product desc
/:  BOX WIDTH 90 CM HEIGHT '3' LN FRAME 10 TW
Urgent.
Regards,
Karthik.

Hi,
See any form like MEDRUCK  in SE71.
For writing the Titles;
first use the Paragraph at the left side, and write the Texts just like that, using the Tab setting defined for that paragraph.
H    Product Desc,, Cast No,, other field (here ,, for tab setting)
Only when writing the fields you use &kna1-kunnr& like this for every field.
Regards,
Anji

Similar Messages

  • How can i add a header like this?

    I am using the XMLFilter class to create an XML document using SAX as shown here:
    http://www.cafeconleche.org/books/xmljava/chapters/ch08s05.html
    However i want to add a header like this to my xml document:
    <?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
    How can i do this? I cant use startElement() etc. since they create a standard tag. Apart from manually appending it to the

    Show us the part of your code that actually does the output. If it's a Transformer, you'll need to put in the code that I posted in this forum twice just last week. If it's something else, then, I don't know, you'll need to do something else. But I don't see anything in that link that actually outputs XML.

  • I want to add an application like winrar useing rar file so i can auto download it all thet i have is a zip fill but i want a rar file too the option to auto download it is gray so i cant use it plz help me.

    i want to add an application like winrar useing rar file so i can auto download it all thet i have is a zip fill but i want a rar file too the option to auto download it is gray so i cant use it plz help me.
    == This happened ==
    Every time Firefox opened
    == all the time

    Here is the answer: Not an add on or plug-in! In fact you can get rid of all those useless plugins and add-ons! Go and get it. Im using the Alpha version right now and it works great. Works better then anything else .......add multiple links for all files sit back and relax. Its all done for you with no more intervention on your part! Check it out!
    http://wordrider.net/freerapid/
    Only one downside to this. No proper installer. You will have to copy the files to your respective programs folder.
    C:\Program Files\FreeRapid or C:\Program Files (x86)\FreeRapid
    Then create shortcuts to your desktop from FRD app. Thats it then start downloading!
    By the way this not an add. I just spent the whole night looking for the solution to this problem because I was so frustrated with the whole thing. I download tons of files and I have lots of other projects going and I dont have time for all this nonsense with RapidShare and Firefox. Hope this helps some other poor souls out there!

  • How to add HTTP Header Response X-Frame-Options:SAMEORIGIN from OWA published via Forefront TMG 2010 to stop Clickjacking

    How to add HTTP Header Response X-Frame-Options:SAMEORIGIN from OWA published via Forefront TMG 2010 to stop Clickjacking. I have put the IIS setting X-Frame-Options:SAMEORIGIN  on my Internal CAS Server. However as the OWA page is published through
    Forefront TMG 2010, the iFrame tag is not blocked when the page is first opened. Only when you login with your credentials to the OWA page inside the frame and the page reaches IIS on the Internal CAS it gets blocked. I want to block it in the first
    instance when it is opened from TMG.

    Hi,
    Thank you for the post.
    To modify the http header, please refer to this blog:
    http://tmgblog.richardhicks.com/2009/03/27/using-the-isa-http-filter-to-modify-via-headers-and-prevent-information-disclosure/
    Regards,
    Nick Gu - MSFT

  • Look..i really want to add rotating wallpaper like window 7 can do on desktop i my iphone but..my iphone is first generation..any idea how i want to do that?

    do you have answers for my question?/

    I don't believe that can be done I'm afraid.

  • Add Column name conditionally in a query

    Hi i have an stored procedure where one parameter is passing
    @Type
    UserTable (columns) => username, canAdminDelete,canCustomerDelete,CanMerchantDelete
    i wants to add column conditionally like when usertype =1 then query should be like
    Select * from userTable where canAdminDelete=0
    when userType=2
    Select * from userTable where canCustomerDelete=0
    Like in this way. I know i can write three if statments and write specific query.
    But this is just an example i have very big query actually.
    Please give some idea.
    Thanks
    Niki

    Hi Niki,
    As per my understanding, I think the query post by Olaf is correct. It only return the results when column canAdminDelete = 0 and userTpe = 1 or column canCustomerDelete = 0 and userType = 2.
    So when userType=1 and column canAdminDelete=1, how could you get the results? Could you please test the issue again based on the query post by Olaf.
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • In BI Bex Query Designer output, dont want to have unit at column Heading..

    Hi
    I have a BI Bex Query Designer report showing output with Qty unit at Column Heading level. Even in KF's Text i didn't mention unit. I want unit to appear to column fields instead of column heading. Pls let me know how to do that.
    One more thing is: i have 2 reports exactly same except due date range is different. first report showing unit for each KF at the column heading level and for 2nd report showing column fields level... Surprising. Pls let me know what is the reason and how to control it.
    Thanks...

    Hi Harpal,
    Key figures can have scaling factors and units/currencies. Normally, units/currencies are displayed for every key figure, but not the scaling factors. If you activate the Display Scaling Factors for Key Figures, an additional header row is added to the row or column header. Information about the scaling factor and currency/unit appears in this additional header row, as long as it is consistent (for example, 1,000 EURO).
    For more information, You can go through
    http://help.sap.com/saphelp_nw04/helpdata/en/e0/52029f961aa84d869b9b20fa7f7646/frameset.htm
    Hope it helps & resolves your issue.
    Regards,
    Pavan

  • How to add columns for existing table dynamically?

    Hi,
    I created table structure only. I want to add columns for this existing  table. Columns are not fixed, according to the  user choice i  need to write code.
    Plz give me reply asap.
    Thanks
    Shirisha

    Hi Shirisha,
    I think the following code snippet will help you.
    int l_no_cols = 0;
    //Get the number of columns in this variable, something like the following
    //l_no_cols = wdContext().currentContextElement().get<Context_attribute_name>;
    IWDTable l_tab;
    IWDTransparentContainer l_tbl_cont = (IWDTransparentContainer)view.getElement("TableDataCont");//ID of Container
    l_tab = (IWDTable)view.getElement("TableData");//ID of Table
    l_tab.setVisible(WDVisibility.VISIBLE);
    l_tab.bindDataSource(wdContext.nodeTable_Data().getNodeInfo());
    for(int a = 1; a <=l_no_cols; a++)
    //Creating the column
    IWDTableColumn l_tab_col = (IWDTableColumn)view.createElement(IWDTableColumn.class,"COL"+a);
    //Creating Caption for Column Header
    IWDCaption l_tab_cap = (IWDCaption)view.createElement(IWDCaption.class,"Caption"+a);
    l_tab_cap.setText("Col"+i);               
    l_tab_col.setHeader(l_tab_cap);
    //Creating Table Cell Editor for column
    IWDInputField l_tab_cell = (IWDInputField)view.createElement(IWDInputField.class,"CellEditor"+a);
    //creating context node attribute for the column dynamically
    wdContext.nodeTable_Data().getNodeInfo().addAttribute("Col"+i,"com.sap.dictionary.String");
    l_tab_cell.bindValue(wdContext.nodeTable_Data().getNodeInfo().getAttribute("Col"+i));
    l_tab_col.setTableCellEditor(l_tab_cell);
    l_tab.addColumn(l_tab_col);
    l_tbl_cont.addChild(l_tab);
    Regards,
    Alka

  • Subdivide a ALV column header

    Hi experts ,
    I have an requirment to divide a ALV column header.
    I want to add a header row grouping the column headers.
            Departure                                               Arrival        <-- This row is what I want to add
    Airport    Gate    Date                         Airport    Gate    Date
    Thanks,
    Regards ,
    Swashrayee
    Edited by: SWASHRAYEE77928 on Feb 1, 2012 7:30 AM
    Moderator Message: UserID sent for deletion, for ignoring multiple Moderator warnings.
    Edited by: kishan P on Feb 1, 2012 12:05 PM

    Hello,
    Take a look on this code:
      DATA:
        lv_title              TYPE        string,
        lt_columns            TYPE        salv_wd_t_column_ref,
        lr_column_settings    TYPE REF TO if_salv_wd_column_settings,
        lr_salv_wd_table      TYPE REF TO iwci_salv_wd_table,
        lr_table              TYPE REF TO cl_salv_wd_config_table,
      FIELD-SYMBOLS:
        <fs_column> LIKE LINE OF lt_columns,
      lr_salv_wd_table = wd_this->wd_cpifc_cmp_alv( ).
      lr_table         = lr_salv_wd_table->get_model( ).
      lr_column_settings ?= lr_table.
      lt_columns = lr_column_settings->get_columns( ).
      LOOP AT lt_columns ASSIGNING <fs_column>.
        lr_col_header = <fs_column>-r_column->get_header( ).
        lr_col_header->set_ddic_binding_element( space ).
        lr_col_header->set_ddic_binding_field( if_salv_wd_c_column_settings=>ddic_bind_none ).
          lv_title = cl_wd_utilities=>get_otr_text_by_alias( alias = 'HISTORIC' ).
          lr_col_header->set_text( lv_title ).
          CLEAR lv_title.
    I suggest you to put this code in some method called over the method WDDOMODIFYVIEW.
    Regards.

  • Want to add number of sales orders in a COPA report or form

    Hi All
    I created a COPA report that has two columns: sales from sales orders & sales from billing documents. Now I want to add columns which shows number of sales orders that make up sales. Can any one explain me , how can we acheive this  With a user exit, .
    thanks in advance for looking into this

    Hi Steve,
    Walter is very right in saying so.
    In SD module itself you can get some reports like this.
    Even in COPA you will get these kind reports.  But if your company is a big company and have lots of sales orders,
    Then you will have serious problems with System performance issue. 
    When you define that sale order is a segment level character, then system will ear up the resources and take very long time in executing the reports.
    But for some reason this requirement is a must case, then it is very simple
    you define Sale order in either form or report,
    then give the variable parameters like Co.Code, Period etc. you will get all the sales orders details for the selected period
    But think about not going for it before you make up your mind
    Best Regards
    Surya

  • Column heading -refer to the webdynpro tutorial 34

    Excel Export Using the Web Dynpro Binary Cache (34)
    column heading problem
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/1208c2cd-0401-0010-4ab6-f4736074acc6
    u will get the heading like
    /Products
    /ProductsElement/Article
    /ProductsElement/Quantity
    /ProductsElement/Price
    the code that form the heading
    public void exportToExcel2003( com.sap.tc.webdynpro.progmodel.api.IWDNode dataNode, java.util.Map columnInfos )
        //@@begin exportToExcel2003()
        byte[] excelXMLFile;
        IWDCachedWebResource cachedExcelResource = null;
        String fileName = dataNode.getNodeInfo().getName() + ".xls";
        try {
          // create Excel 2003 XML data as a byte array for the given context node, attributes and headers       
          excelXMLFile = this.toExcel(dataNode, columnInfos).getBytes("UTF-8");
          // create a cached Web Dynpro XLS Resource for the given byte array and filename
          cachedExcelResource = this.getCachedWebResource(excelXMLFile, fileName, WDWebResourceType.XLS);
          // Store URL and filename of cached excel resource in context.
          if (cachedExcelResource != null) {
            wdContext.currentContextElement().setExcelFileURL(cachedExcelResource.getURL());
            wdContext.currentContextElement().setExcelFileName(cachedExcelResource.getResourceName());
            // Open popup window with a link to the cached excel file web resource.
            this.openExcelLinkPopup();
          } else {
            wdComponentAPI.getMessageManager().reportException("Failed to create Excel file from table!", true);
        } catch (UnsupportedEncodingException e) {
          wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), true);
        } catch (WDURLException e) {
          wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), true);
        //@@end
      //@@begin javadoc:closeExcelLinkPopup()
       * Destroys popup window. To be called in an action event handler of a view controller related to
       * the opened popup window. View controller must have a controller usage declared for invoking
       * this public method of the public component controller API. 
      //@@end
      public void closeExcelLinkPopup( )
        //@@begin closeExcelLinkPopup()
        if (excelLinkWindow != null) {
          excelLinkWindow.destroy();
          excelLinkWindow = null;
        //@@end
       * The following code section can be used for any Java code that is
       * not to be visible to other controllers/views or that contains constructs
       * currently not supported directly by Web Dynpro (such as inner classes or
       * member variables etc.). </p>
       * Note: The content of this section is in no way managed/controlled
       * by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
       * Create an XML respresentation of the given context data.
       * RESTRICTION: Excel 2003 must be installed on the client machine for opening the given xml data
       * representation as an Excel file. 
       * @return string respresentation of the created xml data for Excel 2003.
      private String toExcel(IWDNode dataNode, Map columnInfos) {
        StringBuffer x = new StringBuffer();
        String attributeName, headerName;
        String entriesName = dataNode.getNodeInfo().getName();
        String entryName = entriesName + "Element";
        // trim given header texts, so that XML element names adhere to the rule 'no spaces contained'.    
        trimHeaderTexts(columnInfos);
        x.append("<?xml version='1.0' encoding='UTF-8' standalone='no'?>n");
        x.append("<").append(entriesName).append(">n");
        for (int i = 0; i < dataNode.size(); ++i) {
          IWDNodeElement dataNodeElement = dataNode.getElementAt(i);
          x.append("<").append(entryName).append(">n");
          for (Iterator iter = columnInfos.keySet().iterator(); iter.hasNext();) {
            attributeName = (String) iter.next();
            headerName = (String) columnInfos.get(attributeName);
            x
              .append("<")
              .append(headerName)
              .append(">")
              .append(dataNodeElement.getAttributeValue(attributeName))
              .append("</")
              .append(headerName)
              .append(">n");
          x.append("</").append(entryName).append(">n");
        x.append("</").append(entriesName).append(">n");
        return x.toString();
       * Create cached Web Dynpro resource for given byte-array, filename and web resource type (xls).
       * @return Excel file as cached Web Dynpro web resource. 
      private IWDCachedWebResource getCachedWebResource(byte[] file, String name, WDWebResourceType type) {
        IWDCachedWebResource cachedWebResource = null;
        if (file != null) {
          cachedWebResource = WDWebResource.getWebResource(file, type);
          cachedWebResource.setResourceName(name);
        return cachedWebResource;
       * Opens new popup window. The popup contains a link to the newly generated, cached excel file. 
      private void openExcelLinkPopup() {
        excelLinkWindow =
          wdComponentAPI.getWindowManager().createModalWindow(
            wdComponentAPI.getComponentInfo().findInWindows("ExcelLinkPopup"));
        excelLinkWindow.setWindowPosition(WDWindowPos.CENTER);
        excelLinkWindow.open();
      * Trims all given header texts because XML element names (to be created) must adhere to XML
      * rules (that is, they cannot include special characters, spaces, and so on.
      private void trimHeaderTexts(Map columnInfos) {
        String attributeName, trimmedHeaderText;
        for (Iterator iter = columnInfos.keySet().iterator(); iter.hasNext();) {
          attributeName = (String) iter.next();
          trimmedHeaderText = trimHeaderText((String) columnInfos.get(attributeName));
          columnInfos.put(attributeName, trimmedHeaderText);
       * Trims one single header text. Omit empty strings. Convert sub-strings to lower case.
       * Convert first char of sub-strings to upper case.
       * Example: "Product Price in EURO" ->"ProductPriceInEuro"
      private String trimHeaderText(String headerText) {
        StringBuffer newHeaderText = new StringBuffer();
        String token;
        StringTokenizer tokenizer = new StringTokenizer(headerText.trim());
        while (tokenizer.hasMoreTokens()) {
          token = tokenizer.nextToken();
          newHeaderText.append(token.substring(0, 1).toUpperCase());
          newHeaderText.append(token.substring(1).toLowerCase());
        return newHeaderText.toString();
      // private member variable for storing instance of an opened popup window.  
      private IWDWindow excelLinkWindow;
    public void onActionExportToExcel(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionExportToExcel(ServerEvent)
         wdThis.wdGetExcelExportCompInterface().exportToExcel2003(
                wdContext.nodeAddress(),
                getProductColumnInfos());     
                //wdContext.nodeCustomer().nodeAddress()
        //@@end
       * The following code section can be used for any Java code that is
       * not to be visible to other controllers/views or that contains constructs
       * currently not supported directly by Web Dynpro (such as inner classes or
       * member variables etc.). </p>
       * Note: The content of this section is in no way managed/controlled
       * by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
          columnInfosMap.put(IPrivateTableCompBasketView.IProductsElement.QUANTITY, "Quantity");
          columnInfosMap.put(IPrivateTableCompBasketView.IProductsElement.ARTICLE, "Article");
          columnInfosMap.put(IPrivateTableCompBasketView.IProductsElement.COLOR, "Color");
          columnInfosMap.put(IPrivateTableCompBasketView.IProductsElement.PRICE, "Price in EURO");
          columnInfosMap.put(
          IPrivateTableCompBasketView.IProductsElement.TOTAL__PER__ARTICLE,
           "Total Per Article In Euro");
          return columnInfosMap;
    if i can modify the code so that it read from behind and when it reached the "/" it stop and insert the string for the header

    Check this
    https://forums.sdn.sap.com/click.jspa?searchID=870698&messageID=292922
    /people/alfred.barzewski/blog/2005/07/27/new-samples-and-tutorials-for-web-dynpro-programming
    Regards, Anilkumar

  • Is there a way to use 1 columned header/footer in pages 10?

    i want to add a header to Pages, but i don't want the 3 columned format. Is there a way to change that?

    Has Apple actually fixed all the RtoL issues? Last time I looked it still didn't get the columns right.
    Try just typing the text so it extends through the divisions.
    Peter

  • Removing Icons in column header

    Hi,
    I am getting Icons before each column header like that of rows in my Query output. I want to display only the column header text without any icon. Is there any way?
    Regards,
    Krishna

    Hi,
    Thanks for your reply. Hi,
    I have used only RKFs and CKFs in Columns. I cannot find display as 'text' properties for these Key Figures. Are there any other options?

  • Column heading change in print ALV report

    Hi,
    when i see ALV report output that time column heading is correct. but when i see print preview it's give another column heading.
    like
    column heading - Delivery Challan no it's come in print preview only delivery.
    Thanks in Advance.
    regards.
    Sam.

    Hi,
    thanks.
    I have already use this in report.
    like.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-COL_POS       = POS.
      WA_FIELDCAT-FIELDNAME = 'VBELN'.
      WA_FIELDCAT-REF_TABNAME = 'LIPS'.
      WA_FIELDCAT-SELTEXT_M = 'DELIVERY CHALLAN NO'.
      WA_FIELDCAT-OUTPUTLEN       = 20.
      APPEND WA_FIELDCAT TO T_FIELDCAT.
    Regard
    Sam

  • I want to add a Facebook widget, it shows in the coding but not on the page in live view?

    I'm a learning dreamweaver user. So I wanted to add a Facebook like button and followed a tutorial on widgets. However, when I insert the widget it shows up in coding in split view but not my actual page. I've tried uploading it and it still wouldn't work??? Any help will be greatly appreciated!

    The script is wrong. Try this:
    document.write ('<iframe src="http://www.facebook.com/widgets/like.php?locale=en_US&href=https://www.facebook.com/pages/ Lil-Bulldog-World/208706725876140&layout=standard&show_faces=true&width=450&height=150&act ion=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; border-color:#ffffff; overflow:hidden; width:450; height:150"></iframe>');
    However, you'd better use Facebook's own code. It's very simple: http://developers.facebook.com/docs/reference/plugins/like/
    Kenneth Kawamoto
    http://www.materiaprima.co.uk/

Maybe you are looking for

  • Maybe a bit OT - all those old, think printed manuals

    I just cleaned out a closet down in the edit suite and lo-and-behold I found old boxes of Final Cut discs and manuals dating all the way back to Final Cut Pro version 2.... and that includes DVD Studio Pro and Motion and Soundtrack when it was called

  • Data subsetting depending on connected user

    hi there. It is possible to define parameters in the where clause when defining a publication item. This parameter is resolved at runtime which provides the possiblity to send just a subset of the data of the given publication item back to the remote

  • Corruption on export from Motion? Help!!

    Greetings, I'm experiencing an odd problem.. Unpredictably, my compressor output is completely corrupt, wacky horizontal lines across the frames, etc.. I've successfully exported this project TWICE, and after making a few minor adjustments, my last t

  • How to use flagged photos for screensaver in Yosemite?

    How can I use flagged photos for a screen saver in Yosemite? I was able to do that with Mavericks but now I can't with Yosemite.

  • HT1386 photos on itunes

    how do i move photos from my phone to my itunes library. my phone needs an update and it says it will delete all info from phone and i want to make sure my pictures aren't lost