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

Use HTTP_AAE for flat file transfer

$
0
0


Hello all,

I'm looking for some hints on the net more then week, but I cannot find any simillar posting.

 

I have following scenario. External company needs to send us flat file and they support only HTTPS connection, then the file is forwarded by email to final user for now (this will be maybe changed in the future).

 

Because I want to transfer file I've used the same structure as I'm using for FTP sender.

 

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

<ns0:MT_FILE xmlns:ns0="urn::MuH_Prod_Logi::GLOBAL">

   <DUMMY></DUMMY>

</ns0:MT_FILE>

 

Then I've created HTTP_AAE  sender, Email receiver and Integrated Configuraiton.

 

For testing purposis I'm using SOAP UI Client and the REST Project.

 

If I send paylod like this

 

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

<ns0:MT_FILE xmlns:ns0="urn::MuH_Prod_Logi::GLOBAL">

   <DUMMY>TEST</DUMMY>

</ns0:MT_FILE>

 

it is correctly processed.

 

If I try to send file like this

 

:20:11111111111

:25:22222222222

:28:3333

 

Nothing is processed.

Error is

  <b>  Error: ERROR_IN_MODULECHAIN;ERROR_IN_MODULECHAIN, senderChannel '70597ba41f9137e8aabb97ec6547ec6f': Catching exception calling messaging system</b>

 

 

Please any hint how to setup HTTP sender to handle any txt file?

 

SET_FORM

SET_MUTLIPART  are initial

 

Thanks you very much for your advice

 

Petr


how to ignore first row in CSV file

$
0
0

Hi All,

 

Scenario: CSV to ABAP Proxy

 

we are getting CSV file,in which first row is header text and rest are records,please let me know how to ignore first row and read only records.

 

 

file.png

 

Regards,

Mani

PI 7.11 and PO 7.4 Parallel Production use

$
0
0

We have PI 7.11 Dual stack (CPU based license). Now we are planning to migrate this to PO 7.4 (single stack). Now since Dual stack to single stack in-place upgrade is not possible, we are planning installation of PO and migrating the objects manually.

We would migrate PI components from PI 7.11 to PO 7.4 in multiple phases and once migrated,start using those components on PO 7.4. The whole project would take at least 3 months, So my question is if we use both PI 7.11 and PO 7.4 parallel, Will that cause license violation? Since our PI license is CPU based.

File to different SFTP Folders

$
0
0

Hi,

 

I have a scenario in PO(PI 7.4) where PDF files are to be picked up from SAP ECC

through File(NFS) channel and posted to 3rd party system through SFTP channel.

Theres no party to party communication involved, and Files are picked up from 6 different folders at al11 .

And these PDF files are to be placed at SFTP server with the same name at their resp foldersas shown below.ASMA properties selected in both channels.

 

FILES                        Countrywise Folders

 

INVOICE_SA                     SA

INVOICE_ZIM                    ZIM    

CREDIT_KEN                    KEN

CREDIT_OTHERS             CrossBorder countries

Statement_ZAM                ZAM  

                                 

 

There are no ESR objects involved and ID part is configured with dummy namespaces and interfaces in ICO,I tried using DynamicConfigBean in SFTP recver channel but the problem that how the files meant for their resp country folders will be pushed and not in wrong SFTP folder.

Different parameters tried in above adapter module are "write", "read", & "insert". But still I have doubt that

at runtime the Files be pushed at right folder. Is there any simple way of achieving this without creating java mapping & ESR objects.

Please share some simple and less time consuming idea .

How to access contents of a file with extension *.txt.pgp ?

$
0
0

How to access contents of a file with extension *.txt.pgp

Syncrounous Soap to Proxy issue: response message empty tag in SXMB_MONI

$
0
0

Hi friends,

 

I implemented Soap to Proxy synchronous scenario. when i tested from SOAP UI Message processed successfully but the response message empty.

 

 

SOAP Request:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:npcl.com:UploadPlotedNW_Design_GIS_TO_SAP">

   <soapenv:Header/>

   <soapenv:Body>

      <urn:MT_DesignPDF_REQ>

         <!--Zero or more repetitions:-->

         <PATH_DETAILS>

            <BP_NUMBER>2000100646</BP_NUMBER>

            <!--Optional:-->

            <DESIGN_NUMBER>design1</DESIGN_NUMBER>

            <!--Optional:-->

            <PROJECT_NAME>prj1</PROJECT_NAME>

            <DESIGN_PATH>D:\usr\sap\APLL.PDF</DESIGN_PATH>

         </PATH_DETAILS>

      </urn:MT_DesignPDF_REQ>

   </soapenv:Body>

</soapenv:Envelope>

 

 

Response:

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

   <SOAP:Header/>

   <SOAP:Body>

      <ns0:MT_Design_RES_GIS xmlns:ns0="urn:npcl.com:UploadPlotedNW_Design_GIS_TO_SAP">

          <Path_Details>

            <BP_NUMBER>String 5</BP_NUMBER>

            <URL>String 6</URL>

          </Path_Details>

      </ns0:MT_Design_RES_GIS>

   </SOAP:Body>

</SOAP:Envelope>

 

 

 

In the place of BP_Number and URL i should get the bp number and path details from ECC system.

I tested proxy from SPROXY but it giving BP Number and path in response.


The Messages in SXMB_MONI showing chek flags for both request and response.



The code in SPROXY:


method ZII_SI_DESIGN_PDF_SAP~SI_DESIGN_PDF_SAP.

 

   DATA: it_final TYPE TABLE OF ZDT_DESIGN_PDF_REQ_PATH_DETAIL,

       wa_final TYPE ZDT_DESIGN_PDF_REQ_PATH_DETAIL,

       IT_OUT TYPE TABLE OF ZDT_DESIGN_PDF_RES_DMS_PATH,

       WA_OUT TYPE ZDT_DESIGN_PDF_RES_DMS_PATH,

       gv_ABSOLUTE_URI TYPE SAPB-URI.

 

if input IS NOT INITIAL.

   move INPUT-MT_DESIGN_PDF_REQ-PATH_DETAILS to it_final.

  endif.

 

sort it_final by bp_number.

 

LOOP at it_final INTO wa_final.

   CLEAR: wa_out.

   EXPORT wa_final-BP_NUMBER FROM wa_final-BP_NUMBER to MEMORY id 'BPNO'.

   EXPORT wa_final-DESIGN_PATH FROM wa_final-DESIGN_PATH TO MEMORY ID 'PATH'.

   SUBMIT ZPDFATTACH_NEWCONN_RS_PDF AND RETURN.

   IMPORT gv_ABSOLUTE_URI = gv_ABSOLUTE_URI FROM MEMORY ID 'URL'.

   IF gv_ABSOLUTE_URI IS NOT INITIAL.

     WA_OUT-PATH = gv_ABSOLUTE_URI.

     WA_OUT-BP_NUMBER = wa_final-BP_NUMBER.

    ENDIF.

    APPEND WA_OUT TO IT_OUT.

    CLEAR: wa_final-BP_NUMBER,wa_final-DESIGN_PATH.

    FREE MEMORY ID 'URL'.

    ENDLOOP.

 

   IF IT_OUT IS NOT INITIAL.

     MOVE IT_OUT TO OUTPUT-MT_DESIGN_PDF_RES-DMS_PATH.

   ENDIF.

   call method lcl_fill_data=>ZMT_DESIGN_PDF_RES

     importing

       out = OUTPUT.

   endmethod.




class lcl_fill_data implementation.

 

   method ZMT_DESIGN_PDF_REQ.

     call method ZDT_DESIGN_PDF_REQ

       importing

         out = out-MT_DESIGN_PDF_REQ.

   endmethod.

 

   method ZDT_DESIGN_PDF_REQ.

     call method ZDT_DESIGN_PDF_REQ_PATH_DE_TAB

       importing

         out = out-PATH_DETAILS.

   endmethod.

 

   method ZDT_DESIGN_PDF_REQ_PATH_DE_TAB.

     data: ls_out like line of out.

     call method ZDT_DESIGN_PDF_REQ_PATH_DETAIL

       importing

         out = ls_out.

     do 3 times.

       append ls_out to out.

     enddo.

   endmethod.

 

   method ZDT_DESIGN_PDF_REQ_PATH_DETAIL.

     out-BP_NUMBER = `String 1`. "#EC NOTEXT

     out-DESIGN_NUMBER = `String 2`. "#EC NOTEXT

     out-PROJECT_NAME = `String 3`. "#EC NOTEXT

     out-DESIGN_PATH = `String 4`. "#EC NOTEXT

   endmethod.

 

   method ZMT_DESIGN_PDF_RES.

     call method ZDT_DESIGN_PDF_RES

       importing

         out = out-MT_DESIGN_PDF_RES.

   endmethod.

 

   method ZDT_DESIGN_PDF_RES.

     call method ZDT_DESIGN_PDF_RES_DMS_PAT_TAB

       importing

         out = out-DMS_PATH.

   endmethod.

 

   method ZDT_DESIGN_PDF_RES_DMS_PAT_TAB.

     data: ls_out like line of out.

     call method ZDT_DESIGN_PDF_RES_DMS_PATH

       importing

         out = ls_out.

     do 3 times.

       append ls_out to out.

     enddo.

   endmethod.

 

   method ZDT_DESIGN_PDF_RES_DMS_PATH.

     out-BP_NUMBER = `String 5`. "#EC NOTEXT

     out-PATH = `String 6`. "#EC NOTEXT

   endmethod.

 

endclass.

Message Mapping - Position Field to Header Field

$
0
0


hello,

 

i need to map one Position field into one Header field.

with n-records on the left site it always maps the position field of record 1 into all n-idoc Header fields.

 

<record1>

    <headerfield1>1</headerfield1>

    <position>

          <positionsfield1>1</positionsfield1>

    </position>

    <position>

          <positionsfield1>1</positionsfield1>

    </position>

    <position>

          <positionsfield1>1</positionsfield1>

    </position>

</record1>

<record2>

    <headerfield1>2</headerfield1>

    <position>

          <positionsfield1>2</positionsfield1>

    </position>

    <position>

          <positionsfield1>2</positionsfield1>

    </position>

    <position>

          <positionsfield1>2</positionsfield1>

    </position>

</record1>

 

Problem exists with positionfield1. we Need to map that field into a Header idoc field. so a simple n...to 1 mapping.

every record builds one idoc. actually the second idoc is filled with positionfield1 out of record1.

 

<idoc1>

<headerfield1>1</headerfield1>

<headerfield2>1</headerfield1>

</idoc1>

 

<idoc1>

<headerfield1>2</headerfield1>

<headerfield2>1</headerfield2>

</idoc2>

 

any idea?

thanks

UDF for PDF in to a BLOB JDBC

$
0
0

Hello,

 

I have a scenario where I need to read a PDF file and insert in to a BLOB field. There is already an existing graphical map to update columns through a stored procedure and this Blob column is a new addition. Can I  write a UDF to read the binary file and convert it to binary hex to send it to the JDBC adapter. The PDF filename is based on a value from the source structure. Can any one outline how would I read a file in the UDF and convert it to Binary hex?

 

Thank you.

 

Larry.


Message mapping with missing source elements

$
0
0

Hello

 

Having PI message mapping not as a daily task, it is often quite cumbersome for me to find a working solution in this context mapping environment as it is with the following apparently simple request.

 

Requirement: Map the partner number for role "WE" (element PARVW) to mandatory ShipToNumber field.

 

Input:

 

<INVOIC02>

  <E1EDKA1>

    <PARVW>RS</PARVW>

    <NAME1>abcd</NAME1>

  </E1EDKA1>

  <E1EDKA1>

    <PARVW>RE</PARVW>

    <PARTN>123</PARTN>

    <NAME1>Bill to</NAME1>

  </E1EDKA1>

  <E1EDKA1>

    <PARVW>WE</PARVW>

    <PARTN>456</PARTN>

    <NAME1>Ship to</NAME1>

  </E1EDKA1>

  <E1EDKA1>

    <PARVW>ZE</PARVW>

    <PARTN>789</PARTN>

    <NAME1>xyz</NAME1>

  </E1EDKA1>

 

Mapping:

 

PARVW [context change INVOIC02] -> equalsS Constant = "WE"

(ifWithoutElse)

then PARTN [context change INVOIC02] -> mapWithDefault -> ShipToNumber

 

Problem: ShipToNumber now contains the value 789 instead of 456 because to first E1EDKA1 segment is missing the PARTN element, i.e. the context is missing an entry.

 

I've tried various combinations of node functions and context changes, but some way or another it results in a solution not working properly either mapping the wrong value, not creating the target element at all when the node with WE doesn't exist, or giving the cannot create target element error.

 

Do I need to create an UDF for this which appears to me to be a common issue as IDocs are often missing elements in segments.

 

Thanks in advance for any feedback or solution.

 

Regards,

Daniel

How to block blank value of a field in message mapping in SAP pi 7.3 (Soap to RFC)

$
0
0

Please suggest how I can block a blank value coming in a field in message mappng in pi (soap to rfc scenario)

NWDS 7.31 JAVA Error

$
0
0

I have the following java on my laptop. However when I try to run NWDS I receive the following error:

AEX alerts with abap stack

$
0
0

Hi

 

I have a single stack PI system but the client wants the alerts to use the classical dual stack with alert category etc

 

so we are following the below document and using a SOLMAN abap stack for creating the alert category and specified some parameters in NWA  so that the central monitoring server now points to SOLMAN

 

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d828df-0a5e-2e10-6d9f-83d9034a5301?QuickLink=index&…

 

 

When we try to see if the alert is working fine using the below link we get a JCO error

 

http://xxx:50000/AdapterFramework/alerting/ping.jsp

 

Connection parameters:

ApplServer Host: null

MessServer Host: yyy.xxx.com

SysID: xxx

Group: xxx

Client: 100

Sysnr: null

Language: EN

UserId: PIRWBUSER

 

trying to connect...

 

Calling FM RWB_PING on host:

 

com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Invalid connection encountered

 

Here the ApplServer Host and Sysnr are showing as null even though I configured them in NWA as specified in the doc

 

com.sap.aii.rwb.server.centralmonitoring.r3.ashost : xxx

com.sap.aii.rwb.server.centralmonitoring.r3.sysnr:00

 

Any ideas?

How to handle multiple type of format from 1 JMS Queue in MQ

Archiving file using NFS and pass through scenario

$
0
0

Hi Friends,

        My scenario is File(FTP server) to File( BW Al11). This is Pass through Scenario.

  1.I want pick two files from FTP server  1 file pick every wedns day and 2nd file pick every day.

  2.File name having timestmap. I want Pick that files and put the file in Archive with time stamp and at the same time i want put the file in IN folder       without time stamp.

 

 

    is it possible to  do this in One Interface?

    is it possible file name changes in pass through scenario( Using NFS)?

 

 

 

Thanks,

Bhanu.

Proxy to JMS - Dynamic configuration Bean

$
0
0

Hi All,

 

i have configured proxy to JMS (websphere MQ) scenario. So ECC system will send data to SAP PI 7.31 single stack system through proxy.

So can you please let me know how to configure receiver JMS channel with dynamic configuration bean. so that receiver JMS system can able to accept data from SAP PO.

 

please share details like:

1. in advanced tab, which adapter specific message attributes we have to check and if any additional jms properties needs to be added

2. Module tab- Dynamic configuration bean & in module configuration table what values i have to fill for  module key,parameter name, parameter value

3. as we know we have to send some message identification from SAP PO to JMS message server to accept the messages send by jms receiver channel. (example: if sender is file adapter we will send file name. but in my scenario sender is Proxy [SOAP -XI]). so no file name or identification available.) so shall we use message id  or can we use any field name from source payload.

4. do we need set any adapter specific message attributes in sender SOAP -XI channel (advanced tab)


Also it will be helpful if you can explain how messages will be accepted by JMS Queue manager from SAP PO.

 

Thanks and Regards,

prasanthV

 



Does multimapping in SAP XI 7.0 possible and how.

$
0
0

Hi ,

 

I have one doubt that does multimapping possible in SAP XI 7.0.

 

Because i heard if interface pattern is not stateless then only we can create multimapping.

But in 7.0 there is no option to select interface pattern so how we can do it.

 

I tried creating multimapping scenario with 1 sender SI and 2 Target SI to send a multimapping files to two different target locations.

 

I created two receiver agreements for two receiver channels and sender agreement but while creating interface determination (standard)

i didnt able find Interface mapping there.

 

Please help me on how to create multimapping scenario in 7.0.

How to Revert a transport request from ESR in sap pi 7.4?

$
0
0

Hi All,

 

We are planning to revert the transport which was moved to quality , can you please let us know how can we revert back changes,in ID we have option Reject changes but i don't find any in ESR?

 

(OR)

 

Please let me know how can we delete namespace definitions,actual i need to move all objects of 1 namespace but apart from it namespace definitions of others have also been moved to QA, is there provision to delete the unnecessary definitions.

SAP ECC 6 and SAP SUS Integration Using SAP PO 7.4

$
0
0

Hello experts,

 

We are integrating SAP ECC 6 EHP 7 (SAP_APPL Release 617 SP-Level 0007) and SAP SUS (SRM Server 7.13 SP-Level 006) using SAP PI 7.4 Single stack.

I have downloaded the ESR Content SAPAPPL61707 and SRMSRVER71306 and imported into ESR.

 

Now when I am opening any standard Operation Mapping (e.g. MM2SUSOrder) and trying to access the sender IDoc from that operation mapping,it is showing "Software component version with name SAP APPL 6.06 not found".

 

Similarly when I try to browse receiver interface, it is showing "Software component version with name SRM SERVER 7.02 not found" and these interfaces will be required to generate proxy.

 

Should I need to import both SAP APPL 6.06 and SRM SERVER 7.02 as well and activate the proxy for the interfaces inside the SRM SERVER 7.02 SWCV or I am doing anything wrong?

 

Regards,

Suman

Query on Success Factors Integration

$
0
0

Hello All,

 

  I am new to success factors and i am having an synchronous integration from SF to PI to LotusNotes[SOAP].

 

  SF will send a request to LotusNotes through PI and response data from LotusNotes will send back to SF.

 

  I have SFSF adapter installed in my system. I am on PO 7.4 Dual stack.

 

  My questions are

 

  1. will SFSF Adapter Handle Synchronous messages?

 

  2. In Sender SFSF Adapter type, i am selecting SOAP as message protocol. correct me if i am wrong.

      have doubts on few parameters here.

 

            1. In EndPoint URL what input should i give?

            2. SFAPI URL Suffix? what would be the input here.

            3. Under Processing tab there is a Query String... what input should i give here.

 

Note: SF team has given standard xsd for sending the request to LotusNotes. So here i am using xsd as request and response for SF. [can i use?]

          LotusNotes team has provided WSDL which has request and response.

 

Please send your comments and provide inputs on above questions and guide me how can i goahed.

 

Thanks,

Bhaskar

Objects not getting activated in ID in SAP PI 7.4?

$
0
0

Hi All,

 

We have created configuration scenarios in development system and now by using CTS(option used: all objects in a configuration scenario) we created a transport and imported the same to ID and then when we press Transfer and Activate option, we are getting error message like "Object Communication Component <XXX> doesnot exist"? We have include BS in Configuration scenario but no clue why we are getting this error, can anybody please help me?

Viewing all 6719 articles
Browse latest View live


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