cancel
Showing results for 
Search instead for 
Did you mean: 

SRM GR Cancellation Problem

EmersonTosin
Explorer
0 Kudos

Hello Folks,

I'm developing a program to create a GR Cancellation. I used the classes /sapsrm/if_pdo_bo_conf_adv and /sapsrm/if_pdo_bo_conf, but it is showing the following error message: "Order 2002003243 does not contain items for confirmation". It makes sense as I want to cancel the confirmation and not create another. But I need to create a new instance (Code below) . Does anyone have any suggestions? I'm on SRM 713 0023

See the developed code below:

Thanks,

View Entire Topic
laurent_burtaire
Active Contributor
0 Kudos

Hello Emerson,

if you want to cancel a confirmation, this means subtype will be 'CA' and reference document will be the Confirmation you want to cancel, not the Purchase order.

Regards.

Laurent.