My Oracle Support Banner

PRC: SSP: Soap Web Service Error Due to hyphen in the Segment Value of Charge Account (Doc ID 2897884.1)

Last updated on OCTOBER 24, 2022

Applies to:

Oracle Fusion Self Service Procurement Cloud Service - Version 11.13.22.01.0 and later
Oracle Fusion Self Service Procurement - Version 11.13.21.01.0 and later
Information in this document applies to any platform.

Symptoms

The customer uses the value with a "-" (hyphen) as one of the Charge Account Segment values.
In this case, if use createRequisition of SOAP Web service using SOAP UI,
ChargeAccountSegment will be an error and REQ cannot be created. Even Specifying the CCID directly will result in the same error.

From the UI, we can enter the segment value of charge account without any problem even if there is a hyphen, but it looks like "\" is added.

But in SOAP It did not work even if I added \ like the screen display.



ERROR
-----------------------

<ns0:Status>ERROR</ns0:Status>
<ns0:PurchaseRequestOutputReqDistError>
<ns0:ErrorMessageText>The value of the attribute Charge Account isn't valid.</ns0:ErrorMessageText>
<ns0:ErrorMessageCode>FND_CMN_INVALID_ATTRB_API_SERV</ns0:ErrorMessageCode>
</ns0:PurchaseRequestOutputReqDistError>
<ns0:PurchaseRequestOutputReqDistError>
<ns0:ErrorMessageText>FND FLEX-VALUE DOES NOT EXIST VALUESET XXXXXXX XXX_LEDGER01 SEGMENT XXXXXXX VALUE "11-1"</ns0:ErrorMessageText>
<ns0:ErrorMessageCode>FND_CMN_INVALID_ATTRB_API_SERV</ns0:ErrorMessageCode>
</ns0:PurchaseRequestOutputReqDistError>


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Register values including hyphens in segment values
2. Perform SOAP Web service using segment value with hyphen

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.