on 04-03-2009 7:13 AM
Hi I have created a form through Udo Form generator. i.e. UDO1(with Master Table=Users and master data rows table=OPDS)
On other form made through screen painter, I want to add cfl for udo generated form(UDO1).
Can anyone help me?
When you have a CFL you use a System Object or your own UDO and the CFL popup window is handled by sap . So, you can't have it open your own form.
However, you may add a Button next to the EditText, and put the CFL image on it. When you click it, you should open your form and after that handle the selection made there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it's answered. thanks a lot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can set the CFL alias like this :
oEditText.ChooseFromListAlias= "COLUMN_ID"
I think this is how it's suppose to be - you set the CFL alias as the column id of the master data table ( whose values you want to be placed in the EditText) . The only problem is that it doesn't work - it won't place the value automatically in the EditText.
To make it work , you have to catch the CFL Event and put the value in the EditText manually. ( this is also covered in the CFL example in the sample files).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks but what will be the cfl alias for my form. how to set cfl alias for manual generated form. that i am unable to find.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
If i am not getting you wrong..you want to set the cfl on UDO generated form.
Open your from in screen painter. Add new choose from list on collection tab. set the object type. then select the edit text on which you want to add cfl and click on item tab. there are two options choose from list and alias. select the choose from list from combo and in alias field fill the coulmn name which you want to bind with that edittext.
Regards
Rupinder
You have to create a CFL and set the object type to the UDO you made :
SAPbouiCOM.ChooseFromList cfl;
cfl.ObjectType = "MY_UDO";
cfl.UniqueID = "MY_CFL";
( check the CFL example in the samples)
oEditText.ChooseFromListUID ="MY_CFL";
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
that i want to know. how can i add cfl for edittext. what could be the object type and choose from list alias for the form generated by me through through form generator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.