on 09-07-2012 4:39 PM
Dear Experts,
I am very new on working with JDBC adapter synchronous way. this is my first scenario. i tried to search in scn for the step by step scenario with screen shots.
1)where do we need to write Stored procedure in XI or at Data base level?
2)How do i need to create the data types for the request & response
3) what are things i need to do in communication channel configuration
4)the data i am getting from the Oracledatabase is a string that i need to split into fields and post into ecc & vice versa. in Message mapping.
can you suggest the UDF for this requirement
please help me
Thanks in advance
pavan
1)where do we need to write Stored procedure in XI or at Data base level?
Your DB team ahs tro write Stored procedure at Data base level and you need to call stored procedure from PI at Mapping level.
Action--- EXECUTE
Table---->Stored procedure name.
2)How do i need to create the data types for the request & response
Yes, you need two data types.
3) what are things i need to do in communication channel configuration.
Very simple, provide ddriver details and logoin credetials and dont use batch mode.
4)the data i am getting from the Oracledatabase is a string that i need to split into fields and post into ecc & vice versa. in Message mapping.
You need to write a mapping logic to split the string. if possible request DB team to perfrom the same .
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 your reply. I am still confused with creating of Data types who do i create a data type for stored procedure.
we have standard syntax for the jdbc at the receiver
for the jdbc data type 1(request)
statement
table
action
access
how i need to crfeate theJDBC response datatype.
i checked my database team he don't know how to split the strings to fields. how can i work this out from PI end. i mean i need to merge the string for the request & split for the response.
Please send me any screen shots for the Req & Res DATA types If you have any
Regards
pavan
Create data type like below format request data type .
First understand from DB team how they are going to send response , based on that you have to create response structure.
If they are going to send in one string then you need split the string in PI mapping to map different fields. this can be done at PI level.
Hi Raj,
Thanks for your reply . Sorry for asking this again. i am little confused about the screen shot which you have sent. this is for requset or response?
in that i don't find any access tab there. i am really sorry if am irritating you because this is my scenario please bare me.
Regards,
Pavan
Hi,
chk below blogs:
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1671
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9618
Thanks
Amit Srivastava
Hi Raj,
Thanks for your reply,
In the screenshot
ordertype, orderpartnerDTN,order number .... these are fileds name?
like this i need to creat my request data type write. correct me if i am wrong.
how can i map isinput, type fields?
can u please suggest me the response structure also with screen shot
Regards,
pavan
Hi Baskar,
Thanks for your reply , i have one question for you in the screen shot isinput,type fields category was given as attribute. may i know why we need to give attribute?
in the Amit reply's blog isinput, type is mentioned as boolean but in the above screen shot their type was string?
Regards,
Pavan
>isinput,type fields category was given as attribute. may i know why we need to give attribute?
That is the standard for the store procedure message structure. Refer sap help document for the jdbc receiver structure.
This link also specifies type as string only. only isInput is boolean.
http://scn.sap.com/people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
Hi Raj thanks for your reply,
I will give you my exact requirement please suggest me how can i develop the scenario.
In this below requirement i need to take the data from two tables and merge accordingly . so how i need to create my request & response data types?
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
Ascending( to ensure the FIFO Process) | |||||||||||
|
|
|
|
|
|
|
|
|
|
| |
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
| Main table for updating the SAP Sales Order No. |
|
|
|
|
|
| ||||
| SDO_LASTSONUM for updating the Last processed Sales Order No |
|
|
|
| ||||||
| SDO_ERRORSONUM for updating the failed sales order numbers. |
|
|
|
|
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.