Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Help in using BAPI_BUPA_CREATE_FROM_DATA

Former Member
0 Kudos

Hi

I am using 'BAPI_BUPA_CREATE_FROM_DATA to create BP number

In IMPORT I am passing values for

PARTNERCATEGORY

CENTRALDATA

CENTRALDATAORGANIZATION

ADDRESSDATA

In TABLES I am passing tel no in

TELEFONDATA

I need to pass multiple telephone number.

I am not getting any clue on how to pass multiple telephone number.

Please asist.

3 REPLIES 3

Former Member
0 Kudos

Hello

Add into table TELEFONDATA as much record as there is telephone numbers.

Former Member
0 Kudos

Hi,

Could you please assist as how to add multiple record to it.

Please find my code below.

NOTE:In gs_record-t2 my second telephone no is stored which i needed to transfer with gs_record-t1 .Please tell what to fill in the blank.

data:v_tel type BAPIADTEL occurs 10,

wa_tel type BAPIADTEL,

loop at gt_record into gs_record.

move gs_record-t1 to wa_tel-TELEPHONE.

move gs_record-t2 to _______________

append wa_tel to v_tel.

clear wa_tel.

CALL FUNCTION 'BAPI_BUPA_CREATE_FROM_DATA'

EXPORTING

  • BUSINESSPARTNEREXTERN =

PARTNERCATEGORY = GC_TYPE_ORGAN

  • PARTNERGROUP = tpgroup

CENTRALDATA = v_test

  • CENTRALDATAPERSON =

CENTRALDATAORGANIZATION = tpdataorg

  • CENTRALDATAGROUP =

ADDRESSDATA = tpaddata

  • DUPLICATE_MESSAGE_TYPE =

  • ACCEPT_ERROR = ' '

IMPORTING

BUSINESSPARTNER = V_parnum

TABLES

TELEFONDATA = v_TEL.

clear gs_record.

endloop.

commit work.

Former Member
0 Kudos

Probel solved...I Passed multiple telephone numbers in table for TELEPHONEDATA.

thanks a lot