cancel
Showing results for 
Search instead for 
Did you mean: 

Move/ copy contents of custom field from the "Custom Data" tab of XD02 into a different tab

0 Kudos

Hi,

I am new to SAP Screen Personas. I am planning to move a custom field from the Custom Data tab of Customer master(XD02) to the "Control Data" tab under "General Data" section. Since the screen numbers are different and moving is not possible, I have created a new field in the "Control Data" tab and wrote a small script to pass the value from the original custom field (KNA1-ZADDRESS3) that is in the "Custom Data" tab to this new field and save the data. The script is linked to the enter button(on click) on the initial screen of XD02 so that whenever we enter XD02, this should happen. However, I do not see data in the new field when the script is executed. I have attached the screen-shots of both the tabs of XD02 that I have used.Can you please suggest me if I am doing anything wrong here?

Thanks,

Pavan

custom-data-tab.pngcontrl-data-tab.png

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Thank you Bryan. This worked.

Regards,

Pavan

Answers (1)

Answers (1)

bwills
Contributor
0 Kudos

Hi Venkata,

If you are trying to pass data from a SAP field to a Personas field on different tabs during the start of the transaction, I would put the script in the onLoad event.

Hope this helps.

Thanks,

Brian