Skip to Content
avatar image
Former Member

How to read country from delivery address tab of purchase order in run time.

Hi,

Scenario is as below.

In case of third party purchase order we want to derive tax code based on country field in delivery address tab of purchase order.

 

As in standard SAP tax code derivation is based on plant country of purchaseorder. In case of third party goods recipient is customer and which may have different country.

 

Can you please let me know how to ready country field from delivery address tab of purchase order, So that with this field we will create new condition
record and maintain required tax code.

I have checked with technical but not able to find country during run time.

Thanks

Sudhir

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Dec 26, 2014 at 05:09 PM

    The delivery address is stored like any other address in table ADRC. You can find the address number field in the EKKO table and with that number search for the record in ADRC.

    Add comment
    10|10000 characters needed characters exceeded

    • I overlooked the information about 3rd-party PO.

      A third-party PO process starts from SD, and the delivery address is taken from the ship-to partner in the sales order and cannot be changed in the PO.

      Because of this you should be able to take it from ADRC after you read the customer master of the ship-to partner to the sales order which is referenced in the accounting tab of your PO.

  • avatar image
    Former Member
    Dec 26, 2014 at 05:34 PM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 26, 2014 at 06:56 PM

    Hi,

      Please go through the KBA: 2075522 - Tax code is not redetermined in a stock transport order which explains a similar issue in STO.

    Regards,

    AKPT

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 07, 2016 at 06:28 PM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded