‎2008 Dec 16 1:22 PM
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
‎2008 Dec 16 1:35 PM
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
‎2008 Dec 16 1:35 PM
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