Long Text in BOM

Hi,
I have a BOM with some text items. I have some long text maitained for these text items through tab whenI go to that text item and "Status/long txt" tab.
I need to know the table and field where tihs long text is stored as STPO stores the item text 2 line and not the long text.
Rg,
Vipul

Hi Vipul,
You can get the long texts using the following function module:
'CSAP_MAT_BOM_READ'
(All the tables parameters recieve values..)
All the long texts will be available in TABLES parameter 't_ltx_line'
Please let me know if you have further doubts...
Regards,
Arun B

Similar Messages

  • How to load long text in BOM line item

    Hello Experts
    How do i load Long text in BOM Line item using LSMW
    Thanks
    S
    Edited by: Alvaro Tejada Galindo on Jan 31, 2008 5:11 PM

    Use Read_text function module.
    you need to pass
    ID
    LANGUAGE
    NAME
    OBJECT   to the function moduel
    To find the Text id name language and object these are the following steps. Example: FB02
    1. goto FB02, Enter Document number
    2. from menuselect Goto>Header-->header Text..... New window will be displayed 
    3. select the Header Text. here you can see all the text. 
    4. click on the TEXT (which you want to know the Text id) , then press log ICON (you can find in bottom right of the text window) it looks like a rolled paper. 
    5. in the Next window you will find Text Name. Text ID, Language. etc...
    Regards,
    Lalit Mohan Gupta.

  • Regarding Saving of LONG TEXT in QP02/QP03

    Hi All,
    I am saving the long texts for Inspection Characteristics using SAVE_TEXT.
    The Text is getting saved but i am not able to see it in Display (QP03).
    To see it in display I need to Save the text first in QP02 and then it is available in QP03.
    I tried using COMMIT_TEXT after SAVE_TEXT..but it's not happening.
    Your help is needed on this.
    Regards,
    Priyanka

    Hi
    one way to upload the long text is to run a bdc.... in BDC check the long text and put the default data in the text with the length greater than 40 characters ........now use  the create_text to upload the long text with the data u need to upload with....
    second one in uploading the BOM header i had also updated a field LTXSP in table STKO for those BOM's..this field is required to be updated for the display of long text in BOM.....
    Similarly u can also find the field in the table for Inspection plan.....i m sory i dnt know much about inspection plan....but there also a similar logic can be applied....can u tell me about the table u are using to update the QP02
    kanishak

  • How to Populate long text(item text)  from BOM CS01 to CJ20N transaction

    I have requiremnt  in which i need to Populate long text/item text  of  BOM  from CS01 to CJ20N transaction(PS network)

    Hi Naveen,
    for anylong text related work use the functions READ_TEXT and SAVE_TEXT.
    read the long text of the BOM item using the proper header and then populate the same text lines to the PS network using the new header specific to the PS network.
    Prabhas.

  • BOM Item Text/Long Text

    Hi Gurus,
    I want to change a BOM and update/create the BOM Item text/Long text. I just want to change the BOM and create an item text (If the text is more than 80 chars, then I should be able to create a long text).
    I tried using FMs SAVE_TEXT and CREATE_TEXT without much luck. Could someone throw some light on how to achieve this.
    R

    Thanks Sudheer. Yes, I'm passing the correct parameters. Please see below.
            CONCATENATE sy-mandt ls_stpo-stlty ls_stpo-stlnr
                                     ls_stpo-stlkn ls_stpo-stpoz
              INTO lf_tdname.
              CALL FUNCTION 'CREATE_TEXT'
                EXPORTING
                  fid       = 'MPO'
                  flanguage = sy-langu
                  fname     = lf_tdname
                  fobject   = 'BOM'
                TABLES
                  flines    = lt_lines
                EXCEPTIONS
                  no_init   = 1
                  no_save   = 2
                  OTHERS    = 3.
    The thing is that it should save the text in Line1 and line 2 of the item text if the length is less than 80. I assume that the TEXT Fms will do it for me. Please correct me if I'm wrong.
    I have also tried a direct database update by changing the stpo-ltxsp field. No luck again. Did someone has updated/created the text using this method ?

  • Function Module for BOM for posting BOM component long text

    Is there any SAP provided Function Module for posting BOM components long
    text if so please let me know as it is very urgent for me.

    Hello Sridevi,
    The following customer exits are available for BOM, please check the excect one.
    http://help.sap.com/saphelp_46c/helpdata/en/4a/d286ba5a1111d3b47b006094b9d648/frameset.htm
    Hope this helps.
    Regards
    Arif Mansuri

  • SAVE_TEXT to implement long text for Material, BOM, documents etc...

    Hello,
    we are working on a process to download longtexts from one system and to upload into another system to add missing long text there for different objects.
    We are using SAVE_TEXT and it is working fine for documents in DRAW/DRAT.
    Here we got what we expected. Long texts are uploaded and can be edited in the
    transaction CV02N.
    But then we started with material and with BOMs (bill of material).
    Result of upload:
    STXH is filled with entries but in MM02 and CS02 we cannot see the added long texts.
    Seems that the connection between material and bom and their texts is missing.
    For BOM we are not totally wrong. If there is a longtext in the BOM we can add longtext (we READ_TEXT the existing longtext and add our text. Then we do a update) and can see the added longtext in CSxx transactions.
    But if there is only a short text, our insert via SAVE_TEXT is not working.
    Is there something we are doing wrong or don´t we understand something?
    Any help is appreciated.
    Best regard
    Dirk

    Hello Naren,
    oh, this answer was bringing light into my confusion.
    My problem is that there will be some import files with any long text for any object in R/3 like
    material with x textids , bom, equipment etc...
    Is there any chance to find out easily which text object combination with textid belongs to a specific long text. The TTXID table is only a listing w/o any explanantion???????
    Update longtext in BOM header -> set STZU-LTXSP
    Update longtext alternative in BOM header -> set STKO-LTXSP
    Update longtext in BOM position  -> set STPO-LTXSP
    And what is the text ID DPO for?
    My other problem now is with Material long text import.
    I checked the SDN threats but could not find the answer.
    This is my abap that is not running for material.
    I can see the long text entries from READ_TEXT, but not in STXH and STXL.
    zs_textline_c [ ]  = zs_textline_b [ ] .
    CALL FUNCTION 'INIT_TEXT'
        EXPORTING
          id            = wa_header-tdid
          language = wa_header-tdspras
          name      = wa_header-tdname
          object     = wa_header-tdobject
        IMPORTING
          header   = wa_header_b
        TABLES
          lines    = zs_textline_c
        EXCEPTIONS
          id       = 1
          language = 2
          name     = 3
          object   = 4
          OTHERS   = 5.
      IF sy-subrc <> 0.
      ENDIF.
      CALL FUNCTION 'SAVE_TEXT'
            EXPORTING
              client                = sy-mandt
              header                = wa_header_b
              insert                = 'X'
              savemode_direct       = 'X'
                     owner_specified       = 'X'
              local_cat             = ' '
            IMPORTING
              function              = l_result
            NEWHEADER             =
            TABLES
              lines                 = zs_textline_b
            EXCEPTIONS
              id                    = 1
              language         = 2
              name              = 3
              object             = 4
              OTHERS        = 5
      IF sy-subrc <> 0.
      ENDIF.
      CALL FUNCTION 'COMMIT_TEXT'.
      COMMIT WORK.
    Your help is welcome!
    Best regards
    Dirk
    Edited by: Dirk Meinhard on Mar 31, 2009 4:33 PM

  • Is possible to bring the long text maintained in BOM to the Purchase order

    Hi All,
    Is possible to bring the long text maintained in BOM to the Purchase order ?
    Thanks

    Hi,
    No, It is not possible. If u need the text in Purchase order, you need to maintain in the purchase order text or you can maintain in material master.
    Regards,
    V. Suresh

  • BOM Header Long Text

    Dear experts,
    Is there a way to transfer BOM header long text to production order? I see bom item long texts on production order in item details. But in production order i can not find BOM header long text anywhere.
    Best regards

    Dear,
    1. Use  function module: CO_TX_TEXT_CATALOG_IMPORT
    Function group: COTX
    Short text: Import of the order texts from the memory section of SAPScript
    You must maintain the following parameter:
    Exception: NO_CATALOG
    2. Create function module: CO_TX_TEXT_CATALOG_EXPORT
    Function group: COTX
    Short text: Export of order texts back to the SAPScript Memory
    No parameters required
    Please try and come back.
    Regards,
    R.Brahmankar

  • Line item text in BOM

    Hi ,
    I am trying to upload the BOM from the excel and also i am trying to change the BOM based on the data in the Excel.
    During this process , i have to check the line item text for each component of the BOM to see wheather there is any changes in the line item text is there or not.
    Is there any way to pull out the line item text for the BOM ..Not only the m Line item text 1 and Line item text 2 , but also the Long text...
    TCode for display of BOM : CS03.
    Thanks..

    We can use the function module READ_TEXT ,
    in the import parameters ,
    id : MPO
    object : BOM
    language : EN
    text name :  it is the concatenation of
                      sy-mandt
                      stpo-stlty   "bom type
                      stpo-stlnr   "Bom number
                      stpo-stlkn  "Item Node
                      stpo-stpoz  "Item Counter
    Text name should be in the same order like this.
    Now pass these values to the READ_TEXT Function module
    the output will be in the form of an internal table. the internal table line will have the long text for that particular line item...

  • Standard LSMW to load Routing Long text

    We are migrating data to sap for Routings. We are using SAP best practices to load the data into sap using idocs. But we dont have idoc structure to load Long Text.
    Do you know a LSMW standard direct input to upload the routing long text.
    Please help me out.

    Yes, you can upload long texts to pretty much any application, routings, boms, material masters, etc.
    In LSMW select the following direct input method:
    Object               0001   Long texts
    Method               0001   (No selection)
    Program Name         /SAPDMC/SAP_LSMW_IMP
    Program Type         D   Direct Input
    You can define the following as constants in field mapping and conversion rule.
    TDOBJECT C(010) Text: 'ROUTING'
    TDID C(004) Text ID : 'PLKO'           <<< if you're uploading to header
    TDSPRAS C(001) Language : 'EN'
    TDFORMAT C(002) Paragraph format for text line : '*'
    If you want upload to operations etc look at the following table
    ROUTING     PLFH     Long Text
    ROUTING     PLFL     Long Text
    ROUTING     PLFT     Long text
    ROUTING     PLFV     Long Text
    ROUTING     PLKO     Long Text
    ROUTING     PLPH     Long text
    ROUTING     PLPO     Long Text
    internally SAP stores, routing group with zeros padded on the left. For example if your routing group is 200 it will be stored as 00000200 so in your flat file either you have to pad the zeros or in the LSMW you need to use the conversion exit function module.
    You can following link below if you want to deeper understanding on this subject.
    Re: LSMW : Long text not visible after the import of data

  • Default Production Order Component Long Text

    Dear guru ,
    Whose are the defaults for production order component long text ?
    Can I copy this text only from bom ?
    Can I copy this text also from material master ?
    Thanks

    Hi,
    The defaults are from the BOM item text 1 & 2. POTX1 & POTX2 fields.
    I suppose no option from material master.
    Hope this helps
    Regards
    Raju

  • How to print long text in scripts

    plzzzzzzzzz answer this qestion
    how to print long text in scripts

    Hi Kranthi,
    You can create Text Id and include that in your script.
    For example:
    /E TEXT
    /: INCLUDE ZTEXT OBJECT TEXT ID ST
    Hope this helps.
    Please reward if useful.
    Thanks,
    Srinivasa

  • Database Table where modifications to message long text are stored (log)

    Hi,
    As per manual correction mentioned in SAP note 1144291,
    we have changed the long text for message XC092 by modification of the long text.
    This note 1144291 is a pre-requisite for SAP Note 1310808.
    After the notes were implemented, it is noticed that message CURTO1055 has incorrect information in its long text. This is because, the variable in the long text are not correctly defined in the long text.
    Both the messages XC-092 and CURTO1-055 are SAP standard.
    The error for CURTO1-055 can be rectified by modification of the long text and maintenance of the correct variables.
    However, my question is:
    Where do we check the log for document modifcation for a message long text.
    I have found the logs relevant to my modification in table DOKHL and DOKIL.
    But in which table do we get all of the foll. data:
    - Message class
    - Message number
    - Modification name
    - Modification created by
    - Modification done on
    - Last changed by
    - Last changed on
    Kindly help. A <removed by moderator> solution would be really helpful.
    Best Regards,
    Smruthi
    Edited by: Thomas Zloch on May 5, 2011 12:07 PM - urgency reduced

    Hi Smruthi,
    The modification changes would be in the SMODILOG table. Please note this is a core basis table and should not be changed, however to best find your changes search under the TRKORR field with the relevant tp request.
    Best regards,
    Derrick Hurley
    Development Workench

  • Can not see long text description of a characteristics in portal

    Hi experts,
    I designed two queries via Query designer and published them to portal but I can not see the the long text description of "Name" attribute belongs to 0BPARTNER characteristics.
    One of the queries shows only the last name of partner in portal while it is showing full name and last name in Bex Analyzer. The other query shows only the key value in both portal and Bex Analyzer.
    I want to see long text description in both queries.
    For an additional information, I'm extracting data from CRM 5.00 to BW 7.00
    What will be the reason for this and how can I solve it?
    Can anyone help me for this issue, it's a kind of emergency situation.

    Hi,
    we have the same problem.
    We want to change <b>only</b> in the screen variable the hierarchy text (from default to long\medium text) but even if there's a possibility to do this, really it doesn't happen anything - it' s possible when you start query, in the selection screen inside every the variable there's a command "User Settings" in which manage what you want to see (I put display custom, as text, medium text).
    I try to do this also in query analizer, selecting variable (hierarchy) and enter in this (user setting), changing in display custom as text - medium text, but even if I save this settings, really doesn't happen anything.
    It seems the system isn't sensitive to this selection...
    By now, if someone has an answer, please write us!
    Thanks in advance,
    Alessandra Mirone

Maybe you are looking for

  • BAPI for entering MM Service Contracts

    Hi,    I would like to know which is the best bapi to be used to enter the MM service contracts. I have got two bapis 1)  BAPI_CONTRACT_CREATE 2)  BAPI_AGREEMENT_MAINTAIN Which one is the Best bapi and whats the min. required fields to be used to cre

  • Automatic determination of Condition type value

    Hi Friends, I have one requirement here as described below. In pricing procdure, I have defined 3 condition types for 3 types of taxes i.e. GST, HST and PST as per client requirement. The value of each condition type is fixed i.e. GST=5% of Gross, HS

  • /SAPAPO/SNPLLC - does not appear to work as expected

    Hi Experts, I was wondering if anyone can shed light on how this program works. We need a successfull run of the LLC calc prior to running heuristics on the supply chain. currently the heuristics run gives unpredictable results due to the LLC calc no

  • Cannot install Photo elements 2.0 on my mac os 10.6.8

    Cannot install Photo elements 2.0 on my mac os 10.6.8

  • Can't connect to Internet and 192.168.1 network at the same time

    I have been having an issue with my MacBook's networking for the past 4 months. Here are the specifics: *My MacBook is connected to the Internet via a linux router, with an address in the 192.168.1.x address space. DNS server is an openDns server, 20