Fetching Item Texts from VL03N transaction

Hi All,
I have a requirement in my program in which I need to fetch Item Texts from VL03N transaction corresponding to a delivery Number.i.ie. the path is Select the Item, GOTO>ITEM>TEXTS.From there I need to get the Service Notification.Please let me know how to fetch this using the read_text function module.
Thanks,
Neethu.

Hello,
You can fetch the item texts for VL03N transaction for the object VBBP.
If the text is Material sales text, then its id would be 0001.
For Item note, it is 0002.
You can call the read_text fm as below:
CALL FUNCTION 'READ_TEXT'
  EXPORTING
    CLIENT                        = SY-MANDT "client info
    id                            = pi_id  "id as 0001 or 0002 depending on the text
    language                      = pi_spras  "language key
    name                          = pi_name 
    object                        = pi_object    "Object Id
Hope this helps.
Thanks,
Sowmya

Similar Messages

  • How to retrieve the item text from VL03 transaction .

    How to retrieve the item text from VL03 transaction .
    The requirement is like this, the item text thus retrieved should be printed in the script under the item.

    Jagadieshwar,
    Use <b>READ_TEXT</b> function module to get the proper item text of Delivery.
    <b>ID</b>: Probably you want 0002 (Item Note), but it depends which text you want Item Note, Material Sales Text ,etc..
    <b>NAME</b>: CONCATENATE Delivery Doc. Number + Delivery Item Number (e.g. 0080001729000010)
    <b>OBJECT</b>: VBBP
    <b>
    LANGUAGE</b>: sy-langu or whatever you want.

  • PROBLEM IN CREATING BOM ITEM TEXT FROM TEXT FILE

    Hi All,
    I am developing interface program for creating BOM based on data it text file. in my text file contain three column(material, qty and longtext). These text i need to upload to BOM TCODE CS01). Using SAVE_TEXT I have generated text object. it don't says any error. But while viewing text in CS03, text is not visible. Give me suggestion or give me any other method for updating item text from textfile.
    Thanks in advance.
    Regards.
    Peranandam.

    Hi Carl,
    Actually problem is SAVE_TEXT updates text but I cant able to view in CSO3 transaction. because while creating BOM I forget for updating language key for long text. After updating language key I can able to view text in CS03.
    Now I am facing another problem. If I am executing program directly without going to debug mode, It is not updates text. Logic everything is correct. Give me some suggestions for solving this issue. I am also tried with commit work, Commit_text and wait up n seconds statement.
    Regards,
    Peranandam

  • Item text from sales order to purchase requisition

    Hi Experts,
    I have below queries ,
    1. What are the controls to generate/create a purchase requisition from a sales order.
    Is this possible that a Pur. req generated from a sales order but sales order is not its account assignment.
    How item text from the sales order can be copied to purchase Requisition, does settings in purchase requisition in SPRO (Purchasing Purchase req-text for purchase req----define copying rules) works only for automatically created Pur req.??
    item text from sales order can be copied for PR created through MRP or planned orders converted to PR.??
    I will appreciate if someone can provide me documentation on basics of sales and distribution at my email
    [email protected]
    Thanks in advance
    anand

    hello, friend.
    i can only answer part of your question as i am not sure of the others.  however, yes... you can automatically create a purchase requisition from the sales order. 
    one example is third party sales.  because of the item category group that you specified in the material master, the sales document determines an item category (and schedule line) that controls the creation of the purchase requisition.  here, the system knows that you must source the material from your vendor for delivery to your customer.
    further, as in the above case, when your company creates the PO with reference to the PR, your company appears as the buying entity but the ship-to address is that of your customer.
    i did not understand your question on account assignment.  please elaborate and we'll see if we can come up with the answer.
    if you wish to see documentation, you could refer to SAP's article on Third Party Sales.  other scenarios such as just-in-time inventory for trading companies or make-to-order companies may also apply.
    regards.

  • How 2 Copy Header & Line Item Text from Purchase Order 2 Out Bound Delivery

    Hi SD Gurus,
    I want to copy header and line item text from Purchase Order to Out Bound Delivery (This is required in Stock Transfer Process).
    I have been able to do successful config. for copying header and line item text from Sales Order to Outbound Delivery but config. doesn't seems to be same for copying text from PO to OBD.
    Is there any way to achieve the same? Can some expert show the way to achieve this.
    Thanks in advance.
    Warm regards,
    Rahul Mishra

    Hi Ravikumar thanks for u quick reply.
    This is wht is currently coded.
    concatenate values to get item text for read text function
       invar3+0(10) = invar1. "PO number
       invar3+10(5) = invar2. "PO line number
       SELECT SINGLE * FROM stxh WHERE tdobject = 'EKPO'
                                   AND tdname   = invar3
                                   AND tdid     = 'F01'
                                   AND tdspras  = sy-langu.
       IF sy-subrc = 0.
         invar4 = invar3.
    reading the text for the document items.
         CALL FUNCTION 'READ_TEXT'
           EXPORTING
             id       = 'F01'
             language = sy-langu
             name     = invar4
             object   = 'EKPO'
           TABLES
             lines    = it_itab.
    I have seen some PO's which have info rec texts in that, which gets pulled by the above code...first thing is its id is F02 which exist in STXH table also there is other text with F01 id, and hence the table it_itab gets both these text hence no pbm.
    but i came across a PO which has only one text which is info rec text with id F05 and is not store in stxh and hence doesnot get pulled by read_text fm. How do i change my cod to get this text which should not hamper other PO's as well.
    As mentioned in above msgs, this F05 could be retrieved by providing object name as EINE.
    anyhelp will be appreciated and rewarded.
    thanks

  • Read Header Text  From VF03 Transaction

    Hi Frds,
                  I want to Read Header Text  From VF03 Transaction
    Read Transport Number and Transport Date From Vf03 Transaction.
    Guide Me Briefly
    How to pass the varaibles to the function Module
    Regards,
    Kabil

    hi Kabil ,
        Your issue completely accepted just keep in mind
    1) if you have to read both text you have to use read_text 2 times
    2) in that for first read_text
    CALL FUNCTION 'READ_TEXT'
         EXPORTING
          CLIENT                =       SY-MANDT
           ID                       =       '0002'
           LANGUAGE        =       SY-LANGU
           NAME                =        '             '          "" YOUR VARIABLE THAT CONTAINS Invoices number
           OBJECT             =        'VBRK'
          TABLES
           LINES                =         TLINE
       IF sy-subrc <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF. 
        is ok for Header note 1 .(means first text ) but for second text your ID is change other thing is same .
    CALL FUNCTION 'READ_TEXT'
         EXPORTING
          CLIENT                =       SY-MANDT
           ID                       =       '0013'
           LANGUAGE        =       SY-LANGU
           NAME                =        '             '          "" YOUR VARIABLE THAT CONTAINS Invoices number
           OBJECT             =        'VBRK'
          TABLES
           LINES                =         TLINE
       IF sy-subrc <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    Hope this will help you
    Thanking You,
    shrikant padwale.

  • VOFM copy item text from STO to delivery

    Hello,
    Has anyone succesfully copied item text from a stock transport purchase order to the delivery by using a rule defined in VOFM data transfer > text  ?
    I can do it  for the 1st item of the PO, but the second item just pulls the info from the sales order text from material master.
    I know that SAP has an OSS note saying that this way is not anymore necessary, you can adopt text from STO with customizing settings. However I have to add some more text, not just copying the PO text, so I have to use this way.

    Hi Jurgen,
    Can you tell me step-by-step process to copy sto text to delivery?
    I have been able to customize copying of text from sales order to delivery to billing but sto to delivery is not happening.
    Your help will be highly appreciated.
    Thanks.
    Warm regards,
    Rahul Mishra

  • How to prevent SAP to copy a manually typed Item text from PO into Info rec

    Hi SAP gurus
    Could you guide me the configuration  to prevent SAP to copy a manually typed Item text from PO into Info record PO text,
    Thanks
    Katta

    Charlie,
    I'm having trouble with copying text from Info Record to RFD.
    When in Spro I put the fix indicator at <*> or <N>, the the system does what it should.
    But when I put the fix indicator at < > blank, then no text is copied.
    Is this normal behaviour ?
    regards,
    Francois

  • 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.

  • User exit or badi for item text in mir7 transaction

    Hi Gurus,
    Please provide me suitable user exit or enhancement or badi for this requirement.
    client enter TEXT fied data in MIGO transaction for material document and purchase order in where tab.
    in MIR7 i entered reference number as material document number and purchase order number after triggering enter button it gives the list of items but IT IS NOT GIVE THE ITEM TEXT DATA which we entered in MIGO transaction.
    Please provide me suitable user exit or enhancement or BADI for this.
    Thanks A lot in Advance.
    With Regards,
    Radhakrishna.

    Hi RadhaKrishna,
    You can find the BADI by yourself just follow the below any methods you will get the appropriate BADI name..
    Method 1:
    Go to Tranaction: SE24.
    open class CL_EXITHANDLER
    Open the method " GetInstance"
    Put Break point in the statement
    call method cl_exithandler=>get_class_name_by_interface
    Now execute the Transaction which you need teh BDC it will automatically stops at the the method. In debugging mode double click on the variable: " exit_name" It will return the BADI Name.
    Method 2:
    find the Package name and go to the tranaction SE84.
    Enter the package name
    inside the left navaigaiton panel there is one option " Enhancements" click on this enhancement and then enter the package name and execute it. you will get hte number of enhancement.
    for your reference I am sending you the list of BADI present in MIRO transaction.
    ARC_MM_MATBEL_CHECK --------Check AddOn-Specific Criteria for MM_MATBEL
    ARC_MM_MATBEL_WRITE ---------- Archive AddOn-Specific Data for MM_MATBEL
    MB_CHECK_LINE_BADI  -------------- BAdI: Check Line Before Copying to the Blocking Tables
    MB_CIN_LMBMBU04     --------------- posting of gr
    MB_CIN_MM07MFB7     ---------------- BAdI for India Version exit in include MM07MFB7
    MB_CIN_MM07MFB7_QTY  ------------Proposal of quantity from Excise invoice in GR
    MB_DOCUMENT_BADI     --------------BAdIs when Creating a Material Document
    MB_DOCUMENT_UPDATE   -----------BADI when updating material document: MSEG and MKPF
    MB_MIGO_BADI        --------------------- BAdI in MIGO for External Detail Subscreens
    MB_MIGO_ITEM_BADI    ----------------BAdI in MIGO for Changing Item Data
    MB_RESERVATION_BADI  --------------MB21/MB22: Check and Complete Dialog Data
    Thanks,
    Chidanand

  • Sales order Userexit to copy item text from one line item to other

    Hi Gurus,
                 I have an urgent issue. Based on item category in sales order, for one line item, I am getting item text. Now I have to copy same item text to other line item.
    Till now I tried save_document_prep & save_document to
    build object tdname & fetch all tdid from table stxh for object 'VBBP'.
    After that READ_TEXT and SAVE_TEXT function module.
    But during creation of sales order I am not able to get any value in STXH table for created sales order. Now I want to know from which internal table I can get item text ?  (some internal table should be there like xvbap to get text per line item)
    Or is there any other way to do this... Please help.
    Points will be rewarded.
    Thanks,

    Hi ,
    try something like this .
            l_name = ls_vbap-vbeln.
            IF l_name IS INITIAL.
              l_name = 'XXXXXXXXXX'.
            ENDIF.
            CONCATENATE l_name ls_vbap-posnr INTO l_name.
            CALL FUNCTION 'READ_TEXT'
                name            = l_name
    Regards
    Prabhu

  • Copy item text in business transaction

    Hi,
    when copying a business transaction, I use function modules read_text and save_text to get the text from the original and save it to the copy. On header level this works fine (text is visible, order still not saved), on item level the copied text is invisible. When I save the copied order, I see both texts on header- and item-level. Does anyone knows how to make it visible also in creation mode on item level?
    Copying (read_text and save_text) is performed in CRM_COPY_BADI/ CUSTOMER_I and CUSTOMER_H.
    Thanks,
    Stefan.

    Sorry, I didn't add the solution :
      CALL FUNCTION 'CRM_TEXT_COPY_121_OW'
        EXPORTING
          iv_header_guid_old = o1
          iv_object_guid_old = o2
          iv_header_guid_new = n1
          iv_object_guid_new = n2.
    After saving the text I call above function, then the text is visible.
    Cheers,
    Stefan

  • Update FI item text from PO item text

    Hi all,
                     i am trying to update FI item text(bseg) from PO item text(ekpo).I know that bseg is a culster table therefore inner join is not allow.So is there a way i can join these two tables together so i can retrieve the line item and then i'll do a modify to update into FI item text.I have tried the various codes that are posted within this forum but can never get anything to write:/ out.
                       I've manage to retrieve the various info from PO (ekpo) and also manage to update the FI text field with some random words(but both seperately).What i need now is to create a link between bseg and ekpo.
                       I have attached my coding for better understanding..Thankss
    REPORT  ZSTKLILINTEST3 LINE-SIZE 1023 LINE-COUNT 1023 NO STANDARD PAGE HEADING.
    Table Declaration
    TABLES: ekpo, ekko, bseg, zstkll_1.
    Types Declaration
    TYPES:  BEGIN OF t_bseg,
            ebeln LIKE bseg-ebeln,
            hkont LIKE bseg-hkont,
            END OF t_bseg,
            BEGIN OF t_ekpo,
            ebeln LIKE ekpo-ebeln,
            txz01 LIKE ekpo-txz01,
            bukrs LIKE ekpo-bukrs,
            ebelp LIKE ekpo-ebelp,
            hkont LIKE bseg-hkont,
            END OF t_ekpo.
    Data  Declaration
    *grab data from t_ekpo then append it to zstkcy008
    DATA: ekpo_tab TYPE STANDARD TABLE OF t_ekpo WITH HEADER LINE,
          bseg_tab TYPE STANDARD TABLE OF t_bseg WITH HEADER LINE,
          zstkll_1_tab TYPE STANDARD TABLE OF zstkll_1,
          wa_zstkll_1 LIKE LINE OF zstkll_1_tab.
    Selection-Screen
    SELECT-OPTIONS: s_bukrs FOR ekpo-bukrs,
                    s_ebeln FOR ekpo-ebeln,
                    s_hkont FOR bseg-hkont.
    INITIALIZATION EVENT
    AT SELECTION-SCREEN EVENT
    START-OF-SELECTION
    START-OF-SELECTION.
      SELECT bukrs
      FROM ekpo
      INTO CORRESPONDING FIELDS OF TABLE ekpo_tab
      WHERE bukrs IN s_bukrs.
    IF ekpo_tab[] IS NOT INITIAL.
    SELECT ekkoebeln ebelp bedat txz01 ekkobukrs
    FROM ekpo INNER JOIN ekko
    ON ekpoebeln = ekkoebeln
    INTO CORRESPONDING FIELDS OF TABLE ekpo_tab
    FOR ALL ENTRIES IN ekpo_tab
    WHERE ekko~bukrs = ekpo_tab-bukrs
    AND ekko~ebeln IN s_ebeln.
        WRITE:/ 'Extracted Data:'.
        LOOP AT ekpo_tab.
          MOVE-CORRESPONDING ekpo_tab TO wa_zstkll_1.
          WRITE:/ ekpo_tab-bukrs, ekpo_tab-ebelp, ekpo_tab-txz01, ekpo_tab-ebeln, ekko-ebeln, ekko-bedat.
          AT END OF ebeln.
           APPEND wa_zstkll_1 TO zstkll_1_tab.
          ENDAT.
          CLEAR: wa_zstkll_1, ekpo_tab.
        ENDLOOP.
        SKIP 2.
        TRY.
            CLEAR sy-dbcnt.
    INSERT zstkll_1 FROM TABLE zstkll_1_tab.
          CATCH cx_root.
            WRITE:/ 'Record(s) already exist!'.
        ENDTRY.
        WRITE:/ sy-dbcnt, ' Records are inserted.'.
    ELSE.
    WRITE:/ 'No data Selected.'.
    ENDIF.
    END-OF-SELECTION
    END-OF-SELECTION.
    REPORT  ZSTKLILINTEST13.
    TABLES:bseg.
    DATA:it_bseg LIKE bseg OCCURS 0 WITH HEADER LINE.
    PARAMETERS:p_belnr LIKE bseg-belnr,
               p_bukrs LIKE bseg-bukrs,
               p_gjahr LIKE bseg-gjahr.
    START-OF-SELECTION.
    SELECT * FROM bseg INTO TABLE it_bseg WHERE belnr = p_belnr AND bukrs = p_bukrs AND gjahr = p_gjahr.
    MOVE 'IF THIS APPEAR UPDATE IS SUCCESSFUL' TO it_bseg-sgtxt.
    MODIFY it_bseg FROM it_bseg TRANSPORTING sgtxt where belnr = p_belnr AND bukrs = p_bukrs AND gjahr = p_gjahr.
    LOOP AT it_bseg.
    WRITE:/3 it_bseg-belnr, it_bseg-gjahr, it_bseg-sgtxt.
    ENDLOOP.
    MODIFY bseg FROM TABLE it_bseg.
    COMMIT WORK.
    IF sy-subrc EQ 0.
    WRITE:/3 'BSEG TABLE UPDATED SUCCESSFULLY WITH TEXT'.
    ENDIF.

    self solved

  • Item Text in PR transaction (me51n)

    Hi,
    What could be the rootcause that the item text field  during Purchase Requisition transaction (me51n,me52n) is not editable ?
    its grey out and cannot type in anything...
    we're using ecc6. pls help..thanks in advance.
    she

    Hi
    Check it in SPRO- SAP IMG- Material Management- Purchase requisition- Define screen layout at document level.
    Have u selected or somebody selected display option or not pls check it.
    Regards,
    Raman

  • Reading line item text from sales order

    Hi,
    I have a sales order which has an item text, I need to get the value from the text. I want to test the READ_TEXT function and I am giving values as
      Import parameters               Value           
      CLIENT                          400             
      ID                                  0011            
      LANGUAGE                   EN              
      NAME                            0001171445000010
      OBJECT                         VBBP            
      ARCHIVE_HANDLE         0               
    LOCAL_CAT                               
    It is not giving me any value.  Am I giving any thing wrong? In the NAME I gave the value as sales ord num + item number, is this correct. Please help me.
    Thanks,
    Veni.

    Hi
    Name is the Concatenation of Order No and Item No.
    pass the 4 parameters ID,OBJECT,NAME and LANG
    use the correct declarations for the parameters and use
    ID  = '0011'
    LANGUAGE =  'EN'
    NAME = '0001171445000010'
    OBJECT  = 'VBBP'
    See the doc
    READ_TEXT
    READ_TEXT provides a text for the application program in the specified work areas.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    Function call:
    CALL FUNCTION 'READ_TEXT'
    EXPORTING CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters:
    CLIENT
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    Reward points if useful
    Regards
    Anji

Maybe you are looking for

  • I am getting an error while trying to intall Panther

    G4 lost it's HD so I decided to simply get a new one install it and take the bad one out. It turns out that the original HD had been replaced by a SCSI Cheetah drive that no longer worked. Easy enough took the SCSI HD out the SCSI controller card out

  • Basic question about positioning titles & text...

    Hi there, I am working on a presentation that will be shown via laptop>projector>big screen. I am very used to working with the title safe option for tv screens, does this not apply for my text using laptop and projector? (I need all the screen space

  • Print dark from LR

    I have just started printing from LR and my photos are incredibly dark. I have turned off the option printer to manage and selected my paper and printer. In the colour Management box, I have increased Brightness to +46 but still much darker than the

  • JFileChooser opens .lnk files as separate files

    When .lnk file is chosen in a JFileChooser, it returns this .lnk file. How to make the chooser to return the file this .lnk links to ? THANK YOU!

  • Kanban in pp?

    hi there.....                 i am having problem in finding container in sap.I am having 3 different raw material(powder) and i want to store them in a container as per quantity specified in production order.Then i want to use this container for fur