Age: 160 Joined: 04 Oct 2007 Posts: 1218 Location: Санкт-Петербург
Posted: Thu Jan 27, 2011 1:51 pm Post subject: Get pricing accounting values from Sales Order
Code:
FUNCTION zerum_pricing_so.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(I_VBELN) TYPE VBELN
*" TABLES
*" T_OUTPUT STRUCTURE BAPISDCOND
*" EXCEPTIONS
*" NOT_FOUND
*"----------------------------------------------------------------------
* Function name : ZERUM_PRICING_SO
* Development specification ID :
* Process team contact person/team name:
* Date created :
* Service Desk change number :
* Transport request number :
* Author :
* Description : select conditions values
* from SO
*----------------------------------------------------------------------*
DATA:
i_bapi_view TYPE order_view,
sales_documents TYPE sales_key OCCURS 0 WITH HEADER LINE,
order_cond_out LIKE bapisdcond OCCURS 0 WITH HEADER LINE,
order_cond_head LIKE bapicondhd OCCURS 0,
order_cond_item LIKE bapicondit OCCURS 0,
order_cond_qty_scale LIKE bapicondqs OCCURS 0,
order_cond_val_scale LIKE bapicondvs OCCURS 0.
* get details for sales order
sales_documents-vbeln = i_vbeln.
COLLECT sales_documents.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.