2006 Dec 04 2:36 PM
hi,
customer wants india as same as india not as IN in our lsmw one option is there in field mapping what is that?but in sap r/3 it permits only IN?how it is possible?
2006 Dec 04 2:42 PM
Hi
Define the field in the Source Structure as CHAR10 or so that the value 'INDIA' comes in the file
then in the Maintain Field Mapping and Conversion Rules option for that option
click on Rule ->Abap Code
In the Screen which appears
write the code
IF source_structure-fieldname = 'INDIA'.
SAP-structure-fieldname = 'IN'
ENDIF.
Hope this helps
hi,
customer wants india as same as india not as IN in our lsmw one option is there in field mapping what is that?but in sap r/3 it permits only IN?how it is possible?
2006 Dec 04 2:42 PM
Hi
Define the field in the Source Structure as CHAR10 or so that the value 'INDIA' comes in the file
then in the Maintain Field Mapping and Conversion Rules option for that option
click on Rule ->Abap Code
In the Screen which appears
write the code
IF source_structure-fieldname = 'INDIA'.
SAP-structure-fieldname = 'IN'
ENDIF.
Hope this helps
2006 Dec 04 2:43 PM
here u need to change the original transaction if u want to get like client requirement becoz in db it saves as in only if u want to make it to change it as india u have to go for enhancement for this u require one screen exit or u need to have one exit with which u can convert in into india and store it in customized fields
2006 Dec 04 2:55 PM
define the field structure as Char 10 and pass INDIA...while updating write code as if 'INDIA' then put as IN
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |