SAP Virtual/Onsite Trainings

Document Categories:

What's New?

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials 


Join the Mailing List
Enter name and email address below:
Name:
Email:
Subscribe  Unsubscribe 

Demo on Dynamic Mapping using Field Symbol

By Rahul Manoj Mahajan, John Deere India

Introduction:

In this article we will see a demo on dynamic mapping using Field Symbol concept. This will be helpful in a scenario where we want to copy the contents of more than one table to a single table without overwriting the already copied contents.

Steps:

1) Create the simple program as shown below.

 

2) Create the sample program for a scenario where we want to copy the content from more than one table to single table without overwriting the already copied contents.

Here we will take a scenario where we will try to map the fields from structure t_copy1 and t_copy2 to wa_mara.

Since this is a demo program, I have copied one record from MARA table first and then move the corresponding values to structures wa_copy1 and wa_copy2. This is now the valid scenario.

In this case, we should have a code in such way that mapping of fields from structure wa_copy1 to wa_mara should happen and later from wa_copy2. However, the mapping should not happen twice.

Click here to continue...

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image