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

IDOC from R3 -> their PI -> our PI -> our R3

$
0
0

Hi,

We want to send an IDOC from an R3 system to PI, from this PI system to our PI system and then to our R3.

Please can someone advise me on how to achieve the PI to PI bit, the other two sections I am familiar with but not sent from PI to PI before. Any help greatly appreciated.


IDOCXmlToFlatConvertor + Z IDOC Extension

$
0
0

Hi Experts,

 

We are getting the following error message while trying to use the IDOCXmlToFlatConvertor standard module with Z IDOC extension. The IDOC standard works perfectly.

 

The our scenario is IDOC >>SAP PI 7.11 (IDOCXmlToFlatConvertor) >> SFTP

 

Basic type: ACCONF01

Extension: ZP10FINACCONF01_EXT

 

--Error message---


Message processing failed. Cause: com.sap.conn.idoc.IDocParseException: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZP10FINACCONF01_EXT>: state=READING_FIELD_VALUE_TAG, charPosition=926, lineNumber=2, columnNumber=888

 

Once the Z1P1DCIW_BLOCKDATA segment is removed from the XML, it works fine (using the RWB to send it)

 

2015-04-07 23_35_43-Sem título - Paint.png

We alredy tried to delete & remove the metadata from IDX2, update the cache.

 

Is there any place to set up the Z extension in the configuration steps?

 

Thanks in advance,

 

 

Leandro Silva

message mapping for E1EDPT1/E1EDPT2/TDLINE split and assign in proper context of E1EDPT2

$
0
0

hi all,

 

i've a source structure and target structure which looks like this below

 

        <L_PO1>

          <S_PO1>

            <D_330>30</D_330>

            <D_355>BD</D_355>

            <D_235>BP</D_235>

            <D_234>MAT1</D_234>

          </S_PO1>

          <L_PID>

            <S_PID>

              <D_349>F</D_349>

              <D_352>description which can have length 140 characters max</D_352>

            </S_PID>

          </L_PID>

          <L_PID>

            <S_PID>

              <D_349>F</D_349>

              <D_352>another description for the same MAT1 which also can have max 140 char</D_352>

            </S_PID>

          </L_PID>

        </L_PO1>

 

The target structure is a IDOC orders and it should look like this below after the mapping of item level segment

 

 

<E1EDP01 SEGMENT="1">

<MENGE>30</MENGE>

<MENEE>BD</MENEE>

<E1EDP19 SEGMENT="1">

<QUALF>001</QUALF>

<IDTNR>MAT1</IDTNR>

</E1EDP19>

<E1EDPT1 SEGMENT="1">

<TDID>Z001</TDID>

<TSSPRAS>E</TSSPRAS>

<E1EDPT2 SEGMENT="1">

<TDLINE>take first 70 characters of the description</TDLINE> "if the description is greater than 70 characters

<TDFORMAT>/</TDFORMAT>

</E1EDPT2>

<E1EDPT2 SEGMENT="1">

<TDLINE>remaining 70 characters or less from the description</TDLINE> "create a new TDLINE with a new context of E1EDPT2.

<TDFORMAT>/</TDFORMAT>

</E1EDPT2>

<E1EDPT2 SEGMENT="1">

<TDLINE>this description is not greater than 70 characters</TDLINE> " no need to split because it's not more than 70 characters.

<TDFORMAT>/</TDFORMAT>

</E1EDPT2>

</E1EDPT1>

</E1EDP01>

 

so, basically, I have to split description into 70 characters if its more than 70 characters and assign to a new TDLINE field.

 

howz it doable?

 

thx

mike

Email Alert Configuration for Error Communication Channel

$
0
0

Hi,

 

I would just like to ask is there a configuration option needed in Alert Configuration (RWB) to be able to send email alerts when there is a communication channel error  in the Communication Channel monitoring (RWB> Component Monitoring > Adapter Engine)?

 

I am using SAP PI 7.3

 

Kindly help.

 

thank you.

Acknowledgement error in adapter engine

$
0
0

Hi,

 

i have a scenario soap to saop. this scenario is succesful in integration engine as well as adapter engine bt an acknowkedgment error is being returned :-

 

 

Delivery of the message to the application using connection AFW failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to invoke the method java.lang.String.indexOf(int) of a null object loaded from local variable 'str'


i am not understanding why is this arising


Experts please suggest something.


Thanks

Sandhya

SAP SFTP sender channel error

$
0
0


Hi All,

 

SFTP sender channel is not picking file from server but in channel log it is giving a log stating " Directory under file path 76 returned{1}. These include directories and links" No files found .

 

Although SFTP server has the file placed at defined directory.

 

 

Thanks & Regards,SFTP error.png

Nida

Mapping one ID with several entries

$
0
0

Hi,

 

I got a problem I'm not sure how to resolve.

 

My data looks something like below. The numbers is representing a customer, and the text next to it what type of message that customer can use.

What I need is to take the unique customer number and tell the target side what messages this customer can use. Also, the optimal solution for my target side would be if each type of message could be represented as an "X". The messagetype needs to be in the same order for all customers.

 

123456 INVOICE

123456 ORDER

123456 ORDERRESPONSE

654321 ORDER

654321 DISPATCHADV

111111 INVOIC

 

So target could look something like this:

 

123456 ORDER, ORDERRESPONSE, INVOICE, ,

654321 ORDER, , ,DISPATCHADV

111111 , ,INVOICE

 

And the optimal solution:

 

123456 X, X, X, ,

654321 X, , ,X

111111 , ,X

 

So the "X" states what kind of message type it is, and the comma separates the message types from each other.

 

any idea how to solve this? I need to write this to a text file, so I guess I'm going to use content conversion.

Need to create custom alerts in SAP PI 7.4 single stack

$
0
0

Dear Experts,

 

Currently we have been migrated to SAP PI7.4 (single stack) from SAP 7.1(dual stack).

 

In SAP PI7.1 we have custom alerts created with custom email subject and body using Transaction Code 'ALRTCATDEF'.

Same way we need to achieve this in SAP PI7.4.

 

We have used alert rule with standard consumer 'ALERT-TO-MAIL' in ID, it gives too much information in alert mails and we need to customize these alert notifications.

We have created Alert Rule with custom consumer in Integration Directory of SAP-PI 7.4 but unable to change email subject and body details. 

 

Please let me know is there any way to achieve this in SAP PI7.4 (Single Stack) and how?

 

I have referred below links.

http://scn.sap.com/thread/3209979

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/05/05/michals-pi-tips-component-based-message-alerting--api

 

Thanks & Regards,

Nitesh Valecha


Unregister SAP XI DAE in SLD

$
0
0

Hi Experts,

 

   I have 1 unused SAP XI DAE need to be retired soon, how can I unresgister this DAE from SLD ?

 

Regards,

CME.

Integration Builder: Business System Assignment: Insufficient Authorization

$
0
0

Hi Experts,

 

Looking for some light on my issue.

 

We had been implementing PI 7.4 AEX SP10 and in the processing of setting the ID configuration prior which the SLD part is completely done.

 

While starting with Assigning Business Systems it throws the below error.

 

Insufficient authorization to create object Communication Component:

 

I had all the authorizations for my user. When tested for edit authorization, i tried to import a Party from other system and it gets imported successfully. But the only issue while assigning business systems.

 

I have checked this note already. 

 

1690250 - Error when executing Display/Edit in PI ESR/Directory

 

Have any of you faced this. Can you share your ideas here. Thanks in advance.

 

I am still looking for solution and if it gets fixed, i will share what helped me.

 

Best regards,

Venkat

Process XML data embedded in the SOAP Envelope in PI

$
0
0

HI,

 

     I have a requirement where PI will be consuming the webservice of client system and the below structure will come back as a response. Now while generating an XML file for the error payload below, the data is getting garbled as a result a proper XML is not getting generated.

 

I understand I would be requiring a Java code to handle this which is fine. But my queries are as below :-

 

1.) Since it is a synchronous scenario, will the SOAP receiver process the below data or it will fail in the adapter SOAP receiver adapter itself?

2.) Will the data come inside PI and hit the Mapping Step and before that I can put a java mapping to remove the envelopes etc and send it to ECC ?

3.) Also there are French umlauts which are present in the payload will that show up in the message monitor as it is send from the target system?

 

 

 

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<GenerateResponse xmlns="http://www.abc.fr/">

    <GenerateResult>

      <ErrorCode>0</ErrorCode>

      <Value>

          <ErrorLog>&lt;?xml version="1.0" ?-UTF-8&gt;

                                   &lt;File name="20150407_093849_158.XYZ" importDate="07/04/2015 09:38:49"&gt;

                                   &lt;Event Date="07/04/2015 09:38:49" Tag="IMPORT_EVENT_IMPORT_START"&gt;

                                   &lt;/Event&gt;

                                   &lt;Event Date="07/04/2015 09:38:49" Tag="SHIPMENT_CREATION_ERROR"&gt;

                                   &lt;Erreur&gt;Vos colis n'ont pas de numéro de pointage unique.&lt;/Erreur&gt;

                                   &lt;/Event&gt;

                                   &lt;/File&gt;

               </ErrorLog>

               <LabelList />

     </Value>

    </GenerateResult>

  </GenerateResponse>

</soap:Body>

</soap:Envelope>

Error in RFC adapter

$
0
0

Hi Gurus ,

 

I am using PI 7.31 dual stack there I have build new RFC2File scenario, I tried to send the data from SAP through RFC adapter but it ended with below error. could you please check and update the feasible solutions to fix the issue .

 

error screen.PNG

 

 

Thanks in advance ,

 

Raja

Standard Reprocessing Job in 7.4 Singlestack

$
0
0

Hi Experts,

 

Please help me with the standard reprocessing job name used to restart the system error messages in PI 7.4 SIngle stack.

 

I know we can manually setup this in SOA, and the Jobtype is 'restart'. But I am not sure whether this is the standard or custom Job.

 

Regards,

Prathap.

time issue in RFC to JDBC scenario

$
0
0

Hi All,

 

I have RFC to JDBC asynchronous scenario which working fine. Issue is some times it takes lot of time in PI processing though data sent is almost same in size. In normal case it is processed with in 2-3 seconds. I have user QoS as EO.

 

time_issue.jpg

 

What can be issue of this delay in PI.

 

Thanks

FCC in SFTP adapter

$
0
0


Hi,

 

   My scenario is from SFTP to IDOC.We are using FCC in SFTP adapter.

 

We have a nested structure in the file.The input file is as below:

 

01ABC12345 - Header

04FCD34567 -Item1

05AMGDC34

06XXXXXXXX

04FCD34567 -Item2

05AMGDC34

06XXXXXXXX

99ABCDED

 

We have created the structure as below:

 

MT_Data

  Header

       <Record>

             Document -04

            Payemnt -05

           PaymentInstruments -06

      </Record>

  Trailer

 

Could you please let me know how we can acheive this using FCC.

 

i have refered the below links and tried the FCC,but didn't get the correct output as expected.

http://scn.sap.com/thread/3263334

http://scn.sap.com/thread/3187445


Separation of iFlows using iDoc party setup? PI AEX

$
0
0

Hi all,

 

we have the following situation. We are sending ORDERS.ORDERS05 IDocs from ERP to PI 7.4 AEX and from there to multiple receivers. Some go to SNC, other do "direct communication" with the respective supplier

 

1. ERP (IDoc) --> PI --> SNC (ABAP Proxy)

2. ERP (IDoc) --> PI --> Supplier 1 (HTTP_AAE)

3. ERP (IDoc) --> PI --> Supplier 2 (HTTP_AAE)

...

 

The control records of the IDocs that are sent from ERP look like this:

1. To SCN

MESFCT = SNC


SNDPOR = ERPSYS

SNDPRN = LOGERP

SNDPRT = LS

SNDPFC = <empty>

 

RCVPOR = PISYS

RCVPRN = 1234 (Party number of one supplier that is handled by SNC)

RCVPRT = LI

RCVPFC = LF

 

2. To Supplier 1

MESFCT = EDI


SNDPOR = ERPSYS

SNDPRN = LOGERP

SNDPRT = LS

SNDPFC = <empty>

 

RCVPOR = PISYS

RCVPRN = 4321(Party number of the supplier 1 that does direct communication)

RCVPRT = LI

RCVPFC = LF

 

The first scenario to SNC already existed and was built using an iFlow and standard XI Content provided by SAP (SNC inbound interface is ReplenishmentOrderNotification_In). Let's assume the name is "iFlow_SNC"

Now if i want to add the second scenario with direct communication to supplier to a new iFlow (say "iFlow_EDI_1") NWDS doesn't let me do this because the sender service and sender interface are already in use by "iFlow_SNC". I know I can just add interfaces to that iFlow_SNC and use receiver split with XPath to route to the correct receiver but I hesitate to do so because when looking into future we may have say 100 suppliers and the iFlow will get hard to maintain by then.

 

Questions:

1. Are there any best practice to deal with such situations (Same IDoc sender system / service to multiple receiver)

2. I fiddled around with parties (assigning the business system of ERP to a party and then creating a new iFlow based on that) but as you might expect, still iFlow_SNC gets chosen and routing fails because there is no rule for supplier 1 there. Is Party setup the right way here? If so, what did I do wrong?

 

Many thanks and kind regards

Jens

Getting File name dynamically

$
0
0

Hi All,

 

IDOC ---> File   ---> Pass thru scenario.

 

File name should get dynamically.  Please help the same.

PO single stack restart

$
0
0

I am on a PO single stack. I have done some changes in the Java System properties in NWA. Should I restart the system?

 

If I restart the system, how long will it take?

 

I have some JDBC interfaces being triggered evey five minutes. What wil happen to them? Can I reprocess them after rrestarting ?

Unable to see or view idocs in sxmb_moni or idx5 in sap xi

$
0
0

Hi All,

 

I am unbale to see  the idocs in tcode idx5 or sxmb_moni which are triggered from SAP R/3.

 

When i trigger some idocs from sap R/3 and check them immediately in sxmb_moni or idx5 with those idoc nos then i am able to see those idocs.

but ,when next day i check the same idocs in sxmb_moni or in idx5 in sap xi then am unbale to get those idocs even though date and time is set proper.

 

It is happening only for some of the message types like ORDERS05 and some z idocs.

 

What could be the issue and what is the table name for idocs to be stored in sap xi/pi.

 

Please help me on above issue.

Mappings within BPMN

$
0
0

Hi,

 

Is it necessary to have service interfaces and Operation mappings if we are using mappings within BPMN?

Viewing all 6719 articles
Browse latest View live


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