Skip to Content

B1IF use of Global Properties in FTP Outbound CALL

Hello, I've created global properties for my scenario package.

I try use them in FTP outbound CALL and the Scenario Test gives these errors:

com.sap.b1i.utilities.UtilException: UTE001 Nested exception: javax.xml.transform.TransformerConfigurationException: : line 1: Variable or parameter 'FtpPort' is undefined.

or

com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception:
com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception:
java.lang.Exception: java.lang.NumberFormatException: For input string: "$FtpPort"

What have I done wrong?
How to use global properties properly?

Tomas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 06, 2018 at 09:46 AM

    Hello Tomas,

    #$FtpPort should be OK.

    There may be other place make an error.

    More usage of global property, you may refer to help document.

    Using Global Properties in the Process Flow
    
    You can use global properties in your XSL coding. You can also use all properties in the atom user interfaces in the parameter definition. All parameters supporting the properties are marked with *.
     
    In XSL coding, access the value of a global property directly by entering $, the vp abbreviation and the name of the property (<xsl:value-of select="$vpprop1"/>) if the generation into the XSL is active, or by using the incoming message (<xsl:value-of select="/vpf:Msg/vpf:Header/vpf:Properties/vpf:prop[./@id='prop1']/@value"/>).
     
    In the atom user interfaces you can note the global property similar to the XPath notation with $name. In a parameter field you can use a global property multiple times and you can combine the property with other variables, properties, and so on.
    

    Thanks & best regards

    Huan Yang

    Add comment
    10|10000 characters needed characters exceeded