SAP Cloud SDK : Mass Update Account through ECC to C4C using Web Service Integration
Scenario : We have 20 custom fields into ECC system and same fields we have created into C4C using KUT and extend standard web service Query Account and Manage Account.
We have created Communication System using ECC host-name and Create Communication Arrangement for Query Account and Manage Account using newly created Comm. System. In this Comm. Arrangement we are using Authentication method "Username and Password" and same user / pass used into ECC system while creation of Logical Port.
When we ping Web Service Test we got the Successful message.
In ECC we have custom table with Account ECC ID and all custom 20 fields
|Account ID / External ID||Value1||Value2||Value3|
We have created custom report to mass update Account into C4C using External ID and we have implement this logic.
1) select all record from ZECCTABLE to ITAB.
2) loop into ITAB and fill InPort parameter of Query Account to request with ECC Account ID / C4C External ID and in response read C4C Internal ID.
3) Collect all record and fill FINALTAB with C4C Internal ID and all 20 custom fields with value and request to Manage Account to update C4C Account using C4C Internal ID.
Issue 1: Sometime when we run report we are getting pop-up to ask username and password as shown below.
this pop-up is asking username and password for C4C that we have used into Logical Port once we go to C4C Communication Arrangement and check Technical tab and click on button "Edit Credential" in that there is 1 checkbox called "Locked Password" and its checked once I un-checked and Save and Re-active Comm. Arrang. and run the same report we are not getting pop-up.
Question: Why and How the Password locked into C4C under Comm. Arrangement because we have maintained same username and password in both the system.
Question: What is the solution for this ?
Issue 2: when we club all (assume 1000 records) data from ECC and prepare table to pass / request into Query Account to read C4C internal ID some time getting error called "HTTP_NO_MEMORY".
When we run report for single Account its working fine also I tried with 20 records and working fine without any error but if I am using 1000 records I am getting error as mentioned above.
Also I tried to run this report into background job but getting same problem
Question 1: Can we pass multiple records (Assume 1000 records) into Query Account with C4C ECC ID / External ID and read multiple records from C4C?
Question 2: Is there any limitation to pass no of records into Request? If yes then what if no then why its giving this error?
Please anyone have any idea how to solve this.
If anyone want more details i will provide you.