Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Sep 09, 2008 at 02:38 AM

    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

    Add comment
    10|10000 characters needed characters exceeded