Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>ItCustBillingDoc



Index

ItCustBillingDoc

ItCustBillingDoc


No description is available


11-Dec-2005


Methods

Available Methods


  • Cancel : Cancel/reverse [ BAPI_BILLINGDOC_CANCEL1 ]
  • CancelFromData : Cancel/reverse [ BAPI_BILLINGDOC_CANCEL ] (Obsolete in 46A)
  • Confirm : Confirm object [ BAPI_BILLINGDOC_CONFIRM ]
  • Create : Create object [ BAPI_BILLINGDOC_CREATE ]
  • CreateFromData : Create using external document [ BAPI_BILLINGDOC_CREATEFROMDATA ] (Obsolete in 46A)
  • CreateMultiple : Create [ BAPI_BILLINGDOC_CREATEMULTIPLE ]
  • Display : Display object [ BAPI_BILLINGDOC_DISPLAY ]
  • Edit : Change object [ BAPI_BILLINGDOC_EDIT ]
  • ExistenceCheck : Check existence of object [ BAPI_BILLINGDOC_EXISTENCECHECK ]
  • GetDetail : Find details [ BAPI_BILLINGDOC_GETDETAIL ]
  • GetList : List [ BAPI_BILLINGDOC_GETLIST ]
  • IsCancelled : Has the billing document been cancelled? [ BAPI_BILLINGDOC_IS_CANCELLED ] (Obsolete in 46A)
  • Simulate : Simulate using external document [ BAPI_BILLINGDOC_SIMULATE ] (Obsolete in 46A)

11-Dec-2005


Cancel

Cancel


You can use this method to cancel a billing document.

As an input parameter, you are expected to enter a billing documentnumber in the field BILLINGDOC_NUMBER. This corresponds to the document to be canceled.

This method can be used not only in the simulation run (TESTRUN = 'X')
but also in an update run including update (TESTRUN = ' '). Both execution variants send back any errors that have occurred to theoutput table RETURN. If the document to be canceled has been correctlyprocessed, information on successful processing is sent back in the
SUCCESS table. This ouptut table delivers in particular the document number of the cancellation billing document in the update run.

Notes

  1. Required entries :
    BILLINGDOC Number of the billing document to be canceled

  2. COMMIT Control :
    In the update (TESTRUN = ' ') the update is carried out by COMMIT
    WORK using the methods available.

11-Dec-2005


CancelFromData

CancelFromData


No document is available


11-Dec-2005


Confirm

Confirm


You can use this method to confirm a billing document.

You should enter a billing document number in the BILLINGDOC_NUMBERfield as an input parameter. This corresponds to the document to be confirmed.

If the document to be confirmed can be determined, information on the
sales and distribution area, the creator, the net value and the payeris issued in the form of a popup. Any errors are sent back in the output structure RETURN.

Notes

Required inputs :

BILLINGDOC_NUMBER Number of the billing document to be processed


11-Dec-2005


Create

Create


You can use this method to create billing documents online.

As the documents to be billed are entered online, this method does notcontain any input parameters. Any processing messages are returned in the output table RETURN.

Notes

  1. COMMIT control :
    Calling up this method starts COMMIT WORK regardless of whether any

    billing documents to be created should be saved in online processing
    or not.

11-Dec-2005


CreateFromData

CreateFromData


No document is available


11-Dec-2005


CreateMultiple

CreateMultiple


This method can be used to create billing documents.

As input parameters, you are expected to enter information on the itemsto be processed in the table BILLING_DATA_IN. This data is processedand produces a batch of billing documents. You also have the option of transferring information for entry in the input structure
CREATOR_DATA_IN. If this information is already determined, this istransferred into each billing document header. You can also enteroptional conditions for the individual items to be processed in theinput table CONDITION_DATA_IN, as well as means of payment information in the table CCARD_DATA_IN.


This method can be used in the simulation run (TESTRUN = 'X') and alsoin the update run including the update (TESTRUN = ' '). Both executionvariants deliver errors that may have occurred back to the output tableRETURN. Information on successful processing is sent back in the output
table SUCCESS. This output table delivers the document numbers of the billing documents created in particular.

Notes

  1. Required entries :
    BILLING_DATA_IN-SALESORG
    BILLING_DATA_IN-DISTR_CHAN
    BILLING_DATA_IN-DIVISION

    BILLING_DATA_IN-DOC_TYPE
    BILLING_DATA_IN-ORDBILLTYP
    BILLING_DATA_IN-SOLD_TO
    BILLING_DATA_IN-ITEM_CATEG
    BILLING_DATA_IN-REQ_QTY
    BILLING_DATA_IN-SALES_UNIT
    BILLING_DATA_IN-CURRENCY
    If a material is billed for which a material master needs to be

    determined (BILLING_DATA_IN-NO_MATMAST = ' '), you must make the
    following entries :
    BILLING_DATA_IN-PLANT
    BILLING_DATA_IN-MATERIAL
    If, on the other hand, a material is billed for which no material
    master is to be determined (BILLING_DATA_IN_NO_MATMAST = 'X'), you
    must make the following entries :

    BILLING_DATA_IN-COUNTRY
    BILLING_DATA_IN-MATERIAL
    BILLING_DATA_IN-TAXCL_1MAT
  2. COMMIT control :
    In the update run (TESTRUN = ' ') the update is carried out by COMMIT
    WORK as part of the method available.

11-Dec-2005


Display

Display


You can use this method to display a billing document online.

You must enter a billing document number in the BILLINGDOC_NUMBER fieldas an input parameter. This corresponds to the document to be displayed.

Notes

  1. COMMIT control :
    Calling up this method starts COMMIT WORK.

11-Dec-2005


Edit

Edit


You can use this method to change a billing document online.

A billing document number must be entered in the field BILLINGDOC_NUMBER as an input parameter. This corresponds to thedocument to be changed.

Notes

  1. Required input :
    BILLINGDOC_NUMBER Number of the billing document to be cancelled

  2. COMMIT control :
    Calling up this method starts COMMIT WORK, regardless of whether
    changed data should be saved during online processing or not.

11-Dec-2005


ExistenceCheck

ExistenceCheck


You can use this method to check if a billing document exists.

As an input parameter, you are expected to enter a billing documentnumber in the field BILLINGDOC_NUMBER. This corresponds to the documentto be checked. If an error scenario occurs during processing, this is
sent back in the output structure RETURN. If, on the other hand, theoutput structure RETURN is empty, then processing has been successfuland the number transferred in the field BILLINGDOC_NUMBER exists.

Notes

  1. Required entries :
    BILLINGDOC Number of the billing document to be processed.

11-Dec-2005


GetDetail

GetDetail


You can use this method to obtain detailed information on a billing document.

As an input parameter for this method, you are expected to enter a billing document number in the field BILLINGDOC_NUMBER. Thiscorresponds to the document to be processed.


If an error scenario occurs during processing, this information is sentback via the output structure RETURN. If processing is successful, detailed information is sent back via the output structureBILLINGDOC_DETAIL.

Notes

  1. Required entries :
    BILLINGDOC_NUMBER Number of the billing document to be processed

11-Dec-2005


GetList

GetList


You can use this list to deliver back a list of those billing documents that meet the required selection criteria.

As input parameters for this method, you are expected to enter afrom-to selection of preceding documents from the input structureREF_DOC_RANGE. If an error scenario is detected during processing, this
information is sent back via the output structure RETURN. If processingis successful, item information is sent back in the ouput table SUCCESS_ITEM and header information in the output tableBILLINGDOC_DETAIL.

Notes

  1. Required entries :
    REF_DOC_RANGE From-to selection of preceding documents

11-Dec-2005


IsCancelled

IsCancelled


No document is available


11-Dec-2005


Simulate

Simulate


No document is available


11-Dec-2005