cancel
Showing results for 
Search instead for 
Did you mean: 

Billing Engine with Contract Accounting - How does CRM know the account in FI-CA?

Former Member
0 Kudos

Hey experts,

I have a question.

How does the billing engine get to know on which contract account they have to make the posting???

I cant find any information about that on the help sap website.

Hope that u can help me.

Thanks a lot!
Marcus

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Below is from Help file

Determination of Contract Account in ERP System    

In the ERP system, the determination of the contract account from a generic contract account key (from any external system) takes place in the BAdI FKKINV_BAPIBILL. This program model also applies for CRM invoicing as source system. A customer implementation of the method CONTRACT_ACCOUNT_DETERMINE for BAdI FKKINV_BAPIBILL is required.

Procedure

If the master data was actually replicated, add the following program lines:

METHOD IF_EX_FKKINV_BAPIBILL~CONTRACT_ACCOUNT_DETERMINE.

  DATA: wa_fkkvkp TYPE fkkvkp.

  CLEAR wa_fkkvkp.

  SELECT * FROM  fkkvkp

                  INTO  wa_fkkvkp

                  WHERE guid EQ x_cont_acct_id.

    EXIT.

  ENDSELECT.

  IF NOT wa_fkkvkp IS INITIAL.

    MOVE: wa_fkkvkp-vkont TO xy_cont_acct,

          wa_fkkvkp-gpart TO xy_buspartner.

  ENDIF.

  1. ENDMETHOD.

You have to differentiate between the source systems since there is no master data replication between a non-SAP system and the ERP system. You may have to evaluate a customer table that contains the information.

Former Member
0 Kudos

Hi

The service contract or service order in CRM should have the business agreement.

Then system could decide which Contract Account to post.

But not 100% sure on this.

former_member200342
Active Contributor
0 Kudos

Hi,

In CRM system you have a provison to map G/L accounts to the condition types based on the sales organization. The system uses this settings to post values to respective G/L's based on the mapping while creating an accounting document for CRM billing.

Regards,

PP