change phone number when SC is created
- In PPOSA_BBP we don't have ADDR_SHIP attribute mantained
- When the SC is created Location address is copied into the SC
It is working properly. But now we need to change phone number using a Z table. The problem is that in BADI change (BBP_DOC_CHANGE_BADI) in first time the address information is not populated yet so although we change phone number it is not working.
1- Create item
2- BADI change is executed
3- We change phone number (but address information from location is still not filled)
4- Phone number in delivery address tab is the phone number from Location (it is wrong)
5- Now we change for example SC quantity
6- BADI change is executed
7- We change phone number
8- Now Z phone number is well displayed in SC (it is correct)
So do you know any other BADI or enhancement where we can change address information in order to have the correct telephone number is step 4?
Thx in advance,
Manel Casadesus replied
I have fixed that removing PARTNER_ID from partner table (partner_id = location and parter function = 00000027) and I have informed all the fields by myself recovering all data from Location address and phone number from my Z table.
Thx for your help.