How to insert the partner link (xml)response to data base adapter in BPEL:
Hi to every one,
I have little bit knowledge in oracle SOA suit and having knowledge in java technologies,
I am developing one central reporting server for this I have the following requirement.
I need to call ‘N’ departmental servers (partner links) daily at specific time I need to insert all the transaction details (xml) response in central database (db adapter).
I’m able to call the ‘N’ partner links but I’m facing the problem while inserting ‘N’ servers response into central db using db adapter.
I written one common xsd file for request and response for N departmental server.
Following are the SOAP request and response formats for your reference.
<!-- =========== request formate ========= -->
<Reportreq xsi:type="rep:Reportreq">
<reqdate xsi:type="xsd:string">01-01-2010</reqdate>
<reqtime xsi:type="xsd:string">1100</reqtime>
</Reportreq>
<!-- ======= Response Formate ================================ -->
<multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:ResponseBean" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="ReportServer">
<errorcode xsi:type="xsd:string"/>
<errordesc xsi:type="xsd:string" xsi:nil="true"/>
<reportres xsi:type="xsd:string">
<![CDATA[<response:getTransData>
<transdate>01-01-2010</transdate>
<transtime>1100</transtime>
<distcode>03</distcode>
<transdata>
<centre>GVLH</centre><deptcode>15</deptcode><servicecode>1</servicecode>
<cashtrans>1</cashtrans><cashamt>165</cashamt><chqtrans>0</chqtrans>
<chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt>
<cardtrans>0</cardtrans><cardamt>0</cardamt>
<epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
</transdata>
<transdata><centre>RBVP</centre><deptcode>15</deptcode>
<servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>3000</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans>
<cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
<userchrgs>0</userchrgs></transdata>
<transdata><centre>RKBH</centre><deptcode>15</deptcode>
<servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>412</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt><epaytrans>0</epaytrans>
<epayamt>0</epayamt><userchrgs>0</userchrgs></transdata>
<transdata><centre>ARLV</centre><deptcode>101</deptcode>
<servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>125</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
<ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt>
<epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
</transdata>
<transdata><centre>NTRS</centre><deptcode>101</deptcode>
<servicecode>1</servicecode><cashtrans>7</cashtrans><cashamt>2567</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
<ddamt>0</ddamt><cardtrans>0</cardtrans>
<cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
<userchrgs>0</userchrgs></transdata>
<!-- I will get “transdata” tag nearly 1000 to 10000 -->
</response:getTransData> ]]>
</reportres>
</multiRef>
In java I hold the response XML string between the <response> tag and with the DOM parser I am able to insert the response data into central server.
Now I want to do this in BPEL, I am getting the response from N partner links but I am facing the problem while inserting the response data into central database.
Let me know if you have any idea or small example to achieve my requirement.
Note: All partner services were implemented in bottom up approach.
Have a good day,
Thanks in advance,
Regards,
Ishmayel.v
Hi to every one,
I have little bit knowledge in oracle SOA suit and having knowledge in java technologies,
I am developing one central reporting server for this I have the following requirement.
I need to call ‘N’ departmental servers (partner links) daily at specific time I need to insert all the transaction details (xml) response in central database (db adapter).
I’m able to call the ‘N’ partner links but I’m facing the problem while inserting ‘N’ servers response into central db using db adapter.
I written one common xsd file for request and response for N departmental server.
Following are the SOAP request and response formats for your reference.
<!-- =========== request formate ========= -->
<Reportreq xsi:type="rep:Reportreq">
<reqdate xsi:type="xsd:string">01-01-2010</reqdate>
<reqtime xsi:type="xsd:string">1100</reqtime>
</Reportreq>
<!-- ======= Response Formate ================================ -->
<multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:ResponseBean" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="ReportServer">
<errorcode xsi:type="xsd:string"/>
<errordesc xsi:type="xsd:string" xsi:nil="true"/>
<reportres xsi:type="xsd:string">
<![CDATA[<response:getTransData>
<transdate>01-01-2010</transdate>
<transtime>1100</transtime>
<distcode>03</distcode>
<transdata>
<centre>GVLH</centre><deptcode>15</deptcode><servicecode>1</servicecode>
<cashtrans>1</cashtrans><cashamt>165</cashamt><chqtrans>0</chqtrans>
<chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt>
<cardtrans>0</cardtrans><cardamt>0</cardamt>
<epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
</transdata>
<transdata><centre>RBVP</centre><deptcode>15</deptcode>
<servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>3000</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans>
<cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
<userchrgs>0</userchrgs></transdata>
<transdata><centre>RKBH</centre><deptcode>15</deptcode>
<servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>412</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt><epaytrans>0</epaytrans>
<epayamt>0</epayamt><userchrgs>0</userchrgs></transdata>
<transdata><centre>ARLV</centre><deptcode>101</deptcode>
<servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>125</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
<ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt>
<epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
</transdata>
<transdata><centre>NTRS</centre><deptcode>101</deptcode>
<servicecode>1</servicecode><cashtrans>7</cashtrans><cashamt>2567</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
<ddamt>0</ddamt><cardtrans>0</cardtrans>
<cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
<userchrgs>0</userchrgs></transdata>
<!-- I will get “transdata” tag nearly 1000 to 10000 -->
</response:getTransData> ]]>
</reportres>
</multiRef>
In java I hold the response XML string between the <response> tag and with the DOM parser I am able to insert the response data into central server.
Now I want to do this in BPEL, I am getting the response from N partner links but I am facing the problem while inserting the response data into central database.
Let me know if you have any idea or small example to achieve my requirement.
Note: All partner services were implemented in bottom up approach.
Have a good day,
Thanks in advance,
Regards,
Ishmayel.v
Similar Messages
-
Getting an error in the "Partner Link" when specifying an https-base wsdl
Hi friends,
this is Hari. I'm getting an error in the "Create Partner Link" dialogue when specifying an https-based wsdl url. The non-ssl wsdl url works fine, but I need it to work for ssl (https). The specific errror reads:
Error:Failed to read wsdl file at "https://serverstuff/webservice.cfc?wsdl", caused by: javax.net.ssl.SSLHandshakeException. :sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
i need to invoke secure service(https).what should i do for taht?
Regards,
harihttp://orasoa.blogspot.com/2007/09/compile-error-bpel-against-ssl.html
marc -
How to determine the proper size for Oracle 8i Data Base Objects
Hi,
I'm working on an Oracle 8i Data base. I'd like to know how to determine the proper size for the Data Base objects such as tables, datafiles, tablespaces...
Thanks.Start with the docs.
http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76956/schema.htm#949
Best Regards
Krystian Zieja / mob -
How to control the name of custom field in data base table, added by AET
Hi,
I have added the one custom field by Application Enhancement Tool (AET).
The name of custom field has been added in the data base table as ZZFLD000004 by AET.
I need to add the some meaningful name like that ZMYPROB.
How can I control the name of custom field in the database field through AET?
Thanks,
AmitGot the answer.
Need to click on the Enable Expert mode, then custom field name will be editable. -
How to insert the data from XML to a table
Hi,
I'm using Oracle 10g Express Edition
I need help in How to insert the data from XML file into the table.
Below is the example i'm working on..
I have create ridb user with below mentioned privileges:
Account Status Locked Unlocked
Default Tablespace: USERS
Temporary Tablespace: TEMP
User Privileges :
Roles:
CONNECT
RESOURCE
Direct Grant System Privileges:
CREATE DATABASE LINK
CREATE MATERIALIZED VIEW
CREATE PROCEDURE
CREATE PUBLIC SYNONYM
CREATE ROLE
CREATE SEQUENCE
CREATE SYNONYM
CREATE TABLE
CREATE TRIGGER
CREATE TYPE
CREATE VIEW
& table is created TRIALZIPCODES below mentioned is the DDL:
CREATE TABLE TRIALZIPCODES
STATE_ABBR VARCHAR2(20) NOT NULL
, ZIP_CODE NUMBER(10, 0) NOT NULL
, ZIP_CODE_EXT VARCHAR2(20)
Below is the XML FILE: which is stored in C:\OracleProject Folder
File name: trial.xml
<?xml version="1.0" ?>
<metadata>
- <Zipcodes>
- <mappings Record="4">
<STATE_ABBREVIATION>CA</STATE_ABBREVIATION>
<ZIPCODE>94301</ZIPCODE>
</mappings>
- <mappings Record="5">
<STATE_ABBREVIATION>CO</STATE_ABBREVIATION>
<ZIPCODE>80323</ZIPCODE>
<ZIP_CODE_EXTN>9277</ZIP_CODE_EXTN>
</mappings>
</Zipcodes>
</metadata>
PL/SQL Procedure:which i'm trying to execute from SQLDeveloper
create or replace
PROCEDURE TRIAL AS
BEGIN
DECLARE
-- declare attributes
charString varchar2(80);
finalStr varchar2(4000) := null;
rowsp integer;
v_FileHandle UTL_FILE.FILE_TYPE;
l_context_handle dbms_xmlgen.ctxHandle;
insCtx DBMS_XMLStore.ctxType;
begin
-- DBMS_XMLGEN.setRowTag ( ctx IN ctxHandle, rowTag IN VARCHAR2);
-- DBMS_XMLGEN.setRowSetTag ( ctx IN ctxHandle, rowSetTag IN VARCHAR2);
-- the name of the table as specified in our DTD
DBMS_XMLGEN.SETROWSETTAG(l_context_handle,'zipcodes');
-- the name of the data set as specified in our DTD
DBMS_xmlgen.setRowTag(l_context_handle,'mappings');
-- for getting the output on the screen
dbms_output.enable(1000000);
-- open the XML document in read only mode
v_FileHandle := utl_file.fopen('c:/OracleProject','trial.xml', 'r');
loop
BEGIN
utl_file.get_line(v_FileHandle, charString);
exception
when no_data_found then
utl_file.fclose(v_FileHandle);
exit;
END;
dbms_output.put_line(charString);
if finalStr is not null then
finalStr := finalStr || charString;
else
finalStr := charString;
end if;
end loop;
-- for inserting the XML data into the table
insCtx := DBMS_XMLSTORE.NEWCONTEXT('RIDB.TRIALZIPCODES');
insCtx := DBMS_XMLSTORE.INSERTXML(insCtx, finalStr);
dbms_output.put_line('INSERT DONE '||TO_CHAR(rowsp));
DBMS_XMLStore.closeContext(insCtx);
END;
END TRIAL;
For the first time when i complied i got the errors as :
Procedure RIDB.PROCEDURE1@RIDB
Error(16,14): PLS-00201: identifier 'UTL_FILE' must be declared
Error(16,14): PL/SQL: Item ignored
Error(29,1): PLS-00320: the declaration of the type of this expression is incomplete or malformed
Error(29,1): PL/SQL: Statement ignored
Error(33,1): PL/SQL: Statement ignored
Error(33,19): PLS-00320: the declaration of the type of this expression is incomplete or malformed
Error(36,1): PL/SQL: Statement ignored
Error(36,17): PLS-00320: the declaration of the type of this expression is incomplete or malformed
So i logged in as sys & grant the permission to execute on UTL_FILE to ridb (user):
SQL Statement:
grant execute on utl_file to ridb
So, it got compiled successfully but when i execute it gives me error as:
Source does not have a runnable target.
What does this mean?
So I browse through forum & i got to know that i need to initial the UTL_FILE_DIR ="C:/OracleProject" in init.ora
So can i edit the init.ora with notepad.When i tried to do that it says permission denied
In my system it shows the init.ora file in path C:\oraclexe\app\oracle\product\10.2.0\server\config\scripts
but there is also other file initXETemp in the same path do i need to do the changes in it.
I have tried even editing the SPFILE as mentioned below:
C:\oraclexe\app\oracle\product\10.2.0\server\dbs\SPFILEEXE - I had edit this file using notepad & set the value of UTL_FILE_DIR ="C:/OracleProject". So next time when i restarted i'm unable to log on to the database.
So i had reinstall the software again.
Could you please let me know how to proceed..hi,
I have created the directory from sys database
CREATE or replace DIRECTORY XML_DIR2 AS 'C:\OracleProject';
& grant read,write access to the user
grant read,write on directory XML_DIR2 to RIDB;
& i had change the tag name in the xml file as shown below:
<?xml version = '1.0'?>
<metadata>
<Zipcodes>
<mappings Record="4">
<STABBRE>CA</STABBRE>
<ZIPCODE>94301</ZIPCODE>
</mappings>
<mappings Record="5">
<STABBRE>CO</STABBRE>
<ZIPCODE>80323</ZIPCODE>
<ZIPCODEEXT>9277</ZIPCODEEXT>
</mappings>
</Zipcodes>
</metadata>
TRIALZIPCODE table as shown below:
CREATE TABLE "RIDB"."TRIALZIPCODE"
( "STABBRE" VARCHAR2(20 BYTE),
"ZIPCODE" NUMBER(*,6) NOT NULL ENABLE,
"ZIPCODEEXT" NUMBER
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
I have tried two methods as shown below:
Procedure 1:
create or replace
PROCEDURE TRIAL_V2 AS
BEGIN
DECLARE
-- declare attributes
charString varchar2(80);
finalStr varchar2(4000) := null;
rowsp integer;
v_FileHandle UTL_FILE.FILE_TYPE;
l_context_handle dbms_xmlgen.ctxHandle;
insCtx DBMS_XMLStore.ctxType;
cnt NUMBER;
xmldoc xmltype := xmltype( bfilename('XML_DIR2','trialxml.xml'), nls_charset_id('AL32UTF8') );
--XML_DIR VARCHAR2(40) := 'C:\\OracleProject';
BEGIN
insCtx := DBMS_XMLStore.newContext('DEV.TRIALZIPCODES');
DBMS_XMLStore.setUpdateColumn(insCtx, 'STABBRE');
DBMS_XMLStore.setUpdateColumn(insCtx, 'ZIPCODE');
DBMS_XMLStore.setUpdatecolumn(insCtx, 'ZIPCODEEXT');
DBMS_XMLStore.setRowTag(insCtx, 'mappings');
cnt := DBMS_XMLStore.insertXML(insCtx, xmldoc);
DBMS_XMLStore.closeContext(insCtx);
END;
Procedure 1 was compiled with out errors but when i execute i got the error as :
Source does not have a runnable target.
Procedure 2_
CREATE OR REPLACE PROCEDURE TRIAL_V3 AS
BEGIN
DECLARE
-- declare attributes
charString varchar2(80);
finalStr varchar2(4000) := null;
rowsp integer;
v_FileHandle UTL_FILE.FILE_TYPE;
l_context_handle dbms_xmlgen.ctxHandle;
insCtx DBMS_XMLStore.ctxType;
cnt NUMBER;
xmldoc xmltype := xmltype( bfilename('XML_DIR2','trialxml.xml'), nls_charset_id('AL32UTF8') );
--XML_DIR VARCHAR2(40) := 'C:\\OracleProject';
BEGIN
INSERT INTO trialzipcode (STABBRE, ZIPCODE, ZIPCODEEXT)
SELECT extractvalue(x.column_value, 'mappings/STABBRE'),
extractvalue(x.column_value, 'mappings/ZIPCODE'),
extractvalue(x.column_value, 'mappings/ZIPCODEEXT')
FROM TABLE(
XMLSequence(
EXTRACT(
xmltype( bfilename('XML_DIR2','trialxml.xml'), nls_charset_id('AL32UTF8') ),
'metadata/Zipcodes/mappings'
) x
END;
END TRIAL_V3;
Procedure 2 was complied without errors but when i execute i got the error as:
Connecting to the database RIDB.
ORA-22288: file or LOB operation FILEOPEN failed
The system cannot find the file specified.
ORA-06512: at "SYS.DBMS_LOB", line 523
ORA-06512: at "SYS.XMLTYPE", line 287
ORA-06512: at "RIDB.TRIAL_V3", line 12
ORA-06512: at line 2
Process exited.
Disconnecting from the database RIDB.
Could you please let me know how to proceed... -
I want to define the partner link to be an XML file
Another process creates an XML file and dumps it inot a directory. I want to use the file adapter to consume it. I can not figure out a way to use the file adpater for an XML file. I have used it for csv and serveral other non-standard formats but the file adapter doesn ot seem geared toward XML files. So I figure I must need a WSDL file to create the partner link with. How can I create a wsdl file from sample xml files?
Hello rsuchoza,
What you really are looking for is an XML Schema (.xsd file), to use in the Schema Location field.
If you have another BPEL process creating this XML file, you can probably find the an XSD that fits your XML in that project?
<rune/> -
How to Insert the Text in Selected Text Frame-Reg.
Dear all,
I am using the SnipperRunner - SDK, and create the TextFrame, but I can't insert the Text in the Particular Frame. so please give me the soultions,
(*) Create TextFrame is ok,
(*) Select TextFrame is also ok,
(*) now, my Query ->
How to Insert the Text in the Selected Frame?. (or)
How to Link the Selectable Frame and my Text.? (or)
How come to know the TextFrame is select?.
Please any one can suggest me through the Coding....I will appreciate you...
Thanks & Regards,
T.R.Harihara SudhaNHi,
you have to get the TextModel associated with the textframe. Once you got that, ITextModel has an Insert()-method. You could also process kInsertTextCmdBoss - there are quite a few examples around. I believe WriteFishPrice also inserts text into a frame, just as an example. Good luck ...
Bernt -
How to insert more than 32k xml data into oracle clob column
how to insert more than 32k xml data into oracle clob column.
xml data is coming from java front end
if we cannot use clob than what are the different options availableAre you facing any issue with my code?
String lateral size error will come when you try to insert the full xml in string format.
public static boolean writeCLOBData(String tableName, String id, String columnName, String strContents) throws DataAccessException{
boolean isUpdated = true;
Connection connection = null;
try {
connection = ConnectionManager.getConnection ();
//connection.setAutoCommit ( false );
PreparedStatement PREPARE_STATEMENT = null;
String sqlQuery = "UPDATE " + tableName + " SET " + columnName + " = ? WHERE ID =" + id;
PREPARE_STATEMENT = connection.prepareStatement ( sqlQuery );
// converting string to reader stream
Reader reader = new StringReader ( strContents );
PREPARE_STATEMENT.setClob ( 1, reader );
// return false after updating the clob data to DB
isUpdated = PREPARE_STATEMENT.execute ();
PREPARE_STATEMENT.close ();
} catch ( SQLException e ) {
e.printStackTrace ();
finally{
return isUpdated;
Try this JAVA code. -
BPEL Designer doesn't delete the Partner Link wsdl properly
Hi,
In a development scenario; when a partnerlink is created and then deleted, the wsdl file is not deleted. Hence unable to create a new partnerlink with the same service name. Everytime I endup creating a new service name for the partnerlink pointing to the same DB procedure. This will also lead to the change in the other dependent activities like invoke, Assign etc. as the variable names would have changed. These things will make the developement lag behind the time.
Why BPEL Designer doesn't do a clean delete of the all the entries in the xml files and the wsdl file?
Thanks,
Senthil L.Hi Senthil,
When you delete the Partner Link it will pop a Dialog box asking if you want to delete the WSDL file associated with the Partner link and If you Click Yes then the associated WSDL with this Partner Link is Deleted.
Only the XSD File generated with this partner link are not getting deleted which is being Fixed in the coming Release.
Thanks,
Sunil Gopal -
How to insert the style in sap-script? and in smart form?
how to insert the style in sap-script? and in smart form?
Hi..,
For SAP scripts u need to create them in SE72 ...
and u can include them in the script editor as..
/: STYLE <STYLE-NAME>
P1 text............... (*** P1 is the Paragraph format created in SE72 )
/: STYLE *
For smartforms u need to go for the transaction (tcode) SMARTSTYLES... here u can create paragraph and character formats globally...
<b>Sunil, plz do remember to close all your threads, when ur problem is solved !!</b>
reward all helpful answers,
sai ramesh -
How to insert the image or logo into the table as a field in webdynpro abap
Hi Friends,
Please tell me how to insert the image or logo into the table as a field in webdynpro abap.........Hi Alagappan ,
In your view layout you take table UI element and then you bind it with some context nodes.
The attributes of your nodes comes as a field.
Now in these fields you can set various properties and image is one of them.
Go to ->
1. View Layout -> Right Click on ROOTUIELEMENTCONTAINER -> INSERT ELEMENT -> TABLE
2. Right click on table -> Create Binding.
Here you have to bind it with the appropriate context node.
You will get two properties here
a- Standard Cell Editor :- ( make it image )
b- Standard properties :- ( If required set image properties ).
3. If you want put image from out side then import it as a mime object and set the source of your table field ( used as a image )
also have a look :-
[Image Properties|http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm]
Hope this will solve your problem.
Reply if any case of any issue.
Thanks & Regards,
Monishankar C -
How to insert the new field to standard scheduling agreement script form.
Hi Gurus,
how to insert the new fields to standad sheduling agreement script form. its a need for me, i want to display the AEDAT field in scheduling agreement form ,
The below one is my requirement,
ex:- Itu2019s requested the change of Scheduling Agreement printout. Itu2019s requested for this type of document, the insertion, into the field u201CData Emissionu201D into the print, of the document last modify date instead of the document creation date. (This change will be done only for position change into the Scheduling Agreement). No change into the PO.
Change SAPSCRIPT printout. Introduction, into the Scheduling Agreement, of last modified
document date (field EKPO-AEDAT).
Thanks & Regards
chinnuopen TNAPR table and give the output type you need to modify.... get the print program name and check if some structure already have the date you wanted... if you have it already... then open the form in SE71 tr. and provide the strcuture name - feild in the position you want to have the date...
se71--->
&<str. name>-AEDAT& -
How to increase the waiting time for response in Adapter Engine not in IE
Hi Experts,
It is a SOAP to Proxy Synchronous interface. SOAP system is sending the request to PI, PI sending the same request to ECC system, After execution of some logic response back to PI in 7 minutes. In ABAP Stack(sxmb_moni) processing the response message also successfully with success flag after completion of these 7 minutes. But exactly 5 minutes later getting the error at Java Stack RWB- in communication channel monitoring i.e
com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message bd2bf8d0-b2c2-11e0-c383-001cc4fb5cb7(OUTBOUND) expired. We have set the "runtime-HTTP_TIMEOUT" parameter as 3600. thats why in Integration engine it is processing successfully.
kindly suggest me how to increase the waiting time for response in Adapter Engine. Exactly after 5 mins getting the above error in rwb, but in Integration Engine getting successful flag after 7 mins until then it is waiting for response with status flag Log version.
Thanks & Regards,
Srihari.Hi,
Please see
How To... Investigate Timeouts In Synchronous XI/PI Scenarios
It will answer all your queries
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747?QuickLink=index&overridelayout=true -
How to insert the data even the trigger returned null
Hi Gurus,
I have a question regarding on how to insert the record even the condition being used by a "before insert trigger" returned null.
The scenario is:
2 tables have the same structure:
Table A (Name varchar2 (100), No Number)
Table B (Name_1 varchar2 (100), No Number)
A script is using to load the data into table A daily, and a “before insert trigger” is being used to get the value for A.Name = B.Name whenever the condition A.No equals to B.No.
If the B.No exists, then the trigger work fine, otherwise the records will be rejected, this is not the way we wanted, so I just wonder, is there any way to load all the data to the other fields but still using this trigger ?
Thanks,
TranEither amend the select in the trigger that gets the name value to not raise a NO_DATA_FOUND exception (e.g. change "select name..." to "select min(name)..." ) or handle the NO_DATA_FOUND exception in an exception handler.
e.g.
EXCEPTION
WHEN no_data_found THEN
:new.name = 'where the streets have no name'; -
How to insert the checkbox as a separate column in alv grid display
Hi
How to insert the checkboxes as a separate column in alv grid display with using the reuse_alv_fieldcatlog_mege.
example
matnr maktx ersda checkbox
10 books 28/03/2009 checkbox
Thanks
chinnuHi,
Check the following code.
TYPE-POOLS: slis.
TYPES:
BEGIN OF ty_output,
chk TYPE c,
number TYPE i,
name(20) TYPE c,
END OF ty_output.
DATA: gt_output TYPE STANDARD TABLE OF ty_output,
gs_output TYPE ty_output.
DATA: wa_layout TYPE slis_layout_alv.
DATA: it_fieldcatalog TYPE slis_t_fieldcat_alv,
After you populate the data, build the field catlog like shown below.
wa_fieldcatalog TYPE slis_fieldcat_alv.
wa_fieldcatalog-fieldname = 'CHK'.
wa_fieldcatalog-outputlen = '3'.
wa_fieldcatalog-col_pos = '1'.
wa_fieldcatalog-seltext_m = 'CHK'.
wa_fieldcatalog-checkbox = 'X'.
wa_fieldcatalog-edit = 'X'.
APPEND wa_fieldcatalog TO it_fieldcatalog.
wa_fieldcatalog-fieldname = 'NUMBER'.
wa_fieldcatalog-outputlen = '10'.
wa_fieldcatalog-col_pos = '2'.
wa_fieldcatalog-seltext_m = 'NUMBER'.
APPEND wa_fieldcatalog TO it_fieldcatalog.
CLEAR wa_fieldcatalog.
wa_fieldcatalog-fieldname = 'NAME'.
wa_fieldcatalog-outputlen = '10'.
wa_fieldcatalog-col_pos = '3'.
wa_fieldcatalog-seltext_m = 'NAME'.
APPEND wa_fieldcatalog TO it_fieldcatalog.
CLEAR wa_fieldcatalog.
wa_layout-box_fieldname = 'CHK' .
wa_layout-box_tabname = 'GT_OUTPUT' .
Now call the FM
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
i_callback_program = sy-repid
i_callback_pf_status_set = 'PF_STATUS'
i_callback_user_command = 'USER_COMMAND_GRID'
* I_CALLBACK_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
* I_BACKGROUND_ID = ' '
* I_GRID_TITLE =
* I_GRID_SETTINGS =
is_layout = wa_layout
it_fieldcat = it_fieldcatalog
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* IT_SORT =
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
* I_SAVE = ' '
* IS_VARIANT =
* IT_EVENTS =
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* IT_ALV_GRAPHICS =
* IT_HYPERLINK =
* IT_ADD_FIELDCAT =
* IT_EXCEPT_QINFO =
* I_HTML_HEIGHT_TOP =
* I_HTML_HEIGHT_END =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = gt_output
* EXCEPTIONS
* PROGRAM_ERROR = 1
* OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Maybe you are looking for
-
B2b.IP_OUT_QUEUE not found
I get the following error when GlobalChips attempts to send a 997 back to Acme. I can see this endpoint on the GlobalChips capabilites page. Any ideas why this might be happening? Thank you. 2008.05.21 at 14:37:11:812: Thread-14: B2B - (DEBUG) oracle
-
Solved :How to do this Query ??
Hello Everyone, I have a table structure like this.... Courses -- which contain the list of courses...with course_id being primary key Tasks -- which contains the list of courses...with task_id being the primary key Course History -- contains list of
-
Hi all, First i would like to apologize if i am posting in the wrong area. My friend gave me a older mac and i have no idea what type it is or anything. No model # on outside. I can describe it to you. It has 2 handles. One in the front and one in th
-
Since upgrading to Mavericks and allocating many folders with newly named tags the Finder sidebar shows document icons with no colours. How do I change back to the coloured icons please?
-
I have created a dmg disk image of 100mb. It is now full and won't allow me to put any more files on it. I would appreciate knowing how to: 1) Delete files from the disk image. At present, every time a try to send any files to trash, it says that it