cancel
Showing results for 
Search instead for 
Did you mean: 

contract determination

Former Member
0 Kudos

Hi Experts,

I want to determine contract in the BAdi implementation.

What should be the code?

Regards

Shilpi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

for determine contract you can use following functio module.

BAPI_BUSPROCESSND_CREATEMULTI

Bapi to create Service Contracts programmatically. Pass the inputfields to be created in the contract.

Note: BAPI_BUSPROCESSND_SAVE must be called after this function call to save the Service Contract.

hope it will useful.

thanks

Former Member
0 Kudos

Hi,

I am trying to use the FM

CRM_FIND_SERVICE_CONTRACTS to determine the service contract in the BAdi.

its not working for me.

Which other FM can be used to determine contracts in the BAdi?

Regards

Shillpi

Former Member
0 Kudos

Hi ,

you can use the following functio module to determine the contract;

1. CRM_CONTRACT_FIND_OUTL

2. CRM_FIND_SALES_CONTRACTS

3. CRM_ORDER_FIND_CONTRACTS

4. CRM_CONTRACT_FIND_OUTL_LAM320

5. CRM_REPORT_FIND_CONTRACTS

hope it will useful

thanks

Answers (1)

Answers (1)

jothivenkatesh_m
Contributor
0 Kudos

Hi,

I have looked into the query. Kindly try out any of the following FMs.

CRM_SERVICE_CONTRACTS_HEADER ==> Get the contract item detail

CRM_SERVICE_CONTRACTS_ITEMLIST ==> Get the contract item detail

CRM_SERVICE_CONTRACTS_ITEM_GET ==> Get contract details for IView

CRM_SERVICE_CONTRACTS_SEARCH ==> Function module for the service contracts

I hope this helps.

Regards,

Venkat

Former Member
0 Kudos

Hi,

How can i change the export parameters of BAdi CRM_SERVICE_CONTRACT to determine the contract?

Regards

Shilpi

Former Member
0 Kudos

Changes made to the interface and changes made to the Business-Add-In definition are always

incompatible!

If implementations already exist for a Business-Add-In definition, they are invalidated if you make changes to the interface. This means that their syntax is no longer correct. No statements can be given on the runtime behavior. Try to absolutely avoid making changes to the interface or the Business-Add-In definition after the transport has taken place.

If changes to the interface are inevitable, navigate to the Class Builder (transaction SE19, tab Interface, field Name of implementing class) for all implementing classes, that is, all classes for which Business-Add-In implementations are used, and clean up the method includes of these classes (Utilities  Clean up  Method includes).