cancel
Showing results for 
Search instead for 
Did you mean: 

Standard program/Function Module to update Invoices in an existing Dispute Case in FSCM

sudhakar_k6
Participant
0 Kudos

Dear all,

There is client requirement to integrate complaints created in SFDC (Sales Force Dot Com) and dispute created in FSCM. For one of scenarios, if dispute is created in SFDC, data should flow to ECC with FI document/company code/year/reason code and dispute case should be automatically created in FSCM and linked to FI document in ECC. Now, if there is a change in the invoice linked to SFDC complaint, we need to update the same in the FSCM dispute case. Do we have Standard Program/Function Module to update invoices in an existing dispute case in FSCM.

Thanks and Regards,

Sudhakar

Accepted Solutions (1)

Accepted Solutions (1)

sanilbhandari
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi

You can look at the below:

BAPI_DISPUTE_ATTRIBUTES_CHANGE

Regards



Sanil Bhandari

0 Kudos

Hi Sanil,

Above mentioned BAPI does not have Object(VBRK/BSEG) as parameter to  modify (Invoices linked to a existing dispute case).

Regards,

Shrinath Kini

sanilbhandari
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Shrinath

You are correct. The existing invoices cannot be updated, but only the dispute case attributed can be changed. However, if one is looking at changing the documents itself, a second loop can be done probably by calling up FM, FI_ITEMS_MASS_CHANGE. The inputs can be done only for Accounting document and not for sales invoice since the Application area is different. You already have the document no in the dispute case, so you should be able to do the same.

Regards


Sanil Bhandari

0 Kudos

Hi Sanil,

Here we are  trying to change the Invoice/Accounting doc (suppose A) linked to existing dispute case to a  new Invoice number ( say B).Business scenario would be when Case is created in SFDC with incorrect invoice initially and is corrected at a later point of time. Then the modification in the Invoice number  should be updated  in existing  FSCM  dispute case.

Above FM, FI_ITEMS_MASS_CHANGE is used update existing fields of an accounting document. Apologies, may be I would have stated my requirement incorrectly

Regards,

Shrinath Kini

sanilbhandari
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi

Please check BAPI_DISPUTE_PROCESS or FDM_AR_CDIS_ADD_ITEM. You should be able to add or remove items from a dispute case using this.

regards


Sanil Bhandari

0 Kudos

Hi Sanil,

Thanks a lot, we would check the above FM and provide an update on this.

Regards,

Shrinath Kini

0 Kudos

Hi Sanil,

The Invoice number got changed in the Dispute case, but in ECC in the table FDM_DCPROC there is difference in the field NEW_CLASS field which gets updated when we manually add invoice and when we add via the above FM.

When manually updating, below are the values:

DISP_INV,INFO_BILL,CDIS_INV,CDIS_BILL

When updated using the FM:

CDIS_CRED,CDIS_BILL

Not sure why is there a difference and if this might result in inconsistency if we use the FM.

Regards,

Shrinath  Kini

sanilbhandari
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi

You have to get it checked by an ABAPER or read the program documentation. I will not be able to help on the same.

regards

Sanil Bhandari

0 Kudos

Hi Sanil,

Thanks a lot for the inputs, we have asked ABAP to check this.

Regards,

Shrinath Kini

Answers (1)

Answers (1)

0 Kudos

Hi Sudhakar,

In the above scenario you trying to automate the process of updating Invoices in an existing dispute case  at FSCM/ECC side based on the update you receive from a third party tool?

Regards,

Shrinath Kini