ESS/MSS - Floor Plan Manager - DC Model Modification
We are working on ESS/MSS business package based on FPM framework (WebDynpro). We have a small requirement but implementation of this is causing hell lot of problem. So I am looking for expert opinion on this.
We are modifying Address Data DC for a specific country. This DC (essXXaddr) component is taking data from IT0006 (Address Infotype).
Requirements: Introduces additional fields (Not a Z field) on Address DC component (essXXaddr) from IT0105 (Communication) and update the same when user saves address data.
[<b>u]Solutions we tried are:</u></b>
1. Create another model in DC based on Function Group:
and update SAP using its RFC.
<b>Problem:</b> Throwing error. If we debug the call in the SAP (ABAP side), we can see that the container (ABAP) is taking value of infotype 0006 and not 0105 when making a call to communication model and we are getting errors.
2. Create a ZRFC model in DC based on Function Group : Z_XX_P0105 and update SAP using this RFC.
<b>Problem :</b> Read operation is working fine. But modify operations is again throwing RFC_EXCEPTION. The RFC is working fine if called from in ABAP and update data as required but the call from DC is causing some context problem.
Also the problem associated with this solution is When to update the data? As such the standard MODEL HRXSS_PER_P0006_XX is saving data on pressing of SAVE Button and not on pressing on REVIEW button. But on pressing REVIEW button the DC is calling the MODIFY Std RFC and storing the data in the buffer and committing the work when SAVE button is pressed.
What should be the solution of this problem?
Thanks in Advance.
Note: We are using the correct Country specific DCs and RFC's. (XX -> DE, US etc)