Sales management interfaces

Inbound flow

Inquiry

REQOTE.ORDERS04

Sales order

ORDERS.ORDERS04

2187082 - IDOC partner determination through ILN doesn't work

According to standard behavior, it is not possible to perform partner determination based on the ILN number. However an ILN number can be added in IDOC segment E1EDKA1 (Document Header Partner Information), processing this number doesn't belong to SAP-EDI standard logic.

Arrived time

для каждого E1EDP01 добавить под-сегмент E1EDP20
-> E1EDP01.E1EDP20.EDATU + E1EDP01.E1EDP20.EZEIT

753153 - FAQ: Customer-functions in IDOC_INPUT_ORDERS


Sales order change

ORDCHG.ORDERS04

Delivery order (Pick-up sheet)

DELORD.ORDERS03

Forecast delivery schedule

DELINS.DELFOR01

Just-in-time delivery schedule

DELJIT.DELFOR01

Self billing procedure

GSVERF.GSVERF01

External agent delivery note

EDLNOT. DESADV01

Payment advice

You want to process payment advice note IDocs with message REMADV. In this process, the system should post the cash receipt and clear the open items.

The program only generates a payment advice note, but no batch input session and no clearing entry. Or the system displays error messages because of incorrect or missing posting rules.

Part 1 - Payment advice note creation
1. Create the customer centrally and define the partner functions.
2. Maintain the inbound parameters in the partner profile (Transaction WE20) and define process code REMA or REMC.
To create batch input sessions, use process code REMA (function IDOC_INPUT_REMADV).
To post the clearing immediately, use process code REMC (function IDOC_INPUT_REMADV_CTR).
3. In Transaction OBCA, maintain the assignment of the name that is specified by the business partner in the IDoc to the company code in which the open items exist. The system compares the name in the 'Comp.code name in the invoice' to field PARTN in the partner segment of the payment advice note recipient in the IDoc character by character. For incoming payments, this is the E1EDKA1 segment with PARVW = BE, and for debit memo advice notes it is the E1EDKA1 segment with PARVW = AG. If field PARTN is not filled, the system reads field NAME1.

Part 2 - Automatic open item clearing
1. Define the posting rules for the incoming payment posting in the IMG under 'Financial Accounting -> Bank Accounting -> Business Transactions -> Payment Transactions -> Manual Bank Statement -> Define Posting Keys and Posting Rules for Manual Bank Statement'.
You need a posting rule for posting area 1 with G/L account and debit posting key for the cash receipt, document type and the setting for the clearing entry of the subledger account on credit side (type of posting 8).
2. Set the further processing of the REMADV payment advice notes in the IMG under 'Financial Accounting -> Accounts Receivable and Accounts Payable -> Business Transactions -> Incomint Payments -> Electronic Incoming Payments -> Payment Advice Notes -> Define Further Processing of Payment Advice Notes'.
For the incoming payments, you need a setting with
- +/- sign +
- 'Post automatically' flag 'In EDI too'
- Your posting rule from step 4
              To generate batch input sessions, enter a 'B' in the function field (B/C).

              To post the clearing immediately, enter a 'C' in the function field (B/C).

              As of Release 4.70 (R/3 Enterprise) or after you have implemented Note 519352, the function field (B/C) no longer has to be supplied.

Part 3 - Data in the IDoc
1. The automatic clearing only works if the system finds the open item. You must specify 10-character document numbers (for example, segment E1IDPU1, field DOCNUMMR). Set up the EDI converter in such a way that it enters leading zeros if necessary.
2. If you want to post deductions, you need segment group E1IDPU3 in the IDoc. Fill it as follows:
E1IDPU3: Write value 001 into field DLIZEIQU
E1IDUU2: AJTGRUND = external deduction reason
         MOABETRG = deduction amount (with +/- sign, see Note 429869)
3. Enter the total of all deductions of an invoice into segment E1IDPU5 with qualifier 007.
4. The allowed deduction of cash discount must be entered into segment E1IDPU5 with qualifier 003. You do not need an E1IDPU3 segment group for the allowed cash discount.
5. Set up the versions for the conversion of the external reason codes (from the IDoc) to internal reason codes (in the payment advice note). This is done in tables T053V and T053E; or in the last two IMG activities under: 'Financial Accounting -> Accounts Receivable and Accounts Payable -> Business Transactions -> Incoming Payments -> Incoming Payments Global Settings -> Overpayment/Underpayment'.
6. Enter the version of the conversion of payment difference reason codes in the customer master (company code data, payment transactions). This way you define the interpretation of the deduction reasons that are spwecified by the business partner.

2531764 - E1EDP02 segment in REMADV idoc
  • Other qualifiers can be accessed with the Userexit(exit_sapliedp_101/102).

Outbound flow

Quotation

QUOTES

Sales order confirmation

ORDERSP

Invoice & Invoice list & Foreign trade billing document

INVOIC

Services 

Sales order entry

Authorizations
  • For customers with use master data in the SAP System and are logging on for the first time in the Internet (SU05)
  • For new customers who do not have any master data in the SAP System and are logging on for the first time in the Internet:
    • The system creates a customer master record in the SAP System with the data from the new customer. Essentially, the user just provides address data and additional information such as data for the company code and sales area are taken from a reference customer .
Functions: 
  • BAPI_SALESORDER_SIMULATE
  • BAPI_SALESORDER_CREATEFROMDAT1
This data is taken from the default parameters for the global user master record.

Sales order status

The following Business Application Programming Interfaces (BAPIs) are used for this Internet application component:
  • BAPI_SALESORDER_GETSTATUS
  • BAPI_SALESORDER_GETLIST
  • BAPI_CUSTOMER_CHECKPASSWORT
Some shipping agencies provide transportation information in the Internet. If the delivery to the customer is carried out by a shipping agency such as this, you can call up the transportation information directly from the status inquiry for sales orders, via a hyperlink. The customer then receives additional information on shipment. This enables him to find out at which loading unit or transfer unit his delivery is situated at present.

Prerequisites in your SAP System:
  • Creating a forwarding agent master record for shipping
  • Maintaining the TCAURL table with the transaktion SM30 with the following data

REMADV

You send REMADV Idoc to the business partners to inform them that the payment has been made, it susbstitutes the paper payment advice. The Partner Type of the sender is LS (Logical system) but you expect KU or LI.

You create REMADV Idoc using RFFO* program or RFFOAVIS_FPAYM if you use PMW (Payment Medium Workbench).

Available-to-Promise on the Internet

Use: BAPI_MATERIAL_AVAILABILITY

Comments