Skip to Content
author's profile photo Former Member
Former Member

BAPI or Function to update Billing Plan in Sales Order Items

Hello all !

I have to update some fields in the billing plan data in sales order's item (VA02) with a program (receiving it's data form csv files).

I've searched a BAPI but infortunately there are no "Billing Plan" data structure to update thoses fields.

The transaction in VA02, the billing plan data is found in FPLT table, linked to VBKD table with key field VBKD-FPLNR.

I've tried theses Functions with no result :

BILLING_SCHEDULE_MAINTAIN

BAPI_SALESORDER_CHANGE

BAPI_SALESORDER_CHANGEBOS

BAPI_SALESDOCUMENT_CHANGE

For now I'm searching how VA02 is saving the billing plan data, but it's very tricky and maybe not reusable.

If someone have an idea for updating billing plan data in a abap program ( and not a batch input of VA02 because the line to update can have a variable position ).

Thanks a lot.

Message was edited by: Thomas B.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2006 at 02:21 PM

    Hi Thomas,

    You can go for a BDC which will update. i guess one you can use this function module to update. check this and let me know .

    FM : 'SD_SALES_BILLINGPLAN_CHANGE'

    Regards,

    Kiran I

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2007 at 09:31 AM

    Thomas

    Can u Plaease Send me the Code of how to use

    BILLING_SCHEDULE_READ

    BILLING_SCHEDULE_SAVE

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 12, 2010 at 01:22 PM

    See reports SDFPLA02, SDFPLAC1 and SDFPLAC2 where is implemented changing of the billing plans ....

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.