SAP ABAP Function Module SD_DOCUMENT_ACCOUNT_ASSIGNMENT (Prüfen, ob ein Verkaufsbeleg als Kontierung zulässig ist)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM-BTX-BF-IF (Application Component) R/3 Interface for Business Transactions
     VA (Package) Application development R/3 Sales
Basic Data
Function Module SD_DOCUMENT_ACCOUNT_ASSIGNMENT Prüfen, ob ein Verkaufsbeleg als Kontierung zulässig ist  
Function Group V45M   Functions for SD / MM Integration  
Program Name SAPLV45M   MM Connection 
INCLUDE Name LV45MU03    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting E_ABGRS TYPE T459K-ABGRS Results analysis key
Exporting E_BUKRS TYPE T001-BUKRS Delivering company
Exporting E_CUOBJ TYPE VBAP-CUOBJ Object Number of Variant
Exporting E_ERDAT TYPE VBAP-ERDAT VBAP-ERDAT entry date
Exporting E_ERROR_OCCURRED TYPE RV45A-VBAP_SELKZ Error occurred
Exporting E_GSBER TYPE VBAP-GSBER Business area
Exporting E_KNTTP TYPE VBAP-KNTTP Account assignment category
Exporting E_KOKRS TYPE VBAK-KOKRS Controlling area
Exporting E_KTEXT TYPE VBAP-ARKTX Material short text of item
Exporting E_KZVBR TYPE VBAP-KZVBR VBAP-KZVBR
Exporting E_MATERIAL TYPE VBAP-MATNR Material
Exporting E_OBJNR TYPE VBAP-OBJNR VBAP-OBJNR
Exporting E_PLANT TYPE VBAP-WERKS Delivering plant VBAP-WERKS
Exporting E_PRCTR TYPE VBAP-PRCTR VBAP-PRCTR
Exporting E_PS_PSP_PNR TYPE VBAP-PS_PSP_PNR WBS element account assignment
Exporting E_SOBKZ TYPE VBAP-SOBKZ VBAP-SOBKZ
Exporting E_WAERK TYPE VBAP-WAERK Company code currency E_BUKRS
Exporting E_WARNING_OCCURRED TYPE RV45A-VBAP_SELKZ Flag "Warning message occurred"
Exporting E_VBAP TYPE VBAP Order Item
Exporting E_KZBWS TYPE VBAP-KZBWS
Exporting E_BUKRS_VF TYPE VBAK-BUKRS_VF Billing company
Exporting E_TECHS TYPE VBAP-TECHS
Exporting E_VBAK TYPE VBAK
Exporting E_AUFNR TYPE VBAP-AUFNR Internal Order
Exporting E_TPOP_CONS TYPE XFELD TPOP Consolidation mit CRM Auftrag
Importing I_CHANGE_STATUS TYPE RV45A-VBAP_SELKZ 'X' Carry out status change, if possible
Importing I_DOCUMENT_NUMBER TYPE VBUK-VBELN SD document number
Importing I_ITEM_NUMBER TYPE VBUP-POSNR Item number
Importing I_KATYP TYPE CSKB-KATYP SPACE Cost element category
Importing I_MATERIAL TYPE VBAP-MATNR SPACE Material number for checking the item
Importing I_PLANT TYPE VBAP-WERKS SPACE Delivering plant
Importing I_PS_PSP_PNR TYPE VBAP-PS_PSP_PNR SPACE WBS element account assignment for check
Importing I_SALES_DOCUMENT_TYPE TYPE VBAK-VBTYP SPACE SD document category for check
Importing I_SCHEDULE_LINE TYPE VBEP-ETENR SPACE Schedule line number
Importing I_VRGNG TYPE TJ01-VRGNG SPACE Procedure
Importing I_CHECK_MATERIAL TYPE ' ' Check material (= x)
Importing I_CHECK_PLANT TYPE ' ' Check plant (= x)
Importing I_STATUS_CHECK TYPE C 'X'
Importing I_CHECK_CO_OBJ TYPE C CO Objekt vorhanden (=X)
Importing I_AUFNR TYPE VBAP-AUFNR SPACE Internal Order
Importing I_NO_WARNUNG_V1096 TYPE C SPACE Keine Warnung bei V1096 (=X)
Importing I_VORGN_GL TYPE TJ01-VRGNG SPACE Business Transaction
Exception DIFFERENT_DOCUMENT_TYPE TYPE S&D document category deviates from that of document
Exception DIFFERENT_MATERIAL TYPE Input material deviates from that of the item
Exception DIFFERENT_PLANT TYPE Input plant deviates from item plant
Exception DOCUMENT_BLOCKED TYPE Document Locked
Exception DOCUMENT_NOT_FOUND TYPE SD document not available
Exception DOCUMENT_TYPE_NOT_ALLOWED TYPE SD document category not allowed (e.g. invoice)
Exception ITEM_NOT_FOUND TYPE Item does not exist
Exception ITEM_NUMBER_MISSING TYPE Item number is missing for check
Exception NOT_ALLOWED TYPE Transaction not allowed
Exception OBJECT_NOT_FOUND TYPE Could not find object
Exception PROJECT_DEF_DIFF TYPE Project definition deviates
Exception PROJECT_IN_ORDER TYPE Sales order is assigned to project
Exception PROJECT_NOT_ALLOWED TYPE No project allowed
Exception SALES_ORGANISATION_NOT_FOUND TYPE Sales organization not in TVKO
Exception SCHEDULE_LINE_NOT_FOUND TYPE Schedule line does not exist
Exception DIFFERENT_NUMBER TYPE Order is assigned to another order
Exception PLANT_NOT_FOUND TYPE Item plant not available
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  00000000 
SAP Release Created in