cancel
Showing results for 
Search instead for 
Did you mean: 

Order Address in Service order

0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

NTeunckens
Active Contributor
0 Kudos

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.