Quantcast
Channel: SCN: Message List - Supplier Relationship Management (SAP SRM)
Viewing all articles
Browse latest Browse all 6690

Re: How to Close Contract using BAPI or FM in SRM 7

$
0
0

Hi Praveen

 

I think that you should already solve your problem, but anyway, I found a solution for this.

You can get this 'RELEASED' status through the interface /sapsrm/if_pdo_bo_ctr, method release.

Try this sample code:

 

lo_msg_consumer = NEW /sapsrm/cl_pdo_msg( ).

 

lo_pdo_ctr = /sapsrm/cl_pdo_factory_ctr_adv=>get_instance( iv_header_guid = lv_guid

                                                            iv_mode        = lv_mode ).

 

lo_pdo_ctr->/sapsrm/if_pdo_bo_ctr~release( CHANGING co_message_handler = lo_msg_consumer ).

 

 

CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'.

 

COMMIT WORK.




Regards


Viewing all articles
Browse latest Browse all 6690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>