JDBC Adapter :: Missing Column Headings
Hi,
I was wondering if anyone has encountered this issue with the JDBC sender adapter. After executing the following SQL select statement:
SELECT rake_yem, rake_serial_no
FROM rt_rake_ore_wt_smy
WHERE reading_datetime > SYSDATE - 2
The JDBC Sender adapter returns the following XML structure:
<?xml version="1.0" encoding="utf-8"?>
<RakeOreWeightSummaryReadings>
<row>
<>2006</>
<RAKE_YEM>2226A</RAKE_YEM>
</row>
<row>
<>2006</>
<RAKE_YEM>2226B</RAKE_YEM>
</row>
<row>
<>2006</>
<RAKE_YEM>2229A</RAKE_YEM>
</row>
<row>
<>2006</>
<RAKE_YEM>2229B</RAKE_YEM>
</row>
<row>
<>2006</>
<RAKE_YEM>2223B</RAKE_YEM>
</row>
</RakeOreWeightSummaryReadings>
In this case, the first column heading is blank. This leads to an XML parsing problem, and hence it cannot be processed by SAP XI.
The incidence of blank columns appears to be inconsistent. i.e. It does not matter how many columns I select, as some columns will always be blank.
Any help would be greatly appreciated.
regards,
Carl Engel.
Hi Naveen,
No luck I'm afraid. I changed the SQL statement to:
SELECT rake_yem as RAKE_YEM, rake_serial_no as RAKE_SERIAL_NO FROM rt_rake_ore_wt_smy WHERE reading_datetime > SYSDATE - 2
And the JDBC adapter returned with:
<?xml version="1.0" encoding="utf-8"?>
<RakeOreWeightSummaryReadings>
<row>
<>2006</>
<RAKE_YEM>2229A</RAKE_YEM>
</row>
<row>
<>2006</>
<RAKE_YEM>2229B</RAKE_YEM>
</row>
<row>
<>2006</>
<RAKE_YEM>2223B</RAKE_YEM>
</row>
etc.....
Though I'm beginning to suspect that this problem may be associated between Oracle versions. The integration server is running Oracle 9.2 Client, and it is accessing a database running Oracle 7.3.3.5.
Though since the data is retrieved without issues, I'm still not sure. Is there any other form of diagnostic logs that I could examine re: this issue?
thanks,
Carl.
Similar Messages
-
Topic List Pod - Missing Column Headings
Greetings,
I have a small problem with my Topic List Pod. From some
reason the column headings (e.g., Index, TOC) do not appear, even
though I have seleced Vieww > Detailed View. The Grey bar
appears, but no headings.
Any suggestions to resolve this problem?
Thanks,Hi again
Egh? Who said anything about right clicking? I was referring
to placing the mouse and just plain old clicking and dragging. See
if the link below helps better explain it.
Click here to
view
Cheers... Rick -
JDBC adapter missed data from database
Hello Experts
We have a repeatative issues in JDBC sender adapter .While it is reading data from database sometimes we are facing the problem tat all the data is not read by adapter but PI read date is generated for all the records.
Some times the issue happened like PI processed first three and last three data but missed 2-3 records from the middle portion.
Please help me to know the reason for this error and how to resolve this types of error.
Thanks in advance .
SomenathHello Stefan ,
Thanks a lot for your reply .
We have used the below Select and update statement
I am not expert in select query .Please suggest if the query is okay or it can be the error.
SELECT * FROM [database].[dbo].[table] WHERE [Delivery_Number] = (SELECT TOP 1 [Delivery_Number] FROM [database].[dbo].[table] where [PI_Read_Date] IS NULL ORDER BY [Delivery_Number] ASC) AND [PI_Read_Date] IS NULL ORDER BY [Transaction_ID] ASC
UPDATE [database].[dbo].[table] SET [PI_Read_Date] = getdate() WHERE [Transaction_ID] in ( SELECT [Transaction_ID] FROM [database].[dbo].[table] WHERE [Delivery_Number] = (SELECT TOP 1 [Delivery_Number] FROM [database].[dbo].[table] where [PI_Read_Date] IS NULL) AND [PI_Read_Date] IS NULL)
Please let me know what new features we can get if we set the the advanced parameter serializable.
Hello Navin,
We are using toad at data base side .If the lock occurs in the database side is it possible to generate tHe PI read date as the data is not read by PI?
Thank you once again for you help.
BR.
somenath -
Responses missing column headings
Hi,
My responses, when viewed using the "view responses" tab, or when downloaded as a .csv have lost most of their field headings.
The form has 8 field headings. The view responses / .csv has only two.
See below.
I understand there are no responses - this is not the issue.
Even when I had some responses to download, the field heading were missing. I deleted the responses to see if this would refresh things.
Thanks
SimonMight you have accidentally deleted those headings? There is a "History" at the bottom right of the View Responses tab where you might see if you had previously deleted those column headers, you can expand the history by clicking on the clock icon.
You can re-enter or copy and paste the names back into those headings. In order to match them up correctly you could fill out the form entering the field label into each field and submit that, then you could copy that data into the column headers and you'd be sure to put the right labels in each column header.
Thanks,
Josh -
Unified Intelligence Center Reports Missing Column Headings
Good morning,
We recently upgraded to UCCX 10.5. I have been experimenting with Unified Intelligence Center to generate reports from the call center environment. The reports seem to generate fine, except that the columns for the report data have no headers, so you don't know what the data represents. Is there a trick to getting those headers to show?
Thanks,
JasonHi Jameson,
I've been working with TAC on this issue and we actually just tested that. I have Firefox 31.3.0 as my primary browser and that is what I was using when the headers don't display. I did try running the reports in IE 10 and they displayed the headers correctly. However, on the report generation page the "Relative Date Range" drop-down did not work. I then put IE10 in compatibility mode and everything seemed to work correctly. I'm waiting to hear back from TAC if there are any currently known minimum/maximum browser versions for reporting.
Thanks for your reply.
-Jason -
Column headings are missing in the output for ALV?
Hi all,
i have coded a small report in ALV mode. i am getting the data but the column headings are missing.
iam not getting the column headings in the output. it is coming as blank. Could you all please help me out in this?
below is the code of my program:
Includes *
*---Standard header and footer routines
INCLUDE zsrepthd.
*--- ALV Routines
INCLUDE zvsdi_alv_routines_ver3.
*--- Authorization Check
INCLUDE z_selection_auth_check.
Types Declarations *
tables : ekpo.
Types Declarations *
TYPES: BEGIN OF ty_ekpo,
EBELN(18) TYPE C,
EBELP(20) TYPE C,
MATNR(18) TYPE C,
WERKS(11) TYPE C,
END OF ty_ekpo.
*-Output field name
TYPES: BEGIN OF ty_output,
EBELN(18) TYPE C,
EBELP(20) TYPE C,
MATNR(18) TYPE C,
WERKS(11) TYPE C,
END OF ty_output.
*-Output field name
TYPES: BEGIN OF ty_fields,
fname(60) TYPE c,
END OF ty_fields.
Internal Table Declarations *
DATA:it_ekpo TYPE STANDARD TABLE OF ty_ekpo,
*--- Alv parameters
it_out_alvp TYPE typ_alv_form_params, "for alv parameters
*-Field catalog for ALV display
it_fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
*-Field names for Excel column headings
it_ekpo_fields TYPE STANDARD TABLE OF ty_fields WITH HEADER LINE.
**--To store output for Principial Pegging data
DATA: BEGIN OF it_output occurs 0,
EBELN(18) TYPE C,
EBELP(20) TYPE C,
MATNR(18) TYPE C,
WERKS(11) TYPE C,
END OF it_output.
**--To store output for 2nd
DATA: BEGIN OF it_output1 occurs 0,
text(2000),
END OF it_output1.
Data Declarations *
data: v_ebeln TYPE ekpo-ebeln,
v_ebelp TYPE ekpo-ebelp,
v_matnr TYPE ekpo-matnr,
v_werks TYPE ekpo-werks.
Constants Declarations *
CONSTANTS:
c_0 TYPE i VALUE 0,
c_x TYPE char1 VALUE 'X',
c_i TYPE char1 VALUE 'I',
c_eq TYPE char2 VALUE 'EQ',
c_ekpo TYPE char4 VALUE 'EKPO',
c_hyfn TYPE char1 VALUE '-'.
Work Area Declarations *
DATA: x_output_ekpo type ty_output,
x_ekpo type ty_ekpo.
Selection Screen *
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-f01.
SELECT-OPTIONS:
s_ebeln FOR v_ebeln OBLIGATORY,
s_ebelp FOR v_ebelp,
s_matnr FOR v_matnr,
s_werks FOR v_werks.
SELECTION-SCREEN END OF BLOCK b1.
At Selection Screen *
AT SELECTION-SCREEN.
Start-of-Selection *
START-OF-SELECTION.
*--- Check Authorizations for Selection-screen
PERFORM z_selection_auth_check.
*--- Fetch Purchasing Document Item data
PERFORM fetch_status_pp.
End-of-Selection *
END-OF-SELECTION.
**-- Download data to final internal table.
PERFORM data_output.
IF NOT it_output[] IS INITIAL.
*--- Fill the structure for calling the ALV form
PERFORM initialize_alv_params.
**-- Display ALV Report
PERFORM setup_and_display_alv_ver2
USING
it_out_alvp "Parameter structure
it_output[] "Internal Data table(header table)
it_output[]. "Dummy table for Hierarchical ALV!!(item table)
ENDIF.
IF it_output[] IS INITIAL.
MESSAGE i999(zi) WITH 'No data found for selection'(i02).
ENDIF.
*& Form FETCH_STATUS_PP
Get data from ekpo table
FORM FETCH_STATUS_PP .
*-Fetch PP Data from ekpo table
REFRESH it_ekpo.
SELECT EBELN
EBELP
MATNR
WERKS
FROM ekpo
INTO TABLE it_ekpo
WHERE ebeln IN s_ebeln
AND ebelp IN s_ebelp.
IF sy-subrc = c_0.
SORT it_ekpo BY ebeln ebelp.
ENDIF.
ENDFORM. " FETCH_STATUS_PP
*& Form f_top_of_page
*This is to write the top of page
FORM top_of_page.
DATA: lt_list TYPE slis_t_listheader,
lx_list TYPE slis_listheader.
*--- Title name
CLEAR lx_list.
lx_list-typ = 'S'.
lx_list-key = 'Title name'(t13).
lx_list-info = sy-title.
APPEND lx_list TO lt_list.
IF NOT lt_list IS INITIAL.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = lt_list.
ENDIF.
ENDFORM. "top_of_page
*& Form init_page_head
Description : This subroutine initializes the fields in table BHDGD *
for printing the report heading. *
FORM init_page_head.
bhdgd-line1 = 'SLA Status Report'(h04).
bhdgd-line2 = sy-title.
bhdgd-lines = sy-linsz.
bhdgd-fcpyrt = sy-uline.
bhdgd-inifl = '0'.
ENDFORM. "init_page_head
*& Form initialize_alv_params
Description : Form to initialize ALV Params
FORM initialize_alv_params.
CONSTANTS: lc_alv_grid TYPE char1 VALUE 'G', "Grid
lc_u TYPE char1 VALUE 'U'.
MOVE 'IT_OUTPUT' TO it_out_alvp-tablname. "final table
MOVE sy-repid TO it_out_alvp-repid.
MOVE lc_alv_grid TO it_out_alvp-alvtype.
MOVE c_x TO it_out_alvp-bringdefaultvar.
MOVE lc_u TO it_out_alvp-variantsavetype.
ENDFORM. " initialize_alv_params
FORM it_out_init_events *
-->this is form is to modify the events
FORM it_out_init_events
CHANGING
alevnts TYPE slis_t_event.
FIELD-SYMBOLS <alevnt> TYPE slis_alv_event.
LOOP AT alevnts ASSIGNING <alevnt>.
CASE <alevnt>-name.
WHEN slis_ev_top_of_page.
MOVE 'TOP_OF_PAGE' TO <alevnt>-form.
ENDCASE.
ENDLOOP.
ENDFORM. "it_out_init_events
*& Form DATA_OUTPUT
Download data to final internal table
FORM DATA_OUTPUT .
loop at it_ekpo into x_ekpo.
x_output_ekpo-ebeln = x_ekpo-ebeln.
x_output_ekpo-ebelp = x_ekpo-ebelp.
x_output_ekpo-matnr = x_ekpo-matnr.
x_output_ekpo-werks = x_ekpo-werks.
append x_output_ekpo to it_output.
endloop.
ENDFORM. " DATA_OUTPUT
FORM it_out_alv_fieldcat_before *
--> PT_FCAT *
--> ALVP *
FORM it_out_alv_fieldcat_before CHANGING
pt_fcat TYPE slis_t_fieldcat_alv
alvp TYPE typ_alv_form_params.
DATA: lx_fcat TYPE slis_fieldcat_alv.
CLEAR lx_fcat.
lx_fcat-tabname = 'IT_OUTPUT'.
lx_fcat-fieldname = 'EBELN'.
lx_fcat-col_pos = '1'.
lx_fcat-ddictxt = 'M'.
lx_fcat-seltext_l = 'Purchasing Doc No'(018).
lx_fcat-seltext_m = 'Purchasing Doc No'(018).
lx_fcat-seltext_s = 'Purchasing Doc No'(018).
lx_fcat-reptext_ddic = 'Purchasing Doc No'(018).
APPEND lx_fcat TO pt_fcat.
CLEAR lx_fcat.
lx_fcat-tabname = 'IT_OUTPUT'.
lx_fcat-fieldname = 'EBELP'.
lx_fcat-col_pos = '1'.
lx_fcat-ddictxt = 'M'.
lx_fcat-seltext_l = 'Item No Purchasing Doc'(020).
lx_fcat-seltext_m = 'Item No Purchasing Doc'(020).
lx_fcat-seltext_s = 'Item No Purchasing Doc'(020).
lx_fcat-reptext_ddic = 'Item No Purchasing Doc'(020).
APPEND lx_fcat TO pt_fcat.
CLEAR lx_fcat.
lx_fcat-tabname = 'IT_OUTPUT'.
lx_fcat-fieldname = 'MATNR'.
lx_fcat-col_pos = '1'.
lx_fcat-ddictxt = 'M'.
lx_fcat-seltext_l = 'Material'(010).
lx_fcat-seltext_m = 'Material'(010).
lx_fcat-seltext_s = 'Material'(010).
lx_fcat-reptext_ddic = 'Material'(010).
APPEND lx_fcat TO pt_fcat.
CLEAR lx_fcat.
lx_fcat-tabname = 'IT_OUTPUT'.
lx_fcat-fieldname = 'WERKS'.
lx_fcat-col_pos = '1'.
lx_fcat-ddictxt = 'M'.
lx_fcat-seltext_l = 'Supply plant'(013).
lx_fcat-seltext_m = 'Supply plant'(013).
lx_fcat-seltext_s = 'Supply plant'(013).
lx_fcat-reptext_ddic = 'Supply plant'(013).
APPEND lx_fcat TO pt_fcat.
ENDFORM. " it_out_alv_fieldcat_before.
Regards,
Shalini
Edited by: shalini reddy on Oct 7, 2008 5:08 PMHi,
The heading are in the table pt_fcat - you don't seem to be passing that in form....
PERFORM setup_and_display_alv_ver2
USING
it_out_alvp "Parameter structure
it_output[] "Internal Data table(header table)
it_output[]. "Dummy table for Hierarchical ALV!!(item table)
which I guessing in in one of the includes?
Saying that the extract pof code does not show where you are calling form it_out_alv_fieldcat_before ...which populates the headings...
Regards
Stu -
How to handle the BOLB column Using JDBC adapter
Hi,
I want to sending of a BOLB column from a DB2 database table to another DB2 database, and the sender and receiver both by using JDBC adapter. The two tables in each other database have the same columns.
Here is the table's structure:
<ID>string type</ID>
<PDF>blob type</PDF>
Also, i haved create two DataTypes in PI system.
Sender DataType:
ns:DT_PDF_Req xmlns:ns="http://XXXXX.com/sap/xi">
<row>
<ID>1</ID>
<PDF></PDF>
</row>
</ns:DT_PDF_Req>
Receiver DataType:
<ns0:DT_PDF_Res xmlns:ns0="http://XXXX.com/sap/xi">
<STMT>
<dbtable action="INSERT">
<table>tablename</table>
<access>
<ID></ID>
<PDF></PDF>
</access>
</dbtable>
</STMT>
</ns0:DT_PDF_Res>
When test this interface, i found the that we can get the data, but when execute the insert stms the follow errors occured in RWB :
<ERROR>
Could not execute statement for table/stored proc. "DBDPUSER.pdf" (structure "STMT") due to com.ibm.db2.jcc.b.nm: DB2 SQL Error: SQLCODE=-103, SQLSTATE=42604, SQLERRMC=255044462d312e330a25c7ec8fa20a352030206f626a0a3c3c2f4c656e677468203620, DRIVER=3.50.153
JDBC Message processing failed, due to Error processing request in sax parser: Error when executing statement for table/stored proc. 'DBDPUSER.pdf' (structure 'STMT'): com.ibm.db2.jcc.b.nm: DB2 SQL Error: SQLCODE=-103, SQLSTATE=42604, SQLERRMC=255044462d312e330a25c7ec8fa20a352030206f626a0a3c3c2f4c656e677468203620, DRIVER=3.50.153
</ERROR>
Can anybody tell me how to resolve the problems?
And tell me about how to deal BOLB column using PI.
Best Regards
TerryHi Terry Qin,
I understand, you are getting below XML from sender JDBC channel. But when you getting SAX parser error, in receiver JDBC.
<ns:DT_PDF_Req xmlns:ns="http://XXXXX.com/sap/xi">
<row>
<ID>1</ID>
<PDF></PDF>
</row>
</ns:DT_PDF_Req>
I think it is because the XML which is going to receiver JDBC channel is not well formed (because pdf can containg < & characters).
You can achive this sceanrio, by selecting receiver JDBC channel as Message Protocol "Native SQL Format" [Link1|http://help.sap.com/saphelp_nwpi711/helpdata/en/44/7c24a75cf83672e10000000a114a6b/frameset.htm] you can send non XML to receiver channel.
Before that, you have convert above input XML into SQL statement, using Java Mapping.
Regards,
Raghu_Vamsee -
Invalid column name error in JDBC adapter
Hi all,
My scenario is Proxy->XI->JDBC.
I get the following error in receiver JDBC adapter.
Unable to execute statement for table or stored procedure. 'Account_Master' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'A7'.
There is no column by name A7 in the table nor there is a field by that name in the data type.
Can anyone provide any helpHi Swatantra,
compare your message-type with the database table!
There must be difference!
Regards Mario -
JDBC Adapter: Action Attribute Missing problem
Hi
I am passing data from SAP R/3 though JDBC Adapter. In SXMB_MONI everything is fine and it shows Success Message. Though Database is not updated, but in Message monitoring I get the error 'No "Action" attribute found in XML document'
I have specified the Database table in Communication Channel and the table name is specified as the Tag.
The XI payload is as follows. Where Tag FCP_PROGNOSEDATA is the table name and action tag is specified as INSERT.
kindly let me know what went wrong and why i am getting this error message
<?xml version="1.0" encoding="UTF-8" ?>
- <ns53:FCPBW_MT xmlns:ns53="http://pdk/fcp/Prognoses">
- <Statement>
- <<b>FCP_PROGNOSEDATA</b>>
<action><i><b>INSERT</b></i></action>
- <access>
<DATO>05-12-2004</DATO>
<ORG_ENHED_NR_A>0704</ORG_ENHED_NR_A>
<PROGNOSE_TYPE>1</PROGNOSE_TYPE>
<ANTAl_MS>821.0</ANTAl_MS>
<ANTAl_SH>10444.0</ANTAl_SH>
</access>
</<b>FCP_PROGNOSEDATA</b>>
</Statement>
</ns53:FCPBW_MT>
Regards
SwetankHi Swetank,
The ACTION should be an "attribute" in your JDBC XML.I think you have created it as a TAG.
For Example:
<StatementName2>
<dbTableName action=INSERT>
<table>realDbTableName</table>
<access>
<col1>val1</col1>
<col2>val2</col2>
</access>
<access>
<col1>val11</col1>
</access>
</dbTableName>
</StatementName2>
Regards,
Sridhar
Message was edited by: Sridhar Rajan Natarajan -
Column headings missing in the ouput
Hi All,
the report is displaying more than 255 line size for that i have given in the program as shown below
Report XXXXX LINE-SIZE 323.
Actually i had ran the report in the background there i have selected print settings as shown below
format :Z_65_1023 Expanding the spool size for more than columns 255
but iam not getting column headings after 255 line size.
Please help me to resolve this issue.
Regards
SuniHi shiva,
Thanks for your reply...
iam executed the report in background and selected as z_65_1023 format but in the ouput three columns are not getting which is after >255 characters .kindly help me how to get the column headings,data is coming >255 characters but column headings is not coming .
Regards
Suni -
Access an Oracle DB using JDBC adapter
Hi, I'm trying to make an simple test for checking if the connection between XI and Oracle DB is working fine and following the weblog nr. 2018 ( Save Time with generalized JDBC datatypes ) i've made my structures in order to achived that. I've declared the field action as SELECT than the table name ... and in the IB set the needed configurations. So when i exec my interface i've got the black/white flag bur if i look at the adapter engine i see that the JDBC adapter is achieved but i got 2 errors " <b>No 'action' attribute found in XML document('action' attribute missing or wrong XML structure)</b> and <b>Exception caught by adapter framework: error processing request in sax parser: No 'action' attribute found in XML document('action' attribute missing or wrong XML structure)</b>. Can anybody provide me some help ??? Thanks in advance.
JMMatosHi,
This is how my DT looks like:
Structure Category Type
Data_JDBCReceiver Complex Type
Statement
Table_name
action Attribute
table
access Data_FileSender
cod
key Data_FileSender
cod
This is my DT and in MM i fill field <b>action</b> with constant value(SELECT/INSERT), field <b>table</b> with the name of the corresponding DB table, fields <b>access/key</b> with constant value(empty). At this moment, I got the following error <b>Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'v01_sap_xi' (structure 'Statement'): java.sql.SQLException: FATAL ERROR: Column 'cod' does not exist in table 'v01_sap_xi'</b>; according with the people responsible for the DB this column named <b>cod</b> does really exist !! What can I do ?!?!? Some help will be ... Thanks !!! -
Hi All,
We have installed SAP on OS/400.
My scenario is IDOC XI JDBC.
We have created a File JDBCTEST , member JDBCTEST and Field JDBCTEST.
These are created under a lib QLGP.
Then I did a message mapping between the IDOC and JDBCTEST by concatenation function.
<b>IN THE JDBC ADAPTER CONFIGURATION I am getting the error
Value missing for mandatory configuration attribute table EOColumnName Ts</b>
In the EO JDBC ADAPTER Configuration, the DATABASE parameters:
DBTABLE:JDBCTEST
KEY COLUMN NAME:JDBCTEST
Is there anything wrong I am doing?
Any help is appreciated.
Thank you.Hi Bhavesh,
My XML structure after testing the mapping is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"><ns0:Message1><ns1:TEST_MT xmlns:ns1="http://mri.com/xi/IDOC2JDBC"><STATEMENTNAME><JDBCTEST action="INSERT"><access><JDBCTEST>567,23,2345,MRI</JDBCTEST></access></JDBCTEST></STATEMENTNAME></ns1:TEST_MT></ns0:Message1>
I have tested by giving the PERSISTENCE as LOCAL,then intially there was no error but now I am getting the Transformation error.
TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'JDBCTEST' (structure 'STATEMENTNAME'): java.sql.SQLException: [SQL0104] Token MOTOR was not valid. Valid tokens: ) ,.
Am I doing anything wrong in the JDBC Adapter Configuration or Message Mapping?
Please help me out with this issue.
Thank you in advance. -
How to insert a NULL value in SQL using JDBC Adapter
Hi All,
I have a File -> JDBC scenario.
In the File and in the SQL table I have a column called "MR_DATE" that needs to be mapped
I have to do the following:
If MR_DATE is NOT equal to "00000000"
then pass MR_DATE to SQL table
else
set the MR_DATE column in the table as NULL.
Please suggest
regards,
PiyushHi Piyush,
In the receiver JDBC adapter select the option Interpretation of Empty String Values as NULL.
Pass date as empty, it will be interpreted as NULL by adapter and inserted in database.
Regards,
Gautam Purohit -
How to call Packaged Stored Procedure in JDBC Adapter?
hello frnds,
I m working on a SAP R/3 -> XI -> Oracle scenario. Here on receiver side i m using JDBC Adapter in which i m using a stored procedure.
I have my stored procedure in a Package. Example : package "PKG_SPARES_VOR_UPLOAD" and in that stored procedure "pr_spares_vor_po_hdr_upload".
i have checked that if i write this stored procedure outside the package then it works fine... but if i put it into the package then it is giving me error that ....
" Receiver Adapter v2112 for Party '', Service 'BS_ORADEV':
Configured at 2006-08-16 10:12:14 GMT+05:30
History:
- 2006-08-16 11:02:04 GMT+05:30: Error: TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'PR_SPARES_VOR_PO_HDR_UPLOAD' (structure 'statement'): java.sql.SQLException: ORA-06550: line 1, column 7:
PLS-00201: identifier 'PR_SPARES_VOR_PO_HDR_UPLOAD' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored ".
please help me out with this problem.
Thankx,
Regards,
AudumbarHi,
I have the same problem to call a stored Procedure in a Package.
If my procedure is not in a package, everything is right.
And I musn't indicate all the name, because I musn't put '.' in the name (of the procedure), in my DT on XI.
It would be so nice to have an answer.
Rémi -
Table name in Receiver JDBC Adapter
Hi All,
I am using receiver JDBC adapter.
But table name consist of " like BPC."#II" .
After mapping table name becomes BPC."#II" .
I am getting error while pulling data from DB.
Is the table name creating a problem.
Please remedy of this if you have come across such scenario.
Regards
PiyushHi Piyush,
All that i could get from the SAP Help regarding JDBC Adapters are these links where i never found anything much regarding the table name.anyways just go through these links and see if you find anything useful.
http://help.sap.com/bp_bpmv130/Documentation/Planning/XIUnicodeGuide030411.pdf
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/b0/676b3c255b1475e10000000a114084/content.htm">Configuring the Receiver JDBC Adapter</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm">Mapping Lookups</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/22/b4d13b633f7748b4d34f3191529946/content.htm">JDBC Adapter</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm">Configuring the Receiver JDBC Adapter - part 2</a>
This is all i got from the help files, anyways you can also go through those links and see if you find anything else useful.
- Escape Symbol for Apostrophe
The apostrophe character () is a reserved character in SQL syntax and is therefore replaced by an escape character if it occurs within value strings. This replacement character can be database-specific. Typical replacement characters are \ or (default value). If a character occurs that is invalid for the database being used, the adapter triggers an error message (an SQL exception) concerning the SQL syntax that is generated by the database.
- Column Name Delimiter
Depending on the database being used, column names can be enclosed by a special delimiter character, for example, if the names can contain special characters (such as ). This character can be specified at this point. The default setting is no delimiter character. If a character occurs that i
Also check if there are notes in the service market place related to the same.
Regards,
abhy
Message was edited by: Abhy Thomas
Maybe you are looking for
-
Spry Collapsible Panel animation not working
I've inserted a spry collapsible panel into a web page and it works fine when I preview it. But when I upload it to the server the animation does not work in both Safari and Firefox (haven't tried any other browsers). The panel is just static, showin
-
What is teh best solution for my Problem??
hello everyone i'am planing to develop a Patient Management System (PMS) since i 'm not that guru in the J technologies i would like you to get me some help with this decision: what is the best solution for developeing an intranet "PMS" which should
-
Oracle 9i - did not install with SQL Loader
Installed Oracle 9i (standard, personal would not install) on XP home edition but SQL Loader did not come this this and I would like to import to 9i. How can I accomplish this? I can not locate any tools included in the installation. Thank you!!!
-
IS THERE A 875p bios that will ALLOW PERFORMANCE MODE enabled in 5:4 setup
if i run my pc3200 (400mhz) ram at 333mhz in the bios, performance mode doesnt work. no matter if it is on SLOW,TURBO,FAST,ULTRA, i get the same perfomance marks in programs. cpuz might say its enabled...but it really not. my sandra scores stay the
-
I got a new computer, authorized it on my account, and downloaded some of my previous purchases but not all of them showed up. Is there any way I could get them? How would I do that?