Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Partner Determination in SAP Sales and Distribution
Overview
This a procedure by which system selects the assigned sales relevant partner function/functions to
the object in Order to Cash process.
In brief, sales partner are business parties which are involve/relevant to a sales
process/transaction. Each partner are defined/identified based on role & function they play in
those sales process/transaction. These can internal or external to an organization. To setup,
determine & copy these business partners in a sales process or specific sales process or master in
SAP SD, we use a search technique, known as Partner Determination.
Main Components in Partner Determination
1 Partner Function
2 Customer Account Group
3 Partner Determination Procedure
Partner Object
Following are the Partners object with respective key area for which partner determination can
take place-
• Customer
• Sales Document Header
• Sales Document Item
• Delivery Document
• Shipment Document
• Billing Document Header
• Billing Document Item
SPRO path/Transaction Code
Transaction VOPAN / VOPA
Code
SPRO Path Sales and Distribution - Basic Functions - Partner Determination - Set Up Partner Determination
Configuration Steps
Let us go through the configuration steps involved in partner determination. Here we would take
focus on partner determination for a customer master.
Existing Sales Partner in Customer Master Determination:
Partner Function Languag Name Language-specific
e Partner Func.
AG EN Sold-To SP
Party
RE EN Bill-to Party BP
RG EN Payer PY
WE EN Ship-to SH
Party
The following are the steps involved in adding a new partner type, say, JP, for customer master
for partner determination:
Step 1. Partner Functions
Maintain a new partner function, JP, under partner function node with respective partner type
(KU for Customer, LI for Vendor) & indicator for Uniqueness in the master data.
In case of other objects same procedures can be followed. It differs at step 5, where you assign
partner determination procedure to respective object.
Partner Object Partner Determination
Procedure assigned to
Customer Customer Account Group
Sales Document Header Sales Document Type
Sales Document Item Item Category
Delivery Delivery Type
Shipment/Transportatio Shipment Type
n
Billing Header Billing Type
Billing Item Billing Type
Route Determination In Sales Order
Determination
Route is determined automatically in the sales order based on:
1. Departure zone or country of the delivering plant.
2. Destination zone or country of the Ship to Party.
3. Shipping condition from the customer master.
4. Transportation group from the material master.
5. Weight Group.
Configuration
Follow this:
Step: 1 - Define Modes of Transport
Path: SPRO - Logistics Execution - Transportation - Basic Transportation Function - Routes -
Define Routes - Define Modes of Transport.
Step: 2 - Define Shipping Types
Path: Under the Same Menu path - Define Shipping Types
Select New Entries and Assign the Shipping Type (e.g. Road or Train) and Assign Mode of
Transport (Mdtr) and Assign Shipping type Procedure group.
Step: 3 - Define Transportation Connection Point
Path: Under the Same Menu path - Define Transportation Connection Point.
Step: 4 - Define Routes and Stages.
Path: Under the Same Menu path - Define Routes and Stages.
Select the New Entries and Enter the Details
Then Select the Routes stages and define
Step: 5 - Maintain Stages for all Routes.
Path: Under the Same Menu path - Maintain Stages for all Routes.
ROUTE DETERMINATION
Step: 6 - Define Transportation Zone
Path: SPRO - Logistics Execution - Transportation - Basic Transportation Function - Routes -
Route Determination - Define Transportation Zone.
Step: 7 - Maintain County and Transportation Zone
for Shipping Point.
Path: Under the Same Menu path - Maintain County and Transportation Zone for Shipping Point.
Select the Shipping point and enter the Country and Transportation Zone
Step: 8 - Define Transportation Groups.
Path: Under the Same Menu path - Define Transportation Groups
Step: 9 - Maintain Route Determination
Path: Under the Same Menu path - Maintain Route Determination.
Go to Customer master data.
In Address of General data. Enter the Transportation Zone id. and save
You will get the route.
The system takes into account the following 4 conditions for determining the Route
a.) The country and the Departure Zone of the shipping point
b.) Shipping Conditions agreed in the sales document type or with the sold to party
c.) Transportation Group assigned to the material
d.) The country & Transportation Zone of the ship to party (in CMR)
Route can be manually overwritten during a sales order processing. You can re-determine the
route in the outbound delivery based on weight (weight group) provided it is allowed in the
configuration of the delivery type.
Scheduling takes into account the following times -
a.) Transit Time
b.) Loading Time
c.) Pick/Pack Time
d.) Transportation Lead/Planning Time.
The loading time and pick/pack time come from the shipping point whereas the transit time
and transportation lead time come from the route.
The system performs backward scheduling first to confirm the required quantity checking the
material availability on the material availability date. If the material availability date or the
transportation planning date falls before the order date, the system automatically carries out
forward scheduling and will propose a future date. A delivery type can be customized to carry out
rescheduling if required during the delivery processing.
You have to define new access sequence by copying existing one and change to your
requirement, provided standard access sequence does not meet you requirement. It is search
strategy which system uses to find out condition records stored in condition tables for condition
types. Unlike pricing, all output type has access sequence. Therefore, you maintain output
condition record for all output types.
3.) Output Types
TCode V/30
SPRO IMG - SD - Basic function - Output control
Path - Output determination using condition technique
- Output determination for sales documents
- Maintain Output Types
You have to define new Output types by copying existing one and change to your requirement,
provided standard output type does not meet you requirement.
• Languages of Output
• Print Program: print specification
• SAP Script: layout
• Partners (to whom you need to send output)
• You need to mention Partner function wise Output type.
3.1.) Assign Output types of Partner Function
SPRO IMG - SD - Basic Function - Output Control
Path - Output determination using condition technique
- Output determination for Sales documents
- Assign Output type to Partner Function
Here you assign Output types to desired Partner function like SP/SH/PY etc.. Generally that
would be the intent recipient of that output type.
4.) Maintain Output Determination Procedure
SPRO IMG - SD - Basic function - Output control
Path - Output determination using condition technique
- Output determination for sales documents
- Maintain Output determination procedures
You have to define new Output determination procedure by copying existing one and change to
your requirement, provided standard output determination procedure does not meet you
requirement.
You need to create communication strategy, system should search for communication methods in
case of transmission medium 5.
Output Determination Level & Assignment in Sales
Output Determination - Level Assign to
Output Determination - Level Assign to
Output Determination - Sales Document: Header assigned to Sales Document Type
Output Determination - Sales Document: Item assigned to Sales Document Item Category
Output Determination - Delivery Document: Header assigned to Delivery Type
Output Determination - Delivery Document: Item assigned to Delivery Item Category
Output Determination - Billing Document: Header assigned to Billing Type
Output Determination - Billing Document: Item assigned to Billing Type
Condition Record
Without or in absence proper condition record maintenance, the desired output type will not
determine in relevant sales document type. Therefore condition record is crucial in Automatic
determination of output type.
Definition: A text type is the classification for various user-defined texts in master records or
documents.
If a text ID is created for multiple text objects, it will be pulled through the various objects (for
example, sales order à delivery note).
Text can be proposed in the documents automatically from below mentioned points by a text
procedure:
• customer master
• material master
• one SD document into another (e.g., from sales order to delivery) at either header or item level
In this document, I will explain how to configure the Text in Sales & Distribution Module.
Or Go to transaction VOTXN.
•
• Now it is required to define own text determination procedure.
• Under ‘Textprocedure’, press ‘New Entries’ to create a new procedure.
•
•
• Save.
• Select the newly created procedure and double click on ‘Text ID’s in Text Procedure’ node.
•
•
• Again press ‘New Entries’ and add the text ID’s as per your business requirement from F4
(help). Also make sure to assign unique 'Sequence Number'.
• Save.
Note: If the text needs to be mandatory in sales document, then select ‘Text is obligatory’ and it
will be added in the Incompletion Log in ‘Text is obligatory’ column.
Once the text configuration is done, we have to assign the text to 'Text Determination Procedure'
to relevant item category in tab 'Text Procedure Assignment'.
After referring this document you will be able to create the Text Procedures, Text Types and Text
ID's in text procedure.
Pricing Procedure in SD
There are many queries on Pricing Procedures in SD module in the forum.
Pricing Procedure is indeed an heart of SD module, reason being if everything else is working
fine, but price is not being calculated correctly, the purpose of billing fails.
An Overview of Determination & Configuration of Pricing Procedure is as follows:
In SD, Pricing Procedure (TCode OVKK) is determined based on :
Pricing Procedure = Sales Organization + Distribution Centre + + Customer Pricing Procedure + Document Pricing Procedur
Division
Sales Area is determined in Sales Order Header Level. Customer Pricing Procedure is determined
from Customer Master - Sales Data - Sales Tab - Pricing Section. Document Pricing Procedure is
determined from Sales Document Type (TCode VOV8) / Billing Type (TCode VOFA) (if
configured). Once the pricing procedure is determined, Condition records are fetched. If
appropriate condition records are found, the price is determined. If Mandatory pricing condition
is missing, system will through an error message.
In SD, the steps to configure Pricing procedure are as under:
Step 1:
Condition table (TCode V/03, V/04 & V/05): If existing condition table meets the
requirement, we need not create a new condition table. Considering the requirement for new
condition table, the configuration will be done in SPRO as follows: IMG - Sales & Distribution -
Basic Function - Pricing Control - Condition Table (select the required fields combination, which
will store condition record).
Step 2:
Access Sequence (TCode V/07) : If existing access sequence meets the requirement, we need
not create a new access sequence. Considering the requirement for new sequence, the
configuration will be done in SPRO as follows: IMG - Sales & Distribution - Basic Function -
Pricing Control - Access Sequence (Access sequence is made up of Accesses (Tables) & the
order of priority in which it is to be accessed. Here we assign the condition table to access
sequence.). So, we can say that the access sequence is a search strategy which the System uses to
search for condition records valid for a condition type. We create new or modify an existing
access sequence follow rule "Specific to General" while maintaining the accesses for the access
sequence by specifying the condition tables in the desired sequence. For example,
Step 3:
Condition Type (TCode V/06) : If existing condition type meets the requirement, we need not
create a new condition type. Considering the requirement for new condition type, the
configuration will be done in SPRO as follows: IMG - Sales & Distribution - Basic Function -
Pricing Control - Condition Type. It is always recommended to copy an existing similar condition
type & make the necessary changes. Here we assign Access sequence to Condition type.
Step 4:
a. Pricing Procedure (TCode V/08) : It is recommended to copy a similar pricing procedure &
make the necessary changes in new pricing procedure (Note: It should suffice business
requirement). Pricing Procedure is a set of condition type & arranged in the sequence in which it
has to perform the calculation. Considering the requirement for new Pricing Procedure, the
configuration will be done in SPRO as follows: IMG - Sales and Distribution - Basic Function -
Price Control - Pricing Procedure - Maintain Pricing Procedure.
b. Pricing Procedure Determination (TCode OVKK) : After maintaining the pricing
procedure the next step will be determination of pricing procedure. Configuration for determining
pricing procedure in SPRO is as follows: IMG - Sales and Distribution - Basic Function - Price
Control - Pricing Procedure - Determine Pricing Procedure.
Step 5:
Condition record (TCode VK11, VK12, VK13) : Condition record is a master data, which is
required to be maintained by Core team / person responsible from the client. During new
implementation, the condition records can be uploaded using tools like SCAT, LSMW, etc. It is
assumed that document pricing procedure, customer pricing procedure , ... and other required
config& Determination are in place.
Configuration Path:
IMG>SD>Billing>Rebate Processing>Rebate
Agreements>Define Agreement Types>
Step 1: Define Agreement Type
Select”Define Agreement type ” from choose activity,double click on it
Click on it
Same as like Pricing Procedure configuration
Step 3.1: Select Maintain condition table for Rebates
Select Maintain Condition Tables for Rebate and Click on Choose
Based on requirement we can create new condition table
Save and exit (if anything created)
3.2: Maintain Access Sequence
Select Maintain Access Sequence
Click on Choose, Go to New Entries and Maintain Access Sequence
Maintain “1” Relevant for Rebates
Step 3.3: Define Condition Types:
Choose Define condition types
Select it and click on Choose
Rebate condition types (BO01, BO02, BO03, BO04, BO05, BO06)are
available in Standard SAP
Assign Access sequence to condition Type (if copied)
Step 3.4: Maintain Pricing Procedure:
Select Maintain Pricing Procedure and click on Choose
Choose Standard or copied Pricing Procedure by use
Click on Position Button left side Dialog Structure
Make sure that Rebate condition types must available in (copied) pricing
procedure
With Requirement-24 (only in Billing Document)
Enter billing Document Type and put check mark for Relevant for
Rebates
T-code: OVX5
Select your sales organization
Put check mark for Rebate process Active
save it.
With this configuration part is completed
Step7: create sales order
T-code: VA01
Specify Organizational details
Press F8(document Complete)
Check item conditions
Save it
Step 8: Create Delivery
T-code: VL01n
Step 9: create Billing document
save it
Now Rebate Settlement to customer
Step 10: Go to VBo2 rebated agreement
Enter rebate agreement which we created
Ex: 34
It will create automatically Rebate Request for Manual Accruals for entire
eligible pending amount.
It will happened in the back ground
If we want to check that go to this path or Click T-code: VOV8
Select any one of the above document type
B1, B2, B3 OR B4 click on details icon
Coming back to Rebate credit memo request
Back ground automatically created we can check these details by using T-
code: VA03
Now create Billing Document by using sales order number
Check the conditions
Save it
Billing document will be generated
Rebate accrual amount 5Rs
Check Accounting Document
Standard Programs in SD
SAPMV45A - Sales Order Processing
SAPFV45P - Sales: Item Processing
SAPFV45K - Sales: Processing Header Data
SAPMV60A - Processing Billing Documents
RSNAST00 - Selection Program for Issuing Output
SAPMV13A - Condition Maintenance
MV45AFZB - User Exits
MV50AFZ1 - User Exit as of 21D for Delivery Processing
RVKRED77 - SD: Reorganization of credit data after update errors
RLB_INVOICE - Invoice print program
SDBILLDL - Maintain Billing Due List
RVADIN01 - Print program for invoices
RV60SBAT - Creating Background Jobs for Billing
RV60BFZA - User Exits
RV60AFZB - General billing interface: user exit for CPD addresses
RVIVAUFT - Intercompany invoices with order purchase
RVAFSS00 - Invoicing External Transactions
SDBLBDDL - Release Billing Documents for Accounting
SDRQCR21 - Recovery of Sales and Delivery Requirements
SAPMV13B - Output Maintenance
Difference between BDC and BAPI
BDC is traditional way of coding the transactions for uploading the legacy
data, Sap is changing all transactions to Object oriented programming. Since
BAPI is Object based and supports all the new transactions it is preffered
over BDC. More over BAPI's process data faster than BDC.
However - there is not always a BAPI for a particular transaction and not all
functions that are performed by a transaction can be done by a BAPI. BDCs
produce error sessions which can be processed by the user, while BAPIs
don't.
A BDC with call transaction goes through the whole screen sequence like
any user would do, simply put, it is filling screens.
Actually it depends on your requirement but BAPI is more effective as it is
standard function module to update SAP databases rather than BDC.
advantages:
1. usingbdc we can upload data into database tables using 2 ways
1. foreground -
means that user interaction is there for each and every record.
2. back ground -
no user interaction and tasks are done automatically.
using these two options is one of the greatest advantage over bapi.
3. bdc is generally used for transferring of large amount of data than bapi's
disadvantages:
3. usingbapis we can connect to remote systems and also to non sap systems.
A BAPI is a method of a SAP Business Object. BAPI enables SAP and third
party applications to interact and integrate
with each other at the Business Object / Process level.
In case of bdc data transfer takes place from flat file into sap system ie the
file existing in sap system to sap sytem
where is bapi's r remotly enabled function modules which are assigned to
some business objects n used to transfer the data between different business
partners who are using different systems other than sap.
not only that...
when you plan to upgrade your system version then bdcwillnot support those
upgradations where as bapi's will support.
In MM01, basic data tab, Gen.Item category field 0001= MTO , 0002 for configurable
material
3) Create an order VA01 there you will see item category as TAK, schedule line as CP,
and requirement type as KE
4) MB1C to initialize the stock with special stock indicator E (means 561E)
Important Links
https://wiki.scn.sap.com/wiki/display/ERPLO/Partner+determination+procedure+i
n+SD
https://wiki.scn.sap.com/wiki/display/ERPLO/Route+Determination+In+Sales+Or
der
https://wiki.scn.sap.com/wiki/display/ERPLO/output+determination+using+condit
ion+technique
https://wiki.scn.sap.com/wiki/display/SD/Defining+Text+Procedure+in+SD
https://wiki.scn.sap.com/wiki/display/ERPLO/Pricing+Procedure+in+SD
https://wiki.scn.sap.com/wiki/display/ERPLO/Revenue+Account+Determination+
-+Configuration
https://blogs.sap.com/2012/12/31/idoc-basics-for-functional-consultants/