Application Development and Automation 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: 
Read only

smartforms select-options

Former Member
0 Likes
854

hi everyone,

i m developing a po in smartforms. now i want to give the select-option on selection screen and accordingly i want to print po.s continuesly as given by user in in select-options,.so can u tell em how its is deal in program as well as in smartforms wt i will hav to do.

9 REPLIES 9
Read only

Former Member
0 Likes
796

1) u can define a range table or only a select-option in ur print program for smartforms

2) then u can simply give a same range table type in smartform,generate the FM and then populate values in this range table and pass this table to ur generated smartform function module.

amit

Read only

0 Likes
796

i can do this boss bt the thing is this that like i give the range from 1 to 10. and the program shud print the po from 1 to 10 number, which i think can not be achieved through this . for this v use control paramters stuff and all that. bt i dnt knwo how to use them aswell as i dnt knwo wt to do in smartforms for that. thx for ur reply buddy.

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
796

Hi,

Check my sample code here.I am exactly dealing with select option in smartforms.Kindly reward points by clicking the star on the left of reply,if it helps.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501...

Read only

0 Likes
796

Hi Jayanthi, the link u have posted related to smartfrom ( i.e. ur sample code), i am unable to access it.... getting a message like u don't have permission to access it.....How can see the code plz intimate me

Read only

0 Likes
796

Hi,

If you login as guest,I think you will face the problem.Otherwise,just click the url which I mentioned.You can see the document.

Read only

0 Likes
796

Hi ,

i have logged on as Registered user,again i tried ... i m getting the message "

403 The requested operation is forbidden for this resource. You do not have the permissions required to access this resource"

Read only

Former Member
0 Likes
796

Sorrry buddy this is just to handle the selectoptions but my problem is still not solved.like how wil i print the forms continuesly. from 1 to 10.wt i wlll have to do in program and wt i will have to do in smarforms.like after using control para wt i will hav to do in smartforms.

Read only

0 Likes
796

Hi,

Let me know whether my understanding is correct.

You are passing po no. as select-option in selection screen of driver program.

You want to print the po no. entered in selection screen thro' smartform.

If the above is the requirement,develop a ztable in SE11 with fields low,high,sign,option.

Pass the select-option value from driver program as table.

In the smartform,form-Interface->tables

itab like ztable

Read only

0 Likes
796

nono this is not the problem. the problem is this like if i give the range from 1 to 10. now i want when i execut this program i want all the po with number 1 to 10 shud be printed.like when first finish second get started then next and then next and so on,