How to avoid word cut when switching to next line in sap scripts

Hi,
i have long text in my sap transaction, i am fetching using READ_TXT, it contains 5 lines like below
Which is the output length of one line of text in the program
for theobject list print Text length equal to exactly 132 characters.
Which isthe output length of one line of text in the program for the object list print
Text length equal to exactly 132 characters.Which isthe output length of one line of text i
n the program for the object list print Text length equal to exactly 132 characters.
my script output line length is 132 chars., now i need to print  in script without cutting the words when switching to new line.
how to achieve this functionality.
Thanks
Srini

Hi Srinivas,
You can use RKD_WORD_WRAP or TEXT_SPLIT FM to split the string into N character with out word break.
Regards,
Pavan

Similar Messages

  • How to avoid slide rebuild when switching back to Keynote?

    We're doing a presentation in which we occasionally Cmd-Tab switch from Keynote to Safari to demonstrate the features of a Web application. Many of our slides use the nice Keynote builds.
    When switching back to Keynote, though, the slide being displayed rebuilds instead of simply appearing as it was when switched away. So if we show a slide that fades in three bullet points over 10 seconds, switch to Safari to show the feature we talked about, and then switch back to go on to the next slide, we have to wait for the entire 10-second build again.
    We've tried using Spaces instead of Cmd-Tab to switch to Safari, but Keynote seems to grab on to all of the hotkeys. Ctrl-Option-Arrows and Ctrl-Option-Numbers during Keynote playback don't switch spaces, but change slides instead.
    One clunky solution we're considering is adding a static (non-built) copy of each slide where we switch to the demo -- that is, we present over the build, then proceed to the copy before switching away. This might work, but if questions come up and we need to switch to Safari during any other slide with a build, we're still coming back to a repeated build.
    Is there an option we've missed that prevents re-building the slide when Keynote "gets focus" again?
    Thanks in advance for any help anyone can offer!

    I don't think you can go back to the end of a slide with builds - after the builds have finished. So your "clunky" solution, = some kind of similar workaround, may be your only option. I've just worked out another one which might work visually for you, but also "clunky".
    The idea is to always go from your slide, wherever you happen to be in your presentation, first to a static slide which looks like a Safari window (made from a screen shot), and from there to real Safari. You can do this easily by adding a hyperlink on all your slides to that one (if you want it on all your slides, put it on the master). When you're done with real Safari you'll come back to the same faux-Safari slide. That's the easy part.
    Now, you want to get back to the right place in your presentation. This is more complicated, depending on how many slides you have in all, or at least, slides from which you may want to go demonstrate Safari again. Put hyperlinks on your faux-Safari slide, each one leading to the slide you want to continue from, or even a link to each and every one of your slides. Obviously, this might be unworkable with a huge presentation, but, with a little graphic fiddling, and some presentation practice, it might work.

  • Regarding how to find print program when you know Layout set in SAP SCRIPT

    Hi,
    I have a issue i know one Layout set name[SE71] in SAP Scripts i want to find out the print program for that can any body tell me how can we find.
    The Layout set name is <b>F140_CUS_STAT_J1</b>
    i need to find print program for that.
    Can anybody solve my issue.
    Thanks & Regards,
    Rayeez.

    Hi,
    I don't think <b>TNAPR</b> will give me any enries as this layout set<b>[F140_CUS_STAT_J1]</b> in related to FI module<b>[Japan Invoice]</b>.
    Also as per second reply i dont know about output type/Application so that i can go from NACE.
    Generally FI related Forms will be executed directly from report[Print Program] itself.
    If anybody knows solution please post it.
    Thanks & Regards,
    Rayeez.

  • How to avoid the dialogue when converting from context menu

    This is a follow-up to http://forums.adobe.com/message/2016146#443364 which was locked due to a bug.
    i would like to know how i can avoid the 'save as' dialogue when using the context menu to convert a word file to pdf using windows XP/acrobat 8/word 2007.
    so far, it always prompts me for the filename, which is annoying as it does not allow me to batch-convert several files and let the thing run its course.
    the solution provided by Steve in the other thread does not work - even if the plugin from word does not propt for a filename, it still does when triggered from explorer/context menu.
    so back to square one: how to avoid that dialogue when not opening word at all?
    cheers, thanks for any help. michael

    For a permanent change, START>PRINTERS>right click on Adobe PDF printer and select properties>General>Printing Preferences>Adobe PDF Settings. Under the settings tab, uncheck the box related to asking for a name. Pretty sure that is the location, but it may vary with version.

  • How to prevent re-login when switching in the application between different module in 6.1.1.1.11?

    How to prevent re-login when switching in the application between different module in 6.1.1.1.11?
    Please help me to figure out this or resolve this issue?

    Be sure to check that your Remoting Container service is running. If it is not, restart the service, and if it goes down again, check the event logs.
    Make sure that the AuthenticationBridgeService is enabled in your EnvironmentSettings.config, and the remoting container user is configured using the SetupAssistant.
    <RemotingContainer>
             <ConfigInfo configChildKey="key">
                   <add key="UserID" value="@@VAR:Prodika.RemotingContainer.SysUser@@" />
             </ConfigInfo>      
            <!-- Set the following services isActive flag to 'true' or 'false' -->
             <RemoteServices configChildKey="name">
                 <Service
                     name="AuthenticationBridgeService"
                     port="@@VAR:Prodika.AuthenticationBridge.Port@@"
                     isActive="true" />
    If the Remoting Container Service fails, please contact Support with details from the event logs.

  • How to avoid launching Labview when invoking VI by Teststand

    Hi, friends.
    I'm a learner of teststand. I wrote some VIs by Labview. Now I want to invoke them in teststand environment. But when I run the sequence. Labview will be automatically launched. How to avoid launching Labview when I run the sequence?
    Thanks.
    Solved!
    Go to Solution.

    I'm not sure that I follow what you are saying..  But it sounds like when the VI is called, the LabVIEW development software is started and you want to avoid that.
    If you create an executable or dll and call that from within TestStand, it should not call the development environment.  You would need to have the LabVIEW run-time engine installed on the target PC. 
    It has been many years since I've used TestStand with LV, so my memory may not be accurate.  I think the above had worked for me.  However, it seems that I recall something about having the LV code in debug mode causing it to open the development environment.... but it's a distant memory.    You're not using breakpoints where the LV VI is being called, are you?
    R

  • How to avoid data repetation when using select statements with innerjoin

    how to avoid data repetation when using select statements with innerjoin.
    thanks in advance,
    satheesh

    you can use a query like this...
      SELECT DISTINCT
             frg~prc_group1                  "Product Group 1
             frg~prc_group2                  "Product Group 2
             frg~prc_group3                  "Product Group 3
             frg~prc_group4                  "Product Group 4
             frg~prc_group5                  "Product Group 5
             prc~product_id                  "Product ID
             txt~short_text                  "Product Description
    UP TO 10 ROWS
    INTO TABLE l_i_data
    FROM
    Joining CRMM_PR_SALESG and
    COMM_PR_FRG_ROD
    crmm_pr_salesg AS frg
    INNER JOIN comm_pr_frg_rod AS prd
    ON frgfrg_guid = prdfragment_guid
    Joining COMM_PRODUCT and
    COMM_PR_FRG_ROD
    INNER JOIN comm_product AS prc
    ON prdproduct_guid = prcproduct_guid
    Joining COMM_PRSHTEXT and
    COMM_PR_FRG_ROD
    INNER JOIN comm_prshtext AS txt
    ON prdproduct_guid = txtproduct_guid
    WHERE frg~prc_group1 IN r_zprc_group1
       AND frg~prc_group2 IN r_zprc_group2
       AND frg~prc_group3 IN r_zprc_group3
       AND frg~prc_group4 IN r_zprc_group4
       AND frg~prc_group5 IN r_zprc_group5.
    reward it it helps
    Edited by: Apan Kumar Motilal on Jun 24, 2008 1:57 PM

  • How to delete a line in SAP Script

    Hi,
         How to delete a line in SAP Script.
    Cheers
    S Kumar

    Okay.if still you are looking the option of deleting line there is one solution.
    Just delete the all contents of perticuler(which needs to deleted) line including the tag column(Where you are /*) and save.if you see again than line would not be seen as blank,you will found it has been deleted.

  • How to avoid shared locks when validating foreign keys?

    I have a table with a FK and I want to update a row in that table without being blocked by another transaction which is updating the parent row at the same time. Here is an example:
    CREATE TABLE dbo.ParentTable
    PARENT_ID int NOT NULL,
    VALUE varchar(128) NULL,
    CONSTRAINT PK_ParentTable PRIMARY KEY (PARENT_ID)
    GO
    CREATE TABLE dbo.ChildTable
    CHILD_ID int NOT NULL,
    PARENT_ID INT NULL,
    VALUE varchar(128) NULL,
    CONSTRAINT PK_ChildTable PRIMARY KEY (CHILD_ID),
    CONSTRAINT FK_ChildTable__ParentTable FOREIGN KEY (PARENT_ID)
    REFERENCES dbo.ParentTable (PARENT_ID)
    GO
    INSERT INTO ParentTable(PARENT_ID, VALUE)
    VALUES (1, 'Some value');
    INSERT INTO ChildTable(CHILD_ID, PARENT_ID, VALUE)
    VALUES (1, 1, 'Some value');
    GO
    Now I have 2 transactions running at the same time:
    The first transaction:
    SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;BEGIN TRAN
    UPDATE ParentTable
    SET VALUE = 'Test'
    WHERE PARENT_ID = 1;
    The second transaction:
    SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;BEGIN TRAN
    UPDATE ChildTable
    SET VALUE = 'Test',
    PARENT_ID = 1
    WHERE CHILD_ID = 1;
    If 'UPDATE ParentTable' statement runs a bit earlier, then 'UPDATE ChildTable' statement is blocked untill the first transaction is committed or rollbacked. It happens because SQL Server acquires shared locks when validating foreign keys, even
    if the transaction is using read uncommitted, read committed snapshot (read committed using row versioning) or snapshot isolation level. I cannot see why change in the ParentTable.VALUE should prevent me from updating ChildTable. Please note that ParentTable.PARENT_ID
    is not changed by the first transaction, which means that from FK's point of view whatevere is set to the ParentTable.VALUE is never a problem for referential integrity. So, such blocking behavior seems to me not logical. Furthermore, it contradicts to the
    MSDN:
    Transactions running at the READ UNCOMMITTED level do not issue shared locks to prevent other transactions from modifying data read by the current transaction. READ UNCOMMITTED transactions are also not blocked by exclusive locks that would prevent the
    current transaction from reading rows that have been modified but not committed by other transactions. 
    Does anybody know how to workaround the issue? In other words, are there any tricks to avoid shared locks when validating foreign keys? (Disabling FK is not an option.) Thank you.
    Alexey

    If you change the primary key of the parent table to be nonclustered, there is no blocking.
    Indeed, when I update ParentTable.VALUE, then:
    in case of PK_ParentTable is clustered, a particular row in the clustered index is locked (request_mode:X, resource_type: KEY)
    in case of PK_ParentTable is non-clustered, a particular physical row in the heap is locked (request_mode:X, resource_type: RID).
    and when I update ChildTable.PARENT_ID, then:
    in case of PK_ParentTable is clustered, this index is used to verify referential integrity:
    in case of PK_ParentTable is non-clustered, again this index is used to verify referential integrity, but this time it is not locked:
    It is important to note that in both cases SQL Server acquires shared locks when validating foreign keys. The principal difference is that in case of clustered PK_ParentTable the request is blocked, while for non-clustered index it is granted.
    Thank you, Erland for the idea and explanations.
    The only thing that upsets me is that this solution cannot be applied, because I don't want to convert PK_ParentTable from clustered to non-clustered just to avoid blocking issues. It is a pity that SQL Server is not smart enough to realize that:
    ParentTable.PARENT_ID is not changed and, as a result, should not be locked
    ChildTable.PARENT_ID is not actually changed either (old value in my example is 1 and the new value is also 1) and, as a result, there is no need at all for validating the foreign key.
    In fact, the problem I described is just a tip of the iceberg. The real challenge is that I have deadlocks because of the FK validation. In reality, the first transaction has an additional statement which updates ChildTable:
    SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
    BEGIN TRAN
    UPDATE ParentTable
    SET VALUE = 'Test'
    WHERE PARENT_ID = 1;
    UPDATE ChildTable
    SET VALUE = 'Test'
    WHERE PARENT_ID = 1;
    The result is famous message:
    Msg 1205, Level 13, State 51, Line xx
    Transaction (Process ID xx) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    I know that if I change the order of the two statements, it will solve the deadlock issue. But let's imagine I cannot do it. What are the other options?
    Alexey

  • How to avoid text cutting on iBooks?

    Dear All,
    In epub 3 when multicolumn text used means text cuts on the top and bottom margin, flows on the next page. Kindly suggest me how to avoid these type of errors in iBooks.
    Thanks,
    Muzammil

    Hi Sreevidhya,
    In the collection renderer that you are using in the layout, there are 2 collection renderer.
    One for display on the tab and the other for display inside the tab content.
    Edit the one for display on the tab, for the parameter Style Safe = Yes
    Check the layout now.
    Check this link [Collection renderer settings|http://help.sap.com/saphelp_nw70/helpdata/EN/87/3d48475ee8bd448c4031aa98d90524/content.htm] for the section, Additional Parameters of the Collection Tab Renderer Settings Group
    Regards
    BP

  • How to avoid safety warning when opening a pdf from an link in another pdf?

    I make pdf in Acrobat with links to other pdf files av have made. When i try to click a link to open the pdf, i get the safety question if trust it or if i will block it. How to avoid that question all the time?

    Hello Kvalitetetsansvarlig
    Try adding the PDF to the trust location in Acrobat
    Edit -> Preferences-> Security (Enhanced), Click on "Add File", and browse to your file.
    Click on "OK" button and check.
    Regards,
    Deepak

  • How to avoid clear record when tab pages changes

    Hi All
    I am using oracle forms 10g and db 10g.
    I have created a form with four tab pages. Namely "EXPENSE" , "AMOUNT_DETAILS", "SUPPLIER" , "ACCOUNT".
    When i enter a data in page 1 ie Expense and move to next page page2 "AMOUNT_DETAILS", and enters data in page3 "SUPPLIER" and when i come back to page1 "EXPENSE" and also Page2 "AMOUNT" the data get cleared in Tab pages. There is no data again i need to enter the data manually.
    Can any one suggest me how to avoid this clear data.
    Thanks & Regards
    Srikkanth

    Hi,
    Thanks once again for your quick response.
    I have checked it , i was working with oracle apps.Now i have entered all the datas in the four tab and press save button in the screen at that time also the data get cleared.Can you please tell is there any work around for this.
    regards
    Srikkanth

  • How to avoid the prompt when verifing signature?

    I sign the doc with my cert.
    The cert is not trusted by Acrobat/Reader itself so when i try to verify the signature Acrobat/Reader will prompt the user cert is not trusted.
    My question is how to avoid this prompt through Acrobat SDK or how to add my cert to trusted cert list through Acrobat SDK?
    Thanks.

    Patrick Leckey wrote:
     You will also see the BER Decoding error when you have a self-signed peer-to-peer cert in your Windows Cert Store, even if it is not the signature you are using to sign.
    Start > Run > certmgr.msc
    Look for any certs that have "peer-to-peer" in the Intended Purpose column
    Remove that cert
    Restart Acrobat
    Give that a shot.
    Patrick,I have not found the Intended purpose of cert names "peer-to-peer".
    But I have just found the cert which will cause the signature failure.
    The key is the cert can not be removed.
    I'm very curious that why a cert has no relationship with the signature could cause the signature failure?
    Is it a BUG of Acrobat/Adobe Reader?
    If not how can i operate successfully?
    Thanks.

  • How to avoid opening photos when connecting a camera

    how can I avoid opening photos when connecting a camera?

    Connect the Camera.
    Launch Image Capture (in the Applications Folder)
    You can set what happens when you connect this device in the lower left of the Image Capture window.

  • How to avoid water damage when installing invisible shield

    Just wondering what you have to do to avoid water damage when installing Zagg invisible shield? What precautions should I take so that I do not damage the iPhone when installing Zagg Invisible shield?
    Thanks and I look forward to your replies.
    ...B

    Hi BGmail,
    I would stay away from invisible shield by zagg or similar products. I tried it, waste of £15, could have got myself a dock stand for my phone for that ****!! The problem with IS(invisible shield) is that the screen protector has a rubber feel which makes it annoying when swiping your finger on it + it's not scratch proof at all!! Mine scratched 2 days after the installation so badly that I had to remove it. The back it's hard to apply, does not cover everything you'd like to, also a dust trap that could get between tha film and the phone causing it to scratch, some people reporting the film going yellow after a while(on white iPhones).
    What I think of IS: A poor american product heavily/aggressive advertised!! Mine is off, using a hard clear plastic shell and a good screen protector, might look bulky but it's safe, only using the shell while at work, the iPhone is pretty tough, don't forget.
    Your choice... Good luck !!

Maybe you are looking for

  • How to access files from two computers on a network, one wired and one wireless?

    I cannot seem to access one computer from the other.  I have marked files for sharing, and both show the same work group.  How do I make sure both computers are installed on the router?

  • Artwork not displaying

    Artwork is not always displayed when "Now Playing" selected in artwork pane. The words "Album Artwork Not Modifiable" instead appear in the artwork pane. The problem seems to be restricted to AIFF songs. Artwork of AAC encoded songs seems not to be e

  • Debugging

    Hi!! i am using standard transaction f110 for automatic payment.It generates a DME file that resides in SAP server. My question is that How can i find out the location where it is getting stored OR how to run standard transaction F110 in DEBUG mode..

  • MS Excel for Mac

    I am a new convert to Mac, having been a PC user for many years. One thing I really miss is the "F2" key in Excel. I am running Excel for Mac on my new Apple, but the lack of the F2 facility is driving me nuts. Any ideas?

  • All the user are Workspace Administrator

    Hi, when i create a user through ##> Home -> Administration -> Users -> Create user with these features: User is a workspace administrator: NO      User is a developer:      NO Application Builder Access : NO      SQL Workshop Access      : NO Team D