Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all 6719 articles
Browse latest View live

Receiver determination condition

$
0
0

Hi Experts,

 

Below is my requirement.

 

In INVOICE IDoc

 

Case1: /INVOIC02/IDOC/E1EDK02[QUALF="002"]/BELNR ≈ 003*)        ----> Receiver 1

Case 2: /INVOIC02/IDOC/E1EDK02[QUALF="002"]/BELNR ≠ 003*)        ----> Receiver 2

 

 

It is working in case 1 but not in case2. All Orders which starts with 003 of QUALF 002 are also going to Receiver2.

 

 

I need to send invoices to Receiver1 for which E1EDK02/BELNR starts with 003 in E1EDK02/QUALF 002.

I need to send invoices to Receiver2 for which E1EDK02/BELNR didn't starts with 003 in E1EDK02/QUALF 002.

 

Input data for Receiver1:

 

- <E1EDK02 SEGMENT="1">

  <QUALF>001</QUALF>

  <BELNR>711111111</BELNR>

  </E1EDK02>

- <E1EDK02 SEGMENT="1">

  <QUALF>002</QUALF>

  <BELNR>003111111</BELNR>

  <DATUM>20130716</DATUM>

  </E1EDK02>

- <E1EDK02 SEGMENT="1">

  <QUALF>017</QUALF>

  <BELNR>008111111</BELNR>

  </E1EDK02>

- <E1EDK02 SEGMENT="1">

  <QUALF>087</QUALF>

  <BELNR>0091111111</BELNR>

  </E1EDK02>

 

 

Input data for Receiver 2:

 

 

- <E1EDK02 SEGMENT="1">

  <QUALF>001</QUALF>

  <BELNR>711111111</BELNR>

  </E1EDK02>

- <E1EDK02 SEGMENT="1">

  <QUALF>002</QUALF>

  <BELNR>004111111</BELNR>

  <DATUM>20130716</DATUM>

  </E1EDK02>

- <E1EDK02 SEGMENT="1">

  <QUALF>017</QUALF>

  <BELNR>008111111</BELNR>

  </E1EDK02>

- <E1EDK02 SEGMENT="1">

  <QUALF>087</QUALF>

  <BELNR>0091111111</BELNR>

  </E1EDK02>

 

(or)

 

- <E1EDK02 SEGMENT="1">

  <QUALF>001</QUALF>

  <BELNR>711111111</BELNR>

  </E1EDK02>

  </E1EDK02>

- <E1EDK02 SEGMENT="1">

  <QUALF>017</QUALF>

  <BELNR>008111111</BELNR>

  </E1EDK02>

 

 

Please help on how to achieve this. Thanks in advance.


Sender SOAP no payload at SAP PI 7.4 single stack

$
0
0

Hello All,

 

I have sent the test data from SOAP UI to SAP PI but the message is received but no payload any thoughts it would be rewarded.

 

Thanks,

Arun.

Problem ALEAUD IDoc cannot find request IDoc in Integration Server

$
0
0

Hi experts,

 

I have a scenario where I send an ALEAUD.ALEAUD01 IDOC to PI (IDOC-->JDBC Scenario).

 

When I run the interface, the ALEAUD01 IDOC gets created with the status 03     - Data passed to port OK

But when I log into SXMB_MONI in PI, There's an error message "ALEAUDIT IDoc cannot find request IDoc in Integration Server"

 

I have run the report IDX_ALEREQUEST in SE38 and give the required details, but I still have error message

 

Can someone please help me fix this?

 

Thanks

file content conversion xml.keyfeildname.no value

$
0
0

Hi experts,

 

here i was facing a big issue i was doing file to soap scenario

 

my file consist of one customer and multiple products in one string with pipe separator and specific end separator again it followed by another customer with multiple no of materials like

 

23455|snisw|mdhbvej|wsdwcsd;

23466|dnews|nsk|show;

 

here i taken in DT 2 fields as customers and materials  with 0-1 occurrence and mapped to respective target fields.

 

i did file content conversion as in the attachment

 

but i was getting error message as

 

Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'xml.keyfieldName': no value found


i was unable to pick the file please suggest me for the above problem its very urgent


Regards,

Vijay

Sender JDBC stored procedure

$
0
0

Hi,

 

I am having an requirement to fetch and update records from PO_HEADER and PO_DETAILS field from DB2 database. Also, I need to update the trans_flag from 1 to 2 in both the tables.

 

DB team is ready to write the stored procedure, but they are asking what should goes into. Also, what would be the structure of result-set, that I'll use for my sender data type, assuming PO_num, Vendor, PO_item, Po_material are the fileds.

 

Regards,

Sachin Dhingra

File content conversion - keyFieldValue with spaces only

$
0
0

Hello

 

I´m configuring MessageTransformBean module to convert a text flat file to XML file.

 

My flat file has fixed lengths and I´m using keyFieldValue to get the correct structure. The problem is that the header structure has '    ' (4 spaces) value at the keyFieldValue and I´m unable to make it work.

 

To clarify, this is the header line:

 

920       201505011635HEAD0001    03

                                                                        ^   4 spaces key field value

 

I already tried it many ways:

 

xml.Header.keyFieldValue:     (4 spaces)

xml.Header.keyFieldValue:'0x20''0x20''0x20''0x20'

 

I also have xml.fieldContentFormatting = nothing

 

If I change the source text file to:

 

920       201505011635HEAD0001aaaa03

 

and configure the module as:

xml.Header.keyFieldValue:aaaa

It works perfectly. So my configuration of fields and everything else is correct, the only problem are the spaces. I made some tests trying to use hex code for aaaa testing like '0x61''0x61''0x61''0x61' but hex code doesn´t work anyway. Woking on PI 7.11.

 

 

Any ideia?

 

Thanks

Cannot delete file from the source dir. after processing in a FILE-to-FILE scenario

$
0
0

Hi Masters,

 

I am trying to run a simple Passthrough (i.e. dummy) scenario where I am getting an error in the sender communication channel which says that "it

could not delete the file from its location after processing". Whenever I change the processing mode to 'Test' then the error in sender CC disappears but still the file doesn't reach the target location.

 

Secondly, I need to know whether the error of scheduling background job for clearing reports in BPE can cause an interruption to the working of any scenario or not? What further steps should I take to resolve the error in BPE?

 

Please find attached the necessary screenshots of errors and configuration objects related to the scenario below so as to understand the problems with our scenario. Request you to look into this issue and help me accordingly as soon as possible(Very High Priority).

 

1. Error in Communication Channel:

cc_error_01.png

cc_error_02.png

2. Error in BPE:

bpe_error_03.png

I have already worked out with the components to maintain in SWF_XI_CUSTOMIZING

swf_xi_customizing.png

 

Configuration Objects created in Integration Directory for the working of Passthrough Scenario:

 

1. Business Component:

bc_receiver_passthrough.png

bc_sender_passthrough.png

2. Sender Communication Channel:

cc_ob_pass_01.png

cc_ob_pass_02.png

3. Receiver Communication Channel:

cc_ib_pass_01.png

cc_ib_pass_02.png

4. Receiver Determination:

recv_detm_pass.png

5. Interface Determination:

intf_detm_pass.png

6. Sender Agreement:

sender_aggr_pass.png

7. Receiver Agreement:

recv_aggr_pass.png

Thanks in advance.

 

Regards,

Anand

How to connect SAP PI to Oracle Data Integrator (ODI)?

$
0
0

Hi All,

 

I am on a project where ODI is already mainly used to move data in high volumes from one system to another.

 

They are deploying SAP and now, ODI will have to send data to the new SAP systems (ECC, CRM etc) in a dual maintenance mode (Main legacies and the new SAP systems will have to live alongside each other for 2-3 years).

 

They are considering to send data from ODI via PI (PO 7.4) to ECC, CRM etc.

 

First of all, ODI - Oracle Data integrator, is an ETL and making an ETL send data to an EAI (SAP PI) does not make any real sense to me.

ODI can integrate data directly via the ALE layer through IDcos to ECC, CRM etc and we have successfully tested this.

Moreover, the high volumes of data would simply not be suitable for SAP PI (Big Data movement in SAP PI is not yet released by SAP).

Personnally, I would recommend SAP BODS for high volumes data migration and SAP PI for transactional (1Mb to 5Mb) messages from a SAP technology standpoint.

 

This said, now to the main technical subject: How to send data (regardless data volumes) from ODI to SAP PI ?

 

  1. We have successfully sent data via the SOAP adapter to PI with the SOAP connector in ODI. You need to provide to ODI the WSDL from PI that ODI will store locally and the Service Interface name.
  2. I am also considering sending IDocs to ODI (External System) with a scenario ECC -> PI - > JCO (and vice versa) via the TCP/IP RFC destination as described in the following blogs:

          Unable to send IDOCs from SAP PI 7.3 system to a NON-SAP system

          IDoc from SAP ERP -> PI -> as IDoc to Third-Party system

          Exchanging IDocs with Non-SAP system over TCP/IP using PI as Middleware

        However, I've still not figured out how to create a TCP/IP connection on PI 7.4 Java Stack only. It does not seem to be present in the  "Destinations" or "JCo RFC Provider".

 

        Does anyone have any idea ? Please help!

 

Also, could anyone share their views on the whole subject and also on the technical part of exchanging data between Oracle ODI and SAP PI?

 

Many thanks in advance! :-)


Need help in XSLT understanding

$
0
0

Hi Team,

 

Could anybody explain me meaning of below code -

 

<xsl:apply-templates select= "@*|*|text()"/>

 

Regards,

Rashmi Joshi

PI7.4: ESR & ID not opening

$
0
0

Hi Experts,

 

I am using PI 7.4 on windows 7 (64 bit version).

I am not able to open ESR & ID. I have tried with many JRE versions(1.6 u 25, 1.6 u 33, 1.6 u 45, 1.7 u65) but nothing worked.

 

Hosts file is properly updated and java cache is also cleaned.

Strange part is, I can open it on other systems using my credentials but not on my laptop.

 

Please advice.

 

Regards,

Vikram

XI 7.0 Message mapping - Get Value from other node

$
0
0

Hello experts,

 

my problem is as shown below.

 

- Source message has n items.

- Each item contains an item number (MATERIAL) Language (LANGU) and description (MATL_DESC)

- Key is MATERIAL

- There should be a fallback language "English".

- MATL_DESC contains NO vlaue and language is DE, then value of MATL_DESC with the same material number and language EN should be selected.

 

- see below picture: for the empty field MATL_DESC the value of the "English" material (same MATERIAL) is to be used.

 

Who has an idea to solve this with graphic mapping?

 

Thank you in advance.


Best regards

 

 

 

SOAP to Proxy-Multiple attachment

$
0
0

Hi,

 

 

The scenario is SOAP to Proxy -synchronous scenario.

 

 

The SOAP request consist of 1 header and multiple line items of order.

 

 

In the soap sender channel i have enabled and checked keep attachments.

 

 

my requirement is -

 

(1) for every line item (which may be N -its variable) unique attachment to be received by PI and sent to ECC proxy. If there are 2 line items coming in request,then 2 attachments will also come. How to send N number of attachments to ECC proxy ?

 

(2) Can we club together all attachments into single attachment ?

 

Please provide other solution than -

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/12/26/handle-soap-with-attachment-in-sap-pi-731

 

 

Regards

PI 7.11 Directory API to mass change communication channels

$
0
0

Hi all,

I am using PI Directory for mass updating communication channels. The update consists of mass deactivate active channels in the Directory.

I am using the web service CommunicationChannelIn to udpate.

The problem is that this web service, do not give the possibility of updating individual properties of a communication channel.

In order to change one property, let say AdapterStatus, we need to read the whole adapter settings by using the read operation of the web service, getting the result of class com.sap.xi.basis.CommunicationChannel, build a new object of type com.sap.xi.basis.RestrictedCommunicationChannel by using setters and getters methods, with changing the wanted channel property, and then call the change operation to update.

Here is the code snippet i have used in order to copy all the channel properties before calling the update method :

 

10-06-2015 17-26-32.png

 

The problem with this approach is that i am not sure to have copied all the wanted properties (thanks SAP for having used a different java class types form read operation and the change one ...)  and that i am not loosing some information in the copy process ...

 

Any comment or idea to ensure that the channels are copied exactly as they are ?

 

Thanks alots,

Nadir

message id not generated

$
0
0

Hi all,

 

I have developed an interface SQL-->PI-->ECC, using jdbc-->pi-->idoc_aae. This interface was working fine indev box. When imove thisobjects from dev to quality and started the sender and receiver communication channels, there ican able to see the message id in the sender communication channel..But when isee the receiver communication channel, the message id was not generated.

 

So, hopefullyiclicked on the message id in the sender communication channel..therethe content of the message was not shown.  I have even checked with the message id in message monitoring, it's not reflecting any data

 

Whenichecked into message monitoring, there the interface was not reflected with how many successes or failure messages

 

Please help me out in this..

error for inbound message

$
0
0

Hi Experts,

 

here i was trying trigger from rwb test case for inbound here i was seeing the error message while processing the file can any one suggest me the solution

 

error message

 

Error While Sending Message: Additional error text from response: com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=BC_SALESORDER_NIMBUS_SAP;TS=;AN=SI_SALESORDER_NIMBUS_SAP;ANS=http://Westcon.com/Bluesky_Nimbus; in the current context [Unknown].

 

 

Regards,

Vijay


HTTP URL with input payload as argument

$
0
0

Hi ,

 

We have a IDOC to HTTP interface.

We need to send the complete IDOC XML payload as an argument in the HTTP Post URL.

Can you please suggest if this can be done.

Sender FCC with SFTP Adapter required recordset structure name

$
0
0

Hi All,

 

I have configured Sender FCC with SFTP adapter, Scenario is working fine but need below.

 

 

1) the segment name (Row) was created by default but i need to create the segment with name Header.

 

Required:

<MT>

 

    <Header>

 

             Ele1

             Ele2

Sender File.PNG

2) Message fails in PO if I don't use the parameter "xml.processFieldNames", Is this parameter is mandatory?

I don't want field names to be taken from file as my file will not contain fieldnames in it.

FCC_sender.png

 

 

Regards,

Mani

payload issue in PI while receiving the data from ECC to PI via Proxy

$
0
0


Hi PI Experts ,

 

My Interfaces is Outbound :  SAP (Proxy) ---------->PI--------->SFTP .

 

While receiving the data from ECC to PI i am getting below issue.Please can you help on the below issue.

 

 

Characterissue.PNG

 

 

Thanks

Storing data into ECC table

$
0
0

Hi,

 

I have developed a scenariojdbc-->pi-->idoc_aae.

 

My requirement: iwant to pick few field values(i.e idocnumber, invoice number, invoice time) from sql table and postinto ECC.

 

Here,ihave tested the complete interface and working fine....

 

I have a weired case....

 

InSQL table, there were 34 different idoc numbers with their respective invoice numbers and invoice time. Whenever the data is picked from SQL to ECC, the last idocnumber(i.e 34th idoc no.,invoice no. andtime) is getting saved into ECC tableat each and every poll interval. The rest of the idoc numbers i.efrom 1,2,...upto33 where not reflectingin ECC table.

 

When ichecked in the message monitoring, the message id was generated and the payload size is 1.5mb. I have checked all the payload information, there it was reflecting the 34th idoc number and their respective invoice number and time butits not reflecting data from 1,2,...upto 33 idocs..

 

The Query statementihave maintained in sender communication channel is " Select Idoc no, Invoice number, Invoice time fromdbo.SalesDataFromSAP;"

 

Should we need to maintain any procedure call in SQL db?

Getting Line 1 : Null error while importing WSDL in SOAP UI

$
0
0

Hi Experts,

 

I am getting " Line 1 : Null" error after importing WSDL in SOAP UI and trying to validate it.

 

Please suggest what can be the issue?

 

 

Thanks

Harshmeet

Viewing all 6719 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>