2008 May 05 12:09 PM
Hi experts ,
i am not enable to create contract account through BAPI function BAPI_ISUACCOUNT_CREATEFROMDATA
code is below
&----
*& Report ZCONTRACTACCOUNT
*&
&----
*&
*&
&----
REPORT ZCONTRACTACCOUNT.
DATA : HDR TYPE FKKVK_HDR_DI,
CNAME TYPE FKKVK_S_DI,
MDATA TYPE TABLE OF FKKVKP_S_DI ,
ACNO TYPE FKKVK_HDR_DI,
WA TYPE FKKVKP_S_DI,
ACDATA TYPE TABLE OF BAPIISUVKP,
WA1 TYPE BAPIISUVKP,
ANO TYPE BAPICAPARA-ACCOUNT.
MOVE :
WA1-PARTNER = '0000000201'.
WA1-ad_ext_partner = '1'.
WA1-CA_NAME = 'PRADEEP ACCOUNT'.
WA1-RESP_COMP_CODE = 'CCG1'.
WA1-STANDARD_COMP_CODE = 'JUSCO'.
WA1-DUNNING_PROC = '01'.
WA1-ACCOUNT_DETERM_ID = '01'.
WA1-TERMS_OF_PAYMENT = 'PT01'.
WA1-APPL_FORM = 'IS_U_BILL'.
WA1-RELSHIP_PARTNER = '01'.
WA1-BBP_TYPE_ACTIVE = '1'.
WA1-CLEARING_CATEGORY = 'A001'.
WA1-TOLERANCE_GROUP = 'TG01'.
APPEND WA1 TO ACDATA.
CALL FUNCTION 'BAPI_ISUACCOUNT_CREATEFROMDATA'
EXPORTING
CONTRACTACCOUNT =
PARTNER = '0000000201'
CONTRACTACCOUNTCATEGORY = '01'
TESTRUN =
IMPORTING
RETURN =
CONTRACT_ACCOUNT = ANO
TABLES
TCONTRACTACCOUNTDATA = ACDATA
TCTRACLOCKDETAIL =
EXTENSIONIN =
.
WRITE ANO.
pls help me ASAP
Thanx & rgrds
Pradeep Sharma
2008 May 05 9:59 PM
Hello Pradeep
According to the documentation of structure TCONTRACTACCOUNTDATA the following data are mandatory:
Contract Account Data
Description
When you create a new contract account, the following parameters are
required:
o RESP_COMP_CODE
o DUNNING_PROC
o RELSHIP_PARTNER
o TOLERANCE_GROUP
o TERMS_OF_PAYMENT
o SETTLE_CAT_CL_ENTRIES
o ACCOUNT_DETERM_ID
o APPL_FORM
o LANGU_ACC
I do not see that you provide any values for SETTLE_CAT_CL_ENTRIES and LANGU_ACC.
Therefore, I recommend to evaluate the RETURN messages carefully. Perhaps they are pointing towards missing input data.
Regards
Uwe
Hello Pradeep
According to the documentation of structure TCONTRACTACCOUNTDATA the following data are mandatory:
Contract Account Data
Description
When you create a new contract account, the following parameters are
required:
o RESP_COMP_CODE
o DUNNING_PROC
o RELSHIP_PARTNER
o TOLERANCE_GROUP
o TERMS_OF_PAYMENT
o SETTLE_CAT_CL_ENTRIES
o ACCOUNT_DETERM_ID
o APPL_FORM
o LANGU_ACC
I do not see that you provide any values for SETTLE_CAT_CL_ENTRIES and LANGU_ACC.
Therefore, I recommend to evaluate the RETURN messages carefully. Perhaps they are pointing towards missing input data.
Regards
Uwe
2008 May 05 9:59 PM
Hello Pradeep
According to the documentation of structure TCONTRACTACCOUNTDATA the following data are mandatory:
Contract Account Data
Description
When you create a new contract account, the following parameters are
required:
o RESP_COMP_CODE
o DUNNING_PROC
o RELSHIP_PARTNER
o TOLERANCE_GROUP
o TERMS_OF_PAYMENT
o SETTLE_CAT_CL_ENTRIES
o ACCOUNT_DETERM_ID
o APPL_FORM
o LANGU_ACC
I do not see that you provide any values for SETTLE_CAT_CL_ENTRIES and LANGU_ACC.
Therefore, I recommend to evaluate the RETURN messages carefully. Perhaps they are pointing towards missing input data.
Regards
Uwe
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |