cancel
Showing results for 
Search instead for 
Did you mean: 

Code Wizard

suryabhanugahan
Discoverer
0 Kudos

Hi Experts,

I just want to have some idea on basic things like

In code wizard when to use

1. Read As Table Operation

2. Set As Table Operation

3. Append As Table Operation

4. Read

5. Set

6. Append

Your help will be appreciated.

Thanks in advance

Best Regards,

Surya

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

1- Read

2- Set

3- Append

You can use these options to insert methods that read/set/append the elements or attributes of the context of the controller that is currently being edited.

You can use the As Table Operation checkbox for multiple nodes. If this checkbox is selected, you can either read or set all elements or append multiple elements

Refer following,

http://wiki.sdn.sap.com/wiki/display/WDABAP/Context+Nodes+and+Attributes+at+Design+Time

Thanks

Katice

Former Member
0 Kudos

Hi Suryabhanu,

1. Read as Table Operation.

Use dis when you want to read the node into an internal table.

2.Set as Table Operation.

When you want to bind the node with an internal table.

3.Read

When you want to read a single attribute.

4.Set

When you want to set a single attribute.

Regards,

Sanjeev K.

nagarjun_kalletla
Participant
0 Kudos

Hi Surya ,

This is very Basic what you are looking for , You better go through Beginner Videos  http://scn.sap.com/docs/DOC-8863

http://scn.sap.com/thread/2121264

http://webdynproabap.wordpress.com/tag/how-code-wizard-works-in-webdynpro-abap/

Read As Table Operation

           This will read the context node  and returns the value in Internal Table mentioned

           Get static attributes table = will take the Node name as Input and returns the table values.

Set As Table Operation

           This will set Internal Table values to  context node

           Bind table = will bind the Internal Table to Node name mentioned

Read

           This will read the context nodes lead selected  record

           Get static attributes  = will take the Node name as Input and returns the lead selected  values to                       mentioned structure.

Set

           This will set the context nodes lead selected  record

          Set static attributes  = will take the Node name as Input and  structure with values .