Vendor Long Text

Hi everybody,
                     I had a requirement where I need to print the long text for Vendor ( Transactions related to vendor ). I searched for the field. But I didn't find any field which stores the long text for vendor.
Can anybody suggest me to find the field?
For Reference  :     SKAT-TXT50    is the GL Account Long Text.
My approach :   LFA1-Name1 can be used for long text,   But this is the field which holds the Vendor Name.
Please guide me.
Thanks and Regards,
Murali Krishna T

There are many "long texts" for vendor, perform some search on table STXH with object'LFA1'
(you should find texts like id '0001' for "accounting note", '0002' for "purchasing memo", etc.)
The lines of texts are stored in non-transparent table ([Storing Text Components|http://help.sap.com/saphelp_nw70/helpdata/en/d6/0db668494511d182b70000e829fbfe/frameset.htm]), The FM [READ_TEXT|http://help.sap.com/saphelp_40b/helpdata/pt/d6/0db8c8494511d182b70000e829fbfe/content.htm] is called to get those texts in an internal table.
Regards,
Raymond

Similar Messages

  • Upload vendor master data long texts to CRM

    Hi
    I do have the same problem of this thread:
    [CRM Middleware - R3 to CRM - Long Text transfer |CRM Middleware - R3 to CRM - Long Text transfer]
    Does anyone know how to upload long texts of Vendor master data to Business Partner mater data?
    Thanks in advance for any help
    Pierluigi

    By learning the basics of BDC recording and the use of GUI_UPLOAD

  • G/L Account Long Text Field in Display

    Dear Sir,
    I want G/L Account long text field be displayed along with G/L account number in G/L Account line item display report (FBL3N)
    I cheched the layout, the option of G/L account number is available but option of G/L account Long text is not available.
    Kindly guide me as to how can I do it?
    Regards
    Chirag Shah

    You must do some development for it.
    You can add additional field to FBL*N reports with using BTE exit.
    First of all, if you don't use BTE before, you must create a product on FIBF.
    Call FIBF transaction -> Settings -> Products -> ...of a customer
    Create a new line,
    Product: ZFI
    Text: BTE Products for FI Exit
    Product active: tick checks from activation.
    Then you must call SE11 for structure RFPOS.
    You must use append structure function for this structure and you can define ZFI_RFPOS append structure
    Define 4 fields.
    Component: KUNNR - Component type: KUNNR
    Component: NAMED - Component type: NAME1
    Component: LIFNR - Component type: LINFR
    Component: NAMEK - Component type: NAME1
    Then save and active your RFPOS structure.
    After that, you must do same step for structure RFPOSX.
    Then go to SE37 and copy from SAMPLE_INTERFACE_00001650 to ZFI_INTERFACE_00001650 FM.
    After copy action, you must uncomment this line on ZFI_INTERFACE_00001650 FM's source code. It's very important;
    E_POSTAB = I_POSTAB.
    Then you should add some ABAP code for getting customer & vendor details.
    I give you some examples, you can use it. (Next message on this thread, please check)
    Then save and active FM.
    Call FIBF transaction again.
    FIBF -> Settings -> Process Modules -> ...of a customer
    Define a new line.
    Process: 00001650
    Function Module: ZFI_INTERFACE_00001650
    Product: ZFI
    and this customizing.
    Then you go to SE38 transaction.
    start report RFPOSXEXTEND. After starting, a pop-up appears, you must click YES.
    After those operations, you can see customer/vendor code and their names on FBL3N.
    ABAP source example,
    TABLES : bseg, kna1, lfa1.
    IF sy-tcode = 'FBL3N'.
      CLEAR: bseg.
      SELECT SINGLE *
      FROM bseg
      WHERE bukrs = i_postab-bukrs
           AND belnr = i_postab-belnr
           AND gjahr = i_postab-gjahr
           AND koart = 'K'.
      IF sy-subrc EQ 0.
        e_postab-lifnr = bseg-lifnr.
        CLEAR: lfa1.
        SELECT SINGLE *
        FROM lfa1
        WHERE lifnr = bseg-lifnr.
        IF sy-subrc EQ 0.
          e_postab-namek = lfa1-name1.
        ENDIF.
      ENDIF.
      CLEAR : bseg.
      SELECT SINGLE *
      FROM bseg
      WHERE bukrs = i_postab-bukrs
           AND belnr = i_postab-belnr
           AND gjahr = i_postab-gjahr
           AND koart = 'D'.
      IF sy-subrc EQ 0.
        e_postab-kunnr = bseg-kunnr.
        CLEAR: kna1.
        SELECT SINGLE *
        FROM kna1
        WHERE kunnr = bseg-kunnr.
        IF sy-subrc EQ 0.
          e_postab-named = kna1-name1.
        ENDIF.
      ENDIF.
    ENDIF.

  • FI document Line item Long text store in which table .

    Respected Members,
    During posting of the FI document through Tcode F-02 i m giving the some text in the long text not in the text field.
    Please anybody can be help me out where exactly this long text is going to be stored or in which table.
    Through F1 it is saying Field is TXLINE and Structure is RSTXT.
    But  i want the table name.
    Please give me the answer as soon as possible .
    Thanks a lot.

    Hi Lee,
    I am also facing problem in getting the long text information into my on e of the custom report, i need onformtion in longtext field of the accounting document number which is against item posted to vendor.here i am sending you the screenshot of the document number and long text filed and READ_TEXT function module parameters, i  tried with lot of options,but no luck, it would be great if you could provide me some hint on this..

  • (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'

  • BAPI_ACC_DOCUMENT_POST long text field missing

    Hi,
    I will have to transfer our vendor open items from v 3.1 to ERP 2004. I
    am using <b>BAPI_ACC_DOCUMENT_POST</b> to upload these open items. However, I
    cannot find the <b>'LONG TEXT'</b> field in the said BAPI. In using <b>F-02</b>, a
    long text field/button is available. <u><b>How can i post an entry in the long text
    field of the line item in f-02 using BAPI_ACC_DOCUMENT_POST</b></u>.
    Also, i have used the extension1 table and a BTE (note 487722) in
    uploading the posting key. Since field bschl is available in table
    accit, there was no problem in doing this. However, i cannot seem to
    find the field long text in this table. Is it available? If not, what
    can I do with the above situation.
    Thanks.

    Hi
    Excuse me! you can't use RFBIBL00, use the fm SAVE_TEXT.
    After calling the BAPI you should have the number of FI document will be created and know in which item you need to insert the long text so:
    THEAD-TDOBJECT     = <Object text>.
    THEAD-TDNAME(4)    = <Company code>
    THEAD-TDNAME+4(10) = <Document number>
    THEAD-TDNAME+14(4) = <Fyscal year>
    THEAD-TDNAME+18(3) = <Item number>.
    THEAD-TDID         = <Id text>.
    THEAD-TDSPRAS      = <Language>.
    THEAD-TDLINESIZE   = 72.
    These are the header data, transfer the text in LINES parameters.
    Max

  • Vendor master text to PO

    Hi experts,
    How to bring vendor master text to purchase order headre text.

    I am assuming that by text, you mean long text.
    If you want it to come automatically in the PO, you will need to maintain it in customizing. Decide in which text field you want the vendor master text to be copied. Go to configuration under Purchasing --> Purchase Order --> Text for Purchase order --> Define copying rules for header texts and maintain it there.
    I would recommend creating a new text field in the header instead of using a standard one.
    Lakshman

  • How to store/manipulate Date and long text fields with Dictionary project

    I am able to save string values into my backend (SQL Server) database in my web dynpro project but I am getting errors dealing with my date string and my long text (comments) field. 
    I want to figure out both how I need to define the fields in the dictionary project, how to define the context variables in web dynpro, and how to code the statements to pull the values out of the context and into fields I can use in my SQL insert. 
    Currently I have the date defined in the dictionary project as "date" and the comments as a 256-character string. 
    In the web dynpro context I have the date field defined as "date" and the comments field defined as "string".  Should I define a 256-character string type and use that as field type??
    In the code I am using the following to get the values:
         String s9 = (String) wdContext.nodeReceipt().getElementAt(wdContext.nodeReceipt().getLeadSelection()).getAttributeValue("Comments");
    String s5 = (String) wdContext.nodeReceipt().getElementAt(wdContext.nodeReceipt().getLeadSelection()).getAttributeValue("DateReceived");
    SimpleDateFormat sdf = new SimpleDateFormat("dd/mm/yyyy");
         try {
         Date dt = sdf.parse(s5);
         } catch (Exception e) {
              e.printStackTrace();
    I then try to insert all of my values with the following code:
    InitialContext ctx = new InitialContext();
      javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup("jdbc/SAP/BC_JMS");
      java.sql.Connection con = ds.getConnection();
      java.sql.Statement stmt = con.createStatement();
      stmt.executeUpdate("insert into AVD_GEN_REC(VENDOR,DATE_RECEIVED,TOTAL_PIECES,LOGGED_BY," +
           "ADDRESSED_TO,BLDG_NO,CARRIER,TRACKING_NO, COMMENTS) values('s1','s5','s2','s6','s3','s7','s4','s8','s9')");
       } catch (Exception e) {
             wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("Exception "+e.getMessage());
    Any help/ideas would be appreciated...

    The comment error seems to have resolved itself but I still get an error with the date field:
    Exception The SQL statement "INSERT INTO "AVD_GEN_REC" ("VENDOR","DATE_RECEIVED","TOTAL_PIECES","LOGGED_BY","ADDRESSED_TO","BLDG_NO","CARRIER","TRACKING_NO","COMMENTS") VALUES ('s1','d5','s2','s6','s3','s7','s4','s8','s9')" contains the semantics error[s]: type check error: new value (element number 2) is not assignable to column "DATE_RECEIVED" 
    The DATE_RECEIVED is defined in the data dictionary as "date", the context variable "DateReceived" is also a "date", and the statement to pull d5 is being stored to a "Date".  Is there a difference between the "Date" and "date"?
    Date d5   = wdContext.currentReceiptElement().getDateReceived();

  • Query regarding COPY OF FBL5N : No items selected (see long text)

    Dear All,
    Currently i am executing FBL5N report and it is ok.
    Now i have copied FBL5N program to ZFBL5N.
    Now the issue is when i am trying to execute ZFBL5N, this messge comes and report not generated in some cases.
    "No items selected (see long text) ".
    This error has not come for all cases but just for few cases and i have tried to found out the case,
    and i found that, whenever we maintain vendor in control data tab of XD02(Change Customer : general data) then only above message has come.
    Now i am not getting one thning, Why FBL5N not giving above error because i have copied the program and nothing difference in both code then why ZFBL5N giving error and FBL5N generate report and what should i do for above error.
    Please help regarding this matter
    Regards,
    Shivam.

    Dear Nabheet,
    I have debugg, code is same for both cases becuase i have just copied now.
    Although, i have debugg also and i have seen in coding, when program goes in perform form "read_vendor_items" and in that perform, there is written function, call function 'LDB_PROCESS'
    . Now when i going during debugg time,
       call function 'LDB_PROCESS'
        exporting
          ldbname                     = 'KDF'
          expressions                 = it_dyn_texpr[]
        tables
          callback                    = it_callback
          selections                  = it_selscreen
        exceptions
          ldb_selections_error        = 1
          ldb_selections_not_accepted = 2
          free_selections_error       = 3
          callback_no_event           = 4
          callback_no_program         = 5
          callback_no_cbform          = 6
          others                      = 7.
    After pass this function moduel in case of ZFBL5N, it_pos table is not filled but in case of FBL5N, it_pos table is filled one record and that record also shown.
    But code is same but different only program name.
    Now what can you suggest.
    Regards,
    Shivam.

  • Custom Messages Long Text not appearing

    Hi Everybody!
    We are having a problem displaying the long text of custom messages.
    After we click on the "More Information" link beside the message short text, we should get a pop-up message with the long text.
    Instead, we get a pop-up message showing an internet explorer 400 error.
    We are OK displaying long text of standard messages. Should we do something extra to display long text of custom messages?
    Thanks
    Gabriel

    Hi Atul,
    Regarding the long-text option, yes, I have marked: The "Self-Explanatory" checkbox is not checked.
    Here is the source code!
    ** VARIABLES **
      DATA: t_partner          TYPE TABLE OF bbp_pds_partner,
            x_partner          TYPE bbp_pds_partner,
            u_vendor_set       TYPE TABLE OF bbp_vendor_getlist_s,
            x_vendor_set       TYPE bbp_vendor_getlist_s,
            w_xfeld            TYPE xfeld,
            e_message          TYPE bbp_smessages_badi,
            w_guid_crmt_object TYPE crmt_object_guid,
            w_guid_bbp_guid    TYPE bbp_guid,
            w_partner_no       TYPE  bu_partner_guid,
            w_nombre           TYPE bdl_logfun,
            w_process          TYPE bbp_proc_type,
            w_status           TYPE xfeld,
            w_header           TYPE bbp_pds_po_header_d.
        CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
          EXPORTING
            i_guid          = iv_doc_guid
            i_with_itemdata = 'X'
          IMPORTING
            e_header        = w_header
          TABLES
            e_partner       = t_partner.
        IF iv_cv_updated_active_doc = space.
          w_guid_bbp_guid   = iv_doc_guid.
          w_guid_crmt_object = w_guid_bbp_guid .
          LOOP AT t_partner INTO x_partner WHERE partner_fct = '00000019'.
            w_partner_no = x_partner-partner_no.
    *     This function check if the partner is valid.
            CALL FUNCTION 'Z_BC_BLOQ_GET'
              EXPORTING
                iv_bu_partner_guid = w_partner_no
              IMPORTING
                ev_xfeld           = w_xfeld.
            IF w_xfeld IS NOT INITIAL.
    *  Get the name of the vendor.
              CALL FUNCTION 'BBP_VENDOR_GETINFO'
                EXPORTING
                  partner_guid       = w_partner_no
                  x_with_name        = 'X'
                  x_show_inv_parties = 'X'
                  purch_pd_org_type  = 'O'
                TABLES
                  vendor_set         = u_vendor_set.
              READ TABLE u_vendor_set INTO x_vendor_set INDEX 1.
              CLEAR e_message.
              e_message-msgty   = 'A'.
              e_message-msgid   = 'ZSRM_ERRORES'.
              e_message-msgno   = '005'.
              e_message-msgv1   =  x_vendor_set-partner.
              e_message-msgv2   =  x_vendor_set-vendor_name.
              e_message-msgv3   =  x_vendor_set-vendor_no.
              APPEND e_message TO et_messages.
            ENDIF.
            CLEAR x_partner.
          ENDLOOP.
      ENDIF.
    ENDMETHOD.

  • Extract the Long Text in txt file

    Hi
    I want a generic program which can extact the long text for any of the object(Material, Customer, Vendor..) and for n number of records in the upload file format taken by the LSMW for long text.
    Regards,

    using FM create_text  you can upload multiple lines of text..,  there is no  separate LSMW program for this.....

  • 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

  • Creating a long text using ABAP code.. fm SAVE_TEXT

    When you create an order via IW31 one of the options is to click on the text button and create a long text. I am basically trying to mimic this action from within my ABAP code.
    The text id details are as follows:
    Text Name       500000015000046  which is (5000000 + order number)
    Language        EN
    Text ID            KOPF         Order header text
    Text Object      AUFK       Order text
    If i manually create the text within the transaction i am then able to view and update it via function modules READ_TEXT and SAVE_TEXT. But if the text has not already been created READ_TEXT obviously returns nothing as it does not exist and SAVE_TEXT does not seem to created it!
    Anyone know how i would go about creating this text using ABAP code?
    Hope this make a bit of sense
    Thanks in advance
    Mart

    I have implemented the code as i think it should be. See below, can any see what is wrong. If i add init_text it makes no difference and adding the commit_text just makes it hang
    DATA: IT_TEXTS type standard table of TLINE,
           wa_texts like line of it_texts,
           wa_txtheader type THEAD.
    wa_txtheader-TDID     = 'KOPF'.
    wa_txtheader-TDSPRAS  = 'EN'.
    wa_txtheader-TDNAME   = '500000015000056'.
    wa_txtheader-TDOBJECT = 'AUFK'.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
      wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
      wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    CALL FUNCTION 'SAVE_TEXT'
      EXPORTING
        CLIENT                = SY-MANDT
        HEADER                = wa_txtheader
        INSERT                = 'X'
       SAVEMODE_DIRECT       = ' '
       OWNER_SPECIFIED       = 'X'
      LOCAL_CAT             = ' '
    IMPORTING
      FUNCTION              =
      NEWHEADER             =
      TABLES
        LINES                 = IT_TEXTS
    EXCEPTIONS
       ID                    = 1
       LANGUAGE              = 2
       NAME                  = 3
       OBJECT                = 4
       OTHERS                = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

Maybe you are looking for