‎2007 Jul 18 3:44 PM
All,
I have a requirement to check if the ADDR_GROUP = 'SD01' (typed in address) before saving a sales order.
I couldn't find ADDR_GROUP in any internal tables in MV45AFZZ.
I was expecting it to be in XVBADR, but it's not there.
Could xvbpa-ADRDA = 'E' be an alternative solution or can I find ADDR_GROUP somewhere in MV45AFZZ?
Thanks in advance for your help,
Isabelle
‎2007 Jul 18 3:52 PM
using the XVBDR-ADRNR, go to the table ADRC to fetch ADRC-ADDR_GROUP.
then check for your condition.
Regards,
Ravi
‎2007 Jul 18 4:28 PM
Ravi,
The problem is that when my program is called the adress is not saved yet in the database in ADRC and also XVBADR-ADRNR has a temporary value such as 'AP $00000'.
Any other suggestion?
‎2007 Jul 18 4:26 PM
The problem is that when my program is called the adress is not saved yet in the database in ADRC and also XVBADR-ADRNR has a temporary value such as 'AP $00000'.
Any other suggestion?