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

CSV file lines - multiple targets

$
0
0

Hello,

 

I have a scenario where I need to read lines from my CSV file and route the information from each line as an email to different set of receivers based on the condition in the lines.I'm using XSLT map for the emails. But when there are no records for 11B an empty email is generated..how can I avoid sending that empty email when records are not there..? Please advise.

 

 

For example if the csv has four lines..

 

Customer ID   Dept   Information

A                    11A   absbasb

B                     11B   12232323

C                      11A  adsdsdsd

D                      11B  122233

 

The email should go to receiver 1(11A) as

Customer ID   Dept   Information

A                    11A   absbasb

C                  11A  adsdsdsd

The email should go to receiver 2(11B) as

B                 11B   12232323
D                  11B  122233

Thank you

 

 

Larry.


IDOC number not reflecting in PI level

$
0
0

Hi,

 

This is a weired case what i am facing..

 

We are using Single Stack PI 7.4

 

Actually, idoc was generated in ecc level and showing 03 status, but when i am monitoring the same idoc number in PI level, it's not reflecting.

 

I have checked in queue level sm58, there is no idoc stuck over.

 

Please help me out with the solution on the same to get resolve.....

Back up and archiving - PO 7.4

$
0
0

                  Hello, We are migrating SAP PI 7.0 to SAP PO 7.4. Since we are using BPM and B2B, We don't want to go for Offline back up. IF we go for online back up , SAP has mentioned that some of the component can not be backed up in online backup. So can you please let us know http://help.sap.com/saphelp_nwpi711/helpdata/en/48/bc22bfa70a0611e10000000a42189b/frameset.htm You can apply two backup strategies: •Offline backup - this strategy enables you to create a full and reliable backup of your system, so that the system can be restored in case of a hard disk crash or operating system problems. This strategy requires system downtime, and therefore is not very suitable to be performed on a daily basis. •Online backup - using this strategy, you can backup the database and the file system, which enables you to recover only particular components of your system. It does not require full system shutdown, and therefore is convenient for creating regular incremental data backup. Online backup does not guarantee a full and consistent backup of all system components. We are using comm vault to take back up. Plese let us know which component can not be backed up and is it safe to go online back up ?

how to configure alerts for sxmb_moni using SOLMAN

$
0
0

Hello All, Could you please help us in getting steps for alert configuration for sxmb_moni alerts using Solman.

ResponseOneWayBean in receiver soap adapter not changing header

$
0
0

Hi Experts,

 

I have a scenario in which i am sending the data to a WS synchronously, (and expecting a response).

To achieve this, i am using the Beans in my communication channel (soap receiver).

But when i am sending the message, i am getting an error - 'sender agreeement not found' (screenshot attached)

 

After going through the error, i am assuming that the ResponseOneWayBean is not able to change the header i.e. it is not able to fetch the sender interface i have maintained in the communication channel, and therefore not able to fetch the sender agreement.

 

Please help me regarding this and suggest what else should i do??

 

Regards,

Aayush Aggarwal.

SOAP UI ERROR

$
0
0

Hi Experts,


While testing whith soapui for the soap interface in sap 7.3 i am getting bellow error suggest me where i am doing mistake could not convert request from XML to RFC:com.sap.mw.jco.JCO$ConversionException: (122) JCO_ERROR_CONVERSION: Date '?' has a wrong format at field START_DATE: Unparseable date: "?"

Attempt to process file failed with com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=;TS=;AN=

$
0
0

Hi Everyone,

 


I am working on File(FCC) to BAPI Async Sync scenario and using RequestResponseBean.

PI version 7.30,

09

 

Its an ICO configuration. When testing end to end, file is not being Archived or Error our in the folder, file still remains as is and I see messages in Message Monitoring in Adapter Engine.

 

File sender channel is throwing error as

"Attempt to process file failed with com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=<Receiver SAP Business system>;TS=<Sender Business system>;AN=<Outbound Message Interface>"

 

Can you please advise, what could be the issue and its resolution.

 

 

 

Thanks,

Varun

Integration webservices

$
0
0

We have integration of crm with landscape

 

Client wnts to knw advantages and disadvantages of using PI

 

Advantages

 

content based routing

alerting

 

are there any advantages if not using PI ans use direct connections with SOAMANAGER?


REST sender authentication

$
0
0

Dear all,

I am currently configuring a REST to RFC scenario for testing purpose. It works well, even the JSON to XML and back works flawless.

Testing with POSTMAN plugin I did not need to configure any security on the client side by default. Also in the REST sender channel I don't find any security options (not even HTTPS, only HTTP).

 

We are on a PO 7.4 SP10. What options do we have regarding authenciation for REST sender services?

Side note: in the documentation I found the note of "REST sender polling" but I don't find it available on our system. Are we maybe missing some installation steps?

XSLT to receive message problem

$
0
0

Hi expertes, i implemented  a xslt to remove soap envelope, i can receive the message in this form:

 

<?xml version="1.0"?>

<NS1:ArchivoTransaccionRfResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:NS1="urn:WsTransaccionRfIntf-IWsTransaccionRf"><return xsi:type="xsd:string"><?xml version="1.0" encoding="ISO-8859-1"?> <Mensajes version="1.0"> <Codigo> 103</Codigo> <Descripcion> Problema en Estructura de Archivo XML</Descripcion> <Mensaje> No es válido en el nivel superior del documento. Line: 1 String 4 () </Mensaje> </Mensajes> </return></NS1:ArchivoTransaccionRfResponse>

 

but I just need RECEIVE this label: return,   xslt using this probe , without success:


<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

xmlns:ns0="http://tempuri.org/"

xmlns:NS1="urn:WsTransaccionRfIntf-IWsTransaccionRf">

    <xsl:template match="/">

        <ns0:ArchivoTransaccionRfResponse>

            <return>

                <xsl:value-of select="NS1:urn:WsTransaccionRfIntf-IWsTransaccionRf/return" />

            </return>

           </ns0:ArchivoTransaccionRfResponse>

    </xsl:template>

</xsl:stylesheet>

 

 

i hope your comments thank you.

Call PI from XI-Proxy for mapping only (synchronous)

$
0
0

Hello everyone


I'm currently facing the following scenario which I'm not able to find an elegant solution for:

  1. Synchronous XI-proxy in the SAP Backend
  2. ABAP call of proxy with input parameters as request
  3. Process mapping for these values in PI
  4. Route result of mapping back as response to the proxy


Is that in any way possible?

In that scenario, we want to call PI as a mapping service only. There is no other receiving system involved.

Perhaps, there are additional steps needed between 3 and 4 (I thought in the direction of a sync-async bridge but I can't find a solution without creating another XI-proxy that does inbound message = outbound message).


Is there perhaps a way to define a dummy receiver and dummy communication channel with a bean, that just routes the data back to the messaging system so that the response mapping is triggered?

 

Any help and ideas are very appreciated!

 

System is PI 7.4

 

Thanks,

Jochen

SAP tables for PI tcodes

$
0
0

Hi Experts,

 

My scenario is that i am creating a daily monitoring report for the SAP PI server checking through the tcodes like sxmb_moni, smq1, smq2, etc.

Now i want to automate the creation of this report and trigger an email.

Can anyone please tell me that how could i achieve this, are these store in any sap tables???

 

Regards,
Aayush Aggarwal

Inbound proxy messages missing

$
0
0

Hi,

 

We have File to Proxy scenario in PI 7.1 system. File sender channel shows that file has been picked up & archived in PI.

 

SXMB_MONI in PI ( for Recv) shows everything fine, But somehow i cannot find that messages in ECC.

I checked the following

 

(1) Ques are empty on both systems

(2) message monitoring for IE in PI looks good

(3) RFC of type H from PI to ECC works fine.

 

Not sure where else to look for missing message.

 

Please advice.

HTTP POST Query string part of URL and not in Body

$
0
0

Hello experts,

 

Here are few details.

PI system : 7.4 single stack PI

Scenario  : Idoc - PI - Http (OAG for order acknowledgement)

 

If you have a closer look at the OAG requirements above, especially at the link

The important point to note is the header fields are part of the body.

 

This is where i am facing the issue when using the HTTP_AAE adapter. The adapter configuration are as below. Untitled1.png

And then the encoding type is specified as : application/x-www-form-urlencoded

 

On advanced tab, Header details are emplty

For query parameter, message id is there and then quiet a few additional query parameters

like

TRANSPORT_PROTOCOL=OXTA

TRANSPORT_PROTOCOL_VERSION=1.0

REQUEST_TYPE=SEND

MESSAGE_ID=XXXXXXXXXXXXXXXX

MESSAGE_TYPE=XML

MESSAGE_STANDARD=OAG

TRANSACTION_TYPE=POACKPO

TRANSACTION_SUBTYPE=POACKPO

DOCUMENT_NUMBER=

PARTYID=XXXXX

PARTY_SITE_ID=XXXX

PROTOCOL_TYPE=HTTPS-OXTA

PROTOCOL_ADDRESS=

USERNAME=userID

PASSWORD=password

PAYLOAD=ACKNOWLEDGE_PO_008

 

Idoc is converted to xml using xslt transformation.

 

Now with all this, the http out has all the query parameter as part of URL and not in body.

 

Due to this I am getting error as Payload Null.

 

One of the solution is have the query parameters in body, in which case there is not place holder for the payload like ACKNOWLEDGE_PO_008 in this case. See the file image below.

 

The file looks like this

Read SHOW_SHIPMENT_005 as ACKNOWLEDGE_PO_008 in pic below

Untitled2.png

 

My query is how to achieve this in HTTP_AAE adapter to move the query parameter into body.

 

thanks

ankur.

SAP PI 7.4 migration

$
0
0

Hi ,

We are upgrading to SAP PI 7.4 single stack. Can you please let me know the checks(validation) that are required once the system is migrated to SAP PI 7.4



Getting error when importing file in WS IChannelAdmin to STOP channels

$
0
0

Hi Experts,

 

I want to Stop multiple channels, which can be done through some automation. The channels are specific, for example I want to STOP 10 out of 25 running channels. I tried IChannelAdmin to do it & tried to import a file containing the names of the channels to be stopped but got the below error:

 

"java.lang.NullPointerException: while trying to invoke the method com.sap.engine.lib.xml.parser.helpers.CharArray.getString(com.sap.engine.lib.xml.util.SymbolTable) of a null object loaded from field com.sap.engine.lib.xml.parser.tokenizer.XMLTokenReaderImpl.uri of an object loaded from local variable 'this'"

 

Q1. May i know what type of file we can import here? I tried XML, CSV, XLS, even TXT, but it didn't work. Got the same error.

 

Also, the time is not consistent else i would have gone with ATP. But that's not possible in this case.

 

Q2. Can we have a scenario in which a file is uploaded containing the channel names to be stopped or started & that does our whole work without manual starting & stopping?

 

SAP - Trintech Integration

$
0
0

Hi,

 

Recently got an requirement from the client regarding SAP-Trintech integration. This basically used to place journals into SAP at financial close.

What cal I understand is there is two options for this integration one is using something called "SAP Connector" and another is flat file.

 

There seems to have some standard BAPI which will be used at R/3 end.

Anyone have any experience regarding this integration , please help me with some documents or with your experience. I am not getting any help from SCN regarding this.

 

Thanks in advance.

Java mapping: Coding to pick the latest values from multiple records.

$
0
0

Hi All,

I have a requirement where I need to pick the latest values from multiple records based on rundate.

 

The I/P is like this :

<Message>

<ID>1234</ID>

<Name>Raj</Name>

<Name_Date>20150512</Name_Date>\

<SSN>1298</SSN>

<SSN_Date>20150618</SSN_Date>

</Message>

..

<Message>

<ID>1234</ID>

<Name>Ajay</Name>

<Name_Date>20150516</Name_Date>

<SSN>2156</SSN>

<SSN_Date>20150614</SSN_Date>

</Message>


The Output should be:

<Message>

<ID>1234</ID>

<Name>Ajay</Name>

<Name_Date>20150516</Name_Date>\

<SSN>1298</SSN>

<SSN_Date>20150618</SSN_Date>

</Message>


So the logic is that the value of the field should be closest to the RunDate(current date).


Please let me know your feedback on how this requirement can be achieved ?

How to increase the constant value and extra alpha character for each loop without UDF .

$
0
0

How to increase the constant value and extra alpha character for each loop without UDF .

Example : presently XYZ/MM --- > XYZ/MM

 

we need to change

 

XYZ/MA

XYZ/MB

XYZ/MC

XYZ/MD

XYZ/ME

XYZ/MF

 

or

XYZ/YESL

XYZ/LKSJ

XYZ/JSHL  ( any random unique. )

 

thanks

Beginners help for B2B Trading Partner Management

Viewing all 6719 articles
Browse latest View live


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