Skip to Content

Billing Block update at Item Level while Invoicing.

Hello All,

My requirement is to update the Billing block(VBAP-FAKSP) at item level in a sales order based on a particular condition at the time of Invoice creation(VF01) .

Can anyone help me how this can be achieved? Is there any user exit or BADI available for this?

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Feb 19, 2019 at 04:09 PM

    Would you mind in explaining what the Business requirement is? Just think logically. If there is a block in the said field, system would not allow you to go to billing document creation screen via VF01. Having said that, what you asked is after creating the billing document, you want the update to happen in sale order which is not possible even with user exit. If Business requirement is such that it desperately need to have a validation, the same can be done during saving of billing document. Search for such suitable billing user exit.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 19, 2019 at 09:07 PM

    Hello Lakshmipathi/Kamlesh,

    Thanks for your reply,

    The business requirement is that at the time of saving the billing document the user exit should check whether the net value of the line item is greater than a value say X then the item in the sales order should be blocked in the sales order(VBAP-FAKSP should be updated) and a error message should be displayed and no Billing document should be created.

    I tried below user exits , but vbap doesn't get updated in these exits

    USEREXIT_FILL_VBRK_VBRP

    USEREXIT_PRICING_PREPARE_TKOMK

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 20, 2019 at 04:12 AM

    You can try with USEREXIT_PRICING_PREPARE_TKOMP. Alternatively, you can create a customized routine in VOFM, add the required logic which can then be assigned to the required condition type in pricing procedure under "Alternative Calculation Type"

    Add a comment
    10|10000 characters needed characters exceeded