on 12-12-2009 12:07 PM
Hi,
scenario is IDOC -> File
I am getting sales org(VKORG) in source idoc and this have to be comverted into Country code(VKORG) in target side.
IR:
---
In the mapping of theVKORG field, Value mapping function is used and I have defined Context :http://sap.com/xi/XI ,Agency: XXX Schema: YYYY
ID:
--
I have created Value mapping by going to tools->value mapping and maintained the list of values in table with group id:ZZZ
My pbm is If i give the payload in message mapping and test it.. then the value mapping is working fine..(ie,In Target side,sales org is getting converted to country code in VKORG field.)
but if i trigger an idoc with sales org in field VKORG, output file is getting created but sales org is not getting converted to CountryCode.
What is the problem and How to resolve this..??
Thanks
Kiruthi
Check the trace in SXMB_MONI for the message, in case the value mapping doesnt work at runtime the trace contains an entry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Refer to compare your configuration
/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
Try activating value mapping group in ID once and see if it reflects in cache and runtime
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> My pbm is If i give the payload in message mapping and test it.. then the value mapping is working fine..(ie,In Target side,sales org is getting converted to country code in VKORG field.)
Do you mean when your are testing it under Test Tab in message mapping by using the payload values then it is working? If you ans is yes then you are getting wrong result because value mapping works only at run time. Secondly if value is not maintained in value mapping table then it returns the same value to target field.
>
> but if i trigger an idoc with sales org in field VKORG, output file is getting created but sales org is not getting converted to CountryCode.
You can make sure if it is working or not under RWB. Go to RWB -->Cache Monitoring and the enter your agency & schema and then give the source value and see if it returns the correct result or not.
Also check again if you have maintained the correct agency & schemaa in MM.
Also try to refresh the cache because most of the time it happens because of cache problem.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Follow this link and go through page no 3 & 4 to find, how to check vaulue mapping results in java cache..
Hi, ValuMapping only work in runtime, you won't see result if your test your mapping by test tab, if you need hep abou Valu Mapping see this article.
Regards
Marco
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.