Skip to Content
0
Former Member
May 18, 2010 at 04:22 AM

how to add new xml item(BAPI requset)?

66 Views

Hello

i want to create bom to ERP from mii

how to add new xml item(BAPI requset)?

i use bapi CAD_CREATE_BOM_WITH_SUB_ITEMS

this bapi's format is

<table>

<item>

<col1>1111</col1>

<col2>bbbb</col2>

</item>

</table>

i want to add <item>

like this

<table>

<item>

<col1>1111</col1>

<col2>bbbb</col2>

</item>

<item>

<col1>22222</col1>

<col2>bbbb</col2>

</item>

</table>

how to set trx?

i tryed

SAP_JCo_Interface_0.Request{/CAD_CREATE_BOM_WITH_SUB_ITEMS/TABLES/BOM_ITEM/item[2]/SORTF}

when error occured

use MII12.0

Edited by: Atsushi Iwasaki on May 18, 2010 6:22 AM