Skip to Content
author's profile photo Former Member
Former Member

Open a System Form and attach data to it

Hi all, i want to open the PO for and attach to it the header data and line items.

I am able to add data but i have to click and open the PO form first.

SAPbouiCOM.Form oForm = Application.SBO_Application.Forms.GetFormByTypeAndCount(142, pVal.FormTypeCount);

SAPbouiCOM.EditText oBPCode = ((SAPbouiCOM.EditText)(oForm.Items.Item("4").Specific));

oBPCode.Value = "S000001";

What i have to do to open the PO for automatically and attach the data after?

Thank you.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 11, 2015 at 12:47 PM
                   oForm = Application.SBO_Application.Forms.GetForm("142", 1) 
    oForm.Select() oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE oedit = oForm.Items.Item("8").Specific Try oedit.Value = sCodigo Catch ex As Exception End Try oForm.Items.Item("1").Click(SAPbouiCOM.BoCellClickType.ct_Regular)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.