cancel
Showing results for 
Search instead for 
Did you mean: 

saving data from interactive form on webDynpro to ECC

Former Member
0 Kudos

HI,

I have an interactive form on webDynpro that is open for edit and allows new row entries in table.

How can i save this information in the ECC ?

Thanks,

Udi

Accepted Solutions (1)

Accepted Solutions (1)

chintan_virani
Active Contributor
0 Kudos

Well dynamic tables in Web Dynpro are NOT supported because there is no automatic context updation on WD side whenever you create new rows in Adobe.

There are couple of workarounds mentioned by other folks here earlier like on every row creation, trigger a submit event and then create the context manually etc.

So would suggest you to Search on SCN as it has been discussed at length previosly.

Answers (4)

Answers (4)

Former Member
0 Kudos

Sorry - my previous post got interrupted.

I assume that your form interface is in XML format.

My scenario is:

1. WDA application has Interactive form HR_PAR.

2. User calls the application and enters data into HR_PAR. While in the application he saves the form on his PC for example.

3. The form may be sent thru regular email from User to User for approval/

4. After the form is approved we want to capture the data on the form and enter the data into ECC.

I capture data on the form using transformation:

1. Upload the form into Rawdata table using cl_gui_frontend_services=>gui_upload

2. convert Rawdata into Xstring which is XML data.

CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'

3. Make the XML envelope compliant with identity transform.

4. CALL TRANSFORMATION id

SOURCE XML lv_dtl1_tot " XML

RESULT lv_dtl1_tot = ls_dtl1_tot. .

The transformation returns data in ls_dtl1_tot structure.

Please note that It is very helpful to use the same DDIC structure (ls_dtl1_tot in this case) in WDA context bound to the form.

The transformation id works for me.

Regards,

tatyana

Former Member
0 Kudos

I assume that your form interface is in XML format.

My scenario is:

1. WDA application has Interactive form HR_PAR.

2. User calls the application and enters data into HR_PAR. While in the application he saves the form on his PC for example.

3. The form may be sent thru regular email from User to User for approval/

4. After the form is approved we want to capture the data on the form and enter the data into ECC.

I capture data on the form using transformation:

1. Upload the form into Rawdata table using cl_gui_frontend_services=>gui_upload

2. convert Rawdata into Xstring which is XML data.

CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'

3. Make the XML envelope compliant with identity transform.

4. CALL TRANSFORMATION id

SOURCE XML lv_dtl1_tot

RESULT lv_dtl1_tot = ls_dtl1_tot. .

The

Former Member
0 Kudos

Hi,

Can you tell me how to get the form data without using XML?

Thanks,Noa

Former Member
0 Kudos

Hi,

just to make sure, Is ther any way i can save the data in interactive form to ECC without using XML?

thanks,Noa.

chintan_virani
Active Contributor
0 Kudos

I think XML output is necessary in regards to Offline form, when you have an online form you normally take the form data and use a BAPI/RFC to update the ECC with it.