Skip to Content
0

Order Address in Service order

Jan 04, 2017 at 09:09 PM

158

avatar image

Guys,

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Nic Teunckens Jan 10, 2017 at 11:27 PM
0

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 ...

Regards

Nic T.

Share
10 |10000 characters needed characters left characters exceeded