Skip to Content
author's profile photo Former Member
Former Member

How to read Sales order Item Text of item node?

Hi Sap Guru's,

I have urgent requirement, i want to read Sales order item text of item node.

can anybody give detail code.

Thanks in Advance,

Venkat

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Jul 24, 2008 at 03:13 AM

    hi,

    use FM READ_TEXT

    client = <your systems client number>

    id = 0001 for material sales text

    0002 for item note

    0003 for packing note

    languange = <system languange>

    name = <concatenated string of SO Number and 5-char Line Item Number>

    object = VBBP

    regards,

    Peter

    Add a comment
    10|10000 characters needed characters exceeded

    • hi venkat,

      take a look at this code

      data:

      git_line type standard table of tline.

      data:

      gwa_head type thead,

      gwa_line type tline.

      data:

      v_first type c.

      CALL FUNCTION 'READ_TEXT'

      EXPORTING

      • CLIENT = SY-MANDT

      id = '0002'

      language = sy-langu

      name = '1000000122000010'

      object = 'VBBP'

      IMPORTING

      HEADER = gwa_head

      tables

      lines = git_line

      EXCEPTIONS

      ID = 1

      LANGUAGE = 2

      NAME = 3

      NOT_FOUND = 4

      OBJECT = 5

      REFERENCE_CHECK = 6

      WRONG_ACCESS_TO_ARCHIVE = 7

      OTHERS = 8.

      loop at git_line into gwa_line.

      at first.

      move 'X' to v_first.

      endat.

      if v_first eq 'X'.

      write: / gwa_line-tdline+10.

      clear v_first.

      else.

      write: / gwa_line-tdline.

      endif.

      endloop.

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 03:23 AM

    Hi,

    Using the FM READ_TEXT you can read. You have to pass parameters text id, object id , object name and language to this FM.

    Thanks,

    Phani Diwakar.

    Edited by: MVPhani Diwakar on Jul 24, 2008 5:23 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 05:12 AM

    Hi Venkat.

    I would like to suggest a reference,

    [SDN - Reference for Reading line item text from sales order with code|Reading line item text from sales order;

    Hope that's usefull.

    Good Luck & Regards.

    Harsh Dave

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 26, 2008 at 07:41 AM

    Thanks to all.

    it is working fine.

    Regards,

    venkat

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.