Skip to Content
0
Former Member
Oct 25, 2012 at 01:37 PM

Journal Remark (Landed cost) Update problem in PL09

26 Views

Dear All,

We were able update landed cost "Journal Remark" with SDK code using following code.

This was working perfectly on SAP8.81 (PL07)

Client has upgraded his version to SAP8.81 (PL09) Hotfix1 and addon not able to update Journal Remark field.

What is reason for not working in PL09?

-----------------Sample Code ---------

If

(BusinessObjectInfo.FormTypeEx = "992") Then

If BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD And (CopyFromGrpoToLCRemarks <> "") And BusinessObjectInfo.ActionSuccess = True Then

Try

Dim ofrm As SAPbouiCOM.Form

Dim ofileno As SAPbouiCOM.EditText

oForm = SBO_Application.Forms.GetForm("992", SBO_Application.Forms.ActiveForm.TypeCount)


ofileno = oForm.Items.Item("11").Specific

oForm.Items.Item("85").Click(SAPbouiCOM.BoCellClickType.ct_Regular)

oForm.Items.Item("82").Enabled = True

oEdit = oForm.Items.Item("82").Specific
oEdit.Value = "190001"

oForm.Items.Item("52").Click(SAPbouiCOM.BoCellClickType.ct_Regular

End If

End If

--------------

Thanks

Regards,

Vinod