3 Replies Latest reply: Sep 1, 2009 7:35 PM by Rishu Thukral RSS

Creating new BP with BUPAFS_FS_CREATE_FRM_DATA201

William Lawlor
Currently Being Moderated

Hi,

I am using BUPAFS_FS_CREATE_FRM_DATA201 is an LSMW to create new business partners, reading the data in from a file.

 

The E1BPADTEL segment holds a field for a telephone number, and field R_3_USER  to indicate whether this is a mobile number (' ' = no; X=yes). Accordingly, either the 'Telephone' or 'Mobile Phone' fields get updated for the business partner in the Communication section on the Address tab.

 

Individually, both work fine. I.e. if I put in a phone number with R_3_USER blank, Telephone field is filled; If R_3_USER   = 'X', then the mobile number field is filled instead. However I need both fields updated - the Telehone and Mobile Phone fields. How can I do this?

 

I tried creating 2 files, 1 with header information for the BP and another containing lines for the phone numbers, but it only read in the first line, i.e. created just one segment.

 

Has anyone any ideas on how to update both Telephone and Mobile numbers with this idoc? Thanks!