Skip to Content
avatar image
Former Member

SAP SFTP File content conversion

Hello,

I have simple scenario SFTP to ABAP proxy in process orchestration..

My input file is

12345666777777

223454566666666

222344444444444

My Message type

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:city-cob:ltsadata:to:sap" targetNamespace="urn:city-cob:ltsadata:to:sap">

<xsd:element name="LTSARequest_MT" type="LTSARequest_DT" />

<xsd:complexType name="LTSARequest_DT">

<xsd:annotation>

<xsd:documentation xml:lang="EN">

LTSA Property Data

</xsd:documentation>

</xsd:annotation>

<xsd:sequence>

<xsd:element name="LTSARecordSet" maxOccurs="unbounded">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="LTSARecords" type="xsd:string" />

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:schema>

I am using content conversion:

I have error called:

Message:

Exception received: java.lang.NullPointerException Severity: Single Click Filter by Severity Negative Single Click Filter by Severity Error Date: Single Click Filter by Date Negative Single Click Filter by Date 2016-04-06 Time: Single Click Filter by Time Negative Single Click Filter by Time 10:43:54:645 Category: Single Click Filter by Category Negative Single Click Filter by Category com.sap.aii.adapter.sftp.ra.rar.jca.SFTP2XI Location: Single Click Filter by Location Negative Single Click Filter by Location com.sap.aii.adapter.sftp.ra.rar.jca.SFTP2XI.sftpConnection(Channel channel) Application: Thread: Single Click Filter by Thread Negative Single Click Filter by Thread XI SFTP2XI[LTSAPropertyDataToERP_File_CC/Sys_DCoBLTSA/]_61552 Data Source: j2ee\cluster\server0\log\defaultTrace_00.trc Arguments: Passport User Activity ID: Single Click Filter by Passport User Activity ID Negative Single Click Filter by Passport User Activity ID f0acde0be61a11e5bfc3005056825c21 Message ID: Session: Single Click Filter by Session Negative Single Click Filter by Session 0 Transaction: User: Single Click Filter by User Negative Single Click Filter by User SM1Guest Time Zone: Single Click Filter by Time Zone Negative Single Click Filter by Time Zone 0-700 Customer Message Component: Single Click Filter by Customer Message Component Negative Single Click Filter by Customer Message Component BC-XI-CON-B2B Runtime Component: Single Click Filter by Runtime Component Negative Single Click Filter by Runtime Component sap.com/com.sap.aii.adapter.sftp.app Correlation ID: Single Click Filter by Correlation ID Negative Single Click Filter by Correlation ID 447239550002103089 Passport Session: Single Click Filter by Passport Session Negative Single Click Filter by Passport Session F0ACDE0BE61A11E5BFC3005056825C21 Passport Connection: Passport Connection Counter: Single Click Filter by Passport Connection Counter Negative Single Click Filter by Passport Connection Counter 0 Host: Single Click Filter by Host Negative Single Click Filter by Host aspasia System: Single Click Filter by System Negative Single Click Filter by System SM1 Instance: Single Click Filter by Instance Negative Single Click Filter by Instance J44 Node: Single Click Filter by Node Negative Single Click Filter by Node server0 Log ID: Single Click Filter by Log ID Negative Single Click Filter by Log ID

C0000A0107830DD00000000000001060




Please help me how do simple content conversion in SAP SFTP sender adapeter.

Thank you

John

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 06, 2016 at 09:48 PM

    Hi John

    As per your requirement as SFTP sender, the simplest way to use AF_Module/MessageTransformBean - Plain2XML.

    you need to assign its related parameters .

    Check on SCN, you will get many examples.

    Regards,

    Add comment
    10|10000 characters needed characters exceeded