Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Parameters for 'BAPI_DISPUTE_CREATE'

Former Member
0 Likes
2,227

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

4 REPLIES 4
Read only

Former Member
0 Likes
1,386

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..

Read only

0 Likes
1,386

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

Read only

Former Member
0 Likes
1,386

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?

Read only

0 Likes
1,386

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.