cancel
Showing results for 
Search instead for 
Did you mean: 

FM/BAPI/BADI used to save note texts in Tcode UDM_DISPUTE

arpitr
Participant
0 Kudos
625

Hi Experts,

Requirement : To update multiple dispute note texts through a custom program, multiple notes will have same text.

I have got FM 'BDM_DISPUTE_NOTE_GET' to retrieve old texts based on note GUID, BAPI_DISPUTE_ATTRIBUTE_CHANGE only changes reason code and other attribute, and not the text( I am just passing attribute, guid and old and new text, not sure whether its correct or not).

I tried FM SAVE_TEXTS which is used in UDM_DISPUTE to update new text added in the note, still note is not getting updated. I observed whenever new text is added in the note, table STXH is getting updated.

Please suggest a way to handle this.

Thank you

FredericGirod
Active Contributor
0 Kudos

for some SAP object, SAVE_TEXT does not work because you have a flag in the object table to specify if there is a text or not. So you will have to find the proper badi to update this text. Did you search with the transction code and the key word BAPI ?

anita_das
Member
0 Kudos

Hi Arpit,

Did you find any solution for the above query ? If it is already solved please provide the solution.

Thanks in Advance

Accepted Solutions (0)

Answers (1)

Answers (1)

Bohdan
Active Contributor
0 Kudos

Hi arpitr,

You can try these two BADIs - FDM_AR_DISP_COMPLETE & FDM_AR_DEF_NOTE.

The first BADI is generic one and is triggered every time when you create or edit the dispute case. I briefly mentioned this BADI in my post around enhancements in FSCM. You can use the parameter C_ADDITIONAL_NOTES to try to change the texts:

The second BADI looks to be dedicated to management of long texts. So maybe it will be more suitable.

Regards,

Bohdan