on 01-19-2010 1:48 PM
Hi
My question is regarding the standard function Fix Values :
There is a Table where a field from the Legacy File ,if has a value X then 123 has to be passed to ERP and so on .....
I want to use Fix Value (key-Value Pair) in the same , but the limitation is that there are 200 such combinations
Is it advisable to manually fill these or is there a way that it can be accomplished in SAP XI deriving it from an excel sheet or somewhere?
The same are not stored in SAP and thus can't be looked up !
Kindly advise if there is an alternate if the Key value pairs are of large number of the order say 500 etc
Thanks
Dev
> I want to use Fix Value (key-Value Pair) in the same , but the limitation is that there are 200 such combinations
> Is it advisable to manually fill these or is there a way that it can be accomplished in SAP XI deriving it from an excel sheet or somewhere?
No, it is not advisable to go with Fix Value table for such a big combinations. In longer term it will difficult to manage if you want to add some more new entries because for that you have to do the changes in your mapping.
>
> The same are not stored in SAP and thus can't be looked up !
The best way is to create the Value Mapping in IR. In longer term it will allow you to add or delete entries without making any changes in IR.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
You can use JDBC lookup in this case(as answered above) .
Read an excel sheet directly in ur database table and then as usual use the JDBC lookups. This blog may help u:
/people/william.li/blog/2008/01/02/sap-pi-71-mapping-enhancements-series-import-sql-tables-metadata
Thanks
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi
>
> My question is regarding the standard function Fix Values :
> There is a Table where a field from the Legacy File ,if has a value X then 123 has to be passed to ERP and so on .....
>
> I want to use Fix Value (key-Value Pair) in the same , but the limitation is that there are 200 such combinations
> Is it advisable to manually fill these or is there a way that it can be accomplished in SAP XI deriving it from an excel sheet or somewhere?
>
the best is to go for a value mapping instead of fixed values when the count is high
> The same are not stored in SAP and thus can't be looked up !
>
> Kindly advise if there is an alternate if the Key value pairs are of large number of the order say 500 etc
>
> Thanks
> Dev
For mass loading of values, value mapping replication can be used - /people/udo.martens/blog/2009/04/03/value-mapping-replication-scenario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Why cant you use Value Mapping in IR. Replicate the data in Runtime cache using an PI interface.(Need to create a PI interface just to post the data in Runtime cache).
This should work fine.
Thanks & Regards,
Karthick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There are multiple methods of such look up's:
1.) You can use a JDBC lookup where u can connect to a sql table and pick up the values.
[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2219] [original link is broken] [original link is broken] [original link is broken];
[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8661] [original link is broken] [original link is broken] [original link is broken];
2.) You can also use a csv look up for the same but u will need a 3rd party JDBC csv adapter to acieve this.
[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2800] [original link is broken] [original link is broken] [original link is broken];
Warm Regards,
Anshul
Edited by: Anshul Chowdhary on Jan 19, 2010 3:02 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
You can use JDBC lookup for this. Store key value combination in an DB table. And use JDBC lookup in PI
Thanks!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.