2013 Jun 21 3:15 PM
Hi Experts,
I am importing the field 'order no' into form interface. In my print program, that field is taken as 'select-options' field. Now I am populating the orders into one itab and I am passing that itab for the parameter 'S_order' in the generated FM. But its giving the dump. Pl give some suggestion, what should be the field structure for the field to be passed to 'S_order' in the FM.
Rgds,
Khadeer,..
2013 Jun 21 6:19 PM
Hi Khadeer Basha,
I recommend you to see the below examples for select option function in smartform
http://www.saptechies.com/sap-pdf-books-download/ccab6730_0501_0010_ee84_de050a6cc287343411326358...
also n of tutorials available for smartforms search SCN completely
2013 Jun 26 11:42 AM
Hi Khadeer,
Create a custom structure in se11with
1.sign
2.option
3.low
4.high
as fields.
and use this structure in smart form interface.
Now, you can call
CALL FUNCTION v_form_name
TABLES
itab_select = s_order.
with this the issue wil be solved.
for more clarifications goto
http://saptechnical. com/Tutorials/Smartforms/SelectOptions/Demo.htm
2013 Jun 26 3:39 PM
2013 Jul 06 4:48 PM
Hi Khadeer,
Seems like the dump is because of type mismatch of the itab in your program and the 'S_ORDER' parameter in your smartform.
Please assign the types to the data objects as specified below.
1. Itab in the program:
DATA: itab type range of aufnr.
2. S_ORDER in the smartform must be assigned with the table type RANGE_T_AUFNR.
This shall resolve your problem.
Regards,
Sarath.