SAP Virtual/Onsite Trainings

Document Categories:

What's New?

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials 


Join the Mailing List
Enter name and email address below:
Name:
Email:
Subscribe  Unsubscribe 

Custom Controller with Screen elements Functionality

...Previous

Step51:  View Context with the 3 attributes as shown below

Step52:  Go to Tableà Property à Visible à Bind it with VIS attribute

Step53:  Main View à Methods à WDDOINIT. Implement the code value : 01 (Invisible)

Step54:  Search Actionà Implement the code value : 02 (Invisible)

Step55:  Activate the Component and test the application. The table is not displayed

Step56:  Give the Sales Document number and click on Search button

Step57:  The records are displayed in the table

Step58:  Dynamic display of the page header à Go to View Layout à Select the page header and bind the title header with the attribute ATTR.

Step59:  Go to View Methods à WDDOINIT method à Implement the code for the attribute ATTR.

Step60:  In SEARCH action à Implement the code

Step61:  Activate the Component and test the application. Initially the Page Header : WELCOME

Step62:  After giving the values in the Input Search and Click on the SEARCH button. The page Header text as changed to SALES DETAILS

Step63:  Go to View Layout à Input Field : VBELNLOW à Bind with the attribute ENDIS.

Step64:  :  Go to View Layout à Input Field : VBELNHIGH à Bind with the attribute ENDIS.

Step65:  :  Go to View Methods à WDDOINIT à Implement the Codeà attribute : ENDIS value : ABAP_FALSE

Step66:  :  Go to EDIT action à Implement the Codeà attribute : ENDIS value : ABAP_TRUE

Step67:  Activate the component and test the application. The output is displayed as shown below

With Input Fieldsà Disable, Search à Disable, Table Invisible and Page Header : WELCOME

Step68:  Click on EDIT button  à Search Button and the Input Fields are Enable

Step69:  Give the Input Values and the records are displayed in the table.

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