Skip to Content

How can I receive data and print them in the smartform INTNOM2_N1?

Hi experts!!

I've to receive data from some tables and print them into the smarform INTNOM2_N1, for example I need to receive the data stext from the table hrp1000, but when I tried to do this, this doesn't work

SELECT SINGLE STEXT FROM HRP1000 INTO WA_FORM_n1-STEXT
                      WHERE OBJID = P0001-PLANS AND
                      PLVAR       = '01' .

because the data p0001-plans is empty how can I do this? I've tried with

RP_PROVIDE_FROM_LAST P0001 SPACE VERSC-FPBEG VERSC-FPEND, but I think in smartforms we can't use RP_PROVIDE_FROM_LAST because I receive an error message,

Does anybody know how can i do this?!

Thanks a lot,

Regards,

Rebeca

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 19, 2008 at 10:37 AM

    Hi

    Please write this code in the smartform and pass on this internal table to the smartform FM..

    Also, in the form interface of the smartform declare the table to which u want to pass these values.

    The above process will help u to pass values into the smartform from print program.

    Regards,

    Vishwa.

    Add comment
    10|10000 characters needed characters exceeded