Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all 7030 articles
Browse latest View live

JRE 7.25 incompatible with PI Tools

$
0
0

Hi.

 

After deploying SP07 patches for messaging, af, esr, guilib and tools components in a PI 7.31 double-stack landscape, I verified some system functions.

Java asked to be updated to version 7u25.

When I tried to run Enterprise Services Builder and Integration Builder from the tools directory en error showed up with the following message: LAZY_CLASSLOADING_FAILED  CHECK_LOG.

 

I think new JRE version 7u25 is incompatible with ESB and IB, but it may be also that tools delivered in SP07 have some issue.

 

After downgrading Java to JRE 7u21, ESB and IB executed correctly.

 

 

Feel free to post feedback if anyone of you have more information about this.

 

 

Thanks.


Alert for message in delivering status

$
0
0

Is there a standard alert mechanism to send out a alert to Pi tech team if we have a message in delievering status more than 30 mins in ABAP or Java stack. We had a custom program to read the status from ABAP and Java tables and send alert. Is there anything more standard available in PI 7.11 or PI 7.3?

User Defined Function

$
0
0

Hi Folks,

    Basically I am a PI consultant from the ABAP background. I really find it difficult when it comes to a UDF scenario or say I just don't know what to do in that case. Can somebody let me know about some good blogs where I can educate myself on UDFs. FYI I have already followed the below Blogs & wikis which I feel didn't help me much as I don't know the starting point.

 

http://scn.sap.com/people/william.li/blog/2008/01/02/sap-pi-71-mapping-enhancements-series-share-user-defined-functions

http://wiki.sdn.sap.com/wiki/display/XI/User+Defined+Function's+Part+1

 

Regards,

  Santosh

Transport Target to multiple clients of ECC

$
0
0

Hi,

it is not possible to have multiple clients of ECC as transport targets at the same time,  for example i have QA_ECC_200 and QA_ECC_500,  i can i have one at anytime;

 

but i have a requirement, that ECC team wants test some interfaces from QA_ECC_200  and some through QA_ECC_500, depending on the data availability in each client,

 

how do I switch back and forth in PI to get both clients working. they may want it simultaneously.

 

I see at a time I can have single client in PI, I can NOT switch back and forth easily; every time I have to import the objects from Dev to QA to take other client in place.

 

could you help me with this situation. any solution to this?

 

Thanks.

No Audit log for successful message but message not sent to SQL

$
0
0

HI,

 

I have scenario IDOC - PI -  JDBC. We send master data Vendors around 300 IDOCS to PI . In SXMB_MONI it shows all checkered flag and succesful. In RWB under message Monitoring I am not able to see any AUDIT Log. Where could be the error or the message?

 

Can i resend successful message to SQL ? The database admin says he did not receive any messages in the SQL table though PI says it was succesful.

 

This was working fine before and logsqlstatement is set to True . But suddenly I am not sure what happened.

 

Please advice.

 

Thanks,

 

Teresa

 

Edited by: Teresa lytle on Feb 3, 2012 4:09 PM

Send a email with a attachment (binary file)

Transport one R3 BS to many R3 BS ? (different clients in the same system)

$
0
0

Hi Gurus!

 

I have a SLD situation I'd like to know if it's possible to work. I have three PI and R3 systems (DEV, QA and PRD) but in the QA system the customer wants to make tests in two clients of the same system (200 and 220).

 

I have one R3 DEV business system (BS_SAP_DEV_110) and, at the present, one R3 QA bs (BS_SAP_QA_200). I thought about creating another R3 QA business system (BS_SAP_QA_220) to make a transport from R3 DEV to these two QA business system.

I tried to add this 2nd QA business system in the "transport" - "target field" in SLD, but it just changes the current BS (it doesn't add a new one).

 

 

Is it possible to achieve this?

 

Thanks to all!

CTS import failed - not a password/user issue

$
0
0

Hi, all

 

I am trying to setup CTS+ for the PO system transport. The export works, not the import.

The domain controller is solman 7.1 SP11. PO is 7.31 SP6. Here is the error:

 

Deploy Webservice environment (2013-06-27 11:20:06.0850 -4:00)

DeployProxy (vendor: 'sap.com', name: 'tc/cts/appl', scV: 'sap.com', scN: 'LM-TOOLS', location: 'MAIN_NW702P11_C', counter: '428267

8', R: '7.02', SP: '11', PL: '0', change number: '175', appl-level:0) called.

J2EE server is SM7.

Communication data provided (2013-06-27 11:20:06.0856 -4:00)

connection:http://xxxxxxxxxx:53000/rep user:null password:filled properties:empty deployType:XIR applicationType:null

Begin deployment (2013-06-27 11:20:06.0856 -4:00)

Import Event (Id:0600020C00161EE2B7E7A186089E76CC)

properties:

key:TARGETSYSTEMID value:DPI

Transport Request (Id:DP3K900002 description:cts test 2)

properties:

key:OWNER value:000230949

key:DESCRIPTION value:cts test 2

key:TARGETSYSTEM value:DPI

TransportEntity ( id:0600020C00161EE2B7E6A89467F67667 content:/usr/sap/trans/data/DP3K900002/43fbd241df3511e2ae4200001343b9ae deplo

yType:XIR applicationType:null)

properties:empty

com.sap.aii.util.misc.api.BaseRuntimeException: Reading GDI ... FAILED. Source is not well formed. SAXParseException at line -1, co

lumn -1. Details:

Message: Generic Exception:

Stacktrace:

com.sap.engine.lib.xml.parser.NestedSAXParserException: Generic Exception:  -> com.sap.aii.util.misc.api.BaseRuntimeException: Pars

ing generic data instance: begin of unexpected element script!

#at com.sap.aii.util.hmi.core.gdi2.GdiCharStreamer$GdiCharReader.startElement(GdiCharStreamer.java:345

 

I have searched through SDN and everybody says it is a user/password issue. But I have logged on to DPI with user nwdi_ctsadm(setup as the TMS XI user/pwd area) and there is nothing wrong with it. Please advise.

 

Thanks,

Jonathan.


Problem in stored Procedure to make database consistance.

$
0
0

Hi Experts,

I am facing an issue when trying to post data in database table by stored procedure. Suppose in one message the stored procedure is calling for 5 times as it has five repeated segment for StatementName and first call is inserting data in header table and next four calls are inserting data in detail table. Now in the four records insertion in detail table, one has bad data(say the last segment), so the stored procedure has failed. But what is happening, the stored procedure is inserting one record in header table and three records in detail table and for fourth it is failing in communication channel. And with a time interval again the whole message is trying to execute in database side and again inserting one record in header table and three records in detail table and for fourth it is failing in communication channel. and so on. What I need to do to make the database consistent, I need to fail the whole message, means either insert all the records in header and detail table or not a single record should be inserted in database.

 

How I can achive this?

 

Thanks,

Anirban Dutta.

Feeding new line in EDI string

$
0
0

Hi Experts,

I am creating EDI file in receiver side but it is coming in a single string with \n as end segment indicator. Eg.

ISA~00~      ~00~      ~ZZ~61870BBG   ~ZZ~BNYMELLON  ~130627~0728~U~00501~100000009~0~T~:\nGS~RA~61870BBG~

 

I need this like

ISA~00~      ~00~      ~ZZ~61870BBG   ~ZZ~BNYMELLON  ~130625~1715~U~00501~100000029~0~T~:

GS~RA~61870BBG~BNYMELLONPAY~20130625~1706~000000029~X~005010

 

PI version is 7.31 (single stack).

 

Please suggest.

 

Thanks,

Anirban

SAP Release confusion

$
0
0

Hello experts,

 

at the moment i am a little bit confused about the sap release meaning relating to idoc adapters. Reading about the old abap idoc adapter, help says this:

 

http://help.sap.com/saphelp_nwpi711/helpdata/en/43/950392b1146353e10000000a11466f/frameset.htm

 

Under SAP Release, specify the current release of the receiver system.

 

I am not sure what is addressed by this. Is it the Component version shown in System->Status in ERP?

 

For example SAP ECC 6.0. Should we enter 6.0?

 

Reading about the new java based idoc aae adapter, you can find the following sentence:

 

https://help.sap.com/saphelp_nw73ehp1/helpdata/en/cc/be413f7c8c4f978b7c755a4bc957d8/content.htm?frameset=/en/c2/91865252c84716b3b8be394851c9c0/frameset.htm

 

In the SAP Release field, enter 731.

 

What the heck?

 

Reading about the module IDOCXmlToFlatConvertor, you can find this:

 

https://help.sap.com/saphelp_nw73ehp1/helpdata/en/74/a45bc07e2043fb9b63295229178903/content.htm?frameset=/en/45/0ea2de423c2d6be10000000a11466f/frameset.htm

 

Enter the Parameter Name as SAPRelease and Parameter Value as the SAP release of the receiver system. For example, if the SAP release is 7.10, then enter 7.10.

 

When talking about 7.10, i think they are addressing the sap basis version, right?

 

Is it really this inconsistent? Is there anybody who can clarify this mess?

 

Thanks in advance.

 

Best regards,

Markus

Remove un-necessary tags?

$
0
0

Jdbc to file scenario, in this scenario we need to remove empty value tags from sender or receiver side before creating Xml document in third party.

Is that possible? I know this is very dummy question but I am new in pi and sdn

Ex:

<test>

<empdetails>

<emp-no>12</emp-no>

<emp-name></emp-name >

<emp-salary>120000</emp-salary >

<empid></empid>

</ empdetails>

<empdetails>

<emp-no>13</emp-no>

<emp-name>xsd</emp-name >

<emp-salary></emp-salary >

<empid>rt54</empid>

</ empdetails>

</test>

 

any bisy give solution for this querry.

 

Edited by: santhooshv on Dec 20, 2011 7:43 AM

 

Edited by: santhooshv on Dec 20, 2011 7:45 AM

JDBC Communication Channel error... Functionality Status remains in Green

$
0
0

Hi All,

 

I am facing some typical / strange issues with JDBC Sender Communication Channels in PI 7.3.

 

1. As per my knowledge, if there is any error rises in processing, the functionality should turn to Red. But here, it remains in Green.

 

2. And if the communication channel is automatically stopped, "Start" button should be enabled and "Stop" button should be disabled.

   But here "Start" is disabled and "Stop" is enabled.

 

3. What ever the error is, Channel is not going for second retry. It is retrying only once and further there is no process at all.

 

1.jpg

 

As a result, There are lots of messages which are not getting picked by channel, which is a huge loss in business.

 

For this issue, the temporary solution is to restart the channel using "Stop" and "Start" buttons and the solution is working for the time being.

 

2.jpg

 

But for this, we need to keep on monitoring all the JDBC sender channels. As we have requirement to create some more communication channels, it is not possible to check to each and every channel as it remains in Green. If there is no monitoring going on (in holidays), its like hell.

 

Please help me with your suggestions.

 

Warm Regards,

DNK Siddhardha.

Proxy generation terminated - extension of xsd:anyType is not supported

$
0
0

Hi All,

 

we are using standard XSD under sap "SCEMSRV 7.01" SWC in my custom service interface.

we face the below error while generating abap proxy in backend sap system

 

Proxy generation terminated: extension of xsd:anyType is not supported

let me know how to proceed.

Regards,

pradeep A.

Process Integration (PI 7.31) Handbook

$
0
0

              This document provides both an introduction to the key concepts of SAP NetWeaver Process Integration (PI 7.31) and an overview of the tasks and tools that come into play in integration projects. It is targeted at beginners wanting to get involved in the topic and experts already involved in real-life integration projects and who need a handbook to help them stay ahead.

 

               Access the handbook here. It is also available for download in PDF format from the help.sap.com


Synchronous messages taking more time (than usual) during processing in AE

$
0
0

Hello Experts,

 

We have 1 time-critical real-time interface, for which the processing needs to be completed within 15 seconds. If the response is not received within 15 seconds, then the process times out on the source system.

 

Source <--> SOAP sender (sync) <--> SAP PI <--> JDBC receiver (sync) <--> Target

 

The interface usually completes the processing within 2-3 seconds. But there are instances where the the user has reported time-outs and when we check the audit logs, it clearly indicates a processing lag within SAP PI system itself.

 

Below is the audit log information for one of the transaction that timed-out (meaning which took more than 15 seconds end to end)

 

27.06.2013 10:37:41.571 Information SOAP: request message leaving the adapter (call)
27.06.2013 10:37:41.571 Information The application tries to send an XI message synchronously using connection SOAP_http://sap.com/xi/XI/System.
27.06.2013 10:37:41.574 Information Trying to put the message into the call queue.
27.06.2013 10:37:41.577 Information Message successfully put into the queue.
27.06.2013 10:37:41.579 Information The message was successfully retrieved from the call queue.
27.06.2013 10:37:41.579 Information The message status was set to DLNG.
27.06.2013 10:37:57.968 Information The application sent the message synchronously using connection SOAP_http://sap.com/xi/XI/System. Returning to application.
27.06.2013 10:37:57.969 Information SOAP: call completed
27.06.2013 10:37:57.970 Information SOAP: completed the processing
27.06.2013 10:37:57.971 Information The message was successfully transmitted to endpoint http://xxxx:port/sap/xi/engine?type=entry using connection SOAP_http://sap.com/xi/XI/System.
27.06.2013 10:37:57.971 Information The message status was set to DLVD

 

I am just confused on how to troubleshoot this issue. From the logs, it looks like messaging system is taking more time.

Is there any particular reason why the PI processing takes more time between those highlighted steps?

If you could point me to some of the areas where I need to look at to find out the root cause, that will be really appreciated.

Conditionally suppress tags in PI

$
0
0

Hi Experts,

 

We are using service interface which sends PO from SRM to PI. We need to suppress few tags conditionally based on vendor of the PO which is in incoming pay load header. Can you please let me know how to achieve this?

 

Thanks very much!

Latha Koppara

How to pass null value to the fields

$
0
0

Hi Experts,

 

we are working on IDOC to SOAP scenario.

 

For the fields, which don't have the values we are populating by assign " / " in the sender side while generating the IDOC.

 

my requirement is to whenever the field got " / " it should display " Null " value. i mean empty value.

 

Untitled.png

 

please help me to achieve this.

 

Regards

Bhargava krishna

SAP PI (Advanced Adapter Engine Extended vs Process Orchestration)

$
0
0

We are currently in the process of designing and installing a SAP NetWeaver 7.3

EHP1 Process Integration environment.  We are trying to determine whether or not

we will require SAP Process Orchestration (PO - including BRM, BPM, etc.) for

implementation.  The plan as of now is to use the AS Java only with the Advanced

Adapter Engine Extended as part of the SAP 7.3 EHP1 PI implementation.


In the end, the client would like to develop a SOA based environment that doesn’t

have point-to-point interfaces, but rather uses an ESR, common data types/message

structures.  Can we do this with only AAEX, or would you recommend we look at PO

as well?

Any recommendations would helpful on whether Process Orchestration is needed or if

the Advanced Adapter Engine Extended installation should be able to handle

everything.

Thanks,
Ryan

Outbound Proxy..... Attaching multiple attachments

$
0
0

Hi Gurus,

 

I want to attach multiple files with my ABAP outbound proxy for Purchase Requisitions. I have done the single attachment but unable to attach multiple files. I am using the following code for attachment.

 

TYPES:
    BEGIN OF gty_file_data,
      entry TYPE x LENGTH 255,
      END OF gty_file_data.

 

DATA:

  gr_consumer_proxy     TYPE REF TO   zco_consumer_proxy,

  gr_proto_attachment   TYPE REF TO   if_wsprotocol_attachments,

  gr_attachment         TYPE REF TO   if_ai_attachment,
  gt_attachments        TYPE          prx_attach,

  gt_file_data          TYPE TABLE OF gty_file_data,

  gv_attachment_xstring TYPE          xstring.

 

FIELD-SYMBOLS:

  <gfs_file_data> TYPE gty_file_data.

 

TRY.

    CALL FUNCTION 'GUI_UPLOAD'

      EXPORTING
        filename =
'D:\Temp\TestDoc.pdf'
        filetype = 'BIN'
      TABLES
        data_tab = gt_file_data.

 

    IF sy-subrc NE 0.

        " Error handling logic

      ENDIF.

 

    LOOP AT gt_file_data ASSIGNING <gfs_file_data>.
      CONCATENATE gv_attachment_xstring

                  <gfs_file_data>-entry

             INTO gv_attachment_xstring

             IN BYTE MODE.
      ENDLOOP.

 

   CREATE OBJECT gr_consumer_proxy.

 

    gr_proto_attachment ?=

      gr_consumer_proxy->get_protocol( if_wsprotocol=>attachments ). 

  

    gr_attachment =

      gr_proto_attachment->get_attachment_from_binary(

                             data = gv_attachment_xstring

                             type = if_ai_attachment=>c_mimetype_pdf

                             name = 'AttachmentDocument' ).
   
APPEND gr_attachment TO gt_attachments.
    gr_proto_attachment->set_attachments( gt_attachments ).

  CATCH cx_ai_system_fault INTO gx_system.

    " Exception handling logic

  ENDTRY.

 

Actually in FM Gui_upload, if give specific location to input parameter file name, it works.

 

CALL FUNCTION 'GUI_UPLOAD'

      EXPORTING
        filename =
'D:\Temp\TestDoc.pdf'
        filetype = 'BIN'
      TABLES
        data_tab = gt_file_data.

But if i want to pass multiple files locations inside loop, it gives error "File is not available". Like this

 

loop at ftab into waf.

   CALL FUNCTION 'GUI_UPLOAD'

       EXPORTING

         filename waf-filename    

         filetype = 'BIN'

       TABLES

         data_tab = gt_file_data.

 

     IF sy-subrc NE 0.

         " Error handling logic

endloop.

       ENDIF.

 

can anybody tell me how can i use this FM for multiple attachment or is there any other wau to attach multiple files in outbound abap proxy.

 

Thanks

 

Regards

Viewing all 7030 articles
Browse latest View live


Latest Images

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