Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question