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

printing values in smart form

Hi,

I am new to smart forms.while I am debugging the driver program all the values are coming and after moving all that values also data is coming in final internal table.But they are not printing in the smart form.In smart form I assigned all the appropriate fields also.every thing is fine only values have to be displayed into the smart forms.

only some values are picking from the internal table but not all.

Plz can u help me what may be the problem?

advance thanks

sammu.

Edited by: Sameera shaik on Oct 31, 2008 11:03 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 31, 2008 at 10:04 AM

    Hi

    Are u passing this final internal table to the Smartform generated Function Module??

    And before that, did u declare the internal table in the Tables tab of the Form Interface?

    Regards,

    Vishwa.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      Here:

      IF wa_vbpa-parvw = 'AG'.
      READ TABLE it_adrc INTO wa_adrc WITH KEY addrnumber = wa_vbpa-adrnr.
      IF sy-subrc EQ 0.
      MOVE:wa_adrc-name1 TO wa_header-inv_name1, "6
      wa_adrc-name2 TO wa_header-inv_name2, "6
      wa_adrc-street TO wa_header-inv_street,"6
      wa_adrc-post_code1 TO wa_header-inv_post_code1, "6
      wa_adrc-city1 TO wa_header-inv_city1. "6
      READ TABLE it_t005u INTO wa_t005u WITH KEY spras = sy-langu
      bland = wa_adrc-region
      land1 = wa_adrc-country.  "you did not move wa_t005u-bland,land1 to wa_header strucure right???...
      IF sy-subrc EQ 0.
      MOVE wa_t005u-bezei TO wa_header-inv_region. "6 
      ENDIF.
      READ TABLE it_t005t INTO wa_t005t WITH KEY spras = sy-langu
      land1 = wa_adrc-country.
      IF sy-subrc EQ 0.
      MOVE wa_t005t-landx TO wa_header-inv_country.
      ENDIF.
      ENDIF.
      ENDIF.

      I think you are not moving all values to wa_header. If I am not wrong this is the one you are passing to FM...right??

      Regards,

      Vishwa.

  • author's profile photo Former Member
    Former Member
    Posted on Nov 03, 2008 at 07:04 AM

    Hi Sameera,

    Have you passed the internal table to the form interface to the smartform.

    Regards,

    Sravanthi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 05, 2008 at 10:59 AM

    Hi I have not clear still.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 07, 2008 at 11:55 AM

    hi,

    try to take a break point and make sure all ur values are comming to smart form also.

    once again check the table type which u have declare for wa_header.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 07, 2008 at 11:55 AM

    hi,

    try to take a break point and make sure all ur values are comming to smart form also.

    once again check the table type which u have declare for wa_header.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 08, 2008 at 06:15 AM

    Hi Sameera,

    Please check the window size and harcode the BREAK-POINT.code in the samart form editor where you pass the field value and check whether same value is there in samrt form.

    If not please check your window size once

    Regards,

    Rasheed.

    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.