12-12-2005 8:14 AM
Hi,
I want to create BELNR value in smartform.I have done like this.
1. I have defind "var like bkpf-belnr"(import) in form interface.
2.In the pages and windows i have created 'TEXT' and
added there as DOCUMENT NO: &VAR&.
3.In the abap program i have written like this.
SELECT SINGLE QMNUM INTO V1 FROM QMEL WHERE QMNUM IN S_QMNUM.
CALL FUNCTION fm_name
EXPORTING
VAR = V1
Iam not getting the value in the output. what might be the reson.In the debuggin of function module iam getting the value into var.
cheers
kaki
12-12-2005 8:18 AM
Kaki,
How did you add the variable &VAR& to the TEXT? If you have added it manually, can try drag and drop from the field list.
The field list button will be the one next to Form Painter on the toolbar.
Regards,
Ravi
Note : Please reward the posts that help you.
12-12-2005 8:18 AM
Kaki,
How did you add the variable &VAR& to the TEXT? If you have added it manually, can try drag and drop from the field list.
The field list button will be the one next to Form Painter on the toolbar.
Regards,
Ravi
Note : Please reward the posts that help you.
12-12-2005 8:21 AM
Hi Ravi,
Thanks a lot. I got it.
Full points added.
Iam new to the smartforms.
Thanks vijay.
cheers
kaki
Message was edited by: Kaki R
12-12-2005 8:18 AM
did you created the text for main window, if so click on that, and clcik on the general attributes tab
there you can see textype did you gave textelement over there. if not select from dropdown .
and try ...
vijay