Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Getting Ship-to-Location in jsps

Hi all,

Please help me to get Ship-to-Location in confirm.jsp,

It would be great if we can display the same in every page.

Thanks,

Devender

Tags:
Former Member
Former Member replied

Hello Devender,

The shipTo data can also be obtained from the Order Header in the confirmation page.

Sales Order Header Java object

com.sapmarkets.isa.businessobject.header.HeaderSalesDocument

has a method to get the Shipto data

public ShipTo getShipTo().

The shipto data class

com.sapmarkets.isa.businessobject.ShipTo

has the following methods that will be useful to you.

  1. String getShortAddress(); - Gives the Short address of the Sold-To very useful.

  2. 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:

  1. \b2b\root\b2b\shiptodetails1.jsp

  2. \b2b\root\b2b\shiptodetails.jsp

Easwar Ram

http://www.parxlns.com

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question