cancel
Showing results for 
Search instead for 
Did you mean: 

How to link the ITEMS table in BAPI Create SalesOrder with dynamic inputs

Former Member
0 Kudos

Hello,

I created a WebDynpro project to show in web the Create Sales Order transaction. The static inputs as Sales Organization or Partner number are fine, but the dynamic fields as ITEMS are disabled inputs and only there are one row, and I want specify many items.

Any idea?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

If i am not wrong you should be having a modelNode for ITEMS in webdynpro.YOu need to add the rows to this dynamically.

1. Create an instance of this modelclass.

2. wdContext.nodeITEMS().addElement(instance)

The above should be in a loop or in an Action so that you can add values dynamically.

Regards, Anilkumar

Former Member
0 Kudos

Hi Luis

This is because the ITEMS table is empty. If you need multiple lines you will have to bind empty rows into the ITEMS table.

Regards

Pran