Quantcast
Viewing all articles
Browse latest Browse all 8332

How to update vendor address based on vendor control data


Hello,

 

 

i have a request to update one field (Search term 2) from Vendor master Address view:

Image may be NSFW.
Clik here to view.
Address view.JPG

 

based on industry code populated for the supplier (LFA1-BRSCH):

 

Image may be NSFW.
Clik here to view.
Control view.JPG

 

This means if industry code is populated, address field SORT2 must be updated with corresponding wording for this code.

How is it possible to do this?

 

I cannot use BAdI definition name ADDRESS_UPDATE as ADDRESS1_SAVED method is triggered only if one address field is modified.

I found VENDOR_ADD_DATA enhancement spot with VENDOR_ADD_DATA BAdI definition: can i use SAVE_DATA method?

If yes, which function module can i use to update LFA1 table? Is it OK with CHANGEDOCUMENT_SINGLE_CASE?

 

Thank you for your help.

 

Regards.

 

 

Laurent.


Viewing all articles
Browse latest Browse all 8332

Trending Articles