on 08-24-2010 10:15 AM
Hello,
I have alrady generated an interactive form and an interface in order to generate
an activity from this offline form, and its working
But now I want that the filed 'category' should already be filled as dropdownlist.
How can I pre-fill this field / table 'category' ?
I generate the inter active form with FUNCTION 'FP_FUNCTION_MODULE_NAME',
so I do not use web-dynpro.
I think I must pre-fill this field in the interface, but how ? while initialzation ?
Has anybody made something like this ?
Thanks for response.
G
Hello,
I use the followign code
in order to export the filled table category to create the function modul of the form:
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
langtext = langtext
category_tab = category_tab
IMPORTING
/1bcdwb/formoutput = fp_formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
But when I open the form I still do not get a dropdownlist for the field category.
Must I use a special field in the form in order to show this table as dropdownlist ?
Thanks G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
how exactly do you want the system to "create" the dropdown in the form for you? if you change the interface and then assign the table through the print program code, you only send the data into the form. you must obviously create a field and maintain the field binding. search for keywords like "dynamic binding drop down field".
Regards Otto
p.s.: this question is VERY basic, you could use some training...
I've already filled this internal table with values and I've already a field-binding but while
calling
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
langtext = langtext
category_tab = category_tab
I only get one value into the form for field category and no table
this is the problem.
If this problem is so VERY basic you can provide a solution
Hi,
the category_tab is type CRMC_ACT_CAT_T.
I fill this internal tabel with values and while
transfering it with
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
langtext = langtext
category_tab = category_tab
IMPORTING
/1bcdwb/formoutput = fp_formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
In form trace I only can see the last value-set in my from.
In the form I use a dropdown-field, so I think there shouldn't be a problem.
Is it possible to fill the from with this internal table ?
BR
If you don´t see all the values in the form trace XML data file, then the problem is in ABAP or interface. In the file you should be able to see ALL the data you send from the backend. If you cannot see it, you don´t pass it correctly, you didn´t load it correctly, or there is a problem with the interface.
Otto
How to deal with SAP-standard Adobe forms: /people/otto.gold/blog/2010/05/06/how-to-deal-with-sap-standard-adobe-forms
Yes, in the inititalization of the interface of you could change/ repair the printing program.
Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.