Free SAP Training & Tutorial A Free SAP Functional And Technical Tutorial And Training For ABAP, SAP QUERY, ALV, SMARTFORMS, SD, PP, MM, QM, FICO

   
09.08.2010 | Author: | Posted in SD Module 

In SAP all the entities who are involved in a business transaction are represented as partners. Ex :A carrier can be created as a partner on the sales order. This document describes the partner determination on the sales order. Partner function specifies the kind of the role the partner is playing in the document.

A partner can play many roles in a business transaction. Example is sold to party customer can act as a payer , bill to party and ship to party. To enable this the roles played by this partner (partner functions) should be assigned to the account group. In this case the account group for sold to party which is 0001 in the standard system is assigned to partner function BP, PY and SH.

Partner source specifies what is the source for the partner in the business transaction. The source for the ship to customer is sold to party. In a scenario where a carrier should be determined based on the ship to location, the source for the carrier is ship to party.

An user exit is also available to determine the partner. With this user exit, partner can be determined based on multiple criteria. To enable the user exit, origin field on the partner determination procedure should contain X,Y or Z. In the below screen shot, partner type ZP has Y in the origin field i.e. this partner is determined through the user exit. The following is the sample code for partner determination user exit.

Data temp_werks like vbap-werks.
Data temp_parva like usr05-parva.

clear temp_werks.
clear temp_parva.

if FIF_HERTAB = 'X'.

select single parva into temp_parva from usr05
where BNAME = sy-UNAME
and PARID = 'WRK'.

*get parameter ID 'WRK' field temp_werks.

FET_DETERMINATED_PARTNERS = temp_parva.
append FET_DETERMINATED_PARTNERS.

FEF_NEW_PARTNERS = 'X'.

endif.

clear temp_parva.

if FIF_HERTAB = 'Y'.
select single parva into temp_parva from usr05
where BNAME = sy-UNAME
and PARID = 'WRK'.

*get parameter ID 'WRK' field temp_werks.

FET_DETERMINATED_PARTNERS = temp_parva.

append FET_DETERMINATED_PARTNERS.

FEF_NEW_PARTNERS = 'X'.

endif.

The above code extracts the value assigned to the parameter ‘WRK’ from the user master (SU3).

Partners can present at the header level and item level. The kind of partners present at the header or item level are controlled by partner determination procedure. At header level a partner determination procedure is assigned to order type, and at item level is is assigned to item category.

Configuration of partner determination

Here we will discuss configuration of the partner determination for sales order header.

1. Create Partner determination procedure.

Create new partner determination procedure.

Path : IMG->Sales and distribution ? Basic functions ? partner determination ? Sales order header
partner_determination2

In this case ZETA is the new partner determination procedure. Select ZETA and press partner functions in procedure.

partner_determination22

Assign all the partners required in the sales order. Check the mandatory field if the partner is mandatory in the transaction.

2. Assign the partner determination procedure to sales order type.

partner_determination3332

In the same transaction (step 1), press partner determination procedure assignment. Assign the newly created partner determination procedure to the sales order type. In this example ZETA partner determination procedure is assigned to sales order type ZEQN.

IF a new partner function is required, navigate to the partner functions tab (left pane).

Create the new partner function on this screen, by pressing new entries. Add the new partner function to the partner determination procedure as described in step 2. When a new partner function is created, the account group which can act as this partner should be specified. To do this navigate to “Account Groups – Function Assignment.

Reprinted Under Permission of www.magnatraining.com

Popularity: 3% [?]

 


Related Tutorial " SD Module" 

  •  
     
    Recent Tutorials
    Create Table Maintenance Display In SAP Create table display to maintain tables values using SM30
    Create Table Maintenance Generator In SAP Maintaining SAP Transparent table values using maintenance generator
    Table Relationship In SAP Learn How To Find Tables Relationships in SAP
    Convert Number To words Using ABAP Find out how to convert numbers into words Using ABAP
    How To Maintain Long Text Object in SAP Maintain long text object in SAP
    How To Know What TCODE Used In ABAP Program Find TCODE For your ABAP Program Report
    How does CRM Work? Learn how CRM system works to run your business
    Why SAP CRM is the Best Choice? The reasons why CRM application is the best choice
    Difference Between CRM System and CRM Strategy What's the difference between CRM system and its strategy
    CRM for a Better Customer Service Learn how CRM could make your customer service much better
    Costs of Implementing CRM Software Learn the how much cost you need to prepare when implementing CRM
     
    Popular Tutorials
  • Using TYPES as Internal Table Structure in ABAP
  • How To Add Variable Into Your Status Message ABAP
  • Function To Call SNRO Next Number ABAP
  • How To Disabled Selection Screen Parameter Using ABAP
  • SAP Tutorial Manual
  • Printing Several Forms In One Request Using ABAP
  •  
    Categories
    ABAP   Basis & Configuration  
    ALV SAP BW (Business Warehouse)
    BAPI   SAP Interview Questions
    SAP Tables   SAP Overview
    Transaction Codes FI SAP Query
      MM SAP Script  
      PP SAP Tutorial FI Module
      QM   MM Module
      SD   PM Module
    SAP Functional MM   PP Module
      SD   QM Module
    White Papers     SD Module
    Uncategorized   SmartForms  
      User-Exits  
     
     

     

    Home | About | Contribute | Privacy

    Copyright 2011 freesaptutorial.com.

    Free SAP Tutorial is not associated with SAP AG in Germany or in any other country.

    SAP is a registered trade mark of SAP AG.