on 09-19-2011 6:26 PM
Hi all,
in my MII workbench I need to create a transaction where a BAPI is invoked.
This BAPI has a table as input parameter.
So I create the sequence and the appropriate actions to perform the call.
My point is how do I populate the table with multiple records before invoking the BAPI?
I would have used the "Assignment" action, but as far as I can understand it does not allow to add rows to tables.
It simply allows me to set variable X to the value Y.
How is this done?
Thanks, regards
Vincenzo
I think this blog of mine might help : [Calling a BAPI with a Table as an input parameter from xMII....|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6688] [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.
Hi Abesh, thanks, your blog is really useful.
This procedure looks really a bit complex however, I expected a smarter support for BAPIs by an SAP product...
Do I understand correctly that the XML structures must be manually defined?
Do you know if nested tables can be handled as well (tables within tables)?
Thanks, regards
Vincenzo
Edited by: VINCENZO TURCO on Sep 23, 2011 3:28 PM
If you use this method, then yes, you will have to define your manually define the XML structures. However do remember that this is NOT the ONLY possible method and who knows with some imagination you might be able to come up with a better one
ANY kind of XML ( including nested structures ) can be handled using SAP MII.
Hi Vincenzo,
When you add the table, is it in XML format? If so, you can build the xml using the Assignment action block and by selecting the correct link type. If there is a different format for the table (like tab delimited) input, there are several other ways you can build the table. Using a repeater and a local string property and an equation like Local.Table = Local.Table & "<row of data>" & CRLF or some variation should work.
Regards,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Vincenzo,
For example you can download SAP module libraries from this link
Check the transaction SAP/ModuleLibraries/PP/ProductionOrderTimeTicketConf
Thanks
Anshul
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
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.