Programme SAP CRM_WEBREQ_EXTERN_WITH_UPLOAD - Create a Web Request Offline with an XML File

Purpose
The program is a sample program for calling the external interface forWeb requests.
You can create a Web request offline using the program through theexternal interface, instead of generating Web requests online over theInternet or with the relevant BSP application. The program can also beused for test purposes.

Integration
The program uses the framework for Web requests in CRM.

Prerequisites

  • The request category must have been created in the system with a related
  • request data structure and transaction type. The parameter for therequest category is a required parameter.
    • An XML file "suitable" for the request category must be available in the
    • database and be specified during the browser query. If the program iscalled by a Unicode system, the file must be converted appropriatelybeforehand.
      • The business partners for "Applicant" and "Creator" are optional
      • parameters. However if they are entered, they must contain the correctbusiness partner numbers. Otherwise the program is canceled.

        Features
        If processing is free of errors, a Web request is created. This means aservice order with a linked form (XML request data).

        Selection

        • Request category (required entry)

        • Valid request category for Web requests
          • Creator (optional entry)

          • Business partner creating request
            • Requester (optional entry)

            • Person placing request
              • Category (optional entry)

              • Web requests created offline and online can be differentiated between inCRM transaction processing using categories.

                Output
                If no errors occur during processing, the transaction number of theservice process is created. If errors occur during processing, an errormessage appears.

                Activities
                For more information, see the relevantfunction module documentation.