cancel
Showing results for 
Search instead for 
Did you mean: 

Table lookup in SAP PO 7.4

former_member205100
Participant
0 Kudos

Hi there,

   And recently we have got new PO 7.4 system , to be frank I dont have much idea on this new PO.

and the first scenario is the source input CDF file to ECC (Idoc) via PO.

we need to maintain some table (not sure where) i.e. during mapping runtime for a combination of source field (say 4 field values) from table we need to get combinaiton of target fields values and populate to the Idoc fields.

since we use single stack here my query is

1, where should we create the tables ? ECC or DB (DB2) or ?

2, which will be the best practise wrt performance ?

3, what will be best approach here?

pls suggest.

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member205100
Participant
0 Kudos

Hi,

   Another one suggestion required can we validate different values from different value mapping tables is that possible?

or this can be achived only via lookup or how?

anand_shankar10
Active Participant
0 Kudos

yes you can use multiple value mapping table in a single mapping.

former_member205100
Participant
0 Kudos

Thanks, the entreis is in hundreds only. so we can go with value mapping or fixed value tables.

Former Member
0 Kudos

Hello,

Since you are using idoc so i won't suggest you to go with any type of lookup.

Simply manitain values in some custom table in ECC and then populate idoc fields using "user exits" in idoc. Much better solution in terms of performance.

Thanks

Amit Srivastava

former_member205100
Participant
0 Kudos

Thanks Amit,

  From the payload provided by WMQ system we need to populate to ECC to create Idoc.

  as per your suggestion pls brief me how can we do this?

anand_shankar10
Active Participant
0 Kudos

In that case I would suggest go for proxy if you don't have too many fields and you can do the lookups there itself.

Regards

Anand

former_member205100
Participant
0 Kudos

thanks for your suggestions.

these are gonna be fixed values in the tables might be we will add some more entries going forward but will not change dynamically.

how about storing this table at DB level here we use DB2, i hope we can use JDBC call for this?

Is this better then ECC call or how?

anand_shankar10
Active Participant
0 Kudos

maintaining another table at DB2 and using JDBC lookup will be additional load. You mentioned that values are not too much so don't use fixed values else you will have to do transports every time for new addition. Go for value mapping and you can easily maintain value directly in production environment,

Thanks

Anand

former_member205100
Participant
0 Kudos

Thanks Anand , but still we have many other tables with some table entries more than 3k .

so still value mapping will be achivable or can we go with ECC table via rfc lookup?

anand_shankar10
Active Participant
0 Kudos

if you 3k records, I would recommend to go for Z table in ECC and use RFC lookup.

Thanks

anand_shankar10
Active Participant
0 Kudos

Hi,

If you don't have ever changing and dynamic values you can also use value mapping. Besides maintaining t table is never considered good practice in PI as its a middleware and not repository. so go for ECC considering data management.

Regards

Former Member
0 Kudos

Hello Setharaman ,

1. Best choice will be at ECC as it will be easy to maintain.

2. For improving performance create a java hasmap in PI mapping and do a single lookup to ECC and store the values in the hashmap. Further , later in the mapping you can do a local lookup to the hashmap for fetching the values. Search on SDN to find out more on this.

3. Further if you are not expecting any regular changes in that table in future then you can also create a fixed value table in PI mapping itself and fetch data from that , but for that you need to have your table data in advance and that should not chnage frequently.

Thanks