on 07-10-2007 2:03 PM
Hi all,
We are trying to create a Adobe form using ISR library controls. We want to populate a dropdown list with all the values from the table T001 dynamically. We have implemented the BAdi QISR1 & populated the ADDITIONAL_DATA. The BAdi is executing & populating the value correctly.
In the we have created a control using the ISR Dropdown & mapped to the Context BUKRS from the interface created. When we execute the form, only the first value is getting filled.
Can anyone help us in this ??? Its very urgent....
Thanx,
Sivagami.R
Hi
debug the function module using remote debuging method while executing the form, so that we can see exactly what happening while loading data.
thanks
Gopal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Stil I am not able to solve the problem. I checked with some std. forms of similar kind. In binding, it is mentioned as
$record.sap-vhlist.WERKS_NEW\.DATA\.FIELD.item[*]
which is not coming in our case. it is simply taken as
$record.BUKRS.DATA.FIELD[*]
<b>what is sap-vhlist? Wht else i need to check on this issue?</b>
Plz guide me...
Thanx,
Sivagami.R
Hi,
I am just giving the solution what I have done in my project. Hope this will help:
DATA: BEGIN OF it_ccode OCCURS 0,
bukrs TYPE t001-bukrs,
butxt TYPE t001-butxt,
END OF it_ccode.
DATA: wa_ccode like line of it_ccode.
Select Company Code (bukrs) and Text (butxt) from table T001.
SELECT bukrs butxt
from t001
into table it_ccode.
LOOP AT it_t001.
ADD 1 TO lv_index.
ls_additional_data-fieldindex = lv_index.
ls_additional_data-fieldname = 'FIELDNAME_KEY'.
ls_additional_data-fieldvalue = it_t001-bukrs.
APPEND ls_additional_data TO additional_data.
ls_additional_data-fieldname = 'FIELDNAME_LABEL'.
CONCATENATE it_t001-bukrs '-' it_t001-butxt
INTO ls_additional_data-fieldvalue.
APPEND ls_additional_data TO additional_data.
ENDLOOP.
And the form my fields binding is:
$record.FIELDNAME.DATA[*].FIELD
Try this out. Hope this will help.
Regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.