mm bapis in purchasing

9
Technical Documentation (SAP SCM) BAPIs in Purchasing Version: [1.0] Date: [26.06.2002] Author: [insert name of the responsible person of this technical documentation] For internal use only Not released for external use No warranty for the contents

Upload: luiz-fernando-contador

Post on 16-Aug-2015

14 views

Category:

Documents


2 download

DESCRIPTION

BAPIS in Purchasing

TRANSCRIPT

Technical Documentation(SAP SCM)BAPIs in PurchasingVersion: [1.0]Date: [26.06.2002]Author: [insert name of the responsible person of this technical documentation]For internal use onlyNot released for eternal useNo !arranty for the contentsContents" #hat is a BAPI$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&1.1 In general................................................................................................ 1.2 !ther "ources of Information..................................................................1. #echnical................................................................................................. ' Tools%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%(2.1 $A%I &'plorer (#A bapi)..........................................................................*2.1.1 $usiness ob+ects.................................................................................................. *2.1.2 $A%Is.................................................................................................................. ,2.2 $usiness !b+ect -epositor. $ro/ser (#A s/o)......................................6& BAPIs in Purchasing%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%).1 0ost important $A%Is..............................................................................1.2 %roblem handling....................................................................................1. 2otes....................................................................................................... 3.* #ips......................................................................................................... 32" #hat is a BAPI$"%" In generalA BAPI (Business Application Programming Interface) is an interface to the "A% s.stem that allo/s the constituent elements of a business process to be distributed across a number of ph.sicall. separate s.stems.#his form of inter4s.stem communication can be established bet/een an "A% s.stem and a non4"A% s.stem as /ell as bet/een t/o "A% s.stems. #he capabilit. of $A%Is to be e'ecuted on distributed s.stems independentl. of the platform used is based on the ob+ect4oriented st.le of access embodied in the $!- ($usiness !b+ect -epositor.): &ach $A%I is implemented as a $A%I function module in the function librar. and is also defined as a method for a business object type in the B*+ (Business *b+ect +epositor.). Example: !ne of the steps constituting a certain business process is the creation of a customer order. #he $A%I re5uired for this is located in the SalesOrder business ob+ect that models the customer order in the form of the Create or CreateFromData A%I methods. "%' *ther Sources of Information6or further information refer to http:77bis./df.sap.corp:1010 4 $A%I De8elopment."%& Technical$A%Is are remote4enabled function modules.$A%Is ha8e to follo/ se8eral con8entions: #heir names usuall. begin /ith $A%I9'.:. 2o ; the primar. tasB is to tr. to reproduce the problem in the "&C. #his is 8er. helpful if the process during /hich the problem appears cannot easil. be repeated or if se8eral different s.stems are re5uired (usuall. /hen the $A%I is called b. &$%) /hat maBes debugging complicated.At the moment this is not automaticall. supported (note ,1CC6C)> but this is planned for *.C. "o it is necessar. to set a breaBpoint at the $A%I> manuall. checB the content of the input4parameters and create an entr. in the ;#est data director.=.1&%& Notes,1CC6C Do/ to create test4data that can be used to test the $A%I /ith "&C*.6< F *.CC,116 &rror anal.sis of $A%Is in "&C -elease independent20*613 $A%I9-&?AI"I#I!29