• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

Pass UBE name & parameter


Well Known Member
Hi list
Are there any way in OW can call UBE pass UBE name, version and paramaters at same time?. as we know BF "Launch Batch UBE" can pass UBE name and version but no parameters allowed, report interconnect (UBE) allow to pass parameters but have to hard-code UBE/version name.

Thanks in advance

B7332, AS400 rxue@cara.com

Harry Chen

Active Member
The UBE name is hard coded but the version can be passed from parameters. One example: create a data structure including alias VERS, create a demo application or business function to call that UBE using 'Report Interconnect (UBE)' in event rules, double-click that event rule, click the button 'Change version', then choose that parameter. So the UBE version will be dynamic from the parameter passed in.
See Version:BF szVersion below.
---example: ---
00013 Call UBE:R5542565D Version:BF szVersion
BF mnDocumentOrderInvoiceE [DOCO] <> mnSalesOrderNumber [DOCO]
BF szOrderType [DCTO] -> szSalesOrderType [DCTO]
BF szCompanyKeyOrderNo [KCOO] -> szSalesOrderCompany [KCOO]
BF cErrorCode [ERRC] <- cErrorCode [ERRC]
BF mnDocVoucherInvoiceE [DOC] -> mnReprintInvoiceNoFrom [DOC]
BF mnDocVoucherInvoiceE [DOC] <> mnReprintInvoiceNoTo [DOC4]