Problem in formatting long text

Hi Experts,
I am printing quality notification using adobe forms.
The problem is that if there is any <TAB> in the longtext , then it is being printed as ',,'.
Ex. Test      1 is being printed as test,,1.
I am using READ_TEXT to read the text and in that itself I am getting the above format of ',,'.
Please suggest a way it could be printed as  Test    1.
Many Thanks!
Parul.

Hi Parul,
In the internal sapscript format the tab is represented as a ',,'. You should use function module CONVERT_ITF_TO_ASCII to convert the data returned by function READ_TEXT.
Reards,
Aidan

Similar Messages

  • Problem in downloading long text

    Hi Experts,
    I am facing problem  while downloading long text.
    previously it was working 5ne. now it is giving the error meaasge
    ID ST Language En not found
    is there any settings to do.
    Thanks & Regards
    Sangareddy

    In a SAPscript you do not need to use ABAP code to retrieve long text - Just use the INCLUDE command in SAPSCRIPT - see help for details
    /: INCLUDE name [OBJECT o] [ID i] [LANGUAGE l] [PARAGRAPH p]
    this puts the complete long text in and formats it for the window
    Long text problem in sap script
    Reward points..

  • Problem in Saving long texts from IC Webclient

    Hi,
    I have a little problem with BP long text transfert.
    In IC Webclient, I identify a account and I create a long text (for exemple a Accounting Note).
    I can find this text in CRM (t-code BP->long text) but, it is not transfert to ECC (XD03->Extra->text).
    If I create a accounting note directly in CRM, it is transfert to ECC !!
    The transaction PITX is customized in ECC.
    I work with CRM5.0 and ECC6.
    What I missed ?
    Gaétan

    Hi Gaétan,
    Maybe the BDOC BUPA_MAIN responsible to export the change to ECC is not being created when you make the change in IC Webclient.
    Can you confirm it in SMW01? Try to make a change in a partner long text in IC webclient, and check if the bdoc was sent to R3.
    Then try it in BP t-code, and check it again.
    If this is the problem, maybe you should contact OSS suport.
    Kind regards,
    Garcia

  • Problem in uploading long text in service master through AC02

    hi experts,
    while iam recording the LSMW through T Code AC02 the system is not linking to the longtext in service master. Kindly guide me in this regard to upload service master with service long text together

    I have the same problem where the long text is not being updated through a AC02 BDC session.  Did you find a solution to the problem yet?
    Thanks
    Johan

  • MM02: Problem in updating Long Text

    Hi All,
    My requirement is to do MM02 Conversion. I have to Update 14 fields in the transaction.I got a Problem with my LONG TEXT Field.
    Requirement for updating is whenever a double quotes comes in the place of LONG TEXT in the input file, i have to empty the LONG TEXT in the transaction.
    For modifying the already existing Long Text, its working perfectly. But problem is arising only when i want to empty the LONG TEXT field.
    What i did was,    IF zbasic-matnr_long_text = ' "" '.
                               bmmh7-tdline = ' '.
    Also i have passed Text ID, Text Langauge.
    So please Help me with this Problem
    Message was edited by:
            karthikeyan Thangavel

    Hi Sathish,
    If i use Fm Delete_Text, as soon as it encounters the FM it will delete the LONG Text.
    Since Im using LSMW, everything should happen after i run the step 'Start Direct Input Program'.
    Please just consider, suppose there is a Transaction Error in my LSMW. So according to this situation no transaction should happen i mean LONG TEXT should not get deleted.
    But Since it has enountered the FM, Long text must get deleted.
    Please correct me if anything is wrong in my Logic.
    Also tell me what i should do if my Logic is correct.

  • Formated long text in Adobe PrintForms

    I have a problem with the formatting of long texts in Adobe PrintForms.
    On certain documents, for example, the basic data text of the article must be given.
    This can contain words in UPPER CASE and then these must be given bold.
    Does somebody have a tip, how is this to be moved?
    Regards Andreas

    Hi,
    Yes you can include dynamic texte in your form . If your forms is based on DDIC interface on the context part you cann add node type Text . Fro each node of type Text you have to set if it's a dynamic text ( smartforms text ) , or include text ( sapscript's ) .
    If your form is based on a XML interface just add a node with the all value required .
    Hope this help you .
    Regards

  • Problem in Getting Long Text After uploading LT using CREATE_TEXT in CORS

    Hi Gurus,
    i am uploading long text for Reason for cancellation in CORS Transaction through CREATE_TEXT.
    after uploading this text by using this FM CREATE_TEXT i am seeing the long text what ever i uploaded through CREATE_TEXT , i am unable to see first 40 characters of that long text.
    if anybody faced this problem earlier please guide me to resolve this problem.
    Thanks & Regards
    Venkata Ramesh J

    Hi,
    can you please check this link
    Replacing the text created in create_text
    Thanks
    durga.K

  • AC02 - Problem in uploading Long text data

    Hi All,
    I record a BDC for AC02 tcode and i am able to upload all the data in AC02 tcode except long text. How can I upload this, kindly suggest.
    Thanks and Regards,
    Rajesh Vasudeva

    Hi,
    Check the below threads.It could be helpful to you.
    LONGTEXT: MATERIAL - PRUE
    problem with long text
    Cheers,
    Hakim

  • Formatting Long Text gets disturbed during Adobe form Printing

    Hi Guru's,
    I have developed Adobe Form for PM work Orders (IW32) printing using Code u2018SFPu2019. The Order Contains order Long Text or Operation Long Text.
    In my case the user maintains some table like structure in the Long text .e.g. ( Here the tab means the actual space and the text length can vary. So basically he will draw a table cells one below another by adjusting tab's)
    Text 2 Tab Tab   |___|___|
    Te TabTab Tab |___|___|
    I am reading this using READ_TEXT and it gets perfectly read.( I mean the tab positions will be intact. Also it will remain intact by the time ADS will get called)
    When i submit this for generating Adobe Form the formatting of the tab positions gets disturbed and it prints something like
    Text 2 |___|___|
    Te |___|___|
    How to keep the Tab positions intact while printing the Adobe Form? For SAP script printing it comes perfectly but for Adobe form printing it gets disturbed. Any idea how to handle this situation?
    Thanks
    Pradeep

    Tough request!
    You have to calculate the widths of texts so that to determine to which tab position refers each tab character.
    You might print the sapscript to OTF format, and read the OTF to get the exact positions (based on top left border of the page).
    But now comes the second big issue: how to position a text in Adobe form at a dynamic position. That, I don't know. You might ask a question about this 2nd issue in forum

  • Problem in viewing long text in QP03

    Hi
        Facing a strange problem while trying to upload long text in QP01 using SAVE_TEXT.
    the long text is getting uploaded properly
    an entry is inserted in STXH with object, id, name, etc.
    but when i try to view the long text in QP03 txn. (Display), there is no icon for view long text
    when i go back to QP02 in change mode, the icon for long text (Create long text without horizontal lines embedded on it) exists, after clicking it am able to see the long text and if i am saving the plan while leaving the txn, then again if i see the same plan in display mode (QP03), i am able to see the long text icon and the long text by clicking it..if and only if i view manually every long text in QP02 and save while coming out the txn., I am able to see the long text icon and the long text in QP03.
    Is it any setting problem or where am i wrong?
    Sathish. R

    hi
       r u sure? bcoz the program was running fine with long text viewable in QP03 all this time
    Sathish. R
    Message was edited by:
            Sathish

  • Problem in getting long text in Cash receipt.

    Hi all,
    I want long text in my form print but as a programming i am not getting long text in description Field I am getting short text.  So can you please kindly tell me when we entered long text in transaction FBCJ this long text save in which table. And how can i fetch this data in my smartforms.
    Thanks in Advance.

    Hi Keyur,
    when you see the detail text in the transaction, use menu goto -> header. Here you see the details to use for an include staement in sapscript. Note that the text name may be a concateneation of client and document number. Prepare the details in print program, fill in variables to be used in sapscript.
    Hope these details are enough.
    Regards,
    Clemens

  • Problem loading hierarchy long text. Item text only displays 45 characters

    Hi,
    When loading the Financial Statement hierarchy from ECC to BI I am only getting a 45 character long text for the nodes. This text seems to correspond to the "Item" text seen in transaction fse3 in ECC. However, the text that I need to have is the (concatenated) long text enterer in the multiple fields under either "End of Group" or "Start of Group" (under Item: Display Texts in fse3).
    Does anyone know if it is possible to extract this information and how to go about when doing this?
    Points will be rewarded for help.
    Regards
    Nils

    Hello Vânia,
    >> fac586, Thank you very much for your help ….
    Just so you know, fac586 is called Paul :).
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Formating long text in smartforms

    Hi,
    I am receiving a long text in an internal table of lines.
    But when i do the loop to the table to display the lines, i cant justify this same lines to the cell, even if the paragraph is defined as justify.
    Thanks,
    Bruno Pimenta

    Hi,
    check this...
    CALL FUNCTION 'READ_TEXT'
        EXPORTING
         client                        = sy-mandt
          id                            = 'B01'
          language                      = sy-langu
          name                          = name
          object                        = 'EBANH'
    *   ARCHIVE_HANDLE                = 0
    *   LOCAL_CAT                     = ' '
    * IMPORTING
    *   HEADER                        =
        TABLES
          lines                         = it_lines
    EXCEPTIONS
       id                            = 1
       language                      = 2
       name                          = 3
       not_found                     = 4
       object                        = 5
       reference_check               = 6
       wrong_access_to_archive       = 7
       OTHERS                        = 8
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      REFRESH c_tab[].
      CALL FUNCTION 'CONVERT_ITF_TO_ASCII'
       EXPORTING
    *     CODEPAGE                = '0000'
         formatwidth             = 72
         language                = sy-langu
         tabletype               = 'ASC'
    *     TAB_SUBSTITUTE          = ' '
    *     LF_SUBSTITUTE           = ' '
         replace_symbols         = 'X'
         replace_sapchars        = 'X'
       IMPORTING
    *     FORMATWIDTH_E           =
    *     X_DATATAB               =
         c_datatab               = c_tab[]
    *     X_SIZE                  =
        TABLES
          itf_lines               = it_lines
    *   EXCEPTIONS
    *     INVALID_TABLETYPE       = 1
    *     OTHERS                  = 2
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT c_tab.
        CONCATENATE text c_tab INTO text  SEPARATED BY space.
      ENDLOOP.
    Arunima

  • Problem in saving long text data from custom

    Hi Expert,
    I am working on a screen exit in QM01. I have created a editor box(like the description box under Description tab in QM01) using class cl_gui_custom_container and cl_gui_textedit. I am able to create and display the text I type in the box alongwith other standard changes but if I try to change and save the text only in the custom text box, it is not getting saved. I  debugged and found out that the standard does not recognize any change in the custom controller box.
    Please suggest.
    Thanks in advance,
    Sangeeta.
    Edited by: Sangeeta on Oct 1, 2009 7:01 AM

    Solved on my own. Consider all the scenarios by Using read_text in PBO and edit_text FM in PAI. At last save_text in the PAI.

  • Problem in Reading  Material Long text in Sapscript

    Dear firends,
    I have written  following code in sapscrit to fetch the longtext of the material
    INCLUDE &MARA-MATNR(K)& OBJECT MATERIAL ID GURN LANGUAGE &NAST-SPRAS&
    Test name - material no(MARA-MATNR)
    object - MATERIAL
    text id - GURN
    LANGUAGE - EN
    but i am not table read the longtext by using above code, when i see in debug mode  ,i am getting warning message
    "data is not available for materil 0000013,GURN,MATERIAL" like that.
    i don't find any problem in code , long text also availble for material 0000013.
    i don't where is the problem , please give me solve this issue.
    Regards,
    D.prabhu

    Hi
    You have to fetch this Long text of this Material using READ_TEXT fun module by passing the 4 parameters as mentioned by you  by writing some code in the program or by writing the external subroutine using PERFORM statement
    Only Application HEADER and ITEM texts can be included in script using the INCLUDE command
    So write the code for the Read _Text fun module and fetch it into Internal table lines and pass/print those to script
    pass the same 4 parameters
    Test name - material no(MARA-MATNR)
    object - MATERIAL
    text id - GURN
    LANGUAGE - EN
    see the sample code
    data:begin of it_stxh occurs 0,
            tdobject type tdobject,
            tdname type tdobname,
            tdid type tdid,
            tdspras type spras,
          end of it_stxh.
    types:begin of ty_lines.
            include structure tline.
    types:end of ty_lines.
    data:it_lines type standard table of ty_lines with header line.
    it_stxh-tdid = 'GRUN'.
    it_stxh-tdspras = 'E'.
    it_stxh-tdobject = itab-matnr.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
      CLIENT                        = SY-MANDT
        ID                            = it_stxh-tdid
        LANGUAGE                      = it_stxh-tdspras
        NAME                          = it_stxh-tdname
        OBJECT                        =  it_stxh-tdobject
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
      TABLES
        LINES                         = it_lines
    EXCEPTIONS
      ID                            = 1
      LANGUAGE                      = 2
      NAME                          = 3
      NOT_FOUND                     = 4
      OBJECT                        = 5
      REFERENCE_CHECK               = 6
      WRONG_ACCESS_TO_ARCHIVE       = 7
      OTHERS                        = 8
    IF SY-SUBRC eq  0.
    loop at it_lines.
    < Print these lines in script by passing to script>
    endloop.
    ENDIF.
    Regards
    Anji

Maybe you are looking for

  • Report of Sales Profit in Finance - ASAP

    Hi, There is a requirement from our user to report the profit for every sale from the finanace side. The report should look like Doc # Billing Doc #  Sales Order #     Cost Amt   Rev Amt All the data has to be taken from the GL line item cube. This C

  • Design studio with BPC

    Hello Experts, How can I connect Design Studio with BPC cubes. I am Using DS version 1.3 I need to create Design studio with BPC data. Gone through some documents but couldn't find out the way to do this. Regards, LKumar

  • Skins & af|selectOneRadio - changing the icon selected/unselected render?

    Wondering if someone has tried changing the render of the af|selectOneRadio component using CSS/skins? I want to replace the various images used by the blafplus-rich default to bring it into line with radio-button renders used elsewhere in our apps.

  • CodedUI : How to stop the TestMethod from iterating in a csv file?

    Hello All, I have a [TestMethod] which use a csv file. Now this csv file have some 20 rows in that. For one [TestMethod] I need to select one row from that csv, I am able to extract that row. No problem so far.  Once my [TestMethod] finished executio

  • Printing with slices problem...

    Hi, I've designed an site www.priestnallcourt.co.uk for my girlfriends workplace. Problem is someone has brought to my attention when you do print it comes out messed up. I did print preview and can see its a mess, I think the problem is because I de