cancel
Showing results for 
Search instead for 
Did you mean: 

calling a bapi with table as an input parameter from xMII

Former Member
0 Kudos

I am trying to assign a table structure to the GOODSMOVEMENT table. I have created a Local variable for GOODSMOVEMENT(with the table structure) as well as a Transaction variable with the BAPI structure. Could you please tell me what should be the assignment type when I am assigning the rows to the Local GOODSMOVEMENT variable?? I have tried all the options but am able to get only 1 row in the GOODSMOVEMENT local variable.

Thanks,

Mahendra

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Mahendra,

Please go through [This Blog|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6688] [original link is broken] [original link is broken] [original link is broken];

Hope this helps.

Thanks and Regards

Khaleel

Former Member
0 Kudos

Hi Khaleelurrehman,

thanks for the Blog. Viewing the pictures explains it better than words...

Michael

Former Member
0 Kudos

Hi Mahendra,

I would recommend to use two local xml variables. One represents the row items you want to create, and the other one represents the complete table you will copy into the BAPI structure for your call.

- fill the row items

- link the row to the table using link type "Append XML"

- if all rows appended, copy table to BAPI table using link type "Assign XML"

Also have a look at the MII help to Link Types:

[http://help.sap.com/saphelp_xmii120/helpdata/en/44/89aa7088cc6fb5e10000000a155369/frameset.htm]

Michael