PO LONG TEXT of Length 400+ char

Hello ABAPers,
I have a case where i want to update the PO_Long_Text field in MM02. The Text Editor  in the Po Long Text screen can take only 72 char per line and an internal tables variable to which I will import my actual long text of approx 400 char.Since a CHAR variable can take max of 256 chars only,I will have to break the Long text into 2 parts. How can I achieve this? Any idea/hint?
Regards,
Bhavin P Shah

Hello,
Unfortunately, there is no possibility to change the length to more than 60. This is because all interfaces are based on  60 characters and the storage on the database is 60. Please refer to the attached SAP notes :
545923     FAQ: Technical limits/customer namespace/p             
540868     Technical limits for characteristics                   
Best Regards,
Des

Similar Messages

  • Displaying long text of length 1000 in Bex or query views

    Iam having a situation to report on master data of length more then 60 like in 1000 its basically comment field driving  business .
    Option to load in BI back end is split into mutiple infoobjects and concatenate but iam still stuck with reporting part .Went thru eugenes blog but still didnt get the correct output.
    Goodday.
    Edited by: SapBuddy on Mar 12, 2010 3:40 PM

    Hello,
    Unfortunately, there is no possibility to change the length to more than 60. This is because all interfaces are based on  60 characters and the storage on the database is 60. Please refer to the attached SAP notes :
    545923     FAQ: Technical limits/customer namespace/p             
    540868     Technical limits for characteristics                   
    Best Regards,
    Des

  • How to send long text  in a mail using FM : SO_NEW_DOCUMENT_SEND_API1

    Hi All,
    In my BSp application user can enter long text   ( can be more than 300 char ) in TextEdit.
    problem is as below:
    1) i am getting all the text in oninput processing ...
    2) using the FM READ_TEXT to   get mail template built in SO10.
    3) Replacing all dynamic variables in mail template with user enterd text.
    4) then passing the data to FM SO_NEW_DOCUMENT_SEND_API1.  this FM has table parameter with 255 char ( please check once )
    i am able to send the data  in mail.   But long text more than 256 char is not comming as single paragraph.
    For expamle  ...user enter the following  text in text edit.
    Responsible for the development, implementation, and maintenance of human resource information systems (HRIS) associated with the collection, retrieval, accessibility, and usage of employee information for Human Resource department planning and activities.  Maintains internal database files and tables, and develops custom reports to meet the requirements of Human Resource management and staff.
    in inbox i am getting as below:
    Job Description for    : Responsible for the development, implementation, and maintenance of human resource information systems (HRIS) associated with the collection, retrieval, accessibility, and usage of employee information for Human Resource depa
      Maintains internal database files and tables, and develops custom reports to meet the requirements of Human Resource management and staff.
    Job Description for is fixed text from SO10 templete.   and  remainning text is user text.
    some data is missing in mail.
    SO10 template  is as below  :
    Job Description for : &INSTRUC1&
    &INSTRUC2&
    help to solve the above issue.
    Regads,
    Kishan
    Edited by: kishanrao.sap on Oct 11, 2010 3:12 PM

    Hi Krishna,
      Please use the object_type parameter of tthe FM as 'HTM'.
    Then divide the text by append them into the lines of the object_content. In the begining and end make sure you have
    <p> --  in the begining
    </p>-- in the end
    if i want to type the text in one para " My name is Imran and i am an ABAP developer".
    CLEAR: WA_OBJECT_CONTENT.
      WA_OBJECT_CONTENT-line = '<html>'<body><p> My name is Imran.
      APPEND WA_OBJECT_CONTENT TO T_OBJECT_CONTENT.
    CLEAR WA_OBJECT_CONTENT.
      WA_OBJECT_CONTENT-line = ' and i am an ABAP developer</p></body><html;>'.
      APPEND WA_OBJECT_CONTENT TO T_OBJECT_CONTENT.
    Hope this helps you.
    Regards
    Imran.

  • (How) Can I include Long Texts in Reports or Queries?

    Hello,
    We need to send our vendors their contract details including some of the long texts data.
    So far we were sending excel spreadsheets to the vendors without the long texts. Is there some way we can start sending the spreadsheets to our vendors adding few extra columns for the long texts. Some of the vendors contracts have 20+ lines of data in the long texts.
    Are there any better or easier ways than excel spreadsheets?
    Is any kind of query development possible  where long texts can be included?
    Appreciate your time and answers.
    Fred.

    Sorry friends for not communicating my requirement clearly. I am aware of the functions to retrieve the long texts data for purchase orders/contracts.
    I need some help in downloading the data to excel sheets. I believe there are restrictions in the number of characters that can be accomodated in a excel column, so I am not sure if very long texts (say >500 lines & 72 chars each) can be wrapped around within a excel column.
    Also can a query be written to extract long texts, or can long texts, >500 lines & 72 chars each, be displayed using ALVs?
    Thanks a lot for your time. Appreciate your inputs.
    Below is a sample of how the report needs to look.
    Contract Number     Vendor     Long Text1     Long Text2
    0000000001                     ABC Firm     Text ID'01ABC' Text ID'01ABC' Text ID'01ABC' Text ID'01ABC'      Text ID'02ABC' Text ID'02ABC' Text ID'02ABC' Text ID'02ABC'
                                              Text ID'01ABC' Text ID'01ABC' Text ID'01ABC' Text ID'01ABC'      Text ID'02ABC' Text ID'02ABC' Text ID'02ABC' Text ID'02ABC'
                                              Text ID'01ABC' Text ID'01ABC' Text ID'01ABC' Text ID'01ABC'      Text ID'02ABC' Text ID'02ABC' Text ID'02ABC' Text ID'02ABC'
                                              Text ID'01ABC' Text ID'01ABC' Text ID'01ABC' Text ID'01ABC'      Text ID'02ABC' Text ID'02ABC' Text ID'02ABC' Text ID'02ABC'
    0000000002                     XYZ Firm     Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ'     Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ'
                                              Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ'     Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ'
                                              Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ'     Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ'
                                              Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ'     Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ'

  • Loading Long text longer than 132.

    Hi,
    I am trying to load Material Master long text (Basic data, Purchase order Text) . The LSMW (a standard batch / direct input) for Long text only allows 132 chars and my long text is longer than 132?
    What can i use to load the long text?
    Regards,
    K.

    Hi
      Within the program, structure TLINE loads the text.
    This structure consists to fields TDFORMAT and TDLINE.
    The text exists in field TLINE-TDLINE.
    Whereever, we need to give extended text we can use '=' symbol for TDFORMAT. Just like in SAP Script Form(Extended Line).
    Alternatively you can use FM: SAVE_TEXT for loading the texts.
    Insert a convert routine to split the text in several lines.
    You can use the following function module to split your long text into multiple lines.
    QADB_DOCU_CONVERT_TO_SAPSCRIPT
    You can refer this link for further information
    Re: insert it into the next line in internal table
    Thanks.

  • Long text problem in sap script

    Hi Experts,
    I have craeted sap script for payment print progrem.. in my sap script one window is text window... client want more then 300 char for that window. for that i use read_text function module... its working fine... but problem is it retrive only one line from long text editor. only 70 char i got.
    below is my coding......
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        ID                            = '0001'
        LANGUAGE                      = sy-langu
        NAME                          = NAME
        OBJECT                        = 'DOC_ITEM'
      TABLES
        LINES                         = LINES          .
    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 LINES.
      n = 0.
      l = 132.
      text+n(l) = lines-tdline.
      n = n + 132.
      l = l + 132.
    ENDLOOP.
    in sap script i have direct pass lines-tdline
    *&lines-tdline&
    Please suggest me which point i missing?
    Thanks
    Jigar

    Hi All,
    The standard text will be stored in Name = ORDCONF_TEXT_(sales org)_(distributionchannel)_(division)
    Text ID = ZSD
    Examples: ORDCONF_TEXT_4000_01_01 , ORDCONF_TEXT_4000_01_80 , ORDCONF_TEXT_1000_01_01.
    Requirement :
    The print program /form will need to pick up the appropriate standard text based on the Sales Area (combination of Sales Org / Distribution Center / Division) of the sales order [VBAK-VKORG / VTWEG / SPART], provided a standard text has been created for that Sales Area. Itu2019s not required that every sales area have a standard text, so if one is not found, this step should be skipped and the rest of the print program executed.
    The new text should print after 2 blank lines after the Printable Notes text (which is after the line items and the Total Net Price prints).
    The font should be the same size as the Printable Notes, but bolded rather than italicized.
    The text should print in the same columns as the Printable Notes currently print in (Material Description / Scheduled Ship Date / Quantity) .
    So the logic i have used is this below code:
    I used a subroutine in the layout of the main window becoz i need to print it in the main window below after 2 blank lines of line items.
    This is logic in the layout:
    /:PERFORM GET_OBJECT IN PROGRAM ZSDRP001_ORD_CONF_IRE
    /:USING &VBDKA-VBELN&
    /:CHANGING &ORDCONF_TEXT&
    /:ENDFORM
    /:INCLUDE &ORDCONF_TEXT& OBJECT TEXT ID ZSD PARAGRAPH A1
    I called this subroutine in the print program:
    Logic in the print program:
    FORM GET_OBJECT TABLES INPUT_TAB STRUCTURE ITCSY
                                                 OUTPUT_TAB STRUCTURE ITCSY.
    DATA : TMP_VBELN LIKE vbdka-VBELN,
                TMP_VKORG LIKE VBAK-VKORG,
                TMP_VTWEG LIKE VBAK-VTWEG,
               TMP_SPART LIKE VBAK-SPART,
               TMP_TXNAM1(40) TYPE C VALUE 'ORDCONF_TEXT',
               TMP_TXNAM2(100) TYPE C.
    DATA: v_text LIKE tline-tdline.
    DATA : P_V_TEXT LIKE tline-tdline.
    CLEAR : TMP_TXNAM1, TMP_TXNAM2, TMP_VBELN, TMP_VKORG, TMP_VTWEG, TMP_SPART.
    READ TABLE INPUT_TAB WITH KEY NAME = 'vbdka-VBELN'.
    IF SY-SUBRC = 0.
    tmp_vbeln = input_tab-value.
    ENDIF.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING INPUT = TMP_VBELN
    I
    MPORTING OUTPUT = TMP_VBELN .
    CLEAR VBAK.
    SELECT SINGLE VKORG VTWEG SPART INTO (TMP_VKORG, TMP_VTWEG, TMP_SPART)
                                            FROM VBAK WHERE VBELN EQ TMP_VBELN.
    IF NOT TMP_VKORG IS INITIAL
    AND NOT TMP_VTWEG IS INITIAL
    AND NOT TMP_SPART IS INITIAL.
    CONCATENATE TMP_TXNAM1 TMP_VKORG tmp_vtweg tmp_spart into TMP_TXNAM2 SEPARATED BY '_'.
    endif.
    CONDENSE TMP_TXNAM2 NO-GAPS.
    PERFORM read_order_text USING TMP_TXNAM2 CHANGING v_text.
    READ TABLE output_tab WITH KEY NAME = 'ORDCONF_TEXT'.
    IF SY-SUBRC = 0.
    output_tab-value = P_V_TEXT.
    MODIFY output_tab index sy-tabix.
    endif.
    endform.
    FORM READ_ORDER_TEXT USING P_TMP_TXNAM2 CHANGING P_V_TEXT LIKE tline-tdline.
    DATA: ztdid LIKE thead-tdid,
              zlang LIKE thead-tdspras,
              zobj LIKE thead-tdobject,
              zname LIKE thead-tdname.
    DATA: tlines TYPE STANDARD TABLE OF tline WITH HEADER LINE
              thead LIKE thead.
    CLEAR P_V_TEXT.
    ztdid = 'ZSD'.
    zlang = 'E'.
    zobj = 'TEXT'.
    zname = P_TMP_TXNAM2.
    CLEAR tlines.
    REFRESH tlines.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    object = zobj
    name = zname
    id = ztdid
    language = zlang
    IMPORTING
    header = thead
    TABLES
    lines = tlines
    EXCEPTIONS
    id = 1
    language = 2
    name = 3
    not_found = 4
    object = 5
    reference_check = 6
    wrong_access_to_archive = 7
    OTHERS = 8.
    LOOP AT tlines WHERE NOT tdline IS INITIAL.
    MOVE tlines-tdline TO P_V_TEXT.
    ENDLOOP.
    ENDFORM.
    But still its not getting printed .Plz tell me where i am going wrong.
    Thanks,
    Suman

  • How to display long text in SAP Query ALV layout? It only show 129 char now

    I have a SAP Query which show a remark field(Max length more than 500 char), but it only show max length 129 char now. In fact, the lenght of remark field text is more than 300, and i had debug the source code, the field text value do is correct, its length do is 376.
    Do anybody can help me solve the issue, let the query ALV layout can show the long text field value?
    thanks very much in addvance.

    Hi,
    ALV can show only a restrict value length around 128 characters, many experts said that we can not extend. many suggestions is split text into some column.
    Regards,

  • Need to assign char in o12c to show long text of the char in PI sheet

    Hi, Trying to learn PP-PI.  in o12c t-code, created instruction category u201Ctextu201D under instruction cattype (0) and trying to assign a characteristic (test) which is having char group as u201Cprocess instruction characteristicsu201D and willing to select u201Clong text indictor- Tu201D against this characteristic, but getting the error that u201Cthis characteristic is not supported for long textu201D. Please advise how to set long text indicator so that we can show long text in the pi sheet. Thank you.

    Hi,
    To Maintain Long text for characteristic in O12C , you need to
    1) create the Char in T-code O25C with Data type character and click on Proc.Mgmt tab
    2) Tick unlimited field situated right of Length and SAVE the char
    3) Assign this char in O12C under instruction cattype (0). You can see the indicator in the field Text. Now it will allow to main long text for that char in O12C.
    Hope this will help
    Regards
    Brahmaji D

  • Is it possible to Create a Long Text Field (more than 255 Char Long)?

    Is it possible to Create a Long Text Field (more than 255 Char Long) as like Description field in Service Request Object??
    Thanks!

    Hi
    User can only create custom Long text field (255 Charcter) . Currently system does not support custom note creation

  • Text messages over 160 chars long are being converted to MMS

    Hi, Just found out from EE that text messages over 160 chars long are being converted to MMS which are not included in my mobile plan.
    I have an iPhone5 on IOS 6.1.3 - Anyone know if Apple intend to fix this?

    Sorry but that isn't an Apple feature, but a carrier feature - they are the one who set the limits.  You will need to talk to your carrier about that one.

  • Char. formats(Bold, Underline) in Long text editor not visible in ABAP WD

    Hi ABAP experts,
    Problem:
    I have created long text with using bold and under line formats in long text editor (FM TEXT_ EDIT). I am trying to show same text in WebDynpro using READ_TEXT FM. But FM READ_TEXT is getting long text with HTML tags as shown below for bold and underline and it long text showed as same in WebDynpro application with HTML tags.
    Long text shown in webdynpro:
    Type your message using the form below. When finished, you can
    optionally preview your post by clicking on the <H>"Preview"</> tab.
    Otherwise, click the <U><H>"Post Message"</></> button to submit your
    message immediately.
    Is there any function module available to change format and pass to WebDynpro context?
    Thanks
    Rajesh Yadla

    The normal text editor in Web Dynpro won't handle HTML tags (they get safe encoded as you described).  In NetWeaver 7.01 we do introduce a FormattedTextEditor that allows for such formatting. There are APIs to convert from SAPScript based texts to the XHTML FormattedText tags.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/2772f505605447e10000000a422035/frameset.htm

  • How to find the exact word in a long text?

    Hi,
    Scenario:
    I have long text containing the system status of the equipment.
    Issue:
    I need to find the exact word from the list of the statuses. I have tried to use the FIND keyword but it does not work for all the cases.
    Example:
              FIND 'REL' IN <status_list> IGNORING CASE.
              if sy-subrc = 0.
              " do something
              endif.
    If the status list contains the word 'RELR', the sy-subrc is set to 0 (which may be because it searches the list based on a pattern) but I want to get the exact match.
    Can anybody suggest me on this.
    Regards
    s@k

    >
    siemens.a.k wrote:
    > Dear Kiran, Vasuki,
    >
    > The data type of status list is char with length 40.
    > The status list:
    >
    > Case 1: list -  REL  MANC NMAT PRC  SETC
    > FIND 'REL ' IN <status_list> IGNORING CASE
    > the sy-subrc is set to 0
    >
    > Case2: list - CRTD MSCP NMAT PRC  RELR SETC
    > FIND 'REL ' IN <status_list> IGNORING CASE
    > the sy-subrc is still set to 0 even though the list does not contain the word 'REL'
    >
    > I have also tried using
    > if <status_list> CS 'REL'
    > and
    > if <status_list> CS 'REL '
    >
    >
    > Please do let me know if I am anyway unclear about issue...:)
    >
    > Regards
    > s@k
    This is becacuse when you check
    > Case2: list - CRTD MSCP NMAT PRC  RELR SETC
    It is having RELR so that is the reason you are getting subrc = 0.
    >Ok try CS it should work perfectly.
    It seems... CS also not the correct answer
    (It will count RELR)  below thread sachin is correct ...Do that way ....
    Regards
    sas
    Regards
    Sas
    Edited by: saslove sap on Jan 25, 2010 6:58 AM

  • Upload long text from excel file into internal table

    I need to upload service master(T-code : AC02) data alongwith long text.Now i have data in excel as: Service no(ASMD-ASNUM) and corresponding long text for it.
    I am facing problem in getting entire lontext from excel into my internal table.It only takes till 255 characters i think.Any help in this regard woulg be highly appreciable.

    hi,
    what is the maximum length of your long text.
    and you can try with more than 255 chars. in the internal table it will take , if you want check it.
    i'm in 4.7 ,5.0 version, what about you ..
    please check , you can upload even more than 255.
    try
    regards
    vijay

  • Upload Material master with long text using LSMW

    Hello,
    i want ot upload material master data via MM01 using LSMW in following views: basic data 1 ,2,  purchasing, purchase order text, plant data 1,2.
    i have to upload long text in purchase order text with length more then 132 char. (approx 700 char long text). and i have text file in which long text is maintained in a single row. then how can i do it without formating text file or anyother possible solution.
    please help.

    ca u clarify how can i do it.
    suppos i have longtext   "Air cooled type air-conditioning unit complete with following components & distance between indoor & outdoor unit is  10 RMT.  A).Indoor evaporating unit comprising of cooling coils,insulated drain tray,20 micron HDPE washable filters,blower,motor,electical junction box etc. B).Outdoor condensing unit comprising of hermatic/semiharmetic compressor's.condenser coils,propeller/axial fans,motors,pressure switches/cutout etc.C).Charging of refrigerant gas & oil.D).Inter connecting refrigerating piping  of copper duly insulated with EXPANDED POLYETHYLENE tubing.E).Complete electical power wiring of AL.&Control wirng of copper required from indoor & outdoor units.Earthing of the complete system with 8 G G.I.wire.  F).Electrical panel will be completed with necessary starter,fuses,switches,timers,over-load relays,contactors,push button and indicating lamps,single phasing preventer etc..and also with remote control with cording. G).The panel should have 1 no.potential free contactor to connect with central fire detection system.The panel should have voltage scanner to ensure stabilized power input to the machine.H).Outdoor unit shall be mounted on MS angle base frame structure duly black painted with synthetic epoxy paint.I).The frame structure shall be mounted on MS plate & serrated rubber pads."
    then what i have to do changes in lsmw.?

  • Using long text in Mobile 7.1

    Hello,
    We are using Mobile 7.1. We want to display a long text of the notification object in the Mobile Client. We defined this field as STRING data type in the DOE and set TEXT MEMO flag for it. Unfortunately we have a problem with its definition in the backend. This field is included in the header structure for the noitification obect so when we define it as STRING (DSTRING data element), we get compilation error that STRINGS cannot be defined in the flat structure.
    So how can we define this field in the backend in order to transfer more than 256 characters?
    Thanks in advance,
    Sergey

    Hi,
    You need to have a separate table to store attachments in the backend.
    In the DOE define the attribute as STRING(tick the text memo) [This you have already done] .
    In the backend you will need another table where you will be storing the attachments.
    Lets assume you have a notification table : In this define the field for headertext with the data type as CHAR  and length 1
    Create another table where you want to store the attachments:
    You can have the fields as NOTIFICATION and HEADERTEXT. This headertext should have a datatype STRING. You can also have a field called attachment type to store whether it is HeaderText or Binary Memo.
    Create a BAPI wrapper for getting the HEADERTEXT with importing parameter as NOTIFICATION and exporting HeaderText and a return parameter:
    Here the source code:
    SELECT SINGLE b~headertext INTO e_headertext
             FROM <notification table> AS a
               INNER JOIN <attachment table> AS b ON
                 borderid = aorderid
                 WHERE a~orderid = orderid AND
                  a~headertext = 'X' and
                  b~ATTCHTYP = 'HEDTXT'.
    Now in the DOE : give this function module name in the attachment Function module. SAVE (very important)
    After doing the mapping go to the attachment tab and do the mapping with the attachment function module.
    save and activate the backend adapter.
    execute SDOE_LOAD.
    Go to SE11: there should be a table starting <cds table name>ending with _TM.
    Create an application in the similar way. No extra code required.
    Thanks and Regards,
    Narayani

Maybe you are looking for

  • MSI K7N2 Delta ILSR

    A few days ago i put in my 120Gb Western from my old comp (witch my dad use. He really needs that comp), and everything is working just fine. But the my dads comp didn't work. So i put the 120Gb back in2 his, and that did it. His comp is working fine

  • BPM Automated Activity: Technical User vs Named User

    Hi Folks, I've implemented a number of working BPM prototypes and now our customers are so interested they want us to implement a number of productive solutions for different process scenarios. Technically we all know that for the automated activity

  • The Apache axis2 jar files are not taking at run time

    While running the application I was getting the following errors. The error is getting at run time only. It has compiled successfully. It ran under eclipse without any issues. But with Apache axis we are getting following error trace while uploading

  • HT201229 If I block a number , what does the caller, or text messager get as a response on their end?

    If I block a number . What response does that party get if they call or text my number?

  • Drag and Drop -- setActions

    Hi! I would like to change the TargetActions and SourceActions during dragging. I am not sure how to set these values in general. The documentation is not providing to much information. Also examples and tutorials are not easy to find on dnd. Thanks