Register Login

Using Sales Representative in SD without HR Interview Questions and Answers

Updated May 18, 2018

FAQ: Use of the sales representative in SD without HR

1. Question:Does the HR module have to be in use in order to use the sales representative as a partner in the SD module?

Answer: No, only an HR master record is needed for the use of the sales representative. If you do not have the Human Resources department (application HR) in use, you can transport the HR tables from the client 000 to the target client that you need for creating, changing or displaying a sales representative.

2. Question: What must be done to make the necessary HR tables available?

Answer: In order to transport the necessary HR tables from the client 000 to the target client, two transfer orders must be available. The called RPUTRL00 report writes the Customizing tables as well as the system tables to separate transfer orders. You must then use Transaction SCC1 (called in client 000) to copy both transfers to the target client.

3. Question: There are problems when creating, changing or display ing sales representatives. What is the procedure for troubleshooting?

Answer: Note 28418 gives a detailed description of the necessary Customizing settings and approaches for troubleshooting and correcting the problem.

4. Question: Why doesthe sales document not display the name or other data for the sales representative?

Answer: Check whether the infotype 0001 (Transaction PAL3, Organizational Assignment) is maintained correctly for the sales representative.

5. Question: Why is the personal data (such as telephone number) of the salesrepresentative not displayed in the sales document?

Answer: If a personnel number is used in a document (for example, as sales representative), the system does not display the private address of the sales representative. This is the standard behavior. Data from the HR must not be displayed in the document. The sales representative can be assigned to a sales group and the sales group can be assigned to a sales office. The address of the sales office is then used for the sales representative.

With the following modification, data, such as telephone number or fax-number, is displayed in the sales document from the private address (infotype 0006):

Function module SD_REPRESENTANT_GET_DATA
...
  DATA: SD_ADDRESSNUMBER LIKE TVKO-ADRNR,
        WA_ADDRESS_SELECTION LIKE ADDR1_SEL,
        WA_ADDRESS_VALUE     LIKE ADDR1_VAL.
* <<<< INSERTATION START >>>>
  data: lv_comm_data_source type char1 value space.

  if <my_field> = <my_value>.   "<<--THERE YOU CAN DEFINE OWN IF-CLAUSE
     lv_comm_data_source = 'X'. "comm.data from private
  endif.
* <<<< INSERTATION END >>>>

* get telephone number (handy) of employee from infotyp 105
  CALL FUNCTION 'HR_REPRESENTANT_GET_DATA'
       EXPORTING
            P_PERNR          = FI_PERNR
            P_DATE_FROM      = FI_DATE_FROM
* <<<< DELETION START >>>>
            P_PRIVATE_ADDRESS = SPACE
* <<<< DELETION END >>>>
* <<<< INSERTATION START >>>>
            P_PRIVATE_ADDRESS = lv_comm_data_source
* <<<< INSERTATION END >>>>
...

* determine work address from SD organization units
  CLEAR SD_ADDRESSNUMBER.
* <<<< INSERTATION START >>>>
   if lv_comm_data_source = 'X'.   "comm.data from private
      clear: FE_HRMR_REP-SALES_OFFICE, FE_HRMR_REP-SALES_ORG.
   endif.
* <<<< INSERTATION END >>>>
...

However, note the following:

These source code corrections are a modification. Among other things this means that these changes are neither contained in a following SAP Support Package nor scheduled for a future development cycle. In particular, this modification is not covered by SAP standard support (for more detailed information, see Note 170183).


×