/scripts/ahub.form.attachments.js
0

Invalid valid value '1470000113' in Enum 'ApprovalTemplatesDocumentTypeEnum'

Jan 18, 2017 at 06:49 PM

37

avatar image
Former Member

I'm trying to update over DI API (activate) an Approval Template with selected doccument Internal Requisition > Purchase Request.

But when I call the UpdateApprovalTemplate method, I recieve this error:

"Invalid valid value '1470000113' in Enum 'ApprovalTemplatesDocumentTypeEnum', the valid values are '23', '17', '15', '16', '203', '13', '14', '132', '22', '20', '21', '204', '18', '19', '59', '60', '67', '540000006', '1250000001', '46', '1470000065', '10000071', '310000001'"

How can I do this?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
DIEGO LOTHER Jan 18, 2017 at 07:56 PM
1

Hi Rafael,

I saw the SDK help center, and this option is not available on the enum ApprovalTemplatesDocumentTypeEnum. Maybe you can open a ticket to SAP Support about this, because when you load a Approval Template that contains Internal Requisition > Purchase Request, and try to read the value from DocumentType you get an exception.

Hope it helps.

Kind Regards.

Diego Lother

Share
10 |10000 characters needed characters left characters exceeded
Skip to Content