Skip to Content
0

Generate Blling Plan

Jul 05, 2017 at 01:20 PM

39

avatar image

Hello Gurus,

I need your help regarding the generation of a sales order billing plan.

I am using the FM BILLING_SCHEDULE_GENERATE to generate the temporary billing plan $000000001 with all the parameters like the sales billing plan type, the order number and its item number, the flags I_UPD_FPLA and I_FPLA_ONLY to 'X'.

After this, I am using the FM BILLING_SCHEDULE_GET_NUMBER with the parameters &000000001 and the sales order number and the table FPLA_NEW generated by the previous FM.

I am getting a definitiv plan order and I am executing finally the FM BILLING_SCHEDULE_SAVE with the table FPLA_NEW generated by the previous FM.

I am executing finally the FM BAPI_TRANSACTION_COMMIT.

When I chekc the sales order, the billing plan is not created

Do you know how is wrong? Do I miss something?

thank you.

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

2 Answers

G Lakshmipathi
Jul 05, 2017 at 02:15 PM
0

You mean to say the sale order reference is stored in VBAK / VBAP but not in FPLA ?. Did you try to create manually ?

Share
10 |10000 characters needed characters left characters exceeded
Li Jun HU Jul 06, 2017 at 09:29 AM
0

Hello Lakshmipathi

I can not see the billing plan on the tcode VA03 and I can also not found it on the table FPLA.

Is there a step missing in the call of function module or have I missed some import parameters for the calles FMs?

thank you for your help.

br.

Christophe

Share
10 |10000 characters needed characters left characters exceeded