on 07-31-2013 2:57 PM
Hi experts,
Is it possible to have an FMS on line level in Credit Memo which will repeat the value on the first line into all other lines?
I have an UDF called U_Returkode , and I will place a value in here on the first line. But I want all other lines to be filled out automatically based on the value on the first line.
BR
Kjetil Sandvik
Hi Kjetil,
A FMS at the line level can only be triggered by a change of value on that line. You would have to use the UI API (ie SDK development) to copy values to all lines.
Kind Regards,
Owen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the advice experts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
i dont know much about fms . but expers are saying it is not possible..
they said sdk only you can get the solution..
if your requirement is default value for each row you can set default value while creating the field have a look on the first image.... but you are saying what ever the value enter at row 1 that value should be come into next rows.. in this case this solutions not your answer..
if you need any sdk help have a look on second image..
i develop small code..
179 is your form code ....
179 for Arcredit memo
select itemcode and press tab you can get the result
Try
If (pVal.FormType = "179" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_GOT_FOCUS And pVal.ColUID = "3" And pVal.ItemUID = "38" And pVal.BeforeAction = False) Then
oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
omatirx = oForm.Items.Item("38").Specific
For i As Integer = 1 To omatirx.VisualRowCount
If (pVal.Row = i) Then
If (i <> 1) Then
If (omatirx.Columns.Item("U_Returkode").Cells.Item(1).Specific.value <> "") Then
omatirx.Columns.Item("U_Returkode").Cells.Item(pVal.Row).Specific.value = omatirx.Columns.Item("U_Returkode").Cells.Item(1).Specific.value
End If
Exit Try
End If
End If
Next
End If
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kjetil,
No can't achive this with FMS, as FMS is cell specific and can be triggered on the Cell where it is applied and thus not applicable to other cells of the column.
As said above you have to use SDK to achive what you want .
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
10 | |
9 | |
6 | |
3 | |
3 | |
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.