cancel
Showing results for 
Search instead for 
Did you mean: 

Generate Blling Plan

christophe_hu2
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

christophe_hu2
Participant
0 Kudos

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

Lakshmipathi
Active Contributor
0 Kudos

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