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

Proposal for Data Conversion/Interfaces

$
0
0

Hi Experts,

 

I am helping on a project proposal, I need to write the Data Conversion/Interfaces part. Just wondering if any template or sample format to follow.

 

Any input would be much appreciated.


RFC Lookup for group of values

$
0
0

hi all,

 

we have RFC udf written in 7.0 want to convert it to 7.4 using graphical look up.

 

scenario is  for every combination of orderreference and line number my functional module is returing an data_out value.

if order referncer is repeated 10 times then we need to send 10 pairs of order reference and line number value values to functional modules. so RFC call is performed and will return the value to each pair. so we get 10 data_out value.

 

this is achieved in UDF by writing for loop for order reference. for every iteration we are sending order reference and line number to the rfc call. so in this case 10 times rfc call is made.

  but when we are doing it through graphical lookup it is giving value for order reference only, it is not considering the pair.

 

 

Is it possible to achieve it through graphical look up or should I have to use the same UDF which we have used in 7.0.

 

thanks

kavya.

Unable to view the Response Payload in PI.

$
0
0

I am Unable to view the Response Payload in PI for error/failed messages. Please let me know if there are any parameters that can be set to show payload for error/failed messages?

payload1.png

Thanks,

Mo

SXMB_Moni payload showing technical names

$
0
0

I am able to access the payload with Sxmb_Moni but the fields in it are showing the technical name. For instance for Pernr it is showing  PERID in the payload .Is there a way i can switch it to the actual field name before I download the payload to improve the visibility.

In se16 we usually have the option to switch between the technical name and the field name.

JDBC to SOAP Scenario

$
0
0

Hello All,

 

   I have a scenario where i should pull the data from ztable which is created in SAP PI system and send it to .net system [soap]

 

   I am planning to pull the records from ztable through JBDC query and send to .net system.

 

  Kindly let me know if the above approach is correct or please share me other approach.

 

  Can we pull data from ztable in SAP PI system through JDBC query?

 

  Note: Ztable is created in SAP PI system.

 

Thanks,

Bhaskar

Mapping doubt

$
0
0


Hi Experts,

 

can you help with UDF code for below logic.

 

-->Need to check whether input field is numeric or not, if so need to check whether length of the field is 9 or not, if so need to append '-' between 5th and 6th digit.

 

Thanks for your help in advance.

Unable to view channels in communication monitor

$
0
0

I am unable to view communication channel in communication channel monitor in sap pi 7.4 , after I moved the code from development to quality.Please help in this regard.

Dynamic Attributes in REST Sender Adapter by Get Method

$
0
0

Hi Team,

 

I am working on REST Sender adapter to handle dynamic value EmpID in the url- http://poddevdb.igl.co.in:55100/RESTAdapter/EmployeeDetails/11 . EmpID will comes from http portal and it has to fetch the Empname based on the EMPID from ECC response. I am facing issues while transofmring the input structure to ECC structure. Please chcek the configurations in ESR & ID.

 

Error Message is - Transmitting the message to endpoint   using
connection REST_http://sap.com/xi/XI/System failed, due to:
com.sap.aii.adapter.xi.routing.RoutingException: Unable to parse XML message
payload to extract operation for receiver
determinationorg.xml.sax.SAXParseException: Premature end of file.

 

ESR-

Source data type: only one filed

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

<ns0:MT_EmpDetails_Thirdparty_Req xmlns:ns0="http://EmployeeDetails">

   <EmpID/>

</ns0:MT_EmpDetails_Thirdparty_Req>

 

ECC data type Request Message  :

 

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

<ns0:MT_EmpDetails_ECC_Req xmlns:ns0="http://EmployeeDetails"><EmpID>11</EmpID></ns0:MT_EmpDetails_ECC_Req>

                                                               EmpID

 

REST Sender Communication Channel-

 

Channel Configurations are in Image file.

 

Please validate the configuations and let


SNC Content for XI/PI downloads and Procedure to follow

$
0
0

Hi, We are working on SAP SNC integration to ECC system via XI/ PI . So we need to import XI related content in for ECC and SNC , I would like to know 1. What are all the content (versions) needs to be downloaded ? 2. What is the procedure to downloaded? 3. also Would like to know further configurations after the content import . Kindly help us. we are new to SNC integration . Thanks in Advance Vigensh T +91-9894700045

Message Stuck in To Be Delivered Status(EOIO)

$
0
0

Hi All,

 

we have 3 messages stuck in to be delivered status. All three are in 3 different server nodes. As 3 messages are in 3 different nodes we dont want to restart these server nodes.... We have SAP PI7.31 single stack...

 

I tried with resatrting communication channel... But still messages are in to be delivered status...

 

Threads are also not completely occupied.

 

What is the best possible ans you can suggest here?

 

Regards,

Rashmi Joshi

Receiver File Adapter: Get the file name and send it to Ecc

$
0
0

Hi

 

I have a receiver file adapter which uses variable subs + Date/Time stamp to generate a file name. For one of my requirement i need to have the file name sent back to ECC for some part of validations. Any thoughts on how this can be achieved without compromising the existing solution?

 

Since the data is the idoc i do not wish to change the idoc structure or amend any new mapping. The variable subs is refered from the idoc content which is added with the date/time stamp from the config to generate the file name.

issue with json

$
0
0

HI Experts

 

I am doing a poc on REST adapter

the flow is REST..>PI..>RFC(syn) in JSON format

 

when i am sending the data through xml,,it's working fi9

but i tried to give the format in json ..i am not getting a hit in sap pi

 

 

the json format is :

{

  "ns0:Mt_MobileWebsite_GetCityCodes_Request": {

    "-xmlns:ns0": "http://Sample.ginger.com/MobileWebsite_GetCityCodes",

    "Recordset": {

      "languageIdentifier": "EN",

      "countryCode": "IN"

    }

  }

}

 

m using

{

  "Mt_MobileWebsite_GetCityCodes_Request": {

    "-xmlns": "http://Sample.ginger.com/MobileWebsite_GetCityCodes",

    "Recordset": {

      "languageIdentifier": "EN",

      "countryCode": "IN"

    }

  }

}

 

 

getting this:

<pre>Error while sending message to module processor: senderChannel '72433239060835c88ab43c8d95389bb4': Catching exception calling messaging system: Mapping failed in runtimeRuntime Exception when executing application mapping program com/sap/xi/tf/_Mm_MobileWebsite_GetCityCodes_Request_; Details: com.sap.aii.utilxi.misc.api.BaseRuntimeException; The content of elements must consist of well-formed character data or markup.: Runtime Exception when executing application mapping program com/sap/xi/tf/_Mm_MobileWebsite_GetCityCodes_Request_; Details: com.sap.aii.utilxi.misc.api.BaseRuntimeException; The content of elements must consist of well-formed character data or markup.: The content of elements must consist of well-formed character data or markup.: The content of elements must consist of well-formed character data or markup.: The content of elements must consist of well-formed character data or markup.</pre>

To check the existence of node "EX operator not working"

$
0
0

Hello All,

 

My interface decides the receiver based on the existence of node. If particular node exists then only file should be send to receiver.

 

I used the query in the expression editor:

 

(Xpath./p1:ArticleMasterSAP/CDS_DW_Variant_Stage EX ) OR (Xpath./p1:ArticleMasterSAP/CDS_Prepack_Stage EX ) . It is not giving right results.

Even though the node is present in the payload, within trace it says:

 

 

     Extractor: XP Xpath./p1:ArticleMasterSAP/CDS_DW_Variant_Stage</Trace>

 

 

   < Trace level="2" type="T">......extracting values found: 0</Trace>

 

 

   <Trace level="2" type="T">......extracting values found: 0</Trace>

 

 

   <Trace level="2" type="T">......extracting (old) for Extractor: XP Xpath./p1:ArticleMasterSAP/CDS_Prepack_Stage</Trace>

 

 

    <Trace level="2" type="T">......extracting values found: 0</Trace>

 

 

    <Trace level="2" type="T">......extracting values found: 0</Trace>

   Can you please guide. I tried multiple variations but not giving results.

    I have already tried the below variations, none of them are working
     1) (Xpath./p1:ArticleMasterSAP/[CDS_DW_Variant_Stage]  EX )

     2)  (exists(Xpath./p1:ArticleMasterSAP/CDS_DW_Variant_Stage) = true)
    
     3) (Xpath./p1:ArticleMasterSAP/[not(CDS_DW_Variant_Stage[not(Matnr)])] EX ) - Double negation
  
     4) Tried with count function as well



   Thanks
   Shikha

 

Multimapping error

$
0
0

Hi,

 

I am working on SAP PI 7.4 single stack system.

Interface is a File to IDOC_AAE scenario.

 

From sender end we will get a comma separated file with some customer data . Need to send those data into two standard IDOCs (DEBMAS06 and ADRMAS03) of R/3.

 

So I have used multimapping ... One sender MT in source side and two idoc external definations (External definition is used as occurance of idoc tag is made 99999999 ).

 

But after processing I am getting following error in receiver channel -

 

Message processing failed. Cause: com.sap.aii.af.idoc.exception.IDOCAdapterException: Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: Invalid XML 1.0 character encountered within IDocXML:

state=READING_IDOCTYPE, charPosition=63, lineNumber=1, columnNumber=64, invalidChar=U+002F,

sourceSnippet=...UTF-8" standalone="no"?><DEBMAS06/>...

 

Please help.

 

Thanks,

Apu

                                                  ^

Standard Mapping Error on ICO - PARSING.GENERAL

$
0
0

Hello,

 

We are configuring SuccessFactors integration using standard add-on SFI (Employee Profile scenario) and we have a problem with the simple login mapping.

 

If we do a test in Operation Mapping with any data it work's fine:

Capturar.PNG

But when it is called from ERP we are facing a strange mapping error:

error.PNG

com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.service.mapping.MappingException:

Mapping failed in runtimeRuntime Exception when executing application mapping program com/sap/xi/tf/_HCMloginRequest_to_SFSFloginRequest_;

Details: com.sap.aii.mappingtool.tf7.IllegalInstanceException;

Cannot create target element /ns1:login. Values missing in queue context.

Target XSD requires a value for this element, but the target-field mapping does not create one.

Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:746)at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:530)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)

at com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:126)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

 

 

Follow our ICO configuration:

ico1.PNG

ico2.PNG

ico3.PNG

 

ico4.PNG

 

Communication Channel (Sender):

sender_cc.PNG

 

Communication Channel (Receiver):

receiver_Cc.PNG

 

Any sugestions that what can be done to solve it? Is it a PI problem? Notes, components? We are using PO 7.4 single stack.



mapping issue

$
0
0

Hi All,

 

I have a source structure like this

Source:                                                        Target:

<Root>                                                             records 0:99999

    segmentA 0:1                                                fieldA1

         fieldA1                                                      fieldB1

    segmentB 0:99999                                        fieldB2

        fieldB1 0:1                                                 fieldC1

        fieldB2  0:1                                                fieldC2

        segmentB1 0:10

          fieldB11 (value = A,B,C,D,E)

          fieldB12

the number of records in the flat file is based on the number of segmentB. The feildC1 = fieldB12 when fieldB11 = 'A'. fieldC2 = fieldB12 when field B11 = 'B'.  when there is no fieldB11 has value A, fieldC1 = blank; when fieldB11 = 'A', but there is no fieldB12, fieldC1 = blank. The same logic applies to fieldC2.

 

Can anyone has an idea on how the mapping logic for fieldC1 and FieldC2 would be?

 

Thanks a lot!

Meiying

Create sales order from IDOC

$
0
0

VKORG, VTWEG, SPART cannot be determined for customer 0000001000

 

I am creating sales order from IDOC when Purchase order created in ECC.

 

it throws above error and also in IDOC structure this Customer no 1000 and E1EDK14 007 008 009 are not there.

 

Share Idea to resolve this.

 

Thanks,

Parin Chahwala.

Main Program SAPMSSY1 running from long time

$
0
0

Main program SAPMSSY1 is running but SMQ2 entries are stuck and there is lock overflow in SM12 around 50K lock entries

Java map question

$
0
0

Hello,

 

I'm trying to call a user defined function already defined in the function library in a package. How to do that? When I tried I'm getting an error saying the container should be initialized, the UDF has lot of functionality already built in, can anyone advise how this could be done?

 

The UDF has two string inputs and a container

 

Thank you.

 

Larry.

Unzip Base64 field from SOAP attachment with multiple files

$
0
0

Dear experts,

 

Scenario: RFC <----> SOAP

 

In SOAP response I am getting one of the fields as base64 encoded attached zip file which internally will have 4 .CSV files (always naming standard is same).

Now my requirement is how I should deal it with in PI mapping so that I can map relevant fields from CSV to my RFC.

 

Checked SCN for solution but not find solution for multiple files in zip …

 

Thanks in advance

 

Regards

Siri

Viewing all 6719 articles
Browse latest View live


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