Ansicht
Dokumentation

BAPI_PROCRELATION_SAVEMULTI - Create/Change External Procurement Relationship

BAPI_PROCRELATION_SAVEMULTI - Create/Change External Procurement Relationship

PERFORM Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

With this method you can create and change external procurement relationships in the APO System.

Transfer

In the ProcRelation table, you transfer data on the external procurement relationship to the method.

Creating External Procurement Relationships

When you create an external procurement relationship you must transfer at least the following data:
In the case of external procurement relationships relating to purchasing info records, you must transfer the info record number, purchasing organization, target location, and product to the method. In addition, you can transfer consignment and contracting indicators.
In the case of external procurement relationships relating to contracts, you must transfer the document number, position number, target location, and product to the method.
In the case of external procurement relationships relating to scheduling agreements, you must transfer the document number and the position number.

Note
Do not transfer any GUIDs to the method.

Changing External Procurement Relationships

When you change external procurement relationships, you must transfer the following data, so that the corresponding external procurement relationship can be uniquely identified:

  • Only all necessary parameters (see above)
  • The GUID and all necessary parameters
    If you transfer the GUID and the corresponding paramaters of the external procurement relationship to the method, the system makes checks as follows: over the transferred parameters, the system finds an external procurement relationship and checks whether its GUID matches the GUID you transferred. If they do not match, you cannot change the external procurement relationship.

In the COST_SCALES table you can transfer pricing scales.

Note
You can use the Testrun parameter to specify whether the method
should simulate deletion of the external procurement relationship.

Notifications

The systems returns notifications in the Return parameter.

Further information





Parameters

BUSINESS_SYSTEM_UNIT
COST_SCALES
COST_SCALESX
EXTENSIONIN
EXTENSIONOUT
LOGSYSTEM
PROC_RELATION
PROC_RELATIONX
RETURN
TESTRUN

Exceptions

Function Group

10008

CPI1466 during Backup   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 3635 Date: 20240523 Time: 154943     sap01-206 ( 53 ms )