Column addition in Matrix through XML
Hi all,
I am unable to add columns in userdefined matrix in system form through XML.
After loading the XML in the system form the matrix is appearing without columns.
SSPL_FUNCTIONS.Common.ReplaceUIDandLoadToB1("SSPL_FRM4_150", FormUID)
<item uid="MTSALHD1" type="127" left="16" tab_order="0" width="210" top="309" height="120" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific SelectionMode="0" layout="0" titleHeight="21" cellHeight="16">
<columns>
<action type="add">
<column uid="col0" type="16" title="#" description="" visible="1" AffectsFormMode="1" width="20" disp_desc="0" editable="0" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
<databind databound="0" table="" alias="" />
<ExtendedObject />
</column>
<column uid="CLSALGR_CD" type="113" title="Salary Group" description="" visible="1" AffectsFormMode="1" width="60" disp_desc="1" editable="0" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
<databind databound="1" table="@SSPL_MR_EMPSALST" alias="U_SALGR_CD" />
<ValidValues>
<action type="add">
<ValidValue value="SG01" description="BASIC" />
<ValidValue value="SG02" description="DA" />
<ValidValue value="SG03" description="HRA" />
<ValidValue value="SG04" description="CONVEYANCE" />
<ValidValue value="SG05" description="OTHERS PAY" />
<ValidValue value="SG06" description="MISC PAY" />
<ValidValue value="SG07" description="PF" />
<ValidValue value="SG08" description="ESI" />
<ValidValue value="SG09" description="I_TAX" />
<ValidValue value="SG10" description="OTHER DEDUCTION" />
<ValidValue value="SG11" description="INSURANCE" />
<ValidValue value="SG12" description="PERSONAL LOAN" />
<ValidValue value="SG13" description="ADVANCE TO EMPLOYEE" />
<ValidValue value="SG14" description="TOUR ADVANCE" />
<ValidValue value="SG15" description="CONTROL 1" />
<ValidValue value="SG16" description="PENSION" />
<ValidValue value="SG17" description="CONTRIBUTION" />
<ValidValue value="SG18" description="MISC DEDN" />
<ValidValue value="SG19" description="CONTROL 2" />
</action>
</ValidValues>
<ExtendedObject />
</column>
<column uid="CLSALHD_CD" type="113" title="Salary Head" description="" visible="1" AffectsFormMode="1" width="60" disp_desc="1" editable="0" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
<databind databound="1" table="@SSPL_MR_EMPSALST" alias="U_SALHD_CD" />
<ValidValues>
<action type="add">
<ValidValue value="SH01" description="BASIC" />
<ValidValue value="SH02" description="DA PAY" />
<ValidValue value="SH03" description="HRA PAY" />
<ValidValue value="SH04" description="CONVEYANCE" />
<ValidValue value="SH05" description="OTHER PAY" />
<ValidValue value="SH06" description="MISC PAY" />
<ValidValue value="SH07" description="PF" />
<ValidValue value="SH08" description="ESI" />
<ValidValue value="SH09" description="I_TAX" />
<ValidValue value="SH10" description="OTHER DEDN" />
<ValidValue value="SH11" description="INSURANCE" />
<ValidValue value="SH12" description="PERSONAL LOAN PR" />
<ValidValue value="SH22" description="PERSONAL LOAN INT" />
<ValidValue value="SH13" description="ADVANCE TO EMPLOYEE" />
<ValidValue value="SH14" description="TOUR ADVANCE" />
<ValidValue value="SH15" description="GROSS PAY" />
<ValidValue value="SH16" description="TOTAL DEDUCTION" />
<ValidValue value="SH17" description="NET PAY" />
<ValidValue value="SH18" description="PENSION" />
<ValidValue value="SH19" description="PF EMPLOYER CONTRIBUTION" />
<ValidValue value="SH20" description="ESI EMPLOYER CONTRIBUTION" />
<ValidValue value="SH21" description="MISC DEDN" />
<ValidValue value="SH23" description="PF GROSS" />
</action>
</ValidValues>
<ExtendedObject />
</column>
<column uid="CLINDVOPTN" type="121" title="Indv. Opt." description="" visible="1" AffectsFormMode="1" width="50" disp_desc="0" editable="1" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
<databind databound="1" table="@SSPL_MR_EMPSALST" alias="U_INDVOPTN" />
<ExtendedObject />
</column>
<column uid="CLSAL_AMT" type="16" title="Rate" description="" visible="1" AffectsFormMode="1" width="60" disp_desc="0" editable="1" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
<databind databound="1" table="@SSPL_MR_EMPSALST" alias="U_SAL_AMT" />
<ExtendedObject />
</column>
</action>
</columns>
</specific>
</item>
Thanks
Chitrita
Hi Vitor,
<?xml version="1.0" encoding="UTF-16"?>
<Application>
<forms>
<action type="update">
<form appformnumber="60100" FormType="60100" type="4" BorderStyle="4" uid="F_86" title="Employee Master Data" visible="1" default_button="" pane="3" color="3" left="148" top="10" width="694" height="501" client_width="686" client_height="467" AutoManaged="1" SupportedModes="15" ObjectType="171" mode="0">
<datasources>
<dbdatasources>
<action type="add">
<datasource tablename="@SSPL_MR_EMPSALST" />
</action>
</dbdatasources>
<userdatasources>
<action type="add">
<datasource uid="UDS1" type="8" size="64000" />
</action>
</userdatasources>
</datasources>
<items>
<action type="update">
<!Header>
<item uid="8" type="8" left="3" tab_order="0" width="124" top="75" height="16" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Position" />
</item>
<item uid="9" type="8" left="3" tab_order="0" width="124" top="93" height="16" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="CODESIG_CD" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Job Title" />
</item>
<!AdministrationTab>
<item uid="58" type="4" left="130" tab_order="0" width="96" top="75" height="16" visible="0" enabled="1" from_pane="10" to_pane="10" disp_desc="0" right_just="0" description="" linkto="FRDTL" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific TabOrder="0">
<databind databound="1" table="" alias="" />
</specific>
</item>
<!PersonalTab>
<item uid="7" type="8" left="10" tab_order="0" width="104" top="259" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Gender" />
</item>
<item uid="42" type="113" left="115" tab_order="0" width="116" top="259" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="1" right_just="0" description="" linkto="" forecolor="1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
</item>
<item uid="102" type="8" left="10" tab_order="0" width="104" top="276" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Date of Birth" />
</item>
<item uid="113" type="113" left="115" tab_order="0" width="116" top="276" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
</item>
<item uid="103" type="8" left="10" tab_order="0" width="104" top="293" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Country of Birth" />
</item>
<item uid="106" type="16" left="115" tab_order="0" width="116" top="293" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="1" right_just="0" description="" linkto="" forecolor="1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
</item>
<item uid="104" type="8" left="10" tab_order="0" width="104" top="310" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Marital Status" />
</item>
<item uid="105" type="113" left="115" tab_order="0" width="116" top="310" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="1" right_just="0" description="" linkto="" forecolor="1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
</item>
<item uid="109" type="8" left="242" tab_order="0" width="70" top="314" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="No.of Children" />
</item>
<item uid="114" type="16" left="370" tab_order="0" width="20" top="314" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
</item>
<item uid="108" type="8" left="242" tab_order="0" width="104" top="297" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="ID No." />
</item>
<item uid="115" type="16" left="370" tab_order="0" width="116" top="297" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
</item>
<item uid="107" type="8" left="242" tab_order="0" width="104" top="246" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Citizenship" />
</item>
<item uid="112" type="113" left="370" tab_order="0" width="116" top="246" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="1" right_just="0" description="" linkto="" forecolor="1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
</item>
<item uid="110" type="8" left="242" tab_order="0" width="104" top="263" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Passport No." />
</item>
<item uid="116" type="16" left="370" tab_order="0" width="116" top="263" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
</item>
<item uid="111" type="8" left="242" tab_order="0" width="104" top="280" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Passport Expiretion Date" />
</item>
<item uid="117" type="16" left="370" tab_order="0" width="116" top="280" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
</item>
<!Finance>
<item uid="88" type="8" left="435" tab_order="0" width="126" top="273" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="4" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Bank Details" />
</item>
<item uid="89" type="8" left="435" tab_order="100940" width="104" top="305" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="80" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Bank" />
</item>
<item uid="80" type="113" left="504" tab_order="100540" width="116" top="305" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="1" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
</item>
<item uid="85" type="8" left="435" tab_order="0" width="104" top="369" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="77" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Account No." />
</item>
<item uid="77" type="16" left="504" tab_order="0" width="116" top="369" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
</item>
<item uid="87" type="8" left="435" tab_order="100900" width="104" top="321" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="79" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Branch" />
</item>
<item uid="79" type="16" left="504" tab_order="100560" width="116" top="321" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
</item>
</action>
<action type="add">
<item uid="CODEPT" type="113" left="130" tab_order="0" width="96" top="110" height="15" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific AffectsFormMode="1" TabOrder="0">
<databind databound="1" table="OHEM" alias="U_DEPT" />
</specific>
</item>
<item uid="CODESIG_CD" type="113" left="130" tab_order="0" width="96" top="93" height="16" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific AffectsFormMode="1" TabOrder="0">
<databind databound="1" table="OHEM" alias="U_DESIG_CD" />
</specific>
</item>
<item uid="BTSKILL" type="4" left="376" tab_order="0" width="126" top="345" height="21" visible="1" enabled="1" from_pane="3" to_pane="3" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Skill Details" />
</item>
<item uid="STCATEGORY" type="8" left="10" tab_order="0" width="104" top="242" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Category" />
</item>
<item uid="COCATEGORY" type="113" left="115" tab_order="0" width="116" top="242" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="1" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific AffectsFormMode="1" TabOrder="0">
<databind databound="1" table="OHEM" alias="U_CATEGORY" />
</specific>
</item>
<item uid="STBLDGRP" type="8" left="9" tab_order="0" width="104" top="326" height="14" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Blood Group" />
</item>
<item uid="COBLDGRP" type="113" left="115" tab_order="0" width="116" top="326" height="14" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="1" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific AffectsFormMode="1" TabOrder="0">
<databind databound="1" table="OHEM" alias="U_BLDGRP" />
</specific>
</item>
<item uid="STHEIGHT" type="8" left="9" tab_order="0" width="104" top="341" height="14" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Height" />
</item>
<item uid="ETHEIGHT" type="16" left="115" tab_order="0" width="116" top="341" height="14" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific TabOrder="0">
<databind databound="1" table="OHEM" alias="U_HEIGHT" />
</specific>
</item>
<item uid="STWEIGHT" type="8" left="9" tab_order="0" width="104" top="356" height="14" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Weight" />
</item>
<item uid="ETWEIGHT" type="16" left="115" tab_order="0" width="116" top="356" height="14" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific TabOrder="0">
<databind databound="1" table="OHEM" alias="U_WEIGHT" />
</specific>
</item>
<item uid="STIDMRKS" type="8" left="9" tab_order="0" width="104" top="371" height="14" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Identification Marks" />
</item>
<item uid="ETIDMRKS" type="16" left="115" tab_order="0" width="116" top="371" height="14" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific TabOrder="0">
<databind databound="1" table="OHEM" alias="U_IDMRKS" />
</specific>
</item>
<item uid="STMJINJ" type="8" left="9" tab_order="0" width="104" top="386" height="14" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Major Injury" />
</item>
<item uid="ETMJINJ" type="16" left="115" tab_order="0" width="116" top="386" height="14" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific TabOrder="0">
<databind databound="1" table="OHEM" alias="U_MJINJ" />
</specific>
</item>
<item uid="STMJSURG" type="8" left="9" tab_order="0" width="104" top="401" height="14" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Major Surgery" />
</item>
<item uid="ETMJSURG" type="16" left="115" tab_order="0" width="116" top="401" height="14" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific TabOrder="0">
<databind databound="1" table="OHEM" alias="U_MJSURG" />
</specific>
</item>
<item uid="CBMETRCITY" type="121" left="500" tab_order="0" width="121" top="242" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Metro City (For IT)" AffectsFormMode="1" val_on="Y" val_off="N">
<databind databound="1" table="OHEM" alias="U_METRCITY" />
</specific>
</item>
<item uid="CBPHCHLL" type="121" left="500" tab_order="0" width="121" top="260" height="15" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Physically Challenged" AffectsFormMode="1" val_on="Y" val_off="N">
<databind databound="1" table="OHEM" alias="U_PHCHLL" />
</specific>
</item>
<item uid="BTFAMILY" type="4" left="370" tab_order="0" width="121" top="340" height="20" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Family Details" />
</item>
<item uid="BTSTATRY" type="4" left="370" tab_order="0" width="121" top="370" height="20" visible="1" enabled="1" from_pane="4" to_pane="4" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Statutory Details" />
</item>
<item uid="RTUPPER" type="100" left="557" tab_order="0" width="107" top="224" height="1" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific />
</item>
<item uid="STPER_CATG" type="8" left="316" tab_order="0" width="99" top="31" height="15" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Person Category" />
</item>
<item uid="COPER_CATG" type="113" left="426" tab_order="100031" width="95" top="31" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific AffectsFormMode="1" TabOrder="100031">
<databind databound="1" table="OHEM" alias="U_PER_CATG" />
</specific>
</item>
<item uid="STDIVISION" type="8" left="316" tab_order="0" width="99" top="48" height="15" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Division" />
</item>
<item uid="CODIVISION" type="113" left="426" tab_order="100031" width="95" top="48" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific AffectsFormMode="1" TabOrder="100031">
<databind databound="1" table="OHEM" alias="U_DIVISION" />
</specific>
</item>
<item uid="COPOSITION" type="113" left="130" tab_order="100032" width="96" top="75" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific AffectsFormMode="1" TabOrder="100032">
<databind databound="1" table="" alias="UDS1" />
</specific>
</item>
<item uid="STPAY_MODE" type="8" left="16" tab_order="0" width="97" top="289" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Pay Mode" />
</item>
<item uid="COPAY_MODE" type="113" left="119" tab_order="0" width="76" top="289" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="1" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific AffectsFormMode="1" TabOrder="0">
<databind databound="1" table="OHEM" alias="U_PAY_MODE" />
</specific>
</item>
<!--MatrixColumns Addition Problem -->
<item uid="MTSALHD1" type="127" left="16" tab_order="0" width="210" top="309" height="120" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific SelectionMode="0" layout="0" titleHeight="21" cellHeight="16">
<columns>
<action type="add">
<column uid="col0" type="16" title="#" description="" visible="1" AffectsFormMode="1" width="20" disp_desc="0" editable="0" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
<AutoManagedAttribute />
</column>
<column uid="CLSALGR_CD" type="113" title="Salary Group" description="" visible="1" AffectsFormMode="1" width="60" disp_desc="1" editable="0" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
<AutoManagedAttribute />
</column>
<column uid="CLSALHD_CD" type="113" title="Salary Head" description="" visible="1" AffectsFormMode="1" width="60" disp_desc="1" editable="0" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
<AutoManagedAttribute />
</column>
<column uid="CLINDVOPTN" type="121" title="Indv. Opt." description="" visible="1" AffectsFormMode="1" width="50" disp_desc="0" editable="1" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
<AutoManagedAttribute />
</column>
<column uid="CLSAL_AMT" type="16" title="Rate" description="" visible="1" AffectsFormMode="1" width="60" disp_desc="0" editable="1" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
<AutoManagedAttribute />
</column>
</action>
</columns>
</specific>
</item>
<!--MatrixColumns Addition Problem -->
<item uid="STTAX_PAN" type="8" left="435" tab_order="0" width="90" top="255" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="ETTAX_PAN" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Income Tax PAN" />
</item>
<item uid="ETTAX_PAN" type="16" left="527" tab_order="0" width="90" top="255" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific TabOrder="0">
<databind databound="1" table="OHEM" alias="U_TAX_PAN" />
</specific>
</item>
<item uid="CBSAL_ACC" type="121" left="435" tab_order="0" width="90" top="289" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Salary Account" AffectsFormMode="1" val_on="Y" val_off="N">
<databind databound="1" table="OHEM" alias="U_SAL_ACC" />
</specific>
</item>
<item uid="STBRS_CODE" type="8" left="435" tab_order="0" width="90" top="337" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="ETBRS_CODE" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="BRS Code" />
</item>
<item uid="ETBRS_CODE" type="16" left="527" tab_order="0" width="90" top="337" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific TabOrder="0">
<databind databound="1" table="OHEM" alias="U_BRS_CODE" />
</specific>
</item>
<item uid="STMICRCODE" type="8" left="435" tab_order="0" width="90" top="353" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="ETMICRCODE" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="MICR Code" />
</item>
<item uid="ETMICRCODE" type="16" left="527" tab_order="0" width="90" top="353" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific TabOrder="0">
<databind databound="1" table="OHEM" alias="U_MICRCODE" />
</specific>
</item>
<item uid="STDR_CARD" type="8" left="435" tab_order="0" width="90" top="385" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="ETDR_CARD" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Debit Card No." />
</item>
<item uid="ETDR_CARD" type="16" left="527" tab_order="0" width="90" top="385" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific TabOrder="0">
<databind databound="1" table="OHEM" alias="U_DR_CARD" />
</specific>
</item>
<item uid="STCR_CARD" type="8" left="435" tab_order="0" width="90" top="401" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="ETCR_CARD" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific caption="Credit Card No." />
</item>
<item uid="ETCR_CARD" type="16" left="527" tab_order="0" width="90" top="401" height="15" visible="1" enabled="1" from_pane="7" to_pane="7" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific TabOrder="0">
<databind databound="1" table="OHEM" alias="U_CR_CARD" />
</specific>
</item>
</action>
</items>
<DataBrowser BrowseBy="33" />
</form>
</action>
</forms>
</Application>
thanks
Chitrita
Similar Messages
-
How to change the order of the columns in system matrix?
Hi all,
Is there any way to change the order of the columns in system matrix through SDK, without doing it from 'Form settings'??Hi ,
is this true for the 'Active' property also , in CPRF table? I want to check whether the Item is active or not becuse, when I m trying to copy the value in item which is not active, I m given error. Is there any way to change or active the 'Active' flag in form settings at run-time?
Any clue?
Thanks in advance,......
Binita -
How to do addition of two columns cells in Matrix.
Hi All,
I tried following code on LostFocus event of Mtrix. I want to do addition of two columns cells of matrix and addtion display in third column. I tried the following code but in this I am getting the column value and when i enterd any value in columns cells it disappear when i move to next column cells.
Can anybody suggest me how to do it ?
Dim i As Integer
Dim v1, v2 As String
matrix.Columns.Item("V_4").DataBind.SetBound(True, "", "matrixds")
If pVal.ColUID = "V_4" Then
For i = 0 To matrix.RowCount - 1
v1 = matrix.Columns.Item("V_5").Cells.Item(i + 1).Specific.Value
v2 = matrix.Columns.Item("V_4").Cells.Item(i + 1).Specific.Value
Dim v3 As Integer = CInt(v1) + CInt(v2)
matrix.Columns.Item("V_3").Cells.Item(i + 1).Specific.Value = v3.ToString()
Next
End If
Thanks and Regards,Hi,
u bind all the columns to the datasource in the matrix.then the value does not disappear.
Change ur code as follows:
Use the databind in formload
matrix.Columns.Item("V_4").DataBind.SetBound(True, "", "matrixds1")
matrix.Columns.Item("V_5").DataBind.SetBound(True, "", "matrixds2")
matrix.Columns.Item("V_3").DataBind.SetBound(True, "", "matrixds3")
Dim v1, v2 As sapbouicom.edittext
If pVal.ColUID = "V_4" Then
v1 = matrix.Columns.Item("V_5").Cells.Item(pVal.row).Specific
v2 = matrix.Columns.Item("V_4").Cells.Item(pVal.row).Specific
v3= matrix.Columns.Item("V_3").Cells.Item(pVal.row).Specific
v3.Value = v1 .Value + v2.Value
End If
Kind Regards
Mohana -
Price column is blank on GRPO upload through XML
Dear SDK Forum Members,
We are trying to upload GRPO transaction linked to PO through XML, all values import fine but for the Price. The price column is blank.
Need your assistance on this. The following is the sample XML file.
<?xml version="1.0" encoding="UTF-16" ?>
- <BOM>
- <BO>
- <AdmInfo>
<Object>20</Object>
<Version>2</Version>
</AdmInfo>
- <Documents>
- <row>
<DocNum>17</DocNum>
<DocType>dDocument_Items</DocType>
<HandWritten>tNO</HandWritten>
<Printed>tNO</Printed>
<DocDate>May 29 2008 7:29PM</DocDate>
<DocDueDate>May 29 2008 12:00AM</DocDueDate>
<CardCode>V1010</CardCode>
<CardName>Far East Imports</CardName>
<Address>300 Elm Street Suite 300 Los Gatos CA 988778 USA</Address>
<DocCurrency>USD</DocCurrency>
<DocRate>0.000000</DocRate>
<DocTotal />
<Reference1 />
<Comments />
<JournalMemo />
<PaymentGroupCode>2</PaymentGroupCode>
<DocTime />
<SalesPersonCode>2</SalesPersonCode>
<Confirmed>tYES</Confirmed>
<ImportFileNum />
<SummeryType>dNoSummary</SummeryType>
<ContactPersonCode />
<ShowSCN>tNO</ShowSCN>
<Series>13</Series>
<TaxDate />
<PartialSupply>tYES</PartialSupply>
<DocObjectCode>20</DocObjectCode>
<DiscountPercent>0.000000</DiscountPercent>
<RevisionPo>tNO</RevisionPo>
<BlockDunning>tNO</BlockDunning>
<Pick>tNO</Pick>
<PaymentMethod />
<PaymentBlock>tNO</PaymentBlock>
<MaximumCashDiscount>tNO</MaximumCashDiscount>
<WareHouseUpdateType>dwh_Stock</WareHouseUpdateType>
<Rounding>tNO</Rounding>
<DeferredTax>tNO</DeferredTax>
<NumberOfInstallments>1</NumberOfInstallments>
<ApplyTaxOnFirstInstallment>tNO</ApplyTaxOnFirstInstallment>
<DocumentsOwner>3</DocumentsOwner>
<DocumentSubType>bod_None</DocumentSubType>
<Address2 />
<PayToCode />
<UseShpdGoodsAct>tNO</UseShpdGoodsAct>
<IsPayToBank>tNO</IsPayToBank>
<DownPayment>0.000000</DownPayment>
<LanguageCode>3</LanguageCode>
<PickRemark />
<SequenceModel />
<UseCorrectionVATGroup>tNO</UseCorrectionVATGroup>
<VatPercent>0.000000</VatPercent>
</row>
</Documents>
- <Document_Lines>
- <row>
<LineNum>0</LineNum>
<ItemCode>X0004</ItemCode>
<ItemDescription />
<Quantity>10</Quantity>
<ShipDate />
<Price>650.000000</Price>
<PriceAfterVAT>650.000000</PriceAfterVAT>
<Currency>USD</Currency>
<Rate>0.000000</Rate>
<DiscountPercent>0.000000</DiscountPercent>
<VendorNum />
<WarehouseCode>01</WarehouseCode>
<SalesPersonCode>2</SalesPersonCode>
<CommisionPercent />
<TreeType>iNotATree</TreeType>
<AccountCode>_SYS00000000019</AccountCode>
<UseBaseUnits>tNO</UseBaseUnits>
<SupplierCatNum />
<CostingCode />
<ProjectCode />
<BarCode />
<VatGroup />
<Height1>0.000000</Height1>
<Height2>0.000000</Height2>
<Lengh1>0.000000</Lengh1>
<Lengh2>0.000000</Lengh2>
<Weight1>0.000000</Weight1>
<Weight2>0.000000</Weight2>
<Factor1>1.000000</Factor1>
<Factor2>1.000000</Factor2>
<Factor3>1.000000</Factor3>
<Factor4>1.000000</Factor4>
<BaseType>22</BaseType>
<BaseEntry>17</BaseEntry>
<BaseLine>0</BaseLine>
<Volume>0.000000</Volume>
<VolumeUnit />
<Width1>0.000000</Width1>
<Width2>0.000000</Width2>
<Address />
<TaxCode />
<TaxType>tt_Yes</TaxType>
<TaxLiable>tYES</TaxLiable>
<ShippingMethod>3</ShippingMethod>
<CorrectionInvoiceItem>ciis_ShouldBe</CorrectionInvoiceItem>
<CorrInvAmountToStock>0.000000</CorrInvAmountToStock>
<CorrInvAmountToDiffAcct>0.000000</CorrInvAmountToDiffAcct>
<WTLiable>tNO</WTLiable>
<DeferredTax>tNO</DeferredTax>
<NetTaxAmount />
<NetTaxAmountFC />
<LineTotal />
<TaxPercentagePerRow />
<ConsumerSalesForecast>tNO</ConsumerSalesForecast>
<ExciseAmount />
<SWW />
<DistributeExpense>tYES</DistributeExpense>
<ShipToCode />
<RowTotalFC />
<TaxOnly>tNO</TaxOnly>
<UnitPrice>650.000000</UnitPrice>
<LineStatus>bost_Open</LineStatus>
<LineType>dlt_Regular</LineType>
<ChangeAssemlyBoMWarehouse />
</row>
</Document_Lines>
</BO>
</BOM>
Thanks
SudaHi Suda
nice to meet you. thx for your nice email.
what i would try in your xml is to remove linetotal - it's an empty tag.
generally i would try to remove all empty tags.
the next is that you use price, priceafvat, unitprice and they have the same value
but you don't set the taxcode.
maybe you should try your luck with setting only one price tag - start with price or unitprice.
i hope it's a bit helpful - this xml imports are always tricky.
lg David -
Hi!
I am implementing a form that looks and works like Frocasting in MRP. So, there are sometimes a lot of columns in matrix (more than 1000). I have to generate such matrix, put data there, read data. It will be like a self - made document in B1. The problem is that generating the columns, updating them an reading data is vee-e-ery slow when i use SDK objects. But the MRP Forcasting functionality in B1 works very fast. I suppose that B1 uses XML matrix manipulating. The question is - do someone have the info or maybe tools that will help me? Because generating XML strings "by hand" is very complex. And I'm a newbie in XML Do someone please can help me with the info?
Regards,
DavidThank you Gianluigi!
I was able to add Matrix & Columns via XML, but I cannot delete columns
Could you please review my thread [here|Remove columns from Matrix using XML;.
Respect,
David -
How to fill values in the system matrix through code
hi
All
i want to fill the system matrix in the sales order in such a way that
Items will be filled in system matrix in the lost focust event of the Customer Code selection in the Sales order Document
how can i fill the system matrix through code
one thing that first column(ItemCode) of the system matrix column is a Icombbox type
Now i need to fill out item code using code
can any one suggest the answer
thanks in advancemadhu,
You need to catch the Validate event, when pVal.BeforeAction = False for form items 4 (CardCode) and 54 (CardName) of the Sales Order form.
Concerning the form's matrix, you can fill it but you cannot change it (you cannot change the ItemCode column into a ComboBox. Is is a EditText)
Fill a System matrix's Cell with the following code:
Dim oMatrix As SAPbouiCOM.Matrix = oForm.Items.Item("38").Specific
oMatrix.Columns.Item("ItemCode").Cells.Item(Row_Num).Specific.Value = "Item_Code"
Regards,
Vítor Vieira -
Loading Matrix using XML Data Source
Hi Experts,
I'm working on an addon where i need to fill up matrix with a set of data,
i'm doing that using 'for loop'. my question is can v fill matrix using XML File i.e, using XML as Data Source.
Thanks in Advance
JaideepHi Jaideep !!!!
here is the sample code which could help u n solve ur problem.
if u got ny problem then please tell me ....
Public Sub CreateLoad()
Try
''' Load form
Dim xml As Xml.XmlDocument
xml = New Xml.XmlDocument
xml.Load("C:\Temp\update data to the base table\Allowance\Abacus.srf")
SBO_Application1.LoadBatchActions(xml.InnerXml)
Catch ex As Exception
SBO_Application1.MessageBox(ex.Message)
End Try
AddDataSourcetoform()
BindataSource()
GetDatafromDB()
End Sub
Public Sub AddDataSourcetoform()
Try
oForm = SBO_Application1.Forms.Item("Allowance")
DBtable = oForm.DataSources.DataTables.Add("Supplier")
SQL = "SELECT [@Supplier].* FROM [@Supplier] ORDER BY Cast( [@Supplier].Code AS INT)"
DBtable.ExecuteQuery(SQL)
'oDBDataSource = oForm.DataSources.DBDataSources.Item("@Supplier")
Catch ex As Exception
SBO_Application1.MessageBox(ex.Message)
'System.Windows.Forms.MessageBox.Show("Not Added Data Source to the Form")
End Try
End Sub
Private Sub BindataSource()
Try
oForm = SBO_Application1.Forms.Item("Allowance")
MatrixBind()
Catch ex As Exception
SBO_Application1.MessageBox(ex.Message)
End Try
End Sub
Private Sub MatrixBind()
Try
'Dim txt As SAPbouiCOM.EditText
o_Matrix = oForm.Items.Item("MatAllow").Specific
oColumns = o_Matrix.Columns
oColumn = oColumns.Item("ColCode")
oColumn.DataBind.Bind("Supplier", "Code")
oColumn = oColumns.Item("ColName")
oColumn.DataBind.Bind("Supplier", "Name")
Catch ex As Exception
SBO_Application1.MessageBox(ex.Message)
End Try
End Sub
Public Sub GetDatafromDB()
Try
oForm = SBO_Application1.Forms.Item("Allowance")
o_Matrix = oForm.Items.Item("MatAllow").Specific
Dim Code As String = 1
o_Matrix.Clear()
o_Matrix.LoadFromDataSource()
Catch ex As Exception
SBO_Application1.MessageBox(ex.Message)
End Try
End Sub -
Activate linkedbutton in a matrix through code?
Hi... Anyone know if it is possible to activate a linked button in a matrix through code?
Observations:
1 - In normal linked buttons i just use the click method... works fine
2 - In matrix the columns click method just focus the cell
3 - The colums extended object (Linked Button does not have a click event)
Anyone know how this can be done at all?hi,
The Click event of Cell Item with click type 'SAPbouiCOM.BoCellClickType.ct_Linked' Activates Linked Press event.
oForm = oApplication.Forms.Item(FormUID)
oMatrix = oForm.Items.Item("7").Specific oMatrix.Columns.Item(<colid>).Cells.Item(<rowno>).Click(SAPbouiCOM.BoCellClickType.ct_Linked)
HTH
With Regards
B.Ravi Shankar -
Is it Possible to link user defined column of system matrix ?
HI All,
Is it possible to link (with ExtendedObject) user defined column of system matrix?
For Example, In purchase order form, I have added one column called U_ItemCode (through Tools-User Defined Fields-Marketing Doc). I want to give drill down to Item master.
Here is the code:
OColumn = OMatrix.Columns.Item("U_ItemCode")
olink = OColumn.ExtendedObject
olink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Items
the last line gives me 'Object refrence not set to an instance of the object' error.
For user form, it works fine (since it has the column defined as LinkedColumn in screen painter). How can we do this in system matrix?
thanks in advance
regards,
BinitaHi Binita,
nice to see you
i mean the following:
1.) add the field in marketing document lines -> you need this to store the values in database
but this user field column will not have the arrow so we do ...
2.) you also add a linked column to the system matrix. you can copy the values from the udf column
to your manual added column and than you can use the arrow. (maybe you should disabled this column)
the result is you have two columns - the udf column and the linked manual column
i hope you know what i mean - very complicated
regards
David -
Column addition between columns rather add to last
Can oracle support column addition in between two columns rather adding a column
Not easily, no. And 99.9% of the time, it's a really bad idea to try-- you're much better off accessing the data through a view where it is trivial to present columns in whatever order you'd like.
If you really need to, you could use the DBMS_REDEFINITION package but under the covers, that's really just creating a new table with the new column order and copying the data over. It just does that without downtime (though it is slower than just creating a new table and copying the data over).
Justin -
hey can anybody tell me the difference in compiling from a
flex builder and through command line compiler....
i have a mxml app which is connected to the Xml file.. and it
displays the result on the datagrid...When i compile this code and
run the application it doesnt show me the results .....as in no
output on the datagrid...but this same code when i run in flex
builder by making a new project->mxml application and so on it
shows me the results on the data grid....what exactly is happening
when i compile through the command line compiler....plzz help
mxml file
<?xml version = "1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" creationComplete="httpserv.send()">
<mx:Script>
import mx.collections.ArrayCollection;
[Bindable]
public var FriendsArray:ArrayCollection;
</mx:Script>
<mx:HTTPService id="httpserv" url="friends.xml"
result="FriendsArray = new
ArrayCollection(httpserv.lastResult.friends)"/>
<mx
ataGrid id="MyGrid" width="60%" height="50%"
dataProvider="{FriendsArray}">
<mx:columns>
<mx
ataGridColumn dataField = "name"
headerText="Name"/>
<mx
ataGridColumn dataField = "nick"
headerText="NickName"/>
<mx
ataGridColumn dataField = "mobno" headerText="Mobile
Number"/>
</mx:columns>
</mx
ataGrid>
</mx:Application>
xml file named friends.xml
<?xml version="1.0" encoding="utf-8"?>
<friends>
<name>Christina Coenraets</name>
<nick>chris</nick>
<mobno>123456789</mobno>
</friends>
<friends>
<name>Louis Freligh</name>
<nick>louie</nick>
<mobno>555-219-2100</mobno>
</friends>
<friends>
<name>Ronnie Hodgman</name>
<nick>ron</nick>
<mobno>555-219-2030</mobno>
</friends>The Flash Player is prohibited from accessing data from a
domain that is different from the domain from which the swf was
served. And localhost is not the same as localhost:8700.
Tracy -
Adding Columns to the matrix in SAP B1 user form using Visual studio 2010
Hi,
Using Visual studio 2010, I have created a SAP B1 user form( b1f ) with one matrix.Matrix is having 5 columns. Its working properly. Later, I want to add few more columns. Then I added columns to the matrix as I have created columns initially. But, it does not saves.
i.e, Whenever I run, In B1 I could see only old columns. Newly created columns are not showing.So, I closed the .net project and opened again. Created columns are not showing in visual studio b1f itself. So, I created again and saved. But, its not saving.I tried it many times.
What I am missing?
Any help is appreciated.
Thanks in advance,
Parvatha Solai.NHi Parvatha,
Are you using B1 Studio? Anyway try to clean the solution first then rebuild it. This would re-copy files to the output directory, that contain your changes.
Best regards,
Pedro Magueija -
Possibility to transfer additional parameters in outbound XML message
Hi,
is there any possibility to transfer additional parameters in outbound XML message using (BADI: BBP_SAPXML1_OUT_BADI).
Additional parameters are,
1. Communication Method for the Business Partner
2. R/3 Vendor # & logical system for Business Partner
3. Relationship between Business Partner Number and R/3 Vendor Number is BP GUID.
How can we extended the structure in the BADI.
Please give me qucik response.
Thanks & Regards.
SuryaLook for structure which the interface parameters are referring, there you should see some dummy structures referring to INCL_EEW* for e.g. in PO header INCL_EEW_PD_HEADER_SSF_PO. Add additional fields and pass the data accordingly.
Regards, IA -
Help with delivering dynamic text through an external file, through XML?
I'm struggling to find the best way to deliver dynamic text
from an external file, through XML, to a Flash file.
I use small Flash pieces to deliver multiple sets of content
through a single .swf file. An example is here:
http://www.esi-intl.com/public/government/federal.asp
In the .swf file at the bottom, I'm using a three-scene .fla
file. I'm putting the actionScript in the Actions layer atop each
frame. Example:
stop ();
loadVarsText = new LoadVars();
loadVarsText.load("fedNews.txt");
//assign a function which fires when the data is loaded:
loadVarsText.onLoad = function(success) {
if (success) {
trace("done loading");
//Now that we know the data is loaded,
//set the text content of the Text Field
//with the instance name "scroller" equal to the
//contents of the variable
scroller.html=true;
scroller.htmlText = this.var1;
} else {
trace("not loaded");
In that .txt file, I'm putting the information like this:
var1=<font face="tahoma,verdana,sans-serif" size="11px"
color="#000000"><b><a href='
http://www.esi-intl.com/public/classroomtraining/dau.asp'>DAU
Grants ESI Course CON353
Equivalency</a></b><br>Advanced Business Solution
in Contracting (CON 353) is an equivalency for DAU's CON 3535
course, Advanced Business Solutions for Mission Support. <a
href='
http://www.esi-intl.com/public/classroomtraining/dau.asp'><U><font
color="#996633">Continue</font></U></a></font>
So much of this is pick-ups from what I've researched in
Google. I'm looking for a way I can feel more confident in my code,
and also have that code follow CSS.
Lastly, I recognize the problems in XML with using single
quotes / double quotes, and the & symbol. This is one of my
largest time sucks, and I'd like to find a better way to do this.
Thank youHi,
Did you ever find a resolution to this? I'm having a similar
issue that I can't seem to get multiline dynamic text working in
CS3.
The font is embedded but it just displays the first line, and
then a blank. I'm sure this worked fine in Flash MX.
Cheers, Ant -
How to send a request and get a response through xml
How to send a request and get a response through xml files?
This is the code that works for me. Hope you find it useful.
public static String sendHttpGetRequest(String endpoint, String requestParameters){
String result = null;
// Send a GET request to the servlet
try{
// Send data
String urlStr = endpoint;
if (requestParameters != null && requestParameters.length () > 0){
urlStr += "?" + requestParameters;
URL url = new URL(urlStr);
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestProperty("Accept", "application/xml");
// Get the response
BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
StringBuffer sb = new StringBuffer();
String line;
while ((line = rd.readLine()) != null){
sb.append(line);
rd.close();
result = sb.toString();
} catch (Exception e){
e.printStackTrace();
return result;
}
Maybe you are looking for
-
In our newsroom environment, staff prefers to have MP3s from various download sources open directly in an outside program's window (in this case Goldwave is the preferred program). That being said, with the newer version (36 specifically) the behavio
-
SL 10.6.1 and FontExplorer 1.2.3: ll fonts are "Not available"
After worked fine for weeks, my Mac Pro 2008 quad 2.8 Ghz with 6 Gb ram does not recognize my fonts anymore, just the default system. I can't add neither opentype or truetype or post script. I've cleaned font cache, preferences, sets, reinstalled Fon
-
DVD disk burned successfuly but is unrecognized
I have tried to burn 2 different iDVD 5 projects with the same results: 1. The dvd seems to burn OK; no errors 2. The DVD mounts OK, DVD icon OK, Video TS is there 3. However, DVD player does not recognize the disk for playback nor does it play on my
-
Why iOS devices has no flash player that's why android is selling more!
Why iOS devices has no flash player that's why android is selling more!
-
I have used some embed code in a jscript file that someone was nice enough to stuff - see attached to overcome the "click on object to acvtivate" so that my .swf plays without having to click it twice. This works well except I am getting conflicts wi