cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI to retrieve ship to party for a given sold to party

Former Member
0 Kudos

Hi All,

I have a requirement to get the ship to party details for a sold to party. The scenario is that we are using an excel sheet for order loading at the client's place.

The CSR enters the sold to party in the excel sheet and there is a funcationality developed which will call RFC and connect to SAP. Now for the sold to party entered in the excel sheet, I need to have all the ship to party details for the sold to party entered. Now I need to know if there is a standard BAPI to retrieve all the ship to party.

Kindly let me know if anybody is aware of the standard BAPI for the above requirement.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Try function module VIEW_KUAGV. You will have to fill out parameter COMWA with a minimum of :

COMWA-KUNNR

COMWA-SPART

COMWA-VKORG

COMWA-VTWEG

COMWA-PARGR

and probably:

COMWA-VBOBJ

COMWA-HITYP_PR

COMWA-VBTYP

You should be able to set a break point in that function module to see what the standard product sends into the function in VA01.

Former Member
0 Kudos

Hi,

I am not sure of any BAPI here.But I will give you the ogic to retrieve all Ship-to-parties for your customer.

Goto T.Code SE11/SE16/SE16n T.Code.

Enter the table name as KNVP.

Enter your sold-to-party here for customer field.Execute or press F8.

Retrieve all the partners and get the ship-to-parties having the partner function "WE".

If you click on display by selecting that line all details will appaear here.

Hope this helps you.

Regards,

Krishna.