2008 Sep 30 1:11 PM
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.
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.
2008 Sep 30 1:20 PM
Hello
Add into table TELEFONDATA as much record as there is telephone numbers.
2008 Sep 30 1:31 PM
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.
2008 Oct 23 1:16 PM
Probel solved...I Passed multiple telephone numbers in table for TELEPHONEDATA.
thanks a lot
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |