Skip to Content

Order Address in Service order


Please I need your usual help!

We currently have a solution that uses BAPI to create Service order at Sales order save event (while creating the Sales order). However, when the Service order gets created, the Customer Address is updated with the Ship to Party details. The Order Address is blank.

Problem is, when you attempt using the Customer Address to do a quick search for the Service order in IW49N, no object is selected.

SAP confirmed only Address maintained in the Order Address can be used for such search.

Question is, how to populate both the Order Address and Customer Address in Service order?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 10, 2017 at 11:27 PM

    Normally the address should be derived based on the contents of the passed SAP-Objects in your Service Order : the Order Address should be derived from the Technical Objects, the Customer Address from a provided Customer. That would be the recommended way and doesn't require any coding ...

    I would suggest looking into an FM / mechanism to update CAUFVD-structure in a valid way : you either have an ADRNR of ADRNRA field that is present and another one that is missing. (I believe you would need to update "ADRNRA" ...)

    Check out whether you can use the "WORKORDER_UPDATE" BAdI or any of the "EXIT_SAPLCOIH_*" UserExits for this ...


    Nic T.

    Add comment
    10|10000 characters needed characters exceeded