Getting Ship-to-Location in jsps
Please help me to get Ship-to-Location in confirm.jsp,
It would be great if we can display the same in every page.
The shipTo data can also be obtained from the Order Header in the confirmation page.
Sales Order Header Java object
has a method to get the Shipto data
public ShipTo getShipTo().
The shipto data class
has the following methods that will be useful to you.
String getShortAddress(); - Gives the Short address of the Sold-To very useful.
Address getAddress(); -- You have to further query this object to get more details
Address is com.sapmarkets.isa.businessobject.Address;
The Address class has lot of methods to get the values you want. See the following JSP for example: