Skip to Content
0

Migration Sales Order Billing Plan

Jun 22, 2017 at 02:33 PM

176

avatar image

Hello

I am trying to migrate the Sales Order Billing Plan. After some research on SCN, it seems that we can not migrate the Billing Plan using the LSMW based on idoc type SALESORDER_CREATEFROMDAT202.

I have decided so to create a specific report that will create the billing plan after the Sales Order have been created.

I have looked to SCN, I have used the following FMs:

- SALES_DOCUMENT_READ

- BILLING_SCHEDULE_READ

- BILLING_SCHEDULE_SAVE

- SD_SALES_DOCUMENT_SAVE

- BAPI_TRANSACTION_COMMIT

First of all, if I use the above FMs, it supposes that a billing plan already exists on the sales order but in my case the newly created sales order do not have any billing plan, is it possible to create directly a billing plan without modifying an existing one?

In case there is one generic billing plan linked to the sales order item, I can use the above FMs to update the billing plan header and item to meet our requirement BUT I could not add any new billing plan item, there is an indicator UPDKZ=U that I use to update the billing plan but there is no indicator to add a new billing plan, is it possible to add a billing plan item?

I hope my problem is clear.

Let me know if I am doing good or if there are other way to migrate the sales order billing plan.

best regards.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jelena Perfiljeva
Jun 22, 2017 at 06:05 PM
0

Sorry, I'm not following this... "Migrate" from where to where and why?

Normally, billing plan can be assigned to the item category and it'd be just added automatically. There might be some additional entry needed in case of, say, a milestone billing plan. But periodic billing plan can be easily defaulted in the configuration, if memory serves. I'm rather confused what are you attempting to do exactly. You might want to explain in standard SAP terms.

Share
10 |10000 characters needed characters left characters exceeded
Li Jun HU Jun 26, 2017 at 04:23 PM
0

Hello,

thank you for your answer. I want to migrate from non SAP legacy system to SAP system.

I have migrated Sales order using idoc and now I want to migrate sales order billing plan and as far as I know, there is no LMSW to execute this step.

Let me know if you have any question

thank you for your help

Share
10 |10000 characters needed characters left characters exceeded
Kivanc Bilgin Jun 30, 2017 at 11:00 AM
0

Li,

I remember coming across to the same scenario, and I am sorry to say this but we had decided to create a batch input recording for billing plans. The functions you have mentioned are not BAPI's actually, they are directly updating the tables if I do remember correctly. So, if you send a value which should have resulted an error within the billing plan interface, it actually does not give an error and is written to the database table without any validation. So, creating the order via a BAPI or an IDOC is fine, but billing plans are not supported via these interfaces.

Share
10 |10000 characters needed characters left characters exceeded