cancel
Showing results for 
Search instead for 
Did you mean: 

Fields not transfering in smartform

Former Member
0 Kudos

Hi Everyone ;

I am designing smartfom but I cant do something. picture is below.

[ This is a picture | Http://www.irfanmatak.com/projects/smartform.jpg ]

I dont take a error in smartform but dont retrive the data. Anybody tell me pls. How to show dynamic data

note: The I did not did an error the referance parametres smartform an abap program.

Thanks for anwers and I apologise for bad english

Regards

İrfan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Do not use a space infront of '&' and after it while displaying the field contents .

Regards,

Ram

Former Member
0 Kudos

Thanks but ;

Which will look possible reaches the picture at the places which I did not use.

Data is not being filmed.

&ls_vbrk-vbeln& - not show

& ls_vbrk-vbeln & - not show

Former Member
0 Kudos

hello irfan,

dont include ur statement in betweeen ampersands may be bcz of that its printing as it is instead of

fetching the value.

ls_vbrk-vbeln

debug ur code and check whether ls_vbrk is getting value ar not....

hope this wud solve ur problem

good day

regards

prashanti

Former Member
0 Kudos

hello; thanks prashanti your right !

Structure empty ! But how to be ! Program work correcly ! and reference datas transfering the report.

How can detach this problem.

Regards

Former Member
0 Kudos

I cant fix this problem. This is my call procedure.

 
 DATA: lv_form_name   TYPE  rs38l_fnam,
        lv_smart_name  TYPE  tdsfname.
        lv_smart_name = 'ZSD_F_SF_IM_FORMIRSFATURA'.

  DATA: lv_repid     TYPE sy-repid,
        lv_device    TYPE tddevice,
        ls_control_param  TYPE ssfctrlop,
        ls_composer_param TYPE ssfcompop.

  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname           = lv_smart_name
    IMPORTING
      fm_name            = lv_form_name
    EXCEPTIONS
      no_form            = 1
      no_function_module = 2
      OTHERS             = 3.


    lv_repid = sy-repid.
    ls_composer_param-tdnoprint = ''.

    ls_control_param-device      = lv_device.
    ls_control_param-no_dialog   = 'X'.
    ls_control_param-preview     = 'X'.

    CALL FUNCTION lv_form_name
      EXPORTING
        control_parameters = ls_control_param
        output_options     = ls_composer_param
        TOPLAM_VBRP_NTGEW  = TOPLAM_VBRP_NTGEW
        gt_vbrk            = gt_vbrk[]   " TABLES ARE CONTAIN A VALUE I MEAN NOT INITIAL
        gt_vbrp            = gt_vbrp[]
      EXCEPTIONS
        formatting_error   = 1
        internal_error     = 2
        send_error         = 3
        user_canceled      = 4
        OTHERS             = 5.

So this procedure transfer the data in a smartform but Smartform dont show this data. How I show this data in a smartform. My variables in && tags but dont visible. ?

MY SMARTFORM DECLERATIONS

TOPLAM_VBRP_NTGEW TYPE VBRP-NTGEW

GT_VBRK TYPE TAB_VBRK

GT_VBRP TYPE TAB_VBRP

only this values transferred but structures are empty. I will became crazy Anybody tell me this pls.

Regards ;

former_member181995
Active Contributor
0 Kudos

Irfan,

It seems you made hard code.double click on text element and once text elemet displayed first delete it and press CtrlShiftF4 from here select your variable.dont type it .

Amit.

Former Member
0 Kudos

Thanks for answer Amit ;

this picture show everything, Im cant show system fields

[SMARTFORM|http://www.irfanmatak.com/projects/smartform2.jpg]

I cant show all dynamicly fields. What Am I doing wrongly. Im doing your writes but dont do.

former_member181995
Active Contributor
0 Kudos

Irfan,

Again i can see in your screen shot you have gived hard code.i mean you are writing this like &SFSY-DATE&.

dont write it just drag and drop from SFSY structure which is already open in your screen shot.

Hope now you got.if still you have any problem to understand english tell me if you know hindi i will explain you in hindi as well.

Amit.

Former Member
0 Kudos

Thanks for all answers ;

At last I can fix this problem; I use Office 2007 and Im write in smartform text &SY-DATUM& But this dynamicly field non show the report preview.

I write full shape the string

COLOR&SY-DATUM&COLOR

So I use this. And My smartform begin the retrive data. The colour is not being filmed when does not use.

I hope May be helpful information for other friends.

Regards

İrfan

Former Member
0 Kudos

Hi

What is the problem regarding your smartforms?Can you be more specific?Is that the problem while uploading the image into smartforms

Regards,

Sravanthi

Former Member
0 Kudos

yes

My smartform not recieve error. The time which I sent the data from the program is not appearing at the report !

sample

LS_VBRK-Vbeln is contain a value but smartform show this element & LS_VBRK-Vbeln & .

Can I show the what kind of data.

Thanks.