Hi
Got the solution//
I created a LSMW.
Using Batch Input recording. Created recording using Transaction BUP2, Entered the BP number and deleted the Email ids and saved recording.
It gave me the screen fields for the Email ids both in communication section and address independent communication section.
we need to make sure to delete all other screen fields from the recording except the email id related fields. BECAUSE i just want to delete email ids not any other fields.
And In my .txt file in the system i have 3 fields
Business partner SMTP_ADDR1 SMTP_ADDR2
CHAR10 CHAT241 CHAR241
1000000012 BLANK BLANK
1000000013 BLANK BLANK
i just mapped my source strcture fields with target strcutures(recording structure fields).
Ran the LSMW and it successfully deleted the Email IDs from the BP's.
Please note: In recording, it is better to use BUP2 transaction.
Before i used BP transaction, but for clicking the DISPLAY and CHANGE the
OK_CODE is same so it gave me problem when i used BP transaction in recording.
The problem was: out of 4 records it was only deleting alternative BP's email ids.
I used BUP2 Transaction(BP change) and it sucessfully deleted the email ids from all BP's.
Thank you//
Regards,
Chetan S K