Quantcast
Viewing all articles
Browse latest Browse all 3184

SRM 7.0 Approval note update

Hello SRM experts,

 

I have an requirement to update SC approval note from any function module/Class.

I was trying to use below method to update. unfortunately it is not working. I may missing something i guess. Can you please someone help us to resolve the issue to update SC Approval note

 

Is there any other was to update the approval text?

 

lo_sc1 = /sapsrm/cl_pdo_factory_sc_adv=>get_instance(
iv_header_guid
= iv_document_guid
iv_mode
= /sapsrm/if_pdo_constants_gen_c=>GC_MODE_EDIT
IV_WIID
= iv_workflow_id
IV_USER_ID
= 'xxxx' "'<<approver>>'
IV_USER_LANGUAGE
= 'E'
).

 

lo_sc1 ->/sapsrm/if_pdo_do_longtext~update_longtext(
EXPORTING
iv_p_guid
= iv_document_guid
iv_tdid
= 'NOTM'"iv_tdid'
iv_tdspras
= 'E'"iv_tdspras
iv_tdformat
= 'X'""
iv_text_preview
= 'iv_text_preview') .

 

 

Thank you

Magesh


Viewing all articles
Browse latest Browse all 3184

Trending Articles