Text with multiple lines limit each line to 10 digits

Im trying to create a Numeric Field with multiple lines and limit the character per line to 10
ideally I want the users to be able to paste in a 10 digit number similar to this:
0001234567
0001234568
0001234569
I can set my pattern to num{zzzzzzzzzz} but not sure how to allow multiple lines
Im using Adobe LC ES2 Verison 9.0
Thanks!

better option is to use INCLUDE statement in SCRIPTS. its a script control command and you no need to use READ_TEXT and to loop it and send each line to script.
if you use the above INCLUDE control command, SAP will take care of printing total text of that Object.
here is the syntax :
<b>/: INCLUDE name [OBJECT o] [ID i] [LANGUAGE l] [PARAGRAPH p] [NEW-PARAGRAPH np]</b>
here /: indicates its an Control command.
you have to use NAME, ID, LANGUAGE adn OBJECT here.
if you give these details in the Text editor of script layout,automatically data will be printed on the screen.
ex:
/: INCLUDE &EKKO-EBELN& OBJECT EKKO ID X LANGUAGE E
Hope you got the Idea.
<b>here is brief help about INCLUDE:</b>
Use INCLUDE to include the contents of another text into your text. The text to be included exists separately from yours and is only copied at the time of the output formatting. With INCLUDE, since the text is only read and inserted during the output formatting, the most current version of the required text is always available.
and IF you are very specific about using READ_TEXT to display the contents,
then you have to LOOP that table and call the WRITE_FORM to print the line on the layout.
LOOP AT IT_TDLINES.
  CALL FUNCTION 'WRITE_FORM'
ENDLOOP.
Regards
Srikanth
Message was edited by: Srikanth Kidambi

Similar Messages

  • Printing Text with multiple Lines

    Hello,
    i want to print a list and in that is text with multiple lines.
    In the PrintPreview and in the Printout i get only one line.
    How is the best way to do this?
    Thank you,
    Markus
    Private Function Print_Remarks_Control_Get(ByVal pstrText As String) As TextBox
    Dim TextBox_Out As New TextBox
    With TextBox_Out
    .Text = pstrText
    .HorizontalAlignment = Xaml.HorizontalAlignment.Left
    .VerticalAlignment = Xaml.VerticalAlignment.Top
    .FontSize = 16
    .Margin = New Thickness(15)
    .AcceptsReturn = True
    .MinWidth = 800
    .MinHeight = 600
    End With
    Return TextBox_Out
    End Function
    Sub PrintPageList_Prepare()
    Dim i As Integer
    Dim objVM As clsTextVM
    Dim lstText_List As ObservableCollection(Of clsText)
    Dim ctrPrint_StackPanel As StackPanel
    Dim ctrPrint_Title As TextBox
    Dim ctrPrint_Description As TextBox
    Dim ctrPrint_Remarks As TextBox
    Dim objText As clsText
    mPrintPageList.Clear()
    objVM = DirectCast(Me.DataContext, clsTextVM)
    lstText_List = objVM.CustomClass_List
    ctrPrint_StackPanel = Print_StackPanel_Get()
    For i = 0 To lstText_List.Count - 1
    objText = lstText_List.Item(i)
    If objText.Name.Length > 0 Then
    ctrPrint_Title = Print_Title_Control_Get(objText.Name)
    ctrPrint_StackPanel.Children.Add(ctrPrint_Title)
    End If
    If objText.Description.Length > 0 Then
    ctrPrint_Description = Print_Description_Control_Get(objText.Description)
    ctrPrint_StackPanel.Children.Add(ctrPrint_Description)
    End If
    If objText.Remarks.Length > 0 Then
    ctrPrint_Remarks = Print_Description_Control_Get(objText.Remarks)
    ctrPrint_StackPanel.Children.Add(ctrPrint_Remarks)
    End If
    Next
    mPrintPageList.Add(ctrPrint_StackPanel)
    End Sub
    Private Sub OnGetPreviewPage(sender As Object, e As GetPreviewPageEventArgs)
    ' Das ist die MessageBox
    ' Windows.UI.Popups.MessageDialog()
    PrintPageList_Prepare()
    mPrintDok.SetPreviewPage(e.PageNumber, Me.mPrintPageList(e.PageNumber - 1))
    End Sub

    Yes, not only RichEditBox but also RichTextBlock can also do this. Besides TextBox also have TextWrapping functionality.
    -James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Set Text in Container- Different Classes each line of text

    I'm using the Set text of Container behavior to function as a caption in my displaced rollover. It works fine but there is one problem I'm having.
    My orginal "placeholder" caption looks something  like this:
    Project Name
    Location
    Photographer
    I achieved this by using "span" on the orginal caption and each line has a class.
    However when I rollover it loses it's styling. How do I apply the classes to the text in the behavior?
    Thanks

    Sorta.
    So I would type in this below in set behavior box?
    <span class="projectname">Project Name<br /> </span> etc.....

  • Positional Polling a file with multiple records at single line

    Hi
    I am trying to poll a file with positional read.It works fine with single record at single line.But how to solve the problem when there are multiple records at single line???How to delimit the records??

    i have a file which contains emp records like empID,empName,Dept.And these records of fixed length.I need to poll this file wirh positional read.I used fixed length polling.It works fine when there is only 1 record at one line.But when 2 or more records on same line it takes first record correctly but could not understand the start of second record.
    for ex
    1 shital mktg
    2 priya finance
    it works when records are at separate line.
    but another case is:
    1 shital mktg 2 priya finance
    how to delimit these records??

  • XML output with multiple tags in one line

    I have not done much XML exporting with SQL. Previously I had just been ending my SQL queries with
    FOR XML RAW ('Company'), ROOT ('Companies'), ELEMENTS;
    and it formatted my query nicely in an XML output. That put every column name as a tag and the cell data within the tag.
    However, now the criteria has changed on me. I need to create a tag with multiple sub tags in it.
    Example: <Location Floor="10" Suite="512" DoorType="Metal">
    But I'll still need other tags to be normal in the XML output such as
    <Address>123 Fake St</Address>
    <City>Springfield</City>
    <Location Floor="10" Suite="512" DoorType="Metal">
    Is there any way to get this XML mixed in the output like above?
    Thank you for any help. 

    Hi, you can FOR XML PATH for a finer degree of control over your XML.  Use the @ symbol to create attributes.  Here's a simple example:
    DECLARE @t TABLE ( rowId INT IDENTITY PRIMARY KEY, [address] VARCHAR(50), city VARCHAR(30), floor INT, suite INT, doorType VARCHAR(20) )
    INSERT INTO @t VALUES
    ( '123 Fake St', 'Springfield', 10, 512, 'Metal' )
    SELECT
    [address] AS "Address",
    city AS City,
    [floor] AS "Location/@Floor",
    suite AS "Location/@Suite",
    doorType AS "Location/@DoorType"
    FROM @t
    FOR XML PATH ('Company'), ROOT ('Companies'), ELEMENTS;

  • Printing Standard TEXT  with multiple paragraphs in smartform

    Hello all,
    I have a requirement that, there is a very long standard text stored in a notification of an order in SAP ISU system. The text contains multiple paragraphs with indentations. I want to print this text directly into the smartform WITH SAME INDENTATION AND PARAGRAPH FORMATTING.
    First i am reading the entire text using FM READ_TEXT.
    My first  problem is even if i read the text into a variable of type STRING , it just prints 255 characters of it.
    And secondly if i try to printout it using LOOP AT node in smartforms, it prints the entire content but without any formatting .
    Please let me know whether it is possible to print standard text in smartforms or not
    Thanks
    Nilesh Puranik

    Hey ,
    Well thanks for that but my replies got posted 2-3 times unknowingly, could'nt help it.
    Coming to the problem, i  guess you did not get my point when i say dynamic texts for each service order.
    In my Report i am using LOOP AT ITAB ..where in itab i  am storing a service order no i.e. ITAB-ORDER_NO
    Now for every order there is standard text maintained in SO10 starting with order name
    so my code goes like this.
    LOOP AT ITAB.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        ID                            = 'LTXT'
        LANGUAGE            = 'E'
        NAME                      = ITAB-order_no
        OBJECT                   = 'QMSM'
      TABLES
        LINES                         = LINES .
    CALL <SMART FORM Fm>
    ENDLOOP.
    Hence whatever Standard text maintained for that service order i  want to display it as it is in the smartform with same paragraphs formatting and indentation.
    IF i use a variable in smartform and pass the entire text  after using READ_TEXT , it does not format the text  and it just prints only 255 characters even if i define it of type STRING .
    Hence i am stuck in this scenario.
    Appreciate ur help though.
    Thanks
    Nilesh

  • PDF file has three parallel lines for each line object.

    Working with Illustrator CS5 on a Windows 7 64-bit PC.
    When opening files created with a CAD application, I noticed that most each line, whether straight or curve, appeared to be an extended ellipse. In most cases, they contained a line in the middle.
    A closer observation determined that the lines where all separate objects, as shown in the figure below.
    As you can imagine, the extra objects increase the size of the PDF file enormously.
    Since I am using these files in MS Word, I need to convert them to either EMF or WMF format. However, Illustrator exports even larger files. I managed to reduce the size of the PDF, but the exported files are even larger than the original PDF file. Saving the original PDF file in AI format did not help either.
    The only way I see to reduce the file size, whether PDF or AI, is to eliminate the extra lines. Other than deleting each line at a time or redrawing the entire file, which I am already doing, is there any way to eliminate those pesky extra lines?
    Thanks!

    Larry,
    That would have been the easiest way. Unfortunately, that is not the case.
    If you look at the inserted figure, you would see that the half circle at the end of each triple line is a separate object. This means that all the lines, whether internal or external, are in fact individual strokes.

  • Problems with Multiple Numeric Limit Test

    Hi,
    I'm trying to use the MultipleNumeric Limit test and I have problems with it
    1) Since I use TestStand 3.1, is it recommended to uses the new type template rather than the legacy one?
    2) When you let TestStand creat the test code for you it gives you the following:
    // The following code shows how to access a property or variable via the TestStand ActiveX API
    // To use this code you must add a parameter "struct IDispatch *seqContextDisp" to this function
    // and pass a sequence context to it.
    // tsErrChk(TS_PropertyGetValNumber(seqContextCVI, &errorInfo,
    // "Step.Result.Measurement[0].Limits.Low", 0, &lowLimit0));
    I would appriciate if anybody can show me an example using that. I just don't understand it!!
    Cant't I just pass the seuence context parameter as follow: 'CAObjHandle seqContextCVI' ?

    I am using Testand 3.2
    Most of my tests have a single result value.
    However, Some require more than one result value (i.e two).
    I would like to specify a "multiple result test step", and assign limits to each result.
    So far I can only find silly solutions to this problem:
    1. Feed in teststand  reference into my test.
    2. Use active X !??
    3. Create custom local variable array and then test each result in post tests..
    The above solutions are dumb.
    Can someone provide a proper solution to creating a test step with multiple results.
    Thank you.

  • Measuring of Text with Multiple Fonts in One Single Line

    I am following a request to write C++ code for a label that contains several text elements in one single line, varying by font, size, color.... Ok, that can be done easily in GDI+ by measuring each element's width and then execute a DrawString
    for each of the text elements starting at its calculated position.
    So far, I failed miserably.
    The horizontal text positions did not appear to be correct. I reverted now to very simple text width measuring tests where the results are still puzzling.
    Test 1 (GDI+): Use of MeasureString
    With the same font, the width of the string "MM" does not match the double with of the string "M". This cannot be explained with eventual rounding problems.
    Test 2 (GDI+): Use of MeasureCharacterRanges
    Used the same font as for the first test. The width of "MM" is now exactly double of the width of "M". But: The width of the "M" ist lightyears away from the measurement result in the first test.
    Test 3 (GDI): Use of GetCharABCWidthsFloat
    Attempted to create a GDI font as close as possible to the GDI+ font in the previous tests. Unfortunately, this third test shows results which do not match the previous results at all.
    I am appending the full example here; the results I found during the debug session have been added as comments:
    void ApplWindow_TextDrawTest(HDC hDC)
    Gdiplus::Graphics *G = new Gdiplus::Graphics(hDC);
    G->SetTextRenderingHint(TextRenderingHint::TextRenderingHintClearTypeGridFit);
    Gdiplus::StringFormat MyFormat;
    MyFormat.SetAlignment(Gdiplus::StringAlignment::StringAlignmentNear);
    MyFormat.SetFormatFlags(Gdiplus::StringFormatFlags::StringFormatFlagsNoWrap);
    Gdiplus::Font TextFont(L"Calibri", 36, Gdiplus::FontStyle::FontStyleBold, Gdiplus::Unit::UnitPixel);
    const wchar_t *Text1M = L"M";
    Gdiplus::PointF TextOrigin1M(0, 0);
    Gdiplus::RectF TextBounds1M;
    const wchar_t *Text2M = L"MM";
    Gdiplus::PointF TextOrigin2M(0, 50);
    Gdiplus::RectF TextBounds2M;
    //--- Test #1: using MeasureString ----------
    G->MeasureString(Text1M, (INT)wcslen(Text1M), &TextFont, TextOrigin1M, &MyFormat, &TextBounds1M);
    G->MeasureString(Text2M, (INT)wcslen(Text2M), &TextFont, TextOrigin2M, &MyFormat, &TextBounds2M);
    //--- Results: Text 1 Width= 44.414 ("M")
    //--- Text 2 Width= 76.828 ("MM")
    //--- Test #2: using MeasureCharacterRanges ----------
    Gdiplus::Status RCode;
    Gdiplus::RectF LayoutRect(0, 0, 1000, 100);
    Gdiplus::Region RegionsList[3];
    Gdiplus::CharacterRange CRanges[3];
    CRanges[0].First = 0; CRanges[0].Length = 1;
    CRanges[1].First = 1; CRanges[1].Length = 1;
    CRanges[2].First = 0; CRanges[2].Length = 2;
    MyFormat.SetMeasurableCharacterRanges(3, CRanges);
    G->MeasureCharacterRanges(Text2M, (INT)wcslen(Text2M), &TextFont, LayoutRect, &MyFormat, 3, RegionsList);
    RCode = RegionsList[0].GetBounds(&TextBounds1M, G); // Result: Text 1 Width = 32.000 ("M")
    RCode = RegionsList[1].GetBounds(&TextBounds1M, G); // Result: Text 1 Width = 32.000 ("M"; the second char)
    RCode = RegionsList[2].GetBounds(&TextBounds2M, G); // Result: Text 2 Width = 64.000 ("MM")
    //--- Test #3: using the good old GDI ----------
    int MapModeResult = SetMapMode(hDC, MM_TEXT); // MM_TEXT is equivalent to Unit::UnitPixel?
    HFONT TextFont3 = CreateFont(36, 0, 0, 0, FW_BOLD, false, false, false, ANSI_CHARSET, OUT_TT_ONLY_PRECIS, CLIP_DEFAULT_PRECIS, CLEARTYPE_QUALITY, VARIABLE_PITCH | FF_DONTCARE, L"Calibri");
    HGDIOBJ PrevFont = SelectObject(hDC, TextFont3);
    ABCFLOAT ABCCharData;
    BOOL RFlg = GetCharABCWidthsFloat(hDC, (UINT)'M', (UINT)'M', &ABCCharData); // Results: abcfA = 2.000; abcfB = 22.000; abcfC = 2.000
    //--- End of Test ---
    delete G;
    Does anybody have an idea why I get so different results?
    Thanks in advance.

    This is a development question and should be directed to a forum that assists in coding. The forum you posted to is for Windows 7 related questions.
    Sorry I cannot help you
    Don't forget to mark the post that solved your issue as &quot;Answered.&quot; By marking the Answer you are enabling users with similar issues to find what helped you. Lewis Renwick - IT Professional

  • Checking texts with multiple phones on an account

    I'm on my wifes account and was wondering how I can login to verizon and check my texts?  It will only show the texts from the primary number on the account.

    The text logs for all lines can be viewed when logged in as the Account Owner/Manager.  If you're using Verizon Messages, you can see the text content, but each phone line would need its own My Verizon account to see the texts (and other backup type items such as Cloud) for that respective phone line.

  • Can I Turn off iMessage in a group text with multiple people with different devices? There's 1 person in the group text that doesn't use iPhone anymore and they can't see any messages that are sent unless we send as regular text individually.

    Is there a way to turn off iMessage for a group text that includes multiple people with different non-apple devices? When a message is sent, only the iPhone users can see the iMessage. Those without them cannot see the texts unless we send individual Text Messages or turn off iMessage completely.

    now I have this and it still doesn't work.
    Section "ServerLayout"
    Identifier "Simple Layout"
    Screen "Screen 1" 0 0
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Touchpad" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"
    Option "OffTime" "1"
    EndSection
    Section "ServerFlags"
    Option "AutoAddDevices" "False"
    Option "DontZap" "false"
    EndSection

  • Attempting to do private browsing session froze Firefox, then won't restore one of the 2 windows I had open (with multiple tabs in each). Only 1 window is able to be restored now.

    I had 2 windows open in Firefox. Each had multiple tabs open in each window. I then attempted to do private browsing session, but then a pop-up box appeared asking me something about a script (related to private browsing). This froze Firefox. So I had to close Firefox using ctrl-alt-del. I tried to re-open Firefox, but only one of the windows will restore now (with the tabs that were previously open). I clicked on "History" in the menu bar and the "Recently Closed Windows" phrase is grayed out. Is there a way to go about restoring this window? I considered doing a restore to 3 days ago in my History tab, but I am worried that this will erase all the bookmarks I've made in the past 3 days. I've also considered going manually into history and trying to forage through each, but many of these tabs have been open for about a 3-4 weeks now as I've been keeping them all open for research. So they would be buried under hundreds-thousands of other pages. (I've done a lot of browsing). Should I just call it a loss? I appreciate any help.

    I removed add-on BetterPrivacy. No problems since then anymore.
    Regards,
    HABSBURGER

  • Run Admin Server with multiple Managed Servers each using different userid?

    We currently run separate WebLogic domain instances for each business application in a Unix environment. Each one is created using a unix userid unique to that application and which owns all the files and is used to run the process when that particular WebLogic instance is started up. We have run this way for a while.
    I am considering altering our approach to the one that is recommended, i.e. in our Production environment we would run a single Admin instance with numerous managed servers. One issue I'm stuck on is the fact that in our current environment, each application has a different unix userid that owns the files making up the WebLogic domain instance and that WebLogic instance is run under that userid.
    I've investigated and experimented using WebLogic 10.3 preview and WebLogic 10.0, but I haven't been able to determine what I have to do to make each managed server's files and processes belong to a different unix userid, if that is even possible.
    Is there a way, using the recommended approach, where there is a single Admin instance that has multiple managed servers whose files and processes are owned by different unique, unix userids?
    If not, how would you separate access to each of the Managed Servers so that the programmers who maintain them don't have access to Managed Servers that they are not responsible for?
    Thanks for any help or suggestions.....

    Hi:
    I played with this stuff and I found that this will work, without the Location elements:
    <IfModule mod_weblogic.c>
    MatchExpression /app1 WebLogicHost=server1|WebLogicPort=7003
    MatchExpression /app2 WebLogicHost=server2|WebLogicPort=7003
    </IfModule>
    Also this will work too, with no entries inside the IfModule element:
    <Location /app1 >
    SetHandler weblogic-handler
    WebLogicHost server1
    WebLogicPort 7003
    </Location>
    <Location /app2 >
    SetHandler weblogic-handler
    WebLogicHost server2
    WebLogicPort 7003
    </Location>

  • Problems with multiple copies of each photo

    I'm relatively new at using Photoshop Elements and when I was moving my photos from my old computer to my new one using an external hard drive I got multiple copies when I uploaded them to my new computer. How do I avoid this?
    I think that I had the same photos in diffrent files on the external hard drive and thus got them four times on my new computer. Do I need to sit and erase them by hand(it's 13 000!!) or what do I do. I cann't just let them be, they take up way too much space on the computer.
    How do I do not to make the same mistake again the next time I need to move them?
    This probably is a silly problem when you are used to the program but we are all beginners some time I guess! Hope you can help me...

    You can stack the duplicate images and delete the stack.While deleting the stack, application asks which photos present in the stack you need to delete. The stack can be formed from automatically suggest stacks and then you can stack them at one place. You can try this thing first with a small group of images.

  • Diill through configuration BPC to ECC with multiple values for each dims

    Hi Guys,
    I have a situation where I want to pass on multiple values (ex: Country A is made up of multiple company codes 1000, 1010, 1020).
    I added these 3 values in member property maintenance for the node Country A under a propety I created called ECC_CC.
    In the URL for DT I have ECC screeen field name BURKS_LOW=?
    When I test this DT, I go the transaction screen (eg: K5EZ) and the company code is filled with 1000 and does not recognize other values.
    Did anybody expoerience this situaton? What needs to be done to enable multiple selections insteaf of single selections as it is doign now?
    Thanks in advance
    Raj

    Hi Rich,
    I saw your similr reply to Vijy/IBM. Thanks for your queston.
    I have a followup question. Is there any workaround to accomlish this task.
    Example: What if I pass a single value though a custom ECC transaction (ZKE5Z) for profict center parmeter weather it is parent node value (eg: WWACX) or base member value (eg: 1000). Is there anyway in ECC to receive this parameter, parse it and flatten it as necsary to multiple values and execute standard txn KE5Z.
    Just a wild thought. Feel free to shoot me if I am wrong!
    Thanks
    Raj
    Note:I'll award points even if he sanwer is "NO" for this question - just kidding!

Maybe you are looking for