2009 Apr 03 5:26 PM
I need to change the bank and payment card information regarding an IS-U business partner and I´ve been trying to use the BAPI BAPI_ISUPARTNER_CHANGE. When it executes it doesn´t change the information in the business partner and the return structure comes out empty! I don´t understand why this is hapenning and this is only BAPI I´ve found that can change de Business Partner fields I need to change...Any help ?
I need to change the bank and payment card information regarding an IS-U business partner and I´ve been trying to use the BAPI BAPI_ISUPARTNER_CHANGE. When it executes it doesn´t change the information in the business partner and the return structure comes out empty! I don´t understand why this is hapenning and this is only BAPI I´ve found that can change de Business Partner fields I need to change...Any help ?
2009 Apr 03 5:41 PM
HI,
Are you passing X to the field's in TBANKDATAX TCCARDDATAX tables for the corresponding fields fields populated in table TBANKDATA TCCARDDATA..while passing to FM.
And same in case of PARTNERDATA PARTNERDATAX.
Can you paste the FM call here..
2009 Apr 03 5:51 PM
I´ve filled all structures, including tbankdatax and tccarddatax,below is the FM call code
DATA: banc_data LIKE TABLE OF bapiisubpb WITH HEADER LINE,
banc_data_x LIKE TABLE OF bapiisubpbx WITH HEADER LINE.
DATA: card_data LIKE TABLE OF bapiisubpc WITH HEADER LINE,
card_data_x LIKE TABLE OF bapiisubpcx WITH HEADER LINE.
APPEND banc_data.
APPEND banc_data_x.
APPEND card_data.
APPEND card_data_x.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
CLEAR: ret[],ret.
CALL FUNCTION 'BAPI_ISUPARTNER_CHANGE'
EXPORTING
partner = bpartner
VALIDDATE =
partnerdata = partner_data
partnerdatax = partner_data_x
TESTRUN =
TAX_USE =
ACCEPT_ERROR = 'X'
ROLE_CATEGORY =
IMPORTING
return = ret
TABLES
TADDRESS =
TADDRESSX =
tbankdata = banc_data
tbankdatax = banc_data_x
tccarddata = card_data
tccarddatax = card_data_x
EXTENSIONIN =
TTAXDATA =
TTAXDATADEL =
TELEFONDATANONADDRESS =
TELEFONDATANONADDRESSX =
E_MAILDATANONADDRESS =
E_MAILDATANONADDRESSX =
TADRUSE =
TADRUSEX =
.
READ TABLE ret WITH KEY type = 'E'.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
l_err = 'X'.
ENDIF.
CHECK l_err IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
2009 Apr 03 6:07 PM
2009 Apr 03 6:14 PM
I placed sy-datum in the VALIDATE parameter and no changes. The problem is I´ve used this FM in another report, to change data in the partner_data structure and it worked!
2009 Aug 18 9:20 AM
Hi,
I need to update the partner's telephone numbers including mobile numbers. can you please let me know how to do this?
Thanks,
Kishore
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |