Skip to Content
avatar image
Former Member

displaying one value in the smartform

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 12, 2005 at 08: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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Dec 12, 2005 at 08: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

    Add comment
    10|10000 characters needed characters exceeded