‎2008 Nov 01 7:22 AM
Hi All,
I am Using Bapi BAPI CONTRACTCREATEFROMDATA
for creating Contract instead transaction VA41 .
It is working fine but Billing plan is not getting generated thru this BAPI .
Preeti.
‎2008 Nov 01 3:23 PM
i think you have to submit the program SDFPLA02, after the success of the bapi to update the billing plan.
Transaction code for Billing plan update is OVBT
‎2008 Nov 03 4:23 AM
Hi Vijay.
Thanks for your reply i tried with your reply still the billing plan is not getting generated .
Pls can you tell me any other solution
‎2008 Nov 03 5:58 AM
did you see the functions used in side the mentioned in the above program. and how are you doing it exactly..
‎2008 Nov 03 6:29 AM
Hi Preeti,
Please check the type of PARTN_NUMB u r passing., i think it should work properly,. if you can put a break-point at that particular point you would come to know the exact reason..
Best Regards,
Shravanthi Reddy
‎2008 Nov 03 6:31 AM
‎2008 Nov 26 8:48 AM
Hi Preeti ,
Did you get the reply for this . Please let me know if you have solution for it , Iam also getting the same problem .
Thanks ,
Vivek Shukla
‎2008 Dec 03 9:26 AM
HI.
I have the same problem now, if you found the good solution answer me plaise.
‎2009 Apr 22 11:32 AM
To update contracts we have successfully the following function modules (BAPI's):
1. 'BAPI_SALESDOCUMENT_CHANGE'
2. 'BAPI_CUSTOMERCONTRACT_CHANGE'
but to update the Billing plan for every position, it was not possible to use these, instead we used the following function modules:
1. 'SD_SALES_DOCUMENT_READ' - Reads the contract.
2. 'SD_SALES_BILLINGPLAN_READ' - Reads the billing plan for a position
3. 'SD_SALES_BILLINGPLAN_CHANGE' - Updates the billing plan.
4. 'SD_SALES_DOCUMENT_SAVE' - Saves the contract
5. 'BAPI_TRANSACTION_COMMIT' - commits changes to the database.
Check the function modules in function group V45A for other functionality!
I hope this will help you to find a sollution!
‎2010 May 14 8:00 AM
did u got solution? if not then tell i send sample code i got solution
‎2012 Feb 17 11:24 AM
Dear Guest,
Can you send the code of changing bapi_customercontract_change.
i am changing bill block status in billin plan in material item based on start and end date.
i am very greatful to you.