on 10-06-2008 5:54 AM
Hi All
Can i define or Get a Transaction Type of a User Define Table?
Thanks
hi,
if u have UDO for that table, then u can use UDO uniqueID as CFLUID.
regards,
varma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
How ObjectType in CFL you can use only SAP objects or UDO.
Define your table as an UDO and associate ObjectType="YOU_UDO_NAME".
Regards
Sierdna S.
<ChooseFromListCollection>
<action type="add">
<!-- .... CFL for UDO -->
<ChooseFromList UniqueID="14" ObjectType="YOU_UDO_NAME" MultiSelection="0" IsSystem="1" />
<!-- .... CFL for OITM.ItemCode -->
<ChooseFromList UniqueID="14" ObjectType="4" MultiSelection="0" IsSystem="1" />
<!-- .... CFL for OCRD.CardCode -->
<ChooseFromList UniqueID="14" ObjectType="2" MultiSelection="0" IsSystem="1" />
</action>
</ChooseFromListCollection>
Your need to create UniqueID for every CFL object on your form.
For example, if you have 3 items:
- text field for CardCode;
- button for CFL;
- text field for CardName.
So you need to create 3 CFL objects with Unique ID for every object.
When you associate the CFL for every item you need to specify:
- CFL uniqueID: ChooseFromListUID="5";
- CFL Field Alias: ChooseFromListAlias="CardCode".
<items>
...
<item uid="eCardCod1" type="16" description="From Supplier"
left="121" width="100" top="50" height="14" visible="1"
enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0"
linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1"
supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific TabOrder="50" ChooseFromListUID="5" ChooseFromListAlias="CardCode" >
<databind databound="1" table="" alias="uCardCod1" />
</specific>
</item>
...
</items>
...
<ChooseFromListCollection>
<action type="add">
<ChooseFromList UniqueID="-1" ObjectType="-1" MultiSelection="0" IsSystem="1" />
<!-- From Supplier ++++++++++++++++ -->
<ChooseFromList UniqueID="5" ObjectType="2" MultiSelection="0" IsSystem="1">
<Conditions>
<condition bracket_open_num="0" bracket_close_num="0"
cond_end_val="" cond_value="S" operation="1" relationship="0"
compare_fields="0" alias="CardType" compared_field_alias="" />
</Conditions>
</ChooseFromList>
...
</ChooseFromListCollection>
Edited by: Sierdna S on Oct 6, 2008 9:32 AM
User | Count |
---|---|
106 | |
12 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.