on 05-04-2010 5:44 AM
Hi Frnds,
My scenario is IDoc to JDBC.I will be getting an IDoc from R/3, from this IDoc i have to take a PO number and send request to JDBC & get response back to PI. In this response i will getting a particular feild ZTN value for the po number i had send to Database. Now my requirement is to put this ZTN feild value in IDoc source data and send it as a Update message to Database. I had designed a BPM but got stuck at one point where after getting that ZTN value in to BPM how to substitute in to IDOc which is received from source R/3 system.
(i was asked to use BPM only becoz further we wil get additional requirements for that i hav to put some aditional steps in BPM )
Any inputs pls, so that i can proceed further .
Regards,
VKG
Hi VKG,
As per my understanding your requirement can be achieved without BPM.
IDoc-PI(JDBCLookUp)JDBC.
Two message mapping mappings
IDoc to IDoc(JDBC lookup).
First perform JDBC Lookup to retrieve the ZTN filed from data base giving input and map the resultant value to IDoc ,in this case both source and target is IDoc only.
IDocwith JDBC Lookup Value--Data Base.
Then take IDoc with JDBC Lookup value and send it to data base.
Add these two mapping in one operational mapping. it will work.
If you want to implement same with BPM and your operational mapping in Transformation step. That is..donu2019t do with sync async operations in BPM.
Please correct me if I anything missed out.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj,
Thanks for ur reply. But still need some information
We are using PI 7.09(SP 21), I think using of that JDBC lookup facility directly in any mapping is available in PI7.1. "IDoc to IDoc(JDBC lookup)" mapping what ever u had specified how can this be acheived, becoz i need a Source JDBC Request Message and JDBC Response Message reference blog is
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
With this blog i can get respone ZTN value from database but in BPM how to substitute this value in Source IDoc payload and form Update query to database..?
Regards,
VKG.
Hi,
PI 7.0 we can perform JDBC looks ups using Userdefrined function ,JAVA Mapping,we have different ways,
but for your requirement you can go with user defined function,no need of request and response structure,in your case request is PO number and resoponse ZETN value.map this response to IDoc.in first message mapping.
i think you are very beginer in JDBC Lookup concept.
if you want to go with BPM,the response from Data bse some where you storing right,have you created any structurte to to the response filed, if yes then map the same to IDoc ,take IDoc as a receivr in this case,
Regards,
Raj
Hi,
Thanks for ur suggestion.As per your advice i'm going to create one IDoc to IDoc mapping and in that I'm directly using JDBC lookup code specified in the following blog
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
Now for this UDF as input i'm passing PONumb as input value and expecting ZTN value as output directly in IDOc to IDoc mapping. I will be using this inerface mapping in BPM directly in transformation step to convert this IDOc Message(With ZTN Lookup value )to Update message and send it to Database. Will this work..? Can u suggest me ?
Regards,
Vinod.
Resolved..
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 |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.