cancel
Showing results for 
Search instead for 
Did you mean: 

how to create PO by using BAPI_PO_CREATE1 in webdynro ABAP?

Former Member
0 Kudos

Hi,

I got a requirement in WEBDYNPRO ABAP to Create PO by Creating an Application using BAPI_PO_CREATE1.

but i used a table for Line Items in which i can enter data manually then i click CREATE_PO button then po should create. but Table is displayed in Disable mode but i want in Enable mode to enter data maually.

can anyone help me about the properties of Table to display in enable mode on browser by default.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank u

Former Member
0 Kudos

Hi Ram,

Do you need to make changes in already existing rows or you need to create a new row for every line item?

I think when the first time your view is getting displayed the node which is bound to table uie is empty and hence the table is grayed. If you want input enabled rows then you need to bind few empty rows using the supply_function of the node.

data lt_tables type wd_this->elements_table.

data ls_table like line of lt_table.

append ls_table to lt_table.

append ls_table to lt_table.

node->bind_table( lt_table ).

Here table is the node which is bound to the table uie.

Now when the first time view is displayed you will have 2 rows ready for input.

To add more input enabled rows create a button and add empty lines in the action method assigned to button.

Thanks,

Abhishek