cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid HostsName In Email Link RFQ (Request For Quotation)

former_member203638
Active Contributor
0 Kudos

Hi Experts,

I have an invalid hostname error in the link that its sent to our suppliers. This error is "SERVSAP" that it is not supposed to appear. It Should appear my external IP adress, but i dont know where should i change this parameter

https://SERVSAP :8443/B1iXcellerator/exec/ipo/vP.001sap0007.in_HCSX/com.sap.b1i.vplatform.runtime/INB_HT_CALL_SYNC_XPT/INB_HT_CALL_SYNC_XPT.ipo/proc?action=LoadAp&doc=11110811265326599921C0140C0A19A3.html

Does anybody knows how should i change it.

Note: The Iphone functionallity is ok, Dashboards is ok, the sending of The RFQ is correct because i can receive the link posted before.

Regards.

Alessandro.

mohamed_abdelsattar
Participant
0 Kudos

Hello,

jeff.campbell2 gonzalogomez

Is there any way to change the URL sent in the quotation email to vendors?

I need to change HTTP to HTTPS and Port 8080 to 8443.

This is the URL sent in the email:

HTTP://<SERVER>:8080/B1iXcellerator/RFQ/index.html?docID=20062517513594172687AC111236F407.xml (refer to this screenshot: rfq-email.png)

Thanks a lot in advance!

BR,

Mohamed

Accepted Solutions (1)

Accepted Solutions (1)

former_member217514
Active Contributor
0 Kudos

Is it the incorrect IP address, or do you have server name for <SERVSAP>? 

Most likely you have the name of the server which isn't configured in an external DNS.  The IPhone works because you configure the IPhone with the external IP address.

In the Integration Solution for SAP Business One go to Maintenance -> Cfg. Runtime

Try changing the B1i Server.

B1i first checks this setting, if it is not set, then it looks in com.sap.b1i.internal.xc/xml/hostname.xml

former_member203638
Active Contributor
0 Kudos

Thanks Jeff, but doesnt work, the same name in the email. "SERVSAP" (Name of my server)

regards

Alessandro

former_member217514
Active Contributor
0 Kudos

Looks to be an bug.  The scenario is setting the serverip variable which is used in the email message to $cdoc/vpf:vPlatform/server where $cdoc is set to document('/com.sap.b1i.vplatform.ide/mode/mode.xml') which is modified by setting the Cfg Runtime B1i Server. 

<xsl:variable name="serverip"> 

-      <xsl:choose>

-          <xsl:when test="string-length($cdoc/vpf:vPlatform/server)=0">

                 <xsl:value-of select="document('/com.sap.b1i.internal.xc/xml/hostname.xml')/*" />

       </xsl:when>

-          <xsl:otherwise>

                  <xsl:value-of select="$cdoc/vpf:vPlatform/server" />

       </xsl:otherwise>

   </xsl:choose>

</xsl:variable>

As a work around, I opened Atom9 in the sap.sl.purchquote.req step and changed the following line.

 

<xsl:variable name="serverip"> 

-        <xsl:choose>

-             <xsl:when test="string-length($cdoc/vpf:vPlatform/server)=0">

                 <xsl:value-of select="document('/com.sap.b1i.internal.xc/xml/hostname.xml')/*" />

          </xsl:when>

-             <xsl:otherwise>

                   <xsl:value-of select="$cdoc/vpf:vPlatform/server" />

         </xsl:otherwise>

    </xsl:choose>

</xsl:variable>

to

<xsl:variable name="serverip">182.98.77.2</xsl:variable>

former_member203638
Active Contributor
0 Kudos

Jeeff, Thanks For your answer, where can i find  the parameter to edit?

regards

Alessandro.

former_member217514
Active Contributor
0 Kudos

Alessandro, 

It is not a parameter.  You have to open up the scenario atom9, which is an xslt document.  Preferably use a WebDav client to access the atoms.  There are free ones out there.  Then you need to modify the configuration file for B1if (C:\Program Files (x86)\SAP\SAP Business One Integration\B1iServer\Tomcat\webapps\B1iXcellerator\xcellerator.cfg) and set xcl.webdav=full.  Save the file and restart the B1if service.  Then you need to set you WebDav client to

http://localhost:8080/B1iXcellerator/exec/dummy/

Once you are able to connect via webdav, navigate down to the  com.sap.b1i.vplatform.scenarios.design/vBIU.sap.sl.purchquote.req. 

Finally open atom9.xsl and edit the file with the previous mentioned example.  Save the file and reactivate the sap.B1RFQ scenario package.

If all this is to technical, log a support ticket with SAP.

Answers (1)

Answers (1)

Former Member
0 Kudos

The same problem!!!

Any idea?

Christian