on 2023 May 19 2:47 PM
Hi Experts ,
We are trying to replicate products from S4 to CPQ by using the "Simple Product Administration SOAP API" and as an input parameter we are passing the correct CPQ Admin username and password with action "ADDORUPDATE" , but in response we are getting the error as "Invalid login username/password supplied".
We have checked the username and password and its working fine when we are logging to system. We have tried by passing only username as well as by passing domain also (username # Domain).
Not sure whether we need to activate something or we are missing something.
so experts need your help in resolving this minor and silly issue .
attached screenshot for reference in which user has marked as admin and still getting the error
Regards
Prasanth
Request clarification before answering.
Hi,
First of all, please use API ImportMaterialsFromERP instead of SimpleProductAdministration when doing the integration between SAP CPQ and SAP S/4HANA:
Make sure the field "isSyncedFromBackOffice" is set with value "TRUE" so that SAP CPQ will recognize the products from S/4HANA.
Secondly, please pass the username and password in the request header using basic authentication rather than send them via request payload.
Last, with the new SAP CPQ URL effective, please send request to the API address using the new host URL. With the new host URL, domain should NOT be maintained in the username any more.
Best Regards
Fancy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Fancy
Please find the below XML file which we are passing here i have removed the username domain and password but in actual we are passing the correct credentials.
http://schemas.xmlsoap.org/soap/envelope/"; xmlns:web=" http://webcominc.com/">;
<soapenv:Header/>
<soapenv:Body>
<web:ImportMaterialsFromERP>
<web:username>"Username"#"Domain"</web:username>
<web:password>"Password"</web:password>
<web:xDoc>
<Products>
<Product>
<Identificator>ProductSystemId</Identificator>
<ProductSystemId>TNC_5G_GOLD1</ProductSystemId>
<PartNumber>TNC_5G_GOLD1</PartNumber>
http://www.w3.org/2001/XMLSchema-instance"/>;
<IsSyncedFromBackOffice>True</IsSyncedFromBackOffice>
<UnitOfMeasure>EA</UnitOfMeasure>
<Categories PreselectInCPQ="True"/>
<ProductName>
<USEnglish>TNC 5G Data</USEnglish>
</ProductName>
http://www.w3.org/2001/XMLSchema-instance"/>;
http://www.w3.org/2001/XMLSchema-instance"/>;
</Product>
</Products>
</web:xDoc>
</web:ImportMaterialsFromERP>
</soapenv:Body>
</soapenv:Envelope>
prasanth11
can you check that user can able to login to CPQ ? Also check if user has proper User Type and Company assigned ? If it doesn't work.. let me know
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.