on ‎2010 May 18 5:22 AM
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
Request clarification before answering.
Hi,
Please go through this blog it may give you some idea
[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13519] [original link is broken] [original link is broken] [original link is broken];
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you
krishna chaitanya
Shalaka Tekale
i could add new item.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can try this alternative
Step 1) Create XML Document with required structure which you want to pass it to BAPI request.
Step 2) Populate the XML Row with required contents and map it to above created XML document
Step 3) Map above created XML Document to BAPI request (use assign XML option dfrom link editor rather tha assign value)
This will help to map dynamic contents to your BAPI request.
Regards,
Shalaka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.