Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Making append to Table MARM work with data migration

Former Member
0 Likes
560

Hi ABAP,

my Task is to enhance Table MARM.

We need to be able to mark one of the units of measurement as "jurustic unit", so i appended a character 1 field to Table MARM.

The data transport from and to the dynpro works fine and it gets saved in database as well.

But now i hear from my consultant that my enhancement needs to work for data migration as well.

Now we are in a Retail System, means we have following FB to change materials:

BAPI_MATERIAL_MAINTAINDATA_RT.

normally there are some import parameters with ending "ext" and "extx" to tell him what to do with the fields which were enhanced in the tables.

e.G. for Table MBEW

VALUATIONDATA STRUCTURE BAPIE1MBEWRT OPTIONAL

VALUATIONDATAX STRUCTURE BAPIE1MBEWRTX OPTIONAL

VALUATIONEXT STRUCTURE BAPIE1MBEWEXTRT OPTIONAL

VALUATIONEXTX STRUCTURE BAPIE1MBEWEXTRTX OPTIONAL

well for MARM we DONT have this "ext" and "extx" structures.

and now? do i need to modify the structures

UNITSOFMEASURE STRUCTURE BAPIE1MARMRT OPTIONAL

UNITSOFMEASUREX STRUCTURE BAPIE1MARMRTX OPTIONAL?

and well now you say why modify if you can append, well i CANT append since the enhancement category of these structures is set to "Not enhanceable"

anyway even if i do so, i probably need to enhance some routines in the FB as well to make the mapping.

Any ideas, hint? Someone already overcame this?

I´m kinda drowned with this task so any Help or tip maybe helpful. Thanks

yours rippo

/corrected typos

Edited by: Florian Kemmer on Dec 16, 2008 2:23 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
387

Hi

U can try to enhance the BAPI structure in order to insert your new fields and then create an implicit enhance in the BAPI in order to manage your new fields.

Max

1 REPLY 1
Read only

Former Member
0 Likes
388

Hi

U can try to enhance the BAPI structure in order to insert your new fields and then create an implicit enhance in the BAPI in order to manage your new fields.

Max