cancel
Showing results for 
Search instead for 
Did you mean: 

Ship to party (full points will be awarded )

Former Member
0 Kudos

Please kindly help me in making the specific changes .please let me know detail steps for it from start to end.

P.S-- full points will be awarded for help

i. To get the available ship to parties

1. Call FM BAPI_BUPA_RELATIONSHIPS_GET

2. Import BUSINESSPARTNER = Sold to party #

3. Result in table RELATIONSHIPS

a. PARTNER1

b. PARTNER2

c. RELATIONSHIPCATEGORY

d. VALIDFROMDATE

e. VALIDUNTILDATE

f. DEFAULTRELATIONSHIP

g. RELATIONSHIPTYPE

4. Get all PARTNER2 with RELATIONSHIPCATEGORY = CRMH02

ii. To get address of each ship to party

1. Call FM CRM_ISA_BUPA_GET_ADDRESSES ‘PARTNER2’ as import parameters.

2. Get address from table PARTNER_ADDRESS_DATA

a. NAME1

b. NAME2

c. STREET

d. CITY

e. REGION

f. COUNTRY

g. POSTL_COD1

iii. To get the order history based on Ship to party

a. ISA is calling CRM_ISA_GEN_DOCUMENT_SEL with inputs in table IT_SEL_OPT

HANDLE : 1

SELECT_PARAM : PARTNER_NO/1(2)

ENTITYTYPE : CL_CRM_REPORT_SET_PARTNER

PARAM_FUNCTION :

PARAM_FUNC_TYPE : 0001

TOKEN : RAN

SIGN : 1

OPTION : EQ

LOW : Sold to party #

HIGH

Change it to

HANDLE : 1

SELECT_PARAM : PARTNER_NO/1(2)

ENTITYTYPE : CL_CRM_REPORT_SET_PARTNER

PARAM_FUNCTION :

PARAM_FUNC_TYPE : 0002

TOKEN : RAN

SIGN : 1

OPTION : EQ

LOW : Ship to party #

HIGH :

Technical Changes to be Done in ISA Application

Programs Affected:

JSP’s

1. appbase/genericSearch.jsp

2. b2b/login/selectsoldto.jsp

Java Programs

a. b2b/history/updatehistory

b. b2b/getdealerfamily

c. /b2b/updateworkareanav

d. com.sap.isa.isacore.action.GenericSearchISAAction

Standard ISA application calls for CRM_ISA_BP_BPARTNER_GETDETAIL which calls for the business partner object . this will not get the ship to party detail.

To Get to Ship to party detail we need to call the function module which are mentioned in the first section of the document.

The sold to party details has to be kept in the JSP Session so that it can be retrieved to call the new Function modules.

There are 3 function module to be called so we need to have 3 Bussiness Object created and then corresponding 3 Bussiness Object Manager programs.

These programs have to be mapped in the the “bom-config.xml”.

The Bussiness Objects have to be mapped in the “backendobject-config.xml”

The CRM_ISA_GE_DOCUMENT_SEL has table input parameters. JCO Connection to be written in the backendobject should be handled in the clean manner.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi raj,

I think your solution is too complexity.may be you can use BADI "CRM_ISA_GEN_DOC_SEL" to solve you problem,

1.Get all ship-to and display it in search page as new condition field.

2.Create implementation for BADI,and overwrite method "INIT" to add new condition record for shipto.

Best Regards,

Xianjun