SBO SDK 2007 - Matrix you are not permitted to perform this action 200-30
I have built a new Win Form using SDK 2007 with 4 tabs. Tab 3 is the same as Sales A/R > Sales Reports > Document Drafts Report; selection Delivery Document. My Tab 3 is the same as Document Draft. My Link BP Code work, my link Document No. doesn'tt work; I get following message You are not permitted to perform this action 200-30.
My code is built the same way as BP Code which is working.
// Add a column for Document No.
oColumn = oColumns.Add("DSDocNum", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON);
oColumn.TitleObject.Caption = "Document No.";
oColumn.Width = 80;
oColumn.Editable = true;
// Link the column to the Delivery - Draft system form
oLink = ( ( SAPbouiCOM.LinkedButton ) ( oColumn.ExtendedObject ) );
oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Drafts;
Thank you very much for your help and support
Where do I find the Document name (13, 17, 15)?
Display the DocEntry field instead of the DocNumber field for the draft and your problem will be fix.