cancel
Showing results for 
Search instead for 
Did you mean: 

need help on p.o smart form?

Former Member
0 Kudos

hello experts

i am getting dump on fm_fname in smart form?

also my rquirement is based on plant code i have disply purchase order smartform

any body help on this issue

i want complete process with source code

in the address window based on plant code it diplay the address of plant and form

Accepted Solutions (1)

Accepted Solutions (1)

former_member196280
Active Contributor
0 Kudos

there might me many cases for dump, try to look at the templets & tables in your smartform, best way to identify is goto SMARTFORM_TRACE and check TRACE ON check box... now run your smartform goto SMARTFORM_TRACE anad see the log you will know which field is giving the dump, goto your smartform and comment that field if no dump do analysis on the field...

Close the thread once your question is answered.

Regards,

SaiRam

Former Member
0 Kudos

thanx for sending reply

but where i will get trace

can u tell me path?

also my requirement based on plant code i want to display the form layout

here.. plant address want to come into address window ....like tx details, vendor details ,podetails want to come differnt window...

how to do this...bse all the data comes from different table...

can u help me?

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

declare the itab in the program with the same structure of smartform table

Thanks,

Nethaji.

former_member189629
Active Contributor
0 Kudos

Shankar,

1) What s the error ur dump is showing?

2) Is the smartform error free? (are all tyhe template/table lengths in sync and are all the variables declared correctly)

Please paste the dump error message or ur FM code for clarity...

Former Member
0 Kudos

hi karthik

thanx for reply

the error is :

when calling function module \1bdcwb\sf00000010\'one of the parameter is needed

accroding to parameter interface description is not specified.

the parameter was IT_DATA

my reqiurments is based on plant code i have display the form

can u send me enitre process

Former Member
0 Kudos

im getting error

after calling the ssf_function_module_name

call funtction 'fm_fname' -


> here iam getting error dump

tabels

it_data = it_data.

former_member189629
Active Contributor
0 Kudos

Shankar,

Have u declared the itab in your smartforms form interface? Also u need to declare a structure in global definitions to loop thru the itab to display data

Former Member
0 Kudos

in global definations wat i have to do ?

i did in form interface...

also i am not getting chage editor

i wriiten

name &it_lfa1-name&

i want to display only name in a form

former_member189629
Active Contributor
0 Kudos

shankar,

u need 2 declare a structure of itab structure if u wanna loop thru the table n display entries.

Also add program lines b4 displaying &it_lfa1-name& and add it_lfa1as the inputparam

Former Member
0 Kudos

Hi,

If u want to pass a plant no. from ur program to smartform, then declare a variable as import parameter in the form interface of smartform and map both the variables in function calling in ur program.

If u want to pass the ITAB then declare a ITAB as tables in form interface refering to standard table-type. In calling program also create ITAB refering to the same standard table-type and pass this ITAB to the tables in the function Call of the Smartform.

Hope this ll help u.

Regards

Prabhu.