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

smartform(header text and item text)

in transcation va02 we can create text for odrer header and items.....we can view

the same in va03......how do we capture these in our main program(smartform)....

actually we take these values in internal table and include this table in s010....than we capture these values but from where to fetch these values(tables)..

if any one has come across same req plz reply

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 28, 2007 at 05:11 AM

    tables stxh stxl

    for reading use fm read_text

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2007 at 12:11 PM
    • FOR ITEM_TEXT (FOR MAIN WINDOW,ITEM TEXT)*****

    LOOP AT zmit INTO wa_zmit.

    CONCATENATE p_vbeln wa_zmit-posnr INTO name1.

    PERFORM item_text USING : '0001' ,'0002','Z001','Z002','Z003','Z004' .

    ENDLOOP.

    CLEAR wa_zmit.

    *******END OF ITEM_TEXT

    ORM item_text USING pp .

    *loop AT zmit into wa_zmit.

    *concatenate P_VBELN wa_zmit-posnr into name1.

    CALL FUNCTION 'READ_TEXT'

    EXPORTING

    client = sy-mandt

    id = pp

    language = lang

    name = name1

    object = 'VBBP'

    • ARCHIVE_HANDLE = 0

    • LOCAL_CAT = ' '

    • IMPORTING

    • HEADER =

    TABLES

    lines = p_lines

    EXCEPTIONS

    id = 1

    language = 2

    name = 3

    not_found = 4

    object = 5

    reference_check = 6

    wrong_access_to_archive = 7

    OTHERS = 8

    .

    IF sy-subrc NE 0.

    • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

    • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    ENDIF.

    enjoy:)

    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.