顯示具有 Billing 標籤的文章。 顯示所有文章
顯示具有 Billing 標籤的文章。 顯示所有文章

2011年3月30日 星期三

[SD] User Exits For Billing

  • USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
  • USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
  • USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
  • USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy). USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.
  • USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
  • USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
    Printing the item line of a billing document can be supplemented or changed.
  • USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Printing the header line of a billing document can be supplemented or changed.
  • User exits in program RV60AFZD
    Short descriptions of the user exits are contained in the program:
    • USEREXIT_RELI_XVBPAK_AVBPAK
    • USEREXIT_NEWROLE_XVBPAK_AVBPAK
    • USEREXIT_NEWROLE_XVBPAP_AVBPAK
The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B):
  • EXIT_SAPLV60B_001: Change the header data in the structure acchd
    You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
  • EXIT_SAPLV60B_002: Change the customer line ACCIT
    You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
  • EXIT_SAPLV60B_003: Change the customer line in costing
    The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
  • EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
  • EXIT_SAPLV60B_005: User exit for accruals
    Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
  • EXIT_SAPLV60B_006: Change the control line ACCIT
    You can use exit 006 to add information to the control line.
  • EXIT_SAPLV60B_007: Change the installment plan (Enhancement: SDVFX007)
    You can use exit 007 to add information to the installment plan
    parameters in the GL account item.
  • EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD (Enhancement: SDVFX008)
    After the accounting document is filled in with data, you can use exit 008 to change the document once again.
    Example Code:
    *&---------------------------------------------------------------------*
    *& INCLUDE ZXVVFU08 *
    *&---------------------------------------------------------------------*
    CHECK CVBRK-KALSM = 'Z001'.
    CHECK CVBRK-VKORG = '1000' OR
    CVBRK-VKORG = '2000'.
    LOOP AT CVBRP.
    CHECK CVBRP-MATNR(2) = 'XX'.
    READ TABLE XACCIT WITH KEY PAOBJNR = CVBRP-PAOBJNR.
    CHECK SY-SUBRC = 0.
    XACCIT-SGTXT = CVBRP-ARKTX.
    MODIFY XACCIT INDEX SY-TABIX.
    ENDLOOP.
  • EXIT_SAPLV60B_010: Item table for customer lines (Enhancement: SDVFX010)
    You can use exit 10 to influence the contents of customer lines before they are created.
  • EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination (Enhancement: SDVFX011)
    You can use this exit to change inbound parameters in order to influence account determination.

[SD] Batch split items in invoice

The solution is provided in SAP note 77414
fyi, -While Creating Invoice for Batch split material, System copies all the batch items including main item, where as, system should copy/combine all batch split items into Main item, batch split items should not be shown in different line items in Invoice.- ?
In copy control from the delivery type to billing type VTFL, for the item category maintain billing quantity as G. This will ensure that the batches are clubbed into single line item. In Item Category of the Billing, goto VOV7 – maintain billing relevance as “M”.
  • Batch Management in STO, after creating delivery via VL10F, wrt: STO order, automatic batch determination is not happening for the batch managed material. But for the same Material, from SD it is working fine. System displays message as “ No Batch search procedure assigned to the order type”
In V/C5, batch has to assigned to the determination procedure in combination of Sales Org / Dist Channel / Division / Order type – Search Procedure / Check batch indicator.
※Sales area should be taken from STO-ME22n, Shipping tab at item level.
※Order type should be, default Order type from the specific Delivery type eg: NL-
Item Category for STO main item : NLN / batch item: ULN, both has to be marked for automatic batch determination indicator in IMG-LG-Batch Mgmt – Batch det’n & Batch check – Automatic batch det’n in SD – Activate Auto. Batch det’n for Delivery Item Cat’s
After following above procedure, system displays error message as “ Item Category is not maintained”
-Tcode:0184-Delivery item cat det’n Maintain entries as “Del type/Item cat group / Item Usage / High. Item Cat- Default, Item cat” Eg: NL – NORM – CHSP -= ULN
CHSP – Batch split item.
NOTE: Copy Controls from Delivery – billing at item level – ULN should not be maintained.

2011年3月23日 星期三

[SD] Taiwan GUI number range tables


Maintain Number Groups:
J_1ANUMGR1:Numbering group for official documents
Maintain Number Ranges:
Table:NRIV
OBJECT:J_1AOFFDOC
Assign number range intervals to a business place:
OFNUM_TW_2:Official Numbering by Business Places-enabled ranges(TW)

SD relational number ranges:
t-code:SNRO
table:NRIV
objects:
RV_AKKRED:SD: Number range for master financial document
RV_BELEG:Number ranges for SD documents
RV_EXPORT:SD: Export licence master data
RV_SAMMG:Number ranges for groups of sales and distribution documents
RV_SNKOM:Communication nos. for complete confirms. from decentral R/3
RV_TRANSPO:Transport number range
RV_VEKP:Number ranges - shipping units