2007 Nov 27 2:35 PM
Hi,
I need to update table ADR6 manually. How can I do that?
Can I use 'insert' abap code command? Could you please send me an example?
Is there any function module which works to do that?
Thanks and best regards
Hi,
I need to update table ADR6 manually. How can I do that?
Can I use 'insert' abap code command? Could you please send me an example?
Is there any function module which works to do that?
Thanks and best regards
2007 Nov 27 2:39 PM
Hi ,
If you are creating a customer manually (means going to XD01) and enter the email address, it automatically goes to ADR6. Is this your requirement? You can use the Insert statment also.
Regards,
Tanmay
2007 Nov 27 2:43 PM
Hi my requirement is a bit different.
I am doing a Z*program which create a sales order. What i need is to save the partner address, that means the functionality we have in standard VA01 - Tab Partners, when we need to modify those address. I am able to use the same pop-up and everything, but I loose the e-mail field.. It doesn't get saved on table ADR6. So I think I need to insert manually this field in Table ADR6... But how can I do that?
Thanks and Best regards
2007 Nov 27 2:51 PM
Hi,
I think you can use fm BAPI_ADDRESSORG_SAVEREPLICA after filling email address in
BAPIADSMTP .
a®
2007 Nov 27 2:40 PM
Hi,
Here is the code.
data : x_adr6 like adr6.
x_adr6-field1 = 'Value'.
insert x_adr6 into ADR6 or modify adr6 from x_adr6.
Thanks
Mahesh
2007 Nov 27 2:42 PM
Hi!
You can do that. But it is NOT recommended to update a standard SAP table, because dependent entries could be in other tables.
Try using one of these function modules to maintain addresses.
ADDRESS_DELETE
ADDRESS_GET_COM
ADDRESS_GET_DATA
ADDRESS_GET_NUMBER
ADDRESS_INSERT
ADDRESS_READ
ADDRESS_READ_ALL_VERSIONS
ADDRESS_READ_FOR_USER
ADDRESS_TELEPHONE_MAKE_CALL
ADDRESS_UPDATE
ADDRESS_UPDATE_DIALOG
ADDRESS_UPDATE_FROM_USER
ADDRESS_UPDATE_OLD
ADDRESS_UPDATE_TASK
Regards
Tamá
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |