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

how can we change in 1st char mapping level in sap pi?

$
0
0

Hi All,

 

 

 

There is inbound scenario(third party system to SAP),in the mapping level they are ask us to change 1st char = "9".

can any one pls tell me how can we change in mapping level?

 

 

 

Thanks

Narendra


Proxy to File Synchronous Scenario

$
0
0

Hello,

 

My scenario is 

 

SAP System ----->(Proxy)   PI -------->(File)  FTP

Synchronous Scenario


I have been using the RequestResponseBean and ResponseOnewayBean module in the Sender Request Adapter channel to convert the file adapter from Asynchrounous to Synchronous scenario.

 

While Triggering Data From Proxy the receiver request channel is placing the file in the FTP.

But the sender Response channel is saying that "No suitable Sender  agreement found" error.

 

Also in the Audit log :SOAP: call failed com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: 204 .

 

Getting the above error.

 

Also I need the Sender Response Channel to pick the file after 10 minutes of placing the file in the FTP by the receiver Request channel.

 

Please help on this.

namespace not coming in request message-failing in msg map

$
0
0

hi

 

Sender system is sending

 

<?xml version="1.0" encoding="UTF-8"?>

<Req>

   <row>

      <A/>

      <B/>

   </row>

</Req>

The message is not giving output in PI message mapping as PI is expecting ns0 and xmlns in the root node and ns0 is closure of root node.

 

PI is expecting

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Req xmlns:ns0="urn:1.com:2">

   <row>

      <A/>

      <B/>

   </row>

</ns0:HanaReq>

 

how to handle this situation.. I have jdbc sender..

Payload Swap Bean in SFTP adapter

$
0
0

Hi ,

 

I want to use Payload Swap Bean in SFTP Receiver adapter. Please tell me the flow.

 

 

Regards,

Manigandan

Splitting the source text in to 70 chars for each tdline in target

$
0
0

Hi
I am using following udf for splitting the text in to each 70 charcters to target each tdline which is working
But i need add the below logic in to it. can someone help

split the source text in to each 70 characters on each target tdline

But if the text contains  *
  copy string upto * in first tdline
  second tdline with the remaing text after *  continuous in loop for the
  remaining text 

else
copy with 70 charcters splitting for each tdline

Thanks for your help

Finding incoming idoc in PI

$
0
0

Apologies... PI newbie here.

We have an incoming idoc, which comes via PI into our R3 system. In R3, transaction WE02 I can see that this idoc has not arrived.

How can I find in PI if it is stuck there for some reason. I have tried looking in the Runtime Workbench, but have not been able to find this. Please can someone give clear steps to go about finding this object.

Thank you in advance.

XML Structure

$
0
0

Hi Abhradeep,

 

Can you check below attchment for XML structure

sender jdbc adapter - no update query

$
0
0

hi ,

 

i am using pi 731 single stack.

the scenario is - PI has to pick data from view of a hana database. i am using jdbc sender for it.

 

pi will not have access to update the table,only pi can read the view of database.So,PI can't use UPDATE query.

 

If in jdbc sender channel ,I use SELECT query only and no UPDATE query - will it work ? what will happen if there are 100 records in the view and PI failed after fetching 43 records..will it pick from 44th record next time OR it will start from 0 again ?

 

rgds


LCRSAPRFC is missing in Visual Admin (JCo RFC Provider)

$
0
0

H y,

 

I'm facing a problem while connecting our SolMan via RFC to SLD.

 

Found documents explainig how to set up connection to SLD.

SAPSLDAPI (was present in Abap and Java - wrong credentials - repaired)

LCRSAPRFC (only present as RFC CONN in ABAP, but missing in Java, Visual Administrator JCo RFC Provider

...

 

How can be the LCRSAPRFC added to JCo RFC Providers?

 

Do I have to create the RFC Conn LCRSAPRFC again in Abap/SM59 to get the LCRSAPRFC visible again in Visual Admin?

 

Thanks in advance

 

Tom

Message sent via WS adapter instead of XI adapter

$
0
0

I have a scenario where two asynchronous messages are sent from system A via PI to system B (both ABAP systems) and each triggers a confirmation message that goes from B via PI to A - or should go, one of them gets stuck with a red flag in system B and doesn't make it to the PI.

 

The error message is Web service processing error; more details in the web service error log on provider side

 

The calls from A to PI and from PI to B use XI. The successful call from B to PI (and from there to A) uses XI. The one that gets stuck (from B to PI) uses WS - and I cannot figure out why.

 

I checked the configuration in PI and sxi_cache in B. I assumed one or the other or both would show a sender agreement with the WS channel (for the failing confirmation message from B to PI) and something would be misconfigured in it. But there is none! No sender agreement in PI and none in sxi_cache, and the XI cache is up to date.

 

So why does one of the calls from B to PI suddenly use the WS channel, even though there is no sender agreement? Which other configuration could cause this?

 

Also, what is the web service error log / how do I check it? It must be on PI, as this is the provider side in the call from B to PI.

Unlock the Value of Your SAP Investments

$
0
0

Date: Wednesday, August 13, 2014
Time: 11:00 am ET/15:00 pm UK/16:00 pm Central Europe
Duration: 60 minutes

User experience encompasses a variety of aspects of which UI is just one. Newer SAP Fiori apps are merely the beginning. Learn how you can build your own Fiori-like apps and employ a more intuitive approach to developing business process applications. Learn of advances in how you can achieve a greater degree of interoperability between your SAP and Microsoft applications providing your end-users with an enhanced user experience.

Attend this webinar to learn:

• How to leverage SAP offerings for a comprehensive UX strategy
• How to build your own Fiori-like apps
• How to leverage third-party tools and partner offerings to complement SAP tools


REGISTER HERE!

How to enhance an Enterprise Service

$
0
0

Hi Experts,

 

I have a scenario to use ‘BusinessPartnerSUITEBulkReplicateRequest_In’ to send customer masterdata between CRM and MDG systems. There is a need to enhance this standard ES as to pass 10 new fields which is not available in the ES. How can the ES be enhanced without using PI.

 

I have already referred this document on ES enhancement, https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0bb5687-00b2-2a10-ed8f-c9af69942e5d

 

This document explains how to enhance an ES using SAP PI, but we do not have PI in client’s landscape. Is there a way to enhance, BusinessPartnerSUITEBulkReplicateRequest_In without using PI.

 

Thanks,

Smitha

Interface failure with the error : Transfer to Process Engine

$
0
0

Hello All,

 

We are receiving 2 messages for one SiteMaster idoc triggerred from SAP ECC. Its a BPE scenario.

 

1. We are not sure why we are getting 2 entries in SXMB_MONI.

2. 1 of the message status shows Successful Flag but its queue id : XBQO$PE_WS95000004 is in failed state in SMQ2. We have tried Execute LUW and its not working, hence we have given Save  LUW and saved it SMQ3.

3. The second entry shows the status as 'Transfer to Process Engine' with a proper queue id.

 

Attached the screenshots. Kindly check. Thanks in advance.

 

Regards,

KarthiSP

Dynamic File Name with PayloadSwapBean

$
0
0

I’ve  created an abap proxy with a small schema containing PO and PO_Line with an attachment that is a zipped PDF file (.zip).


I have configured a File adapter with the payloadswapbean to place the attached .zip file in an FTP folder.  Now I need to dynamically name the .zip file using the proxy payload values.


<PONUM>_ <POLine>.zip


Variable Substitution takes place after the payload has been swapped so I am not able to use that.  How can I take my proxy XML payload and dynamically create the file name?  I have tried DynamicConfigurationBean but it seems to come back null when trying to read the XI FileName:


Write http://sap.com/xi/XI/System/XI FileName I have flagged the Adapter Specific Message Attributes for FileName.


What options do I have?

SAP NetWeaver BPM 7.31 Tutorial for Adding and Displaying Employee Details using Human Activity Steps

$
0
0

Introduction/ Overview

 

This document is a beginner’s guide for Building & Deploying NWBPM with Human activity steps along with Webdynpro UI. There are no ESR and ID objects created for this scenario.

 

Prerequisites


  • SAP NWDS 7.31
  • Administration user on PO 7.31 server to create new users and to deploy a new dc

 

 

 

Procedure


Step1. Create a Development Component

 

(1)  Click on Window -> Open Perspective-> Other -> Composite Designer and click on OK.


1.jpg2.jpg


(2) Click on File -> New-> Product.

     Enter Name as: BPM_EmpInfo_HumanActivity

      Click on Next


3.jpg

  

(3)Click on New Software Component

4.jpg

(4) Enter Software Component name as SC_EMPINFO and click on Finish

5.jpg

(5) Uncheck all the other Software Components and check only SC_EMPINFO and then click on Next , the following screen will appear


     Click On Next


6.jpg

(6) Click on Next


7.jpg

Click on Finish


7.jpg

The BPM component will be created as shown


8.jpg


Step 2. Create a New Process


(7)Drag and Drop Process from Right Palette into the Business Component


7.jpg

(8) Type “EmpInfo_Process” as name for the new process and then click on “Next”.

     Select “Create a pool with the following names and lanes”

     Enter Pool name as “EmpInfo”

     Enter Lanes “Use1,User2”

     Click on Next

     Leave defaults as it is and click on Finish

8.jpg


(9) Double Click on Employee_Process , following screen will appear


9.jpg

(10) Select the line between Start and End and delete the link/line

      Create the first Human activity for the “User1” Lane as shown below


10.1.jpg10.2.jpg


(11) Type the name of the Human activity “Enter Emp Details”.


11.jpg

(12) Create one more Human activity

12.jpg

(13)  Move the new Human Activity to the Lane “User2” and type “Display Emp Details” as a name for this activity.

13.jpg

(14)  Connect the Human activity “Display Emp Details” with the End event.

      Save (Ctrl+S).


14.jpg


Step 3. Create Web Dynpro UIs by UI template


In this step you create and assign new User Interfaces, based on Web Dynpro Java, for the human activities.


(15)  Remove default task from Human activity “Enter Emp Details”

 

        Repeat the step for “Display Emp Details”

 

         Save ALL

15.1.jpg  15.2.jpg


(16)  Import the  WSDL by clicking on Service Interface -> Import WSDL


16.1.jpg


         Check Remote Location/File System and import the WSDL from your desktop and then click on finish


16.2.jpg   16.3.jpg

          You can see the following Date types and Service Interface created


16.4.jpg

 


(17) Drag and Drop the Data type EmpOnboard_Dt from Project Explorer to Swim Lane User2


17.jpg


(18)Select process in Project Explorer and right mouse click

 

     Select Apply Template


18.jpg

(19) Select UI Task Generation

 

      Click Next


20.jpg

 

(20) Fill Display Emp Details and check the checkboxes


20.jpg


(21) Fill Enter Emp Details and check the checkboxes

      Click Next

21.jpg



(22) Click Finish and Wait for the wizard to generate the UIs


22.jpg

(23) After the successful generation the NWDS will look as follows


23.jpg


Step 4. Create Users and Grant Access


In this step you wo;; create new users . Later on you will assign these users to the swimlanes in BPM. These users will participate in the process and will receive the tasks.


(24)  Open SAP NetWeaver Application Server Administration > User Management

         ex: http://<ip>:<port>/startPage


24.jpg


(25) Create User


25.jpg



(26) For the First UserID type “User1” for Logon ID, type password 123pass, confirm it and type “User1” for the Last Name of this UserID (see the example).               Click “Save” at the end.

 

      Complete the same for the UserID type “User2”.


26.jpg

(27) Following Users will be created

 

27.jpg

(28)  Assign Users to Roles. Change the Search Criteria to Role


28.jpg


(29) Search for a Role containing “BPEM” – type for the search criteria *BPEM*. Click on “Go”.

      Click on the displayed Portal Role with description “BPEM End User”.

 

29.jpg


(30) Go to tab “Assigned Users” and click button “Modify”.

30.jpg


(31) Search for the “User*” and click on “Go”.


31.jpg


(32)When found, select all rows .Add UserIDs to the role


32.jpg

(33) After the assignment both UserIDs will be displayed on the right side with Assigned Users. Click on Save


33.1.jpg  33.2.jpg


(34) Search also for the Portal Role “Every User Core Role”. Click on the role.


34.jpg


(35)Go to tab “Assigned Users” and click button “Modify”. And repeat steps (31),(32) and (33)

35.jpg


Step 5.Assign Users to Swim-Lanes


(36) Click on Swim Lane User1 and  and select “Potential Users” in Properties tab

        Click on Choose...


36.1.jpg

     Search for “User1" , Select User1 added in the last step , Click OK


36.2.jpg


     Similarly, Select the Task swimlanes User2 and select “Potential Users” in Properties tab

     Click on Choose...

     Select User2 added in the last step

     SAVE ALL



Step 5. Create Mappings


(37) Select the Task “Enter Emp Details”> Go to Properties > Output Mapping >Map the fields as shown

37.jpg


(38) Select the Task “Display Emp Details”> Go to Properties > Input Mapping > Map the fields as shown . Save (Ctrl+S).

38.jpg



Step 6.Build & Deploy the process


(39) In Process Composer perspective: Build the DC


39.jpg


(40) Select also the development component of the Web Dynpro Development Component if you want to re-build it and click “OK”.


40.jpg


(41) In Process Composer perspective: Deploy the DC


41.jpg


(42) Deployment starts.Log shows the BPM is deployed successfully


42.1.jpg


42.2.jpg



Step 7 .Run the process


(43) Click on SAP Netweaver Administrator . Search for Process Repository -> Go

43.1.jpg

       Click on Overview

43.2.jpg

       Select the Process “bpm_empinfo_humanactivity ~pr~pm(example.org)” from the list with Components.

 

43.3.jpg

 

 

(44) Go to Resources of the Component > Processes and Tasks - select the Process Definition “EmpInfo_Process”. Click Start Process.

44.jpg


(45) A new pop up appears Click Start Process

45.jpg



(46) A message for successful process start will appear at the top of the screen.

46.jpg



Step 8 .Test the Process Behavior with “User1” and “User2”


(47)  Log-in to the Portal -> http://<ip>:<port>/irj using User1 and the initial password 123pass.Change the initial password to pass123


47.jpg



(48)A task is already assigned to User1 and is visible in the Task list of his Universal Worklist.

      Click on the Task/ Open the task

48.jpg


(49) A new pop up appears .Go to the link of the Process to see where you are on the process flow.


1.jpg



(50) You are on the first Human activity “Enter Emp Details”.

49.jpg



(51) Enter the Details and click on Approve button

50.jpg

 

(52) Refresh the Universal Worklist , task will disappear


52.jpg

(53) Log-in to the Portal using User2 and the initial password 123pass. Change the initial password to pass123


53.jpg


(54) The next process task is already assigned to User2 and is visible in the Task list of his Universal Worklist.

54.jpg


(55)Go to the link of the Process to see where you are on the process flow. You are on the second Human activity “Display Name Age

55.jpg

 

(56) BPM UI is now displaying the Emp details values entered by User1 earlier. Click on Approve button

56.jpg

 

(57) Refresh the list with Tasks in the Universal Worklist of User2 . Task will disappear


57.jpg


This completes our hands-on scenario 

 




 

Regards

Vinay P.

 

 

 

 

 

 





Dear Experts ,

$
0
0

I am facing this error HTTP destination XI_INTEGRATIONSERVER missing (system , transaction SM59)  during proxy to jdbc scenario .

Please help me  .



Need Alert Email for message failuer in SXMB_MONI of ECC

$
0
0

Hi Experts,

 

I have a live running Scenario where SAP PI gets the data from Third party system and passes it to the SAP ECC system using the Proxy concept. It is the Asynchronous mode of data transfer.

 

Issue is Sender system passing the data to PI and when PI is forwarding the data to Integration engine of the ECC and here it is failing.

 

when I opened the SXMB_MONI in ECC system I can see the failure payload. error at step as 'Call Inbound Proxy'.

 

The error message is

Error.jpg

 

there is no dump in ST22 and this error is due to the Sender system is sending the Exponential value in one of the Decimal field.

 

I think this failure is occurring even before execution of the code written inside the Server Proxy class method.

 

 

My requirement is to raise an Email alert message in such incidence.

 

 

Please suggest.

 

Regards,

Jagesh

JMS Adapter to MQ

$
0
0

Hi PI Experts,

We have a scenario JMS to Proxy, where are are connecting from MQ Queue.

 

Getting an error as:

Error starting channel: com.sap.aii.af.service.cpa.impl.object.ChannelImpl@574b687d due to java.lang.NoClassDefFoundError: com/ibm/msg/client/jms/JmsQueueConnectionFactory
------------------------- Loader Info -------------------------
ClassLoader name: [service:com.sap.aii.adapter.jms.svc]
Loader hash code: 3bbd6883
Living status: alive
Direct parent loaders:
   [system:Frame]
   [interface:com.sap.aii.af.ms.ifc]
   [service:com.sap.aii.adapter.xi.svc]
   [library:com.sap.aii.adapter.lib]
Resources:
   /usr/sap/RPD/J00/j2ee/cluster/bin/services/com.sap.aii.adapter.jms.svc/lib/com.sap.aii.adapter.jms.svc_api.jar
---------------------------------------------------------------
Error occurred while trying to load com.ibm.mq.jms.MQQueueConnectionFactory


Can you please help!!!

Thanks a lot in advance!

Anjana.

Canonical in sap pi ?

$
0
0

Hi Experts

 

My senario is Idoc -canonical(pi)-file  ?

 

can you tell me any one step by step procedure

 

 

 

Regards

 

Sagar

Finding incoming idoc in PI

$
0
0

Apologies... PI newbie here.

We have an incoming idoc, which comes via PI into our R3 system. In R3, transaction WE02 I can see that this idoc has not arrived.

How can I find in PI if it is stuck there for some reason. I have tried looking in the Runtime Workbench, but have not been able to find this. Please can someone give clear steps to go about finding this object.

Thank you in advance.

Viewing all 7030 articles
Browse latest View live


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