Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Not what you were looking for? View more on this topic or Ask a question