on 07-29-2009 6:50 AM
Dear Gurus,
In our print program for Invoice printing the logic for printing Customer Address is from Customer master. Now If we change address in customer master, old invoices are printed with new address which is wrong.
How can we overcome the issue. Can we find old address according to invoice date criteria.
Regards,
Nimit
Its a Standard Practice in SAP that if you change only the Address in Master Data of Customer then it will reflect in all the Previous & Existing Documents.
You have to take a help of ABAPer to fulfill your requirements.
Best regards,
Ankur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I dont thin in std it is possible..Try this user exit
EXIT_SAPLV09A_001
You can use this user exit to control whether an address that was entered manually and has already been used in other documents (referenced), should be referenced again if it changes or whether a new address shold be created (duplicated).
Reg
JJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nimit
The table is CDHDR table .
You can take help of abap Consultant and apply following logic
1.in print program while printing address validate invoice date and then compare invoice date with UEDATE(change date)in CDHDR table along with object ID (customer number)and if u want additional criteria like user ID etc so system should print old values if invoice creation date is older than change date.
But beware that this may slow down ur program .as same data gets validated in second table. s
Also please check if u re using same or different ship to party customer number.
If u use the same and ur invoice contians both then u can also have manual control by changing address at the time of delivery.and then doing the invoicing.
Regards
Mandar
Hi ,
You need to maintain the old address in ztable then use the user exit in driver program to check the invoice creation date ,if the VBRK:ERDAT is before address changes date then it has to pick the address from customer master ,else it should pick the same from ztable.Pls try this with your abaper ,this worked for me when we changed the sales organisations address.
Hope it helps.
Regards,
Pasapula.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.