Simple Abode Interactive Form in Web Dynpro Java

...Previous 

Create a node:

                        Employee         :  String

                        Number            :  String

                        Designation      :  String

Create a Value Attribute:

PDFSource :  binary  

Since cardinality is 0..n for the Employee Node, we will create a one element for that node and display in the Adobe Interactive Form  

Write the following code in init() method

  public void wdDoInit()

  {

    //@@begin wdDoInit()   

    // Creating an Element

    IPrivateSimpleAIFCompView.IEmployeeNode node = wdContext.nodeEmployee();

    IPrivateSimpleAIFCompView.IEmployeeElement ele =

                                                                                    node.createEmployeeElement(); 

    ele.setName("FirstEmployee");

    ele.setNumber("900001");

    ele.setDesignation("Manager");

    node.addElement(ele);   

    //@@end

  }

Click here to continue...

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image