How to get item text in smart form

Hi ABAP Gurus,
             i want to know how to get the item text in smart forms procedure i know but the logic where to define the variable ect.
code to get item text in purchase order.

Hi
Smartform itself have a functionality to get
Item Text
create a text
change the Text Type to include type
der in u pass the required entery in the same way how u pass to read text entry
    Text Name         &ZXEKKO-EBELN&
    Text Object       EKKO
    Text ID           F03
    Language          EN
with Regards
Rohan Shetty

Similar Messages

  • How to get material number in smart form driver prog attached to MM01:NACE?

    Hi,
    I have attached driver program of smart form to MM01 usinfg nace.
    On save smart form should get generated.
    Can anybody guide me how to get material number from MM01 in driver program on saving MM01.
    as of now am not getting values in smart form.
    What additional lines to be coaded in driver program to get material number.
    Thanks.

    hi,
    use nast table in your import paramaters of smart forms.
    In the Nast table you can find a field with object key which holds the Material Number.
    Hope this helps.
    Thanks,
    subash

  • How to Convert Standard Text in Smart forms?

    Hello Friends,
               My requirement is to display the lables in Chinese Language. Those text elements should be displayed in Chinese Format. How can we do it. Is there any way to display text in Chinese format. please help me out from this senario.
    Thanks & Regards
    Sathish Kumar

    Hi,
        IF you have labels in chinese format then do transilation.
    1. Go to se63.
    2. Transilation -->R/3 Enterprise -->Other Long texts
    3. click on FS-->SSF.
    4. Give your smartform name
    5. Source langue -- EN and Target Language ZH
    6. English language text will be in display mode.. In change mode change them into chinese format.
    7. Save
    8.Activate transilation done and your smartforms also.
    Br,
    Laxmi

  • Standard text in smart form

    Hi,
    can anyone tell me how to include standard text in smart form
    Thanks

    Procedure
    1. To create a text node, call the context menu for that node in the tree structure that shall
    receive the text and choose Create Text.
    2. Enter a unique name for the node and a node description (for example, letter).
    3. On the General Attributes tab choose Include text as text type.
    Since you edit a text element, an included text, or a text module exclusively via the
    text node, the system stores only information on the selected type. When you
    change the text type, the system therefore asks for your confirmation.
    4. In the Text key box, identify the include text.
    To identify individual text objects, use the search help in this field.
    The search help of the Text name field allows you include the attributes of SAPscript
    texts into the search.
    7. If required, use the Paragraph formats box to format the include text:
    The style assigned to the text node contains a format for the standard paragraph ('*'). If you enter a paragraph format in the Standard paragraph field, this format overwrites the style format for all standard paragraphs in the include text that use this paragraph format.
      Use the First paragraph field to set a paragraph format for the first paragraph of the
    include text. This format also overwrites the format set in the style. If you set the First
    paragraph field but leave the Standard paragraph field empty, the system uses the
    format set in the First paragraph field for any standard paragraphs in the include text.
    6. In the Text node box choose whether you want the text to start in a new paragraph, in a new
    line, or directly at the end of the current paragraph.
    7. If desired, choose the Output Options tab to maintain the style or box and shading
    of the text.
    Result
    The system displays the node in the tree structure, including its name and description. The
    included text is included only at the moment the form is processed.
    Regards

  • How to allow, user to enter the free text in smart forms and Drop Down list

    Hi Experts,
    How to provide the user to enter text in smart forms? ie Once the smartform generated, there the user allowed to enter text.
    And also is there any option to provide Dropdown list  in smart forms.
    Possible give with example with clear idea.
    Its very urgent!!!!
    Thanks in Advance!!!

    Hi!
    No, there's no way to it, because Smartform is just like a piece of paper, it can't handle any objects, after it is ready.
    It can be printed out/archived/sent on email as an attachment and that's all. It cannot be modified after it is completed.
    Regards
    Tamá

  • How do u get New page in Smart form dynamically

    How do u get New page in Smart form dynamically

    page break in smart form
    Re: New Page in Smart Forms
    Page break inside a loop  in smart form

  • How to get Sales Text & Purchase Order Text in MM based on (MSEG-MATNR)

    Hi
      Am working on a Report based on Purchase order & Sales, Could any body tell How to get Sales Text & Purchase Order Text in MM based on (MSEG-MATNR).
    the Field i need to get are : SALES TEXT, PO TEXT.
    Sunil.

    Hi Sunil,
    For getting Material PO text and sales text, you have to rely on Purchase Order and Sales Order. And use READ_TEXT function module to fetch the text.
    Below are examples of PO text and Sales Text:
    1. PO text:
        CALL FUNCTION 'READ_TEXT'
         EXPORT
           ID = 'F03'
           LANGUAGE = SY-LANGU
           NAME = '450000011200010' conacte PO number and line item number
           OBJECT = 'EKPO'
         TABLES
           LINES = INT_TLINES "you will get text in this table
    2. Sales order text:
            CALL FUNCTION 'READ_TEXT'
         EXPORT
           ID = '0001'
           LANGUAGE = SY-LANGU
           NAME = '0000000036000010' conacte SO number and line item number
           OBJECT = 'VBBP'
         TABLES
           LINES = INT_TLINES "you will get text in this table
    ref: STXH and STXL tables.
    Hope it will solve the problem.
    Regards
    Krishnendu

  • Standard text in Smart forms

    Hi ,
               Im using the standard text in smart forms, but Im getting the output displayed as hexadecimal numbers. These are the hexa characters stored in the "SO10" transaction for the standard text name.
    I try to display a signature stored in standard text.
    But when used in SAP scripts I get the content displayed correctly.
    Can someone help me to display the content in smart forms as such.
    I searched the forum for the solution I got some results for the search but I did not get the solution for it.
    Points will be rewarded for helpful answers...
    Rgds,
    Sarath.
    Message was edited by:
            Sarath kumar Chandrasekharan

    Rama,
    The problem is the signature is in standard text.
    Message was edited by:
            Sarath kumar Chandrasekharan

  • Purchase requisition header text in smart forms

    Dear Experts,
        i want to pick the header text in smart form from purchase requisition ( Transaction code me52n).Can any one tell me from which table i can find out the header text of purchase requsition. please tell me table name objectid for include.
    Thanks in advance.
    Regards
    Maqsood Ahmed

    Hi,
    Go to the screen where the long text is placed, From menu bar go to the header you will get the Object details.
    Use FM READ_TEXT by passing those object details you will get the text.
    Have a look in this link to use READ_TEXT
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap+general&
    Regards,
    Satish

  • Background colout to text in Smart forms

    Hi Folks,
        I have a requirement to take colored print out from Smart forms. I have to assign background color to the text in Smart Forms. Is it is possible? If yes, then how it can be done?
    Thanks in Advance,
    Punit

    Hi Punit,
    Yes definitely it is possible to do so. Just follow few steps mentioned below
    1. Select the text node for which you want the background color.
    2. Click on the output tab.
    3. In the shading option, choose the color yuo want in background.
    4. save activate and thats all..........its done..
    Let me know if you ave any prob in this..
    Enjoy SAP.
    Pankaj Singh.

  • How to get a text between two XML tags?

    Hello everybody!
    I've got a problem! How can I extract a text that is between tags, like <myTag> My text </myTag> I have no problem to get the attributes inside the tags, however, i don't know how to get some text that is between tags. Here is my xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <tangram_request service_id="3">
    <send keep_session="nada">
    <source></source>
    <destination>3196931566</destination>
    <channel_id>2</channel_id>
    <text>Teste ServerSocket!!!</text>
    </send>
    </tangram_request>
    Now, there's a fragment of my code, which gets some tags' attributes:
    DOMParser parser = new DOMParser();
    InputSource resp = new InputSource(new StringReader(XML));
    parser.parse(resp);
    Document doc = parser.getDocument();
    Node node =(doc.getElementsByTagName "tangram_request")).item(0);
    if (node instanceof Element)
    Element el = (Element) node;
    service_id = el.getAttribute("service_id");
    System.out.println("\n\nService_id="+service_id);
    }else{System.out.println("Erro");}
    node = (doc.getElementsByTagName("send")).item(0);
    if (node instanceof Element)
    Element el = (Element) node;
    keep_session = el.getAttribute("keep_session");
    System.out.println("keep_session="+keep_session);
    }else{System.out.println("Erro");}
    Now, I want to get the texte between <destination> ... </destination>
    How could I do that?
    Thanks a lot
    Calegari

    Thanks... It worked fine!!!
    Now how can I get lots of <desctination>... I did something that haven't worked...
    node = (doc.getElementsByTagName("destination")).item(0);
    while(node.hasChildNodes())
    destination = node.removeChild(node.getFirstChild()).getNodeValue();
    System.out.println("destination="+destination);
    And now, my XML is like:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <tangram_request service_id="3">
    <send keep_session="nada">
    <source></source>
    <destination>3196931566</destination>
    <destination>3196931567</destination>
    <channel_id>2</channel_id>
    <text>Teste ServerSocket!!!</text>
    </send>
    </tangram_request>
    Thanks so much!
    Calegari

  • How to get item field values for old versions?

    I need to be able to query old field values from previous versions of items in a SharePoint list. I can't execute code on the server (it needs to work with SharePoint Online/O365 for a start).
    So far the ONLY API I've that lets me do this is the lists.asmx GetVersionCollection SOAP call.
    This lets me specify a single field name and returns an XML structure with the values for the various versions, along with the modification time and who made the change - but NO reliable way of actually identifying *which* version (i.e. an ID or label). That
    is, if I know I need to fetch the Title value from version 512 ("1.0") of item 1 in list "Documents", I don't see how to reliably parse the results to determine which entry is version 512. While they may be returned in order, in many cases
    the entries are actually missing when there was no field value present (or perhaps when the field hadn't been created yet). I've tried comparing the Modified date to the Created date of the corresponding FileVersion item (which I can get via CSOM or REST),
    and while it works some of the time, it's not reliable. I've also looked at the output from the lists.asmx GetVersion API but I don't see how that's useful either, as the Created property for all versions always seems to be just the date the file was originally
    created.
    It does seem odd to me that there's not a neat way of doing this - if I need to return information for several fields but just for a single version, I have to make a whole lot of requests that return far more info than I need, and then I need to figure out
    how to parse the returned text in the case of, say, multiple-value taxonomy fields etc.
    Anyone tried doing anything similar here?
    Thanks
    Dylan

    try these links:
    https://support.office.microsoft.com/en-us/article/Track-and-view-version-information-for-SharePoint-list-items-2d69d936-fb0b-4c84-830e-11708e6ec317?CorrelationId=f87cf6ea-8cbf-446a-a4a0-e2c3a86b3425&ui=en-US&rs=en-US&ad=US
    https://social.technet.microsoft.com/Forums/en-US/e48ff216-7ed1-4b20-9f21-d496b1583eea/how-to-get-item-field-values-for-old-versions?forum=sharepointdevelopment
    http://sharepoint.stackexchange.com/questions/20019/get-meta-data-from-a-previous-version-of-a-document-through-webservice-in-moss-2
    http://sharepoint.stackexchange.com/questions/121594/getting-information-from-previous-versions-of-a-sp-list-using-csom
    Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing

  • How do i place box in smart form

    hi all,
    how do i place box in smart form?please help.

    write the following commands in ur text editor of the window for which u want to display the box...
    POSITION WINDOW
    SIZE WINDOW
    BOX FRAME 10 TW
    the code will automatically position and size the box according to the window size and position as placed in the screen painter...
    reward if helpful
    regards
    niharika

  • How to write source code in smart forms?

    hi friends,
    can anyone can help me in writing  sorcecode in smartforms r
    any materail link.
    if it is helpful points can b rewarded.Thanks in advance.

    Hi,
    Check this link for
    how to write source code in smart forms?
    http://****************/Tutorials/Smartforms/GettingStarted/SimpleText.htm
    You can write Source Code in smartforms By Choosing Program Lines.
    Check this link with Screen Shots
    http://****************/Tutorials/Smartforms/PO/page1.htm
    Reward All Helpfull Answers
    Regards
    Fareedas
    Edited by: Fareeda Tabassum S on May 21, 2008 3:09 PM

  • How to get items from a list that has more items than the List View Threshold?

    I'm using SharePoints object model and I'm trying to get all or a subset of the items from a SharePoint 2010 list which has many more items than the list view threshold (20,000+) using the SPList.GetItems() method. However no matter what I do the SPQueryThrottledException
    always seems to be thrown and I get no items back.
    I'm sorting based on the ID field, so it is indexed. I've tried setting the RowLimit property on the SPQuery object(had no effect). I tried specifying the RowLimit in the SPQuerys ViewXml property, but that still throws a throttle exception. I tried using the
    ContentIterator as defined here:http://msdn.microsoft.com/en-us/library/microsoft.office.server.utilities.contentiterator.aspx,
    but that still throws the query throttle exception. I tried specifying the RowLimit parameter in the ProcessListItems functions, as suggested by the first comment here:http://tomvangaever.be/blogv2/2011/05/contentiterator-very-large-lists/,
    but it still throws the query throttle exception. I tried using GetDataTable instead, still throws query throttle exception. I can't run this as admin, I can't raise the threshold limit, I can't raise the threshold limit temporarily, I can't override the lists
    throttling(i.e. list.EnableThrottling = false;), and I can't override the SPQuery(query.QueryThrottleMode = SPQueryThrottleOption.Override;). Does anyone know how to get items back in this situation or has anyone succesfully beaten the query throttle exception?
    Thanks.
    My Query:
    <OrderBy>
        <FieldRef Name='ID' Ascending='TRUE' />
    </OrderBy>
    <Where>
        <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
    </Where>
    My ViewXml:
    <View>
        <Query>
            <OrderBy><FieldRef Name='ID' Ascending='TRUE' /></OrderBy>
            <Where>
                <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
            </Where>
        </Query>
        <RowLimit>2000</RowLimit>
    </View>
    Thanks again.

    I was using code below to work with 700000+ items in the list.
    SPWeb oWebsite = SPContext.Current.Web;
    SPList oList = oWebsite.Lists["MyList"];
    SPQuery oQuery = new SPQuery();
    oQuery.RowLimit = 2000;
    int intIndex = 1;
    do
    SPListItemCollection collListItems = oList.GetItems(oQuery);
    foreach (SPListItem oListItem in collListItems)
    //do something oListItem["Title"].ToString()
    oQuery.ListItemCollectionPosition = collListItems.ListItemCollectionPosition;
    intIndex++;
    } while (oQuery.ListItemCollectionPosition != null);
    Oleg
    Hi Oleg, thanks for replying.
    The problem with the code you have is that your SPQuery object's QueryThrottleMode is set to default. If you run that code as a local admin no throttle limits will be applied, but if you're not admin you will still have the normal throttle limits. In my
    situation it won't be run as a local admin so the code you provided won't work. You can simulate my dilemma by setting the QuerryThrottleMode  property to SPQueryThrottleOption.Strict, and I'm sure you'll start to get SPQueryThrottledException's
    as well on that list of 700000+ items.
    Thanks anyway though

Maybe you are looking for

  • Page definition is not found while running JSR286 portlet in WebCenter app

    Hi All, I have ADF application which has 3 different task flows 1. my service 2. my car 3. my bike. which I have placed into a single bounded task flow called repairTaskflow. I have created a JSR286 portlet out of a repairTaskflow. I am trying to con

  • Sound Blaster ZX works with no drivers, doesn't work with drivers installed...

    Greetings one and all, I've just built a Windows 8.1 Enterprise system on an Asus Z9PA-D8 with dual processors installed. When any of the sound blaster drivers (CD or downloaded) are installed the card stops working. Uninstall everything, and it work

  • DVD Video Capture Software

    Hello, I have a newbie video question. We have a customer that needs to have an old video edited slightly for upload to the web. I own Premiere Pro CS4, but need to get the video from the original DVD, which contains and Audio_TS and Video_TS folder

  • Decorating return address labels

    I have created a page of Avery labels with the same name and address in each label. I seem to remember that it is possible to decorate these labels before printing.  e.g. add a border or a butterfly? Can anyone tell me how to do this? Mary Lou

  • I would like to change Mac Address of Ethernet only without card change

    I would like to change Mac Address of Ethernet only without ethernet card change. Please let me know how to change Mac Address. It's need to keep internet security.