‎2010 Dec 21 2:44 PM
Hi Experts,
My requirements is to create a dispute case for open items. I have some values like 'Company Code', 'Customer' and 'Document Number'. I am not sure about how to pass these value to the bapi 'BAPI_DISPUTE_CREATE'. But this BAPI is having some mandatory import parameter like 'CASE_GUID' and 'CASE_TYPE'. Can some one help me to understand about these parameters? Is there any relation between the fields 'Company Code', 'Customer' and 'Document Number', with the bapi parameter 'CASE_GUID'?
Thanks in Advance,
Senthil J
‎2010 Dec 22 9:08 AM
Hi,
I am sending you the function module with documentation...Please check it.
CALL FUNCTION 'BAPI_DISPUTE_CREATE'
EXPORTING
case_guid_create = " bapi_dispute_split-case_guid FSCM-DM: GUID (Internal Key of Dispute Case)
case_type = " bapi_dispute_split-case_type FSCM-DM: Case Type
* testrun = " bapi_dispute_flags-testrun Switch to Simulation Session for Write BAPIs
* update_task = 'X' " bapi_dispute_flags-update_task FSCM-DM: Update Indicator
* amounts_delta = " bapi_dispute_amounts FSCM-DM: BAPI - Amounts
IMPORTING
case_guid = " bapi_dispute_split-case_guid FSCM-DM: GUID (Internal Key of Dispute Case)
return = " bapiret2 Return parameter
* TABLES
* attributes = " bapi_dispute_attribute FSCM-DM: Attribute Value
* notes = " bapi_dispute_note Text Lines for Notes for Dispute Case
* filecontent = " bapi_dispute_filecontent FSCM-DM: File content for Dispute Attachment
* objects = " bapi_dispute_object FSCM-DM: Objects
. " BAPI_DISPUTE_CREATE
Regards,
Suvajit..
‎2010 Dec 22 9:58 AM
Hi Suvajit,
Thanks for your information. But my doubt is about the parameters 'CASE_GUID_CREATE' & 'CASE_TYPE'. In order to create a dispute case what values i have to pass to these parameters?
Thanks & Regards,
Senthil J
‎2012 Jan 24 10:50 AM
Are there any examples out there of the type of values to pass to the parameters of the function module BAPI_DISPUTE_CREATE.
Did you find any solution to this?
‎2013 Sep 03 11:13 AM
To run BAPI_DISPUTE_CREATE
CASE_GUID_CREATE is GUID generated from GUID_CREATE function module
CASE_TYPE and CASE TYPE from configuration (table SCMGCASETYPE)
The rest is tables of object that you'd like to include in the processing.