Skip to Content
0
Sep 20, 2005 at 11:56 AM

ISA 4.0 : Web Shop : Sales Order cannot be downloaded

15 Views

Hi all,

After placing Orders in the Web Shop, I have to download the Sales Order from the Web Shop. SAP has provided the facility to download the Sales Order from the OrderStatusDetail.Jsp.

But that facility is not working properly!!!!!!

Did anyone has solved the above problem before?????

Help please !!!!!!

Thanks

Kam

Here is the Piece of Code that does this::::

<tr>

<td colspan=3>

<B> &nbsp;&nbsp; <isa:translate key="odrdwnld.odrdetail.title"/> </B>

</td>

<td colspan=2>

&nbsp;&nbsp;

<select name="format">

<% if (!backendR3) {%>

odrdwnld.option.pdf"/>

<% } %>

<option value="<%= OrderDownloadForm.CSV_FORMAT_STR %>"> <isa:translate key="odrdwnld.option.csv"/></option>

<option value="<%= OrderDownloadForm.XML_FORMAT_STR %>"> <isa:translate key="odrdwnld.option.xml"/></option>

</select>

</td>

<td colspan=2>

&nbsp;&nbsp; <input type="submit" name="orderdownloadbtn" value="<isa:translate key="odrdwnld.odrdetail.btn"/>" class="green">

<%

String url ="b2b/order/addOrderToMassDownloadList.do";

url="?orderguid="orderheader.getTechKey().getIdAsString()"&operation=add&orderid="orderheader.getSalesDocNumber()

"&desc="(orderheader.getDescription()==null?"":orderheader.getDescription())"&status="orderheader.getStatus();

%>

&nbsp;&nbsp;

<a href="<isa:webappsURL name ="<%=url%>"/>" target="form_input">

<img src="<isa:webappsURL name ="/b2b/mimes/images/download.gif"/>" alt="" border="0" title="<isa:translate key="massdwnld.addorderimg.ttip"/>"></td>

</a>

</td>

</tr>

<input type="hidden" name="orderIDS" value="<%=orderheader.getSalesDocNumber()%>" >

<input type="hidden" name="orderGUIDS" value="<%= orderheader.getTechKey().getIdAsString()%>">

<%-- Field which distinguishes between the single order/mass download of orders --%>

<input type="hidden" name="orderDetail" value="X">

</form>

Message was edited by: Kam : Added code