Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 03, 2009 at 09:42 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 05, 2009 at 06:57 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded