2015 Jun 21 7:55 AM
Dear all,
I need your inputs on the below requirement.
When creating PO (ME21n), we have requirement that OA Vendor's address has to be displayed on the Address tab instead of default VN Vendor's address. I have achieved this requirement using the BADI. But when the users to the Partners tab and change the OA Partner and come back to the Address tab, it's still referring to the old OA vendors address (still we are in the PO create). However if the save the PO, I have handled the logic to update the address to the new OA vendors address. But the requirement is after they change the OA vendor if the come to the Address tab, the address should be reflected right away. I'm not exactly sure where to handle this code. Any help is much appreciated.
Thanks,
Justin.
2015 Jun 21 8:18 AM
Instead of overwriting the vendor address you should better create a custom tab to display the Order Address. Use ME_GUI_PO_CUST and ME_PROCESS_PO_CUST
2015 Jun 21 8:18 AM
Instead of overwriting the vendor address you should better create a custom tab to display the Order Address. Use ME_GUI_PO_CUST and ME_PROCESS_PO_CUST
2015 Jun 21 6:10 PM
Dear Jürgen,
Thank you so much for the response. There are different document types need to be handled differently.. If I ask the buyer to go for custom tab (OA Address) for just one Doc type, then they won't agree to it.. Just to be consistent across the board, the address should be going to only Address tab.. As you know ,I'm not overwriting, just referring to the ADRNR for OA Address.. There is no other exits that can be called if the user clicks the Address tab? On the fly I'll determine the ADRNR and display it to them.. Just need to find the correct exit..
Justin.
2015 Jun 21 7:22 PM
in my view is SAP already consistent as it always shows the vendor address, the order address is a partner only, the address itself is not shown in ME23N. Otherwise SAP would need to show the invoice presenter address too, and whatever other partner functions you are using.
So you are actually overwriting what SAP is showing in standard, and if you do this only for one document type then you are certainly no longer consistent in the way how the data from this screen shall be interpreted by the user. You are just giving him another address in the same screen, which is from my experience more confusing than putting it into an extra screen, which is anyway the desired way to deal with customer code and extra fields.
2015 Jun 21 11:20 PM
Jürgen,
Let me talk to the business tomorrow and see what's their expectations are.. I got what you are saying, but let me talk to the business and get their inputs.
Thank you again!!
Justin.
2020 May 11 4:47 PM
Hi Justin,
Were you able to handle this and if you remember, can you please let us know, how did you handle this?