cancel
Showing results for 
Search instead for 
Did you mean: 

/SAPAPO/SDRQCR21 Material enhancement

nairharsha
Participant
0 Kudos
295

Hi

Is there any way to change the Material value while this report is comparing?

In my scenario, APO has Material value in the format ABCD#123 while R3 has it as ABCD

Please let know how I can enable proper comparison. Urgent , Please help

Accepted Solutions (0)

Answers (1)

Answers (1)

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello,

You can use BAdi /SAPAPO/SDRQCR21_APO.

Or BAdi /SAPAPO/CIF_DELTA3 method ~RELEVANT_FOR_COMPARE_R3_SLS to convert_master_data. We has used same to convert backward-slash and forward-slash materials.

Best Regards,

R.Brahmankar

nairharsha
Participant
0 Kudos

Hi rupesh.brahmankar3

Thankyou. Tried adding logic in /SAPAPO/SDRQCR21_APO~CHANGE_REQS_AFTER_SELECTION , but it doesn't seem to work

Will try with /SAPAPO/CIF_DELTA3-convert_master_data

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello,

Badi /SAPAPO/CIF_DELTA3 method ~RELEVANT_FOR_COMPARE_R3_SLS should help.

Also you need such changes for other object comparison too like production/planned , purchase orders etc.

Best Regards,

R.Brahmankar

nairharsha
Participant
0 Kudos

Hi rupesh.brahmankar3

It is not working in my scenario, the report is generating wrong comparison result, Please help me with some pseudo-code if u have any

rupesh_brahmankar3
Active Contributor

Hello,

Please refer screen below screen shot of master data conversion

Also implement SAP note 2351441 - /SAPAPO/SDRQCR21: incomplete selection based on product and/or location criteria

Best Regards,

R.Brahmankar

nairharsha
Participant
0 Kudos

Hi rupesh.brahmankar3

Thankyou , But the above class method is not triggering in my scenario, It is only hitting /sapapo/if_ex_cif_delta3~convert_master_data and this method does not have any parameter containing Order information like CT_R3_ORDER

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello,

Are you using S4H or APO? And what is system release?

Refer SAP note 2239355 - BADI /SAPAPO/CIF_DELTA3 - add parameter CT_APO_ORDER has this parameter.

Also run report /SAPAPO/CRR and check is it triggers this enhancement

Best Regards,

R.Brahmankar

nairharsha
Participant
0 Kudos

Hi

I am running the SDRQCR21 report in APO system

SCM an SCMAPO release is 714

the CCR reports triggers the BADI BADI /SAPAPO/CIF_DELTA3~~RELEVANT_FOR_COMPARE_R3_SLS , but this method is not triggered by SDRQCR21 report, SDRQCR 21 only hits method /SAPAPO/CIF_DELTA3-convert_master_data

rupesh_brahmankar3
Active Contributor

Hello,

Have you implemented SAP note 2351441 - /SAPAPO/SDRQCR21: incomplete selection based on product and/or location criteria??

Best Regards,

R.Brahmankar

rupesh_brahmankar3
Active Contributor

Hello,

And here is code of BADI : /SAPAPO/CIF_DELTA3 Method: CONVERT_MASTER_DATA

method /SAPAPO/IF_EX_CIF_DELTA3~CONVERT_MASTER_DATA_APO.
data l_CT_EXT_MATNR type /SAPAPO/EXT_MATNR_STR.

loop at CT_EXT_MATNR into l_CT_EXT_MATNR where EXT_MATNR cs '\'.
translate l_CT_EXT_MATNR-EXT_MATNR using '\/'.
modify CT_EXT_MATNR from l_CT_EXT_MATNR.

endloop.

Best Regards,

R.Brahmankar

nairharsha
Participant
0 Kudos

Hi rupesh.brahmankar3

Thankyou for helping with the analysis, The issue was resolved by adding the material conversion logic in

BADI_SDRQCR21_APO~CHANGE_REQS_COMPARISON_RESULT at S4 end

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello,

It's good to hear that your issue got resolved. Please close the discussion.

Best Regards,

R.Brahmankar