How to get Sales Text & Purchase Order Text in MM based on (MSEG-MATNR)

Hi
  Am working on a Report based on Purchase order & Sales, Could any body tell How to get Sales Text & Purchase Order Text in MM based on (MSEG-MATNR).
the Field i need to get are : SALES TEXT, PO TEXT.
Sunil.

Hi Sunil,
For getting Material PO text and sales text, you have to rely on Purchase Order and Sales Order. And use READ_TEXT function module to fetch the text.
Below are examples of PO text and Sales Text:
1. PO text:
    CALL FUNCTION 'READ_TEXT'
     EXPORT
       ID = 'F03'
       LANGUAGE = SY-LANGU
       NAME = '450000011200010' conacte PO number and line item number
       OBJECT = 'EKPO'
     TABLES
       LINES = INT_TLINES "you will get text in this table
2. Sales order text:
        CALL FUNCTION 'READ_TEXT'
     EXPORT
       ID = '0001'
       LANGUAGE = SY-LANGU
       NAME = '0000000036000010' conacte SO number and line item number
       OBJECT = 'VBBP'
     TABLES
       LINES = INT_TLINES "you will get text in this table
ref: STXH and STXL tables.
Hope it will solve the problem.
Regards
Krishnendu

Similar Messages

  • Material master -sales text / purchase order text

    Dear MM experts,
    we are maintaining materials sales text & purchase order text while creating material master.
    sales text is required for our customers quotations & purchase order text is required for our Vendors Purchase orders.
    I have an issue, where sales text in material master is limited to 6.5 inch length, but need 7.5 inch length, where I can set this page length. Also i wanted to have same font characteristics to be changed from exiting font size and font style to required, how to do this?
    pl help &  how the above can be changed from default settings to flexible settings with regard to material master.
    thanks  in advance
    regards
    Srihari

    from http://help.sap.com/saphelp_erp2005/helpdata/en/f4/b49e8c453611d189710000e8322d00/content.htm
    Text Entry Area 
    Type your text into the text entry lines. You can type continuously: SAPscript fills your text using a line length of 72 characters as soon as you choose ENTER or a function.
    To enter text in the line editor continuously, the checkbox Automatic tab at field end must be marked. For more information on setting automatic tabbing, see Setting Automatic Tabbing and Entering Text.
    Note that the line editoru2019s text filling has no influence on the final appearance of the text. Your text is formatted no earlier than at the time it is displayed or printed. For more information, see Previewing and Printing SAPscript Documents.

  • How to get the all process orders and outbound deliveries based on material

    Hi Team ,
    I need one help from you regarding the MB 56 transaction.
    My doubt is : How to get the all process orders and outbound deliveries based on material, plant and batch?
    Please help me regarding this.
    Thanks & Regards,
    Srikanth.

    Hi,
    You can use ST05,to trace the program and find out,
    hope it will help you...
    thanks and regards,
    veera.

  • Getting data in Purchase Order Text column of CJI3 Report

    Hi,
    In cji3 there is column of Purchase order text where we get the text from Item header of PO i.e; VENDOR SERVICE.
    Now if we wish to display the text of services used in the Item detail corresponding to same line item of PO then how to get that.
    Please suggest a way out for finding that data.
    regards,
    Puja

    Hi
    CJI3 is a standard SAP report, which you could not change without ABAPer's help.
    Please also check SAP Note 325546.
    Hope it may be useful.
    Tnx.
    Abdul

  • In BI SD how to get Sales Document wise Order Delivery and balance Quantity

    We are on the verge of SAP BI implementation. We are facing a problem as in BI we have to
    show Sales Order wise - Order Quantity then associated all the deliveries and the Quantity delivered
    and finally Billed Quantity
    Format Required is
    Order No         Order Qty      Delivery Qty     Billed Qty
    We are using 0sd_c03 cube here Order , delivery and Billing come as separate Line items
    Now bringing them to one line item is a chellange for us
    can any body help us
    Thanks
    Shivani

    Hi,
    Merging of Order, delivery and billing information is not so easy.
    In ECC we have a new datasource for Open order quntity against delivery available check those datasources once may be useful.
    [Extraction SD Sales: Order Delivery|http://help.sap.com/saphelp_nw04/helpdata/en/21/ca6d07d5b807459ec8957dad97c179/frameset.htm]
    --> This datasouce provides information regarding order qty, delivered qty and status. But no billing related information available.
    --> Pull billing information into a separate datasource and merge using sales doc no (with reference doc no in billing). to get billing related info.
    --> Multiple orders can be billed together, so distribution may not be correct. check ...
    Hope it helps
    Srini

  • How to capture purchase order text view in mm01

    Hello All,
    Im doing recording for one material type in BDC but im not able to capture purchase order text view while creating material.
    Its not getting recorded only pls guide bcoz i have to enter purchase and sales text for new materials.
    Regards,
    Sunny

    Hi Sunny,
    I have a different sugesstion. Never use BDC if u have BAPI available for the same functionality.
    use this BAPI BAPI_MATERIAL_SAVEDATA for material creation. Even u can create the po texts here. Check the parameters MATERIALLONGTEXT and EXTENSIONIN. in FM documentation. It is pretty clear.
    Different long texts (basic data texts, purchase order texts, internal comments, sales texts, material memos) can be created for a material. This requires the fields APPLOBJECT, TEXT_NAME, TEXT_ID, and LANGU or LANGU_ISO in table parameter MATERIALLONGTEXT to contain entries. Depending on the content of field TEXT_ID, the field TEXT_NAME must have the following structure:
    The material number is transferred first. If it has fewer than 18 characters, the remaining characters must be filled with blanks. If it is a material memo (LTXT), the plant key must also be transferred from character 19 onwards; in the case of a sales text (0001), this must be the sales organization and distribution channel. The combinations allowed for the four different fields are indicated in the following table:
    APPLOBJECT TEXT_NAME  TEXT_ID    LANGU
    MATERIAL Matl no. (18 char.)  BEST, GRUN, or IVER  Language
    MDTXT Matl no. (18 char.)  LTXT    Language
    Plant
    MVKE Matl no. (18 char.)  0001    Language
    Sales organization and
    distribution channel
    Thanks,
    Vinod.

  • How to Display  'purchase order text' in MM03 using report program

    Hi Friends,
    Can anybody suggest me how to display 'purchase order text' in MM03 using report program.
    'Purchase order text' tab displays purchase long text of particular material .
    I coded as:
          SET PARAMETER ID 'MXX' FIELD 'E'.
          SET PARAMETER ID 'MAT' FIELD k_final-matnr.
          SET PARAMETER ID 'WRK' FIELD k_final-werks.
          CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
    It displays Purchasing tab other than Purchase Order Text tab of MM03.
    Please suggest me how can i solve this.
    Is there any parameter id to set values for Purchase Order text tab

    >
    Madhu Mano Chitra wrote:
    > I want how to navigate to MM03 'Purchase Order text'  tab/ view using ABAP code.
    > could any suggest me
    You can call a transaction and pass it a BDC table that tells it where you want it to go.  You have to work out for yourself what to put into the BDC table.  The code below works for tcode CATSSHOW.
    DATA: bdcdata_wa  TYPE bdcdata,
          bdcdata_tab TYPE TABLE OF bdcdata.
    DATA opt TYPE ctu_params.
       CLEAR bdcdata_wa.
        bdcdata_wa-program  = 'CATSSHOW'.
        bdcdata_wa-dynpro   = '1000'.
        bdcdata_wa-dynbegin = 'X'.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'SO_STATU-LOW'.
        bdcdata_wa-fval = '20'.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'ANDZEIT'.
        bdcdata_wa-fval = SPACE.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'PAST'.
        bdcdata_wa-fval = 'X'.
        APPEND bdcdata_wa TO bdcdata_tab.
        IF p_selscr = SPACE.
           CLEAR bdcdata_wa.
           bdcdata_wa-fnam = 'BDC_OKCODE'.
           bdcdata_wa-fval = '=ONLI'.
           APPEND bdcdata_wa TO bdcdata_tab.
        ENDIF.
        opt-dismode = 'E'.
        opt-defsize = 'X'.
    CALL TRANSACTION 'CAPP' USING bdcdata_tab OPTIONS FROM opt.

  • Item text in Purchase Order getting updated with info. record Purchase Order Text

    Hello All,
    I am working in a roll out project and facing issue in text repeating twice for the line item in the Purchase Order for the new company code for which rollout is happening
    Issue:
    Item text in Purchase Order getting updated with info. record Purchase Order Text
    01) PO Text is maintained in the material master under "Purchase Order Text" tab
    02) The PO text that is maintained in material master is getting updated in the Purchase Info. Record
    03) When Purchase Order is created, the "Item Text" gets updated in the Purchase Order automatically only for the new company code for which rollout is happening. when printed, this results in the text getting duplicated twice
    03.1) this behavior is not observed in the Plants/ Company code that is already Live
    Configurations in the system:
    The copying rules for the "Texts for Purchase Orders" is
    Source Object = "Info Record", Source Text="Purchase Order Text", Fix="*"
    We have modified the Purchase Order form to print one of  the condition types maintained for calculating the tax. Other than this there is no change to the plants that are already live.
    I could not locate any "Purchase Organization" / "Company Code" / "Plant specific configuration.
    Am I missing any configuration or where can I look in what is causing this error.
    Request help from the experts in the forum.
    with Regards,
    Dhandapani R

    There is no company/purchasing/plant specific customizing for purchase order text.
    The customizing copying rules for the "Texts for Purchase Orders" affects all equally .
    If the text in the purchase order in ME23N is already filled different to other plants, then you either have a modification in place, or the texts are differently maintained in the referenced data (vendor, material, info record, contract)

  • Upload of purchase order text in the material master

    Now we have information of Purchase order text for all the material.
    Is it possible to upload the Purchase order text using LSMW.
    Some friends were telling that LSMW is not possible for Purchase Order text.
    Can anyone suggest how I can upload this purchase order text for all 1000
    material using LSMW program.
    /if not LSMW is there any other method to upload it
    thanks in advance
    deepak.s.goura

    Dear Deepak,
    there is standard direct upload i believe
    go to lsmw
    Execute 1st option
    then inLSMW:Object Attribute screen
    in standard batch/ direct input
    firsr radio button
    select object 005
    and method 003
    Program name RSTXLITF.
    Then go by normal process i.e source field , field mapping...
    In this way u can also upload Text in the Material master.
    Rewards if helpful
    Regards
    Sanjay L

  • LSMW - Purchase Order Text in Material Master

    All MM Experts,
    I tired to create simple Batch Input Recording but the screen does not get recorded for Purchase Order text maintenance in mass for article master data. we are maintaining Purchase Order Text in article master data in basic data screen on additional data button under purchase order text tab.
    Any suggestion on creating LSMW for purchase order text.

    LSMW has a standard direct input for long texts, hence it is not necessary to do a recording.
    help.sap.com gives real good help for loading loading long texts with LSMW, further has this been discussed many many times here in MM  and in the data migration forum.
    try to search a bit, you dont really need more than the words you already have used on the subject to get a good variety of answers

  • How to download material sales text and purchase order text information

    Here is situation:
    goto MM03 transaction,
    Take any material -- and select below views
    1. sales text
    2. purchase order text
    i have to write the download program with the sales text and purchasing text information of all the materials.
    could you pls tell me in which table I will get all the above sales text and purchase order text infrmation.
    I think it will store in standard text. I checked STXH table also for getting information text object, text id, text name, language, etc.
    If anybody knows .. please share.
    Thanks in advance.
    Regards
    Raghu

    Declare internal tables as follows: - An example
    TYPES: BEGIN OF TY_PO_LINES,
         INCLUDE STRUCTURE TLINE.
         END OF TY_PO_LINES,
         TY_PO_LINES_T TYPE STANDARD TABLE OF TY_PO_LINES.
    TYPES: BEGIN OF TY_PO_TEXT,
           TDOBJECT TYPE TDOBJECT
           TDNAME TYPE TDOBNAME,
           TDID TYPE TDID,
           SPRAS TYPE SPRAS,
         TDLINES TYPE TY_PO_LINES OCCURS 0,
         END OF TY_PO_TEXT,
         PO_TEXT_T TYPE STANDARD TABLE OF TY_PO_TEXT.
    DATA: PO_TEXT TYPE TY_PO_TEXT_T
    PO text:
    Looping at your internal table which consists of PO number,
    SELECT TDID TDSPRAS FROM STXH INTO A INTERNAL TABLE say PO_TEXT
    TDOBJECT = EKKO "PO Header Text
    TDNAME = PO NUMBER
    SELECT TDID TDSPRAS FROM STXH INTO A INTERNAL TABLE say PO_TEXT
    TDOBJECT = EKPO "PO line item text
    TDNAME = PO NUMBER
    ENDLOOP
    Looping at PO_TEXT
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
         ID = PO_TEXT-TDID
         LANGUAGE = PO_TEXT-TDSPRAS
         NAME = PO_TEXT-TDNAME
         OBJECT = PO_TEXT-TDOBJECT
      TABLES
         LINES = PO_TEXT-TDLINES
    ENDLOOP
    Follow the same above logic for material with suitable TDID you need to extract
    Hope this helps,
    SKJ

  • How to pull out Purchase Order text in ME11/ME12/ME13

    Hi,
    Kindly let me know how to extract Purchase Order text from TEXT tab in ME13.
    I have got Info Record note but I am unable to get Purchase Order text.
    I am using the following FM which is given below.It seems error.
    Please kindly let me know how to do this.
    CALL FUNCTION 'READ_TEXT'
             EXPORTING
                  client                  = sy-mandt
                  id                      = 'BT'
                  language                = sy-langu
                  name                    = g_tdname
                  object                  = 'EINE'
             TABLES
                  lines                   = ig_read1
             EXCEPTIONS
    Thanks,
    Bala Raja

    Your need to use READ_TEXT FM Properly:
    text name -> you need to concatenate info record ,plant '0'  purchase org
    language : EN
    text id BT
    Object EINE
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    client = sy-mandt
    id = 'BT'
    language = sy-langu
    name = g_tdname
    object = 'EINE'
    TABLES
    lines = ig_read1
    EXCEPTIONS
    Thanks
    Seshu

  • Sales text and  Purchase Order Text

    Hi,
    in what tables are stored Sales text and Purchase Order Text of the material master ?
    Best Regards

    Hi
    All long text is stored in STXH and STXL.
    Object is MATERIAL.
    Text-Id for basic data text is GRUN
    Text-Id for purchase order text is BEST
    For sales order text it is text object MVKE with text-id 0001
    Go to SE37 function builder. Enter READ_TEXT and do a single test ( F8 )
    Enter your parameters and execute. Example below.
    NAME is a comibation of materialnumber (00000000008000000)WITH leading zeros
    if numeric and sales org (1000) plus distribution channel (10)
    Import parameters - Value
    CLIENT - 010
    ID - 0001
    LANGUAGE - E
    NAME - 000000000008000000100010
    OBJECT - MVKE
    ARCHIVE_HANDLE - 0
    LOCAL_CAT
    Just for future reference with regards to getting text id's etc.
    eg: PO texts.
    --> Go into the material master PO text
    --> Double click into the required text.
    --> Click the "GO TO" menu option.
    --> click Header.
    and all the info you need is there.
    Thanks..

  • Uploading sales text and Purchase order text for material master

    Hi,
      I have created, material master with LSMW  byt not updated SALES TEXT and Purchase order text with LSMW  now i want to uplaod the sales and po text for material master can you give some link or ref. code to upload the text i have near 1000 items for which i want to uplaod text  when i have done the recording with SHDB  i have not found filed in recording.
    regards,
      zafar

    Hi,
    I have made the code in se38
    as below but still it is not working
    REPORT  ZTEST_TEXT.
      data: headerl like thead occurs 0 with header line.
      data itab3 like tline occurs 0 with header line.
    headerl-tdobject = 'MATERIAL'.
    headerl-tdname = '00000000000LSMW123'.          "(Material : 000000000300000560, Sorg : 0001, Dist channel: 01)
    headerl-tdid  = 'BEST'.
    headerl-tdspras = 'E'.
    append headerl.
    move '*' to itab3-tdformat.
    move 'Testing PO text' to itab3-tdline.
    append itab3.
    call function 'SAVE_TEXT'
      exporting
        header                = headerl
      insert                = ' '
       savemode_direct       = ' '
      tables
        lines                 = itab3
    exceptions
       id                    = 1
       language              = 2
       name                  = 3
       object                = 4
       others                = 5.
       IF SY-SUBRC = 0.
         CALL FUNCTION 'COMMIT_TEXT'
           EXPORTING
                OBJECT   = headerl-tdobject
                NAME     = headerl-tdname.
       ENDIF.
       break-point.
    regards,
    zafar

  • How to get F4 help for Standard Text Key of a operation based on Order type

    Hi Experts,
      How to get F4 help for Standard Text Key (STK) of a operation based on Order type entered in selection screen. The F4 help should give the STK of related order type. At the same time the F4 help for Task Types based on Notification type. How to acheive the above two. Please provide the table names or any search help name if exists or Function modules...
    Thanks in Advance.
    Regads,
    Bujji

    Hi Guys,
       Any help on this...
    Regards,
    Bujji
    Edited by: Bujji on Dec 22, 2008 12:42 PM
    Edited by: Bujji on Jan 5, 2009 2:00 PM

Maybe you are looking for