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

BAPI_DISPUTE_ATTRIBUTES_CHANGE

Former Member
2,875

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

10 REPLIES 10
Read only

Patrick_vN
Active Contributor
0 Likes
2,433

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_IDBDM_BDFILEIDNUMC30SAP Dispute Management: Volgnummer van te creëren bijlagen
CONTENT_LINEBDM_CLINERAW2550SAP Dispute Management: Regel van inhoud binair bestand
COMP_IDBDM_DOCIDCHAR2550SAP Dispute Management: Document-ID
MIMETYPEBDM_MIMETYPECHAR1280SAP Dispute Management: MIME-type
COMP_SIZEBDM_COMP_SIZEINT4100SAP Dispute Management: Grootte van document


Read only

PeterJonker
Active Contributor
0 Likes
2,433

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 ?

FSCM-DM: File content for Dispute Attachment

Description

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

Read only

0 Likes
2,433

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

Read only

0 Likes
2,433

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

Read only

0 Likes
2,433

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 ?)  ??

Read only

0 Likes
2,433

If you push the where-used button in SE37 for said BAPI, a list is returned with the places where it is used.

Read only

0 Likes
2,433

I had already used the where used list but no one had used the FILECONTENT

Read only

0 Likes
2,433

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.

Read only

0 Likes
2,433

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.




Read only

Former Member
0 Likes
2,433

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