SAP Knowledge Base Article - Public

2585205 - TaxReceivablesPayablesEntry, Error - G/L Account information missing

Symptom

You are trying to create New charge/Credit for customer. Receivable > Customer Accounts > New Charge/Credit. You see that there is no Standard Web Service. You have created a custom Business Object which has the same structure as the Standard Business Object of TaxReceivablesPayablesEntry. When you create the TaxReceivablesPayablesEntry the error - G/L Account information Missing appears.

Environment

SAP Business ByDesign

Reproducing the Issue

1. Go to New Charge Credit Work Center(which is a custom BO you have created).
2. Click on New.
3. Enter the all the details.
4. Click on Save.
5. Click on Release.
6. G/L Account information missing error appears.

Cause

The reason for the error message is that you are using standard recommended, documented ABSL script to create the instances for the TaxReceivablesPayablesEntry BO, there is a setting that can be activated from the backend to prevent this error. You need to set this flag in the backend to prevent the - G/L Account information missing error.

Resolution

In the Cloud Studio application, open the solution and pass the below values.

Method: ACTION_RELEASE (<Solution Name>)

 Do:

##ABSL_SRCPOS[73][7]            itemACinst_28 = _line_of_col_31.
##ABSL_SRCPOS[74][3]            itemAC_24->GENERAL_LEDGER_ACCOUNT_ALIAS_C-CONTENT = itemACinst_28->GENERASCODE6C316A391CDECCA4-CONTENT.
##ABSL_SRCPOS[75][3]            itemAC_24->ACCOUNTING_CODING_BLOCK_TYPE_C-CONTENT = itemACinst_28->ACCOUNECODEB08DB4018AB81E66-CONTENT.
##ABSL_SRCPOS[76][3]            itemAC_24->AMOUNT-CONTENT = ( itemInst_15->TRANSAMOUNTA198D5BCA67B5A73-CONTENT + itemInst_15->TRANSAMOUNTD28E3E87E9AEEC8D ).
##ABSL_SRCPOS[77][3]            itemAC_24->AMOUNT-CURRENCY_CODE = _this_1->TRANSAYCODE3CAE25148ABF5AE0.
##ABSL_SRCPOS[78][3]            itemAC_24->COST_CENTRE_ID = itemACinst_28->COSTCETREID198381F93DAF4724.

 Before you do:

##ABSL_SRCPOS[58][3]            itemInst_15->LINEID7C5E5087AC934564 = _ret_string_20.
##ABSL_SRCPOS[59][3]            item_10->TRANSCURR_NET_AMT-CONTENT = itemInst_15->TRANSAMOUNTA198D5BCA67B5A73-CONTENT.
##ABSL_SRCPOS[60][3]            item_10->PROD_TAX_CHAR_C-CONTENT =  `310`.
##ABSL_SRCPOS[61][3]            item_10->TRANSCURR_TAX_AMT-CONTENT = itemInst_15->TRANSAMOUNTD28E3E87E9AEEC8D.
##ABSL_SRCPOS[62][3]            item_10->PROPE_MOV_DIREC_C = itemInst_15->PROPERNCODEC6837168D3694EF9.

Save the changes and now try to pass the values and the error should disappear.

Keywords

TaxReceivablesPayablesEntry, G/L Account information missing, , KBA , taxreceivablespayablesentry , g/l account information missing , AP-RC-CB , Coding Block , How To

Product

SAP Business ByDesign all versions