cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member384574
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.