Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

displaying one value in the smartform

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

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.

0 Kudos

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

former_member188685
Active Contributor
0 Kudos

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