Help needed to debug Communication Channel using Seeburger modules
Hi ALL
Can you please, help debug the following communication channel using File adapter & seeBurger module.
Adapter Framework caught exception: I/O operation failed : java.lang.ClassNotFoundException: com.sap.engine.messaging.impl.spi.transport.PasswordCredentialImpl -
Loader Info -
ClassLoader name: [sap.com/com.sap.aii.af.app] Living status: alive Direct parent loaders: [system:Frame] [service:servlet_jsp] [service:ejb] [library:com.sap.xi.util.misc] [service:com.sap.aii.adapter.xi.svc] Resources: /usr/sap/KPX/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.aii.af.app/EJBContainer/applicationjars/com.sap.aii.af.ejb.jar /usr/sap/KPX/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.aii.af.app/servlet_jsp/AdapterFramework/root/WEB-INF/classes /usr/sap/KPX/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.aii.af.app/servlet_jsp/AdapterFramework/root/WEB-INF/lib/com.sap.aii.af_api.jar -
Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.services.rmi_p4.exception.P4BaseRuntimeException: I/O operation failed : java.lang.ClassNotFoundException: com.sap.engine.messaging.impl.spi.transport.PasswordCredentialImpl -
Loader Info -
ClassLoader name: [sap.com/com.sap.aii.af.app] Living status: alive Direct parent loaders: [system:Frame] [service:servlet_jsp] [service:ejb] [library:com.sap.xi.util.misc] [service:com.sap.aii.adapter.xi.svc] Resources: /usr/sap/KPX/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.aii.af.app/EJBContainer/applicationjars/com.sap.aii.af.ejb.jar /usr/sap/KPX/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.aii.af.app/servlet_jsp/AdapterFramework/root/WEB-INF/classes /usr/sap/KPX/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.aii.af.app/servlet_jsp/AdapterFramework/root/WEB-INF/lib/com.sap.aii.af_api.jar
Your help is greatly appreciated!
Thank you,
Patrick
Hi Patrick,
It seems that your seeburger instalation was not successfull.
Try installing it again and make all the libraries are there.
Regards,
Luismier
Edited by: Luismier on Aug 26, 2009 10:57 PM
Edited by: Luismier on Aug 26, 2009 11:16 PM
Similar Messages
-
Problem Encountered in JMS adapter using SEEBURGER module
While testing the receiver JMS adapter for XML to EDI conversion using Seeburger module, I am facing errors.
<b>1. The error encountered is</b> :
Error while processing message '4720bc32-2dfc-03d8-0000-00000a2050d3'; detailed error description: java.lang.NullPointerException at com.sap.aii.adapter.jms.core.connector.SendContextImpl.send(SendContextImpl.java:43) ...
<u>SEEBURGER BICXIADAPTER</u> --- Conversion of synchronous request from module chain ended with errors ---Error: [Error:ID=2061;LEVEL=1] XMLDocReader moveNext(): Cannot move to next trigger : Error in line 1: <u>XML file should begin with white spaces or <. (Found char :U(Hex :85</u>). DESCRIPTION: XMLDocReader Exception: Not able to move to next trigger [not specified] - trigger may not right set.
<b>2. The targer PAYMUL xml is as follows</b> :
( At receiver channel, the above should be converted to EDI-Paymul using the Seeburger Module)
<u>PAYMUL XML</u>
<?xml version="1.0" encoding="UTF-8" ?>
- <LIST>
- <S_UNA>
<D_DELIMITER>:+.? '</D_DELIMITER>
</S_UNA>
- <S_UNB>
- <C_S001>
<D_0001>UNOA</D_0001>
<D_0002>2</D_0002>
</C_S001>
- <C_S002>
<D_0004>SAPDM</D_0004>
<D_0007>ZZ</D_0007>
</C_S002>
- <C_S003>
<D_0010>000000000000</D_0010>
<D_0007>55</D_0007>
</C_S003>
- <C_S004>
<D_0017>070201</D_0017>
<D_0019>1150</D_0019>
</C_S004>
<D_0020>01945678912345</D_0020>
- <S_UNH>
<D_0062>1</D_0062>
- <C_S009>
<D_0065>PAYMUL</D_0065>
<D_0052>D</D_0052>
<D_0054>96A</D_0054>
<D_0051>UN</D_0051>
<D_0057>FUN01G</D_0057>
</C_S009>
- <S_BGM>
- <C_C002>
<D_1001>452</D_1001>
</C_C002>
<D_1004>01945678912345</D_1004>
<D_1225>9</D_1225>
</S_BGM>
- <S_DTM>
- <C_C507>
<D_2005>137</D_2005>
<D_2380>20070201</D_2380>
<D_2379>102</D_2379>
</C_C507>
</S_DTM>
- <G_SSG4>
- <S_LIN>
<D_1082>1</D_1082>
- <S_DTM>
- <C_C507>
<D_2005>203</D_2005>
<D_2380>20070201</D_2380>
<D_2379>102</D_2379>
</C_C507>
</S_DTM>
- <S_RFF>
- <C_C506>
<D_1153>ACK</D_1153>
<D_1154>01945678912345</D_1154>
</C_C506>
</S_RFF>
- <S_RFF>
- <C_C506>
<D_1153>AEK</D_1153>
<D_1154>01945678912345</D_1154>
</C_C506>
</S_RFF>
- <S_BUS>
<D_3279>IR</D_3279>
- <C_C551>
<D_4383>UGI</D_4383>
</C_C551>
</S_BUS>
- <G_SSG5>
- <S_MOA>
- <C_C516>
<D_5025>9</D_5025>
<D_5004>5000</D_5004>
<D_6345>EUR</D_6345>
</C_C516>
</S_MOA>
</G_SSG5>
- <G_SSG6>
- <S_FII>
<D_3035>OR</D_3035>
- <C_C078>
<D_3194>ES921998500000000012</D_3194>
<D_6345>EUR</D_6345>
</C_C078>
- <C_C088>
<D_3433>ABNAES17000</D_3433>
<D_1131>25</D_1131>
<D_3055>5</D_3055>
</C_C088>
<D_3207>ES</D_3207>
</S_FII>
</G_SSG6>
- <G_SSG7>
- <S_NAD>
<D_3035>OY</D_3035>
- <C_C080>
<D_3036>XYZ CORPORATION LTD</D_3036>
</C_C080>
- <C_C059>
<D_3042>XX</D_3042>
</C_C059>
<D_3164>XX</D_3164>
<D_3207>ES</D_3207>
</S_NAD>
</G_SSG7>
- <G_SSG11>
- <S_SEQ>
- <C_C286>
<D_1050>1</D_1050>
</C_C286>
- <S_MOA>
- <C_C516>
<D_5025>9</D_5025>
<D_5004>5000</D_5004>
<D_6345>EUR</D_6345>
</C_C516>
</S_MOA>
- <S_DTM>
- <C_C507>
<D_2005>227</D_2005>
<D_2380>2007-02-01</D_2380>
<D_2379>102</D_2379>
</C_C507>
</S_DTM>
- <S_RFF>
- <C_C506>
<D_1153>AIK</D_1153>
<D_1154>01901234567890</D_1154>
</C_C506>
</S_RFF>
- <S_RFF>
- <C_C506>
<D_1153>CR</D_1153>
<D_1154>01901234567890</D_1154>
</C_C506>
</S_RFF>
- <S_FCA>
<D_4471>13</D_4471>
</S_FCA>
- <G_SSG12>
- <S_FII>
<D_3035>BF</D_3035>
- <C_C078>
<D_3194>AT921998500000000011</D_3194>
<D_6345>EUR</D_6345>
</C_C078>
- <C_C088>
<D_3433>ABNAAT14000</D_3433>
<D_1131>25</D_1131>
<D_3055>5</D_3055>
</C_C088>
<D_3207>ES</D_3207>
</S_FII>
</G_SSG12>
- <G_SSG13>
- <S_NAD>
<D_3035>BE</D_3035>
- <C_C080>
<D_3036>ABC CORPORATION 1</D_3036>
</C_C080>
- <C_C059>
<D_3042>XX</D_3042>
</C_C059>
<D_3164>XX</D_3164>
<D_3207>ES</D_3207>
</S_NAD>
</G_SSG13>
- <G_SSG16>
- <S_PRC>
- <C_C242>
<D_7187>11</D_7187>
</C_C242>
- <S_FTX>
<D_4451>PMD</D_4451>
- <C_C108>
<D_4440>SENDERPN1</D_4440>
</C_C108>
</S_FTX>
</S_PRC>
</G_SSG16>
</S_SEQ>
</G_SSG11>
</S_LIN>
</G_SSG4>
- <S_CNT>
- <C_C270>
<D_6069>2</D_6069>
<D_6066>1</D_6066>
</C_C270>
</S_CNT>
- <S_UNT>
<D_0074>1</D_0074>
<D_0062>1</D_0062>
</S_UNT>
</S_UNH>
- <S_UNZ>
<D_0036>1</D_0036>
<D_0020>01945678912345</D_0020>
</S_UNZ>
</S_UNB>
</LIST>
<b>3. The module parameters for Seeburger inputs :</b>
( In receiver communication channel)
<b>Processing Sequence</b>
localejbs/CallBicXIRaBean Local Ent Bean x2e_bic_paymul
SAP XI JMS Adapter/ConvertMessageToBinary Local Ent Bean convert_XI2Bin
SAP XI JMS Adapter/SendBinarytoXIJMSService Local Ent Bean
exit
<b>Module Key</b>
x2e_bic_paymul destSourceMsg MainDocument
x2e_bic_paymul destTargetMsg MainDocument
x2e_bic_paymul logAttID ConverterLog
x2e_bic_paymul mappingName See_X2E_PAYMUL_UN_D96A
x2e_bic_paymul newLine true
x2e_bic_paymul saveSourceMsg XMLEDIHi,
Check Below links,
/people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
SAP Adapters
Regards,
Phani -
Need help in troubleshooting communication channel using soap adapter
Hello friends
I have a simple scenario.
I have created 2 communication channels, one for searching a record and another for updating it with a new value
Both uses SOAP as sender and RFC as receiver with a Standard BAPI.
Everything was working ok, but without any changes, all of a suddent I am not being able to update the values and when I checked RWB, I see for Update SOAP Adapter Channel, the messages say
Request received for a channel
but in a second it says 'Call Failed'.
I haven't made any changes.
I even tried restarting XI and ERP servers but still getting the same error.
Any suggestions or feedback will be greatly appreciated.
Thanks
RamTHE PROBLEM WAS WITH A JOB GETTING HUNG IN THE QUEUE AND I HAD TO FORCIBLY KILL THAT. THAT TOOK CARE OF THE PROBLEM
-
Issue with JMS Receiver Comm. Channel using Seeburger AttribMapper
Hello,
I'm using a JMS_RECEIVER Comm. Channel on which the Seeburger AttribMapper is configured (I need to use the DCJMSCorreleationID dynamic attribute).
In the module tab, I added a new module:
Module Name Module Type Module Key
localejbs/Seeburger/AttribMapper Local Enterprise Bean map
And I added the following parameter:
Module Key Parameter Name Parameter Value
map http://sap.com/xi/XI/System/JMS/DCJMSCorreleationID "TEST"
When processing a message, I get the following error on the Communication Channel Monitoring:
Message processing failed. Cause: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of AttribMapper.
Does anyone has an idea on how to fix this problem?
Thanks for your help!
BenoitHI,
Refer the discussion of
Setting DCJMSCorreleationID in JMS RECEIVER using Seeburger AttribMapper
Dynamic subject in AS2 receiver
Thanks
Swarup -
Need to output 8 channels using double buffer
Hi,
I need to ouput 8 channels to the DAQ card.
I am getting an array 8 bytes of data every 10 milliseconds.
Each byte corresponds to a channel.
I am using your WFMDoubleBuffer.c code.
The changes I have made are :
1. Changed the buffer from 32K to 16 bytes. I am assuming 8 bytes with double buffer = 16 bytes
2. I'm not sure about updateRate, so I set it to 1.0
Result : I get an error from WFM_Group_Control(). It says "The operation could not complete within the time limit", error = -10800
I have attached the file for your reference.
Please help me.
Thanking you in anticipation
Chandra
Attachments:
WFMdoubleBuf.C 8 KBChandra,
The timeout error here is slightly misleading. The reason this is happening is caused by a few things. By default, the card to setup to transfer data when the onboard FIFO is full, and so your half buffer must be the same size or large than your FIFO unless you have regeneration turned on. Regeneration will cause your buffer to be copied as many times as possible into the FIFO until it is full. Your 6713 has an AO FIFO size of 16,384. So your buffer size must be twice this, so that your half buffer is >= 16384. Where is your data coming from at these 10 ms intervals, from a program or another device? This could affect what method would be the best solution.
If you want to keep working on this, let�s stick to one channel, I sent you an email, did you get
it?
Kevin R
Applications Engineer
National Instruments -
Configuration Communication Channel Using FTPS
Hello
We need to user a Communication Channel which used FTPS
We have installed the certificat in the Visual Administrator in Key Storage (Part SSL & Trsuted Ca) and in SSL Provider
We have created the communication but when we try to send the file we have a mesage in the workbench
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Connection timed out (errno:238)
We have implemented the last patch level for ABAP
Our PI system is running on a UNIX server
BertrandI have seen this message in the file xi.log in the directory usr/sap/[SID]/[instance]/j2ee/cluster/server[N]/log/applications\com.sap.xi\
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: SocketException: Connection timed out:could be due to invalid address
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Could not get FTP connection from connection pool (1 connections) within 5,000 milliseconds; increase the number of available connections
Is a parameter in the Visual Admin?
Regards
Bertrand -
Hi - I would like to build the logic in which it should accomodate the communication redundancy using serial RS-232 for Data Transfer b/w Host and RT irrespective of TCP/IP Data Transfer.
I want to do data transfer b/w host and RT through RS232 VISA portal whenever TCP/IP ethernet cable has been unplugged from the controller continuosly , it should keep on checking for TCP/IP link re-establishing also , when ever the tcp/ip link established again that time the communication should be using in that link only. This is accomplished by deploying the RT vi as execuatbale file. I made some logic regards to the above said logic , bur it was not working as much I expected.
I request you to go through the attached two VI's and let me know , what I did wrong in that,
Please do the needful.
Attachments:
TCP_Serial_Host.vi 33 KB
TCP_Serial_RT.vi 41 KBeven i am new to this topic and i am trying to get familiar with these protocols
refer to tcp server/client examples in labview examples -
Help needed in debugging dynamic SQL.
When I pass the p_deptno =30 and run the below code the refcursor returns the rows.But when I pass the dpetno =null then it goes to the condition if p_job is not null and throws an error.Can any one please help me in debugging this code.
declare
p_deptno number:=null;
p_job varchar2(30):='SALESMAN';
v_sql varchar2(4000);
l_ename varchar2(30);
TYPE my_cursor IS REF CURSOR;
RC my_cursor;
begin
v_sql := 'select ename
from emp
where 1=1';
if p_deptno is not null then
v_sql := v_sql||' AND deptno='||p_deptno;
else
if p_job is not null then
v_sql := v_sql||' AND job='||p_job;
end if;
end if;
OPEN RC FOR v_sql;
LOOP
FETCH RC INTO l_ename;
EXIT WHEN RC%NOTFOUND;
dbms_output.put_line(l_ename);
END LOOP;
CLOSE RC;
END;Thanks.
Edited by: user3565577 on Mar 6, 2010 8:44 PMHi
I've mocked up a simple test and it seems to use the indexes when I try with one or the other values being supplied, I've made an assumption on the indexes you have (i.e. single column indexes on job and deptno),
--indexes on emp table:
p2056@dbapw01> @indexes
Enter value for table_name: emp
Enter value for owner: p2056
INDEX_OWNER INDEX_NAME INDEX_TYPE PAR COLUMN_NAME STATUS
P2056 EMPI1 NORMAL NO DEPTNO VALID
P2056 EMPI2 NORMAL NO JOB VALID
2 rows selected.
--when accessing with a job value
p2056@dbapw01> explain plan for select *
2 from emp
3 where (
4 (null is null and job = 'SALESMAN')
5 OR
6 ('SALESMAN' is null and deptno = null)
7 OR
8 ('SALESMAN' is null and null is null)
9 );
Explained.
p2056@dbapw01> @xplan
PLAN_TABLE_OUTPUT
Plan hash value: 1888885832
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 2 | 154 | 1 (0)| 00:00:01 |
| 1 | TABLE ACCESS BY INDEX ROWID| EMP | 2 | 154 | 1 (0)| 00:00:01 |
|* 2 | INDEX RANGE SCAN | EMPI2 | 2 | | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("JOB"='SALESMAN')
--when accessing with a deptno value
p2056@dbapw01> explain plan for select *
2 from emp
3 where (
4 (2 is null and job = null)
5 OR
6 (null is null and deptno = 2)
7 OR
8 (null is null and 2 is null)
9 );
Explained.
p2056@dbapw01> @xplan
PLAN_TABLE_OUTPUT
Plan hash value: 1336173234
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 77 | 1 (0)| 00:00:01 |
| 1 | TABLE ACCESS BY INDEX ROWID| EMP | 1 | 77 | 1 (0)| 00:00:01 |
|* 2 | INDEX RANGE SCAN | EMPI1 | 1 | | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("DEPTNO"=2) -
Error in communication channel AS2 Seeburger EDI Adapter
Hi,
I am facing one issue in communication channel at receiver side. Adapter type is AS2 Seeburger EDI adapter.
Brief overview of scenario: Sender is R/3 sending an IDOC and Reciever is Party (Vastra_Gotaland).
The error in reciever communication channel is : Error type: REPORT_ERROR >> Error date: 8/26/10 10:18 AM >> Description: MIC not verified # integrity-check-failed [8/26/10 10:18 AM].
Please give your important feedbacks.Hi Vikrant,
I have already checked channel configurations and there is no problem with signing certificate. I have checked that also.
Edited by: Sadhna Achhra on Aug 26, 2010 1:10 PM -
Editing iFlow communication channel using Directory API
Hi All,
I have a few queries/observations regarding use of directory API to edit communication channels:
1) Is it possible to change an inline communication channel within iFlow using directory API? I tried to use this by calling directory API web service and here is my observation:
Communication channel was changed and activated using the web service calls to channel and changelistAPIs using SOAPUI.
I could see those changes in ID.
Same changes however were not reflected in the iFlow object. Please note that I did not execute the iFlow after this change to see if there was a change in runtime behavior or not.
Next, when I deployed the iFlow from NWDS, as expected changes to the channel in ID were over-written with the value retained in the iFlow version.
My understanding from above is that inline comm channels cannot be edited directly using directory API. Is that correct? I am still to test the referenced channels, to see if we can access their values and change them directly using API.
2) Is there an API for iFlow object? I could not find any documentation on this. Also noticed that there was no folder for this in namespace ( http://sap.com/xi/BASIS) within SAP BASIS 7.40. Wanted to confirm that am not missing something.
Regards,
Sanjeev.Any thoughts experts?
Regards,
Sanjeev. -
Help needed in Multiple Receivers sceenarios using BPM
Hi,
I am new to BPM. As per my requirement, based on a business logic i may split the messages into two at message mapping. If i have spitted the messages into two, it should go to different receivers. Or if my logic hasnt splitted the mesaage means it should go to any one of the receivers. I also expect response from the receiver system once its done successfully.
Could you help me how to do this using BPM?
Thanks & Regards,
Senthil.Hi,
You can do it without BPM also, by using MultiMapping. If only splitting is required then I would suggest not to use BPM since it will consume much memory. Instead you can use multmapping.
For Multimapping, go to messages tab in message mapping and select your different target structures and map it as per your requirement. In Integration Directory, go to advanced Interface Determination and proceed.
Br,
Madan Agrawal
Edited by: Madan Agrawal on Feb 12, 2009 8:25 AM -
Help needed on workin with LDBs using call through Function Module LDB_PROC
Hi All
I am new to Logical Databases. I found on net that I can use a dynamic call to a Logical Database using Function Module
"LDB_PROCESS".
I tried implementing the same using the following logic.
REPORT zsa_test2.
TABLES: pernr.
SELECT-OPTIONS s_pernr FOR pernr-pernr.
DATA: callback TYPE TABLE OF ldbcb,
callback_wa LIKE LINE OF callback.
callback_wa-ldbnode = 'PERNR'.
callback_wa-get = 'X'.
callback_wa-cb_prog = sy-repid.
callback_wa-cb_form = 'CALLBACK_PERNR'.
APPEND callback_wa TO callback.
START-OF-SELECTION.
CALL FUNCTION 'LDB_PROCESS'
EXPORTING
ldbname = 'PNP'
VARIANT = ' '
EXPRESSIONS = TEXPR
FIELD_SELECTION = FSEL
TABLES
callback = callback
SELECTIONS = SELTAB
EXCEPTIONS
LDB_NOT_REENTRANT = 1
LDB_INCORRECT = 2
LDB_ALREADY_RUNNING = 3
LDB_ERROR = 4
LDB_SELECTIONS_ERROR = 5
LDB_SELECTIONS_NOT_ACCEPTED = 6
VARIANT_NOT_EXISTENT = 7
VARIANT_OBSOLETE = 8
VARIANT_ERROR = 9
FREE_SELECTIONS_ERROR = 10
CALLBACK_NO_EVENT = 11
CALLBACK_NODE_DUPLICATE = 12
OTHERS = 13.
IF sy-subrc <> 0.
WRITE: 'Exception with SY-SUBRC', sy-subrc.
ENDIF.
*& Form CALLBACK_SPFLI
text
-->NAME text
-->WA text
-->EVT text
-->CHECK text
FORM callback_pernr USING name TYPE ldbn-ldbnode
wa TYPE pernr
evt TYPE c
check TYPE c.
BREAK-POINT.
WRITE: / wa-pernr.
ULINE.
ENDFORM. "CALLBACK_SPFLI
But I am unable to transfer the control to the subroutine. The break-point isn't reached.
Can someone please guide me? Am I using the wrong node or something??look at the below code ..
pass sstab to the selection in the FM
data cbtab type table of ldbcb.
data wa_cbtab like line of cbtab.
data sstab type table of rsparams.
data wa_sstab like line of sstab.
wa_cbtab-ldbnode = 'SPFLI'.
wa_cbtab-get = 'X'.
wa_cbtab-get_late = ' '.
wa_cbtab-cb_prog = sy-cprog.
wa_cbtab-cb_form = 'CB_SPFLI'.
append wa_cbtab to cbtab.
wa_cbtab-ldbnode = 'SFLIGHT'.
wa_cbtab-get = 'X'.
wa_cbtab-get_late = ' '.
wa_cbtab-cb_prog = sy-cprog.
wa_cbtab-cb_form = 'CB_SFLIGHT'.
append wa_cbtab to cbtab.
wa_sstab-selname = 'AIRP_FR'.
wa_sstab-kind = 'S'.
wa_sstab-sign = 'I'.
wa_sstab-option = 'EQ'.
wa_sstab-low = 'FRA'.
append wa_sstab to sstab.
call function 'LDB_PROCESS'
exporting
ldbname = 'F1S'
tables
callback = cbtab
selections = sstab .
form cb_spfli using nodename type ldbn-ldbnode
wa_spfli type spfli
mode type c
selected type c.
write: / wa_spfli-carrid,
wa_spfli-connid,
wa_spfli-airpfrom,
wa_spfli-airpto.
endform.
form cb_sflight using nodename type ldbn-ldbnode
wa_sflight type sflight
mode type c
selected type c.
write: /3 wa_sflight-fldate,
wa_sflight-seatsmax,
wa_sflight-seatsocc.
endform. -
Passing parameters from Communication channel to EJB Module
Dear friends,
We have an EJB module in NWDS. We want to pass some parameters from Communication Channel (Sender) in Integration Directory and use them in our EJB Module. Is there any function to do this process?? Please help me out
Thanks and Regards,
N.Jayanth KumarHi,
Use the Channel object in this manner:
String cid = moduleContext.getChannelID();
channel = (Channel) LookupManager.getInstance().getCPAObject(CPAObjectType.CHANNEL, cid);
//To access channel parameters e.g in file adapter the connection parameters like host use the below code
String host = channel.getValueAsString("ftp.host");
PS: it is assumed that you are having the source code for adapter module development found on server
Regards,
Fariha -
Variable substitution error while using Seeburger module parameter
Hi Freinds,
I would like to use the variable substitution in a receiver file adapter to add the invoice no.
(which is contained in the XML file) to the target filename.
In addition I have to convert the XML file to an X12 EDI format using the seeburger module "localejbs/CallBicXIRaBean".
As soon as this entry is made in the modules the following error message occurs:
"com.sap.aii.adapter.file.configuration.DynamicConfigurationException:
Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException:
Caught SAXException while parsing XML payload: Fatal Error: com.sap.engine.lib.xml.parser.ParserException:
XMLParser: No data allowed here: (hex) 53, 4f, 48(:main:, row:1, col:3)"
My problem is that the conversion from XML to X12 EDI is done before the variable substitution is started.
That`s why the reference for the variable is no longer valid as the file is already converted to a X12 EDI (=flatfile) format.
If I disable one of the two steps (either 1:1-mapping or variable substitution) the other step runs properly.
Has anybody an idea how to solve this topic?
Is it possible to specify the variable substitution as module?
If this is possible I could solve it by just reordering the two steps in the module chain.
Regards
VenkateshUse Dynamic Configuration Bean to set this value. You have to use this well before "localejbs/CallBicXIRaBean".
Check SAP note : 974481 for more information.
Blog: [/people/jin.shin/blog/2007/04/27/sap-netweaver-xi-variable-substitution-with-adapter-specific-message-attributes-via-dynamicconfigurationbean|/people/jin.shin/blog/2007/04/27/sap-netweaver-xi-variable-substitution-with-adapter-specific-message-attributes-via-dynamicconfigurationbean]
Second Approach if the above approach doesnt work.
Use Dynamic Configuration concept in UDF to set the filename under message Mapping.
Thanks,
- Gujjeti.
Edited by: Praveen Gujjeti on Feb 25, 2009 11:25 AM -
Help needed in debugging callablestatement changing performance
Looking for some help debugging a performance problem.
We are in the process of converting an ASP web application running on IIS to a java web application running on OAS. We have java code using a CallableStatement that calls an Oracle PL/SQL Procedure that runs inserts and updates as needed and does not return anything.
When the Java application calls the procedure using the same parameters and doing the exact same work the execution time is either 3 minutes or 30 minutes. We have narrowed down the location of the slowdown and when it takes 30 minutes to execute it appears to be hanging during a cursor execution. What would cause the execution times to vary so much?
Here's another piece to the puzzle. When the procedure is called from IIS with the exact same parameters that were used from OAS the procedure ALWAYS runs in 3 minutes. Why would IIS performance be so consistent and OAS so inconsistent?
Any debugging suggestions would be greatly appreciated.
Thanks,
Bobuser4908334 wrote:
We are in the process of converting an ASP web application running on IIS to a java web application running on OAS. We have java code using a CallableStatement that calls an Oracle PL/SQL Procedure that runs inserts and updates as needed and does not return anything.
More information is needed on that.
There is one proc or 50?
The proc is being called one time or 50 times?
You are not using Batching right?
When the procedure is called from IIS with the exact same parameters that were used from OAS the procedure ALWAYS runs in 3 minutesYou are running the java server on exactly the same box as IIS?
The java code is using exactly the same database as IIS? (Did you verify this?)
Maybe you are looking for
-
Need to find the network every time?
So I installed a new AE yesterday, for the sole purpose of establishing a home network for sharing internet access and a printer between an iMac and a Dell laptop. Simply connected the cable modem and printer USB to AE as instructed. Haven't tested t
-
Please note that i know how to setup AP Approval workflow and i didnt find sth cleared in the manauals to build parallel approval with Concensus ... i already built the parallel approval and its working when you choose first responder wins but i want
-
How to run report on command line with user parameter?
Hi, How do I run oracle report on command line (batch) with pre-set User Parameter values ? e.g. :P_1 ='SYSDATE' , :P_2 = 'DEPT_NO' Thanks
-
I thought I would restore my iphone so I backed it up and everything it backed up fine. It will put the firmware on the phone fine it also syncs but it come up and says warring it didn't sync the number of apps. Then I press ok then I get this. iTu
-
I was trying to re-install itunes on my computer because my old ipod wasn't appearing on my computer. After downloading the version from apple.com i tried to open it. There is a .mpkg file and a readme file. I know the mpkg file is supposed to look l