Skip to Content
author's profile photo Former Member
Former Member

HTTP_AAE Adapter for csv file

Hello All,

I have an HTTP to File scenario. The file will be uploaded as file and sent to PI as HTTP POST request.

I am unable to understand the below.

- How do we populate the field Main Payload Parameter Name? I understand this has to be checked if the request is POST and to be uploaded as a file, but I am not sure what text to mention in this field

- Can we upload a csv file using this method?

Regards,

Puloma.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Mar 13, 2014 at 10:19 AM

    Hi Puloma,

    If I understood correctly, you've an HTTP->FILE scenario. In this context,

    a. Main Payload Parameter name is just used to obtain the XI payload from the specified parameter.

    b. If you are talking about attaching a csv as an attachment, you can definitely do that by checking keep attachments.

    This blog from Prabir should help you in bringing more clarity:

    HTTP Test Tool for SAP PI 7.3

    Besides, this is the standard SAP help for more reference

    Configuring the Java HTTP Adapter on the Sender Channel - Advanced Adapter Engine - SAP Library

    Regards,

    Abhishek

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 13, 2014 at 12:24 PM

    Hi Puloma

    If you want to send a CSV file to PI, then why you want to use HTTP adapter. You should use file adapter if you want to send the file to PI.

    Also you have mentioned that your scenario is HTTP to File. So that means the sender will send data by making a HTTP to call to PI and then PI will generate the file from the HTTP request message and send it to receiver.

    Please provide the exact scenario and requirement so that we can help you better.

    By the way the 'Main Payload Parameter Name' will be used only when your HTTP client is sending data using an HTML form.We have the option to post the data to PI without using form.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.