2016 Mar 07 2:12 PM
Hi,
could you please tell me what type of code should we pass in the FILECONTENT
where "FILECONTENT" is the Table Parameter in this BAPI "BAPI_DISPUTE_ATTRIBUTES_CHANGE".
2016 Mar 07 2:19 PM
Check the BAPI parameters in SE37:
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(CASE_GUID) LIKE BAPI_DISPUTE_SPLIT-CASE_GUID
*" VALUE(TESTRUN) LIKE BAPI_DISPUTE_FLAGS-TESTRUN OPTIONAL
*" EXPORTING
*" VALUE(RETURN) LIKE BAPIRET2 STRUCTURE BAPIRET2
*" TABLES
*" ATTRIBUTES STRUCTURE BAPI_DISPUTE_ATTRIBUTE
*" NOTES STRUCTURE BAPI_DISPUTE_NOTE OPTIONAL
*" FILECONTENT STRUCTURE BAPI_DISPUTE_FILECONTENT OPTIONAL
*"----------------------------------------------------------------------
Double click on the structure (or open it in SE11):
| FILE_ID | BDM_BDFILEID | NUMC | 3 | 0 | SAP Dispute Management: Volgnummer van te creëren bijlagen |
| CONTENT_LINE | BDM_CLINE | RAW | 255 | 0 | SAP Dispute Management: Regel van inhoud binair bestand |
| COMP_ID | BDM_DOCID | CHAR | 255 | 0 | SAP Dispute Management: Document-ID |
| MIMETYPE | BDM_MIMETYPE | CHAR | 128 | 0 | SAP Dispute Management: MIME-type |
| COMP_SIZE | BDM_COMP_SIZE | INT4 | 10 | 0 | SAP Dispute Management: Grootte van document |
2016 Mar 07 2:22 PM
I don't know this BAPI, but a quick look at the structure definition for file content shows me that first of all it is optional and second it is used to create an attachment. You need to fill the fields according to their description. Have you tried anything sofar ?
The fields of this structure are filled from the application SAP Biller Direct in order to attach files to dispute cases. Their meanings are:
FILE_ID Sequential number
CONTENT_LINE Line for binary document content
COMP_ID Name of attachment
MIMETYPE Type of document
COMP_SIZE size of document in bytes
2016 Mar 07 2:35 PM
I already know about the structure of the FILECONTENT .
Is there any demo example exactly what type of code need to be written for the FILECONTENT.
is there any example is there
2016 Mar 07 2:36 PM
I already know about the structure of the FILECONTENT .
Is there any demo example exactly what type of code need to be written for the FILECONTENT
2016 Mar 07 2:40 PM
But what did YOU try already if anything ? The descriptions are pretty clear with what to fill, so try it out first before asking. If you did try already, what did you try and what was the result (error ?) ??
2016 Mar 07 2:47 PM
If you push the where-used button in SE37 for said BAPI, a list is returned with the places where it is used.
2016 Mar 07 2:51 PM
I had already used the where used list but no one had used the FILECONTENT
2016 Mar 07 3:27 PM
And have you checked the other function modules that use the same table parameter? Ex. BAPI_DISPUTE_CREATE & BAPI_DISPUTE_PROCESS
PS.
Next time it might be easier for all of us that you state the steps you have taken already when starting a new thread.
2016 Mar 08 9:32 AM
I had kept break point for the BAPI_DISPUTE_CREATE & BAPI_DISPUTE_PROCESS and logged in tcode SCASE and creating dispute case at that time BAPI_DISPUTE_CREATE is triggering and in that FILE_CONTENT is blank we we had not attached any attachement and once i create a dispute case and we have a option to attach a attachment and it is not triggering the BAPI_DISPUTE_CREATE becuase dispute case is already created.
2016 Mar 07 2:35 PM
I already know about the structure of the FILECONTENT .
Is there any demo example exactly what type of code need to be written for the FILECONTENT