cancel
Showing results for 
Search instead for 
Did you mean: 

Dispute Management: Change Reason code Dropdown based on Category

Former Member
0 Kudos

Dear Experts,

We are having a requirement to dynamically change the reason code drop down(in t-codes SCASE/UDM_DISPUTE) based on the category being selected.

For example: if they select category A, the available values for reason should dynamically change based on a grouping logic.


We see an option in SPRO config to create an alternative input help,


Finanacial Supply Chain Management -> Dispute Management -> Dispute Case Processing -> Attribute Profile -> Create Alternative Input Help for Attributes


Kindly let us know how to make use of this and if any enhancement / BADI's are available to achieve this functionality.


Any feedback is greatly appreciated. Thanks a lot.


Regards,

Anil.





Accepted Solutions (0)

Answers (5)

Answers (5)

joyesh_sarkar2
Employee
Employee
0 Kudos

You need to create a customer class implementing the standard interface

IF_SCMG_ATTR_F4_CALLBACK. The method IF_SCMG_ATTR_F4_CALLBACK~PROCESS_F4 of this interface would be called everytime you press F4 on your custom field. And, you can prepare the F4 help based on other attribute values.

Ensure to uncheck the dropdown in attribute profile for "reason code"

Former Member
0 Kudos

Hi Anil,

Does you issue solved,

I am having the similar issue in FSCM(UDM_Specialist) to hide some of the inactive reason codes in the drop down REASON in tcode UDM_SPECIALIST.


Can you please let give some inputs  how to do this and if any BADI's are available to overcome this.

Thanks,

Revanth,

former_member228809
Participant
0 Kudos

Hi Anil..

I solved very similar issue using enhancement.

First configure all reason code and remove useless reason code in enhancement.

It's very complex because different code is called when you use different t-code to create dispute case and there's no othere useful values.

To control reason code based on company code(In my case)

Removal of reson code...

CL_SCMG_ATTR_F4_CALLBACK->GET_REASON_DROP_DOWN : t-code udm_dispute

Function FDM_COM_REASONS_READ : t-code fbl5n

Export company code...

CL_SCMG_CASE_VISUALIZATION_WIN->VISUALIZATION : t-code udm_dispute

Function FDM_AR_UI_DISPUTE_CREATE : t-code fbl5n

Function FDM_COLL_DISPUTES_GET : t-code fb03

I know it's not kinda smart logic but I don't have any better way.

Is there anyone having smarter solution??

Former Member
0 Kudos

Hi Anil,

Please refer to the below link for the BADi used in Dispute Case Processing.

http://help.sap.com/saphelp_afs64/helpdata/en/58/f01e3f41989310e10000000a114084/content.htm

SCMG_VALIDATE_C - This BADi might give you an option during case change/creation to apply your requirement.


Moreover maintain all the reason code s before hand in config, which I am sure you have.


Cheers!

ankur_kabir
Participant
0 Kudos

See if these two BADIs can help you. SCMG_CHNG_BFR_STR_C and FDM_AR_DISP_COMPLETE