Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to change billing plan for a sales order while creating Idoc ORDERS05

Former Member
0 Kudos

Hello Expert,

I need to change the billing plan information for a sales order on the line item level while creating through Idoc.

I have tried using program 'MV45AFZZ'. But I found that billing plan header and line item structures XFPLA and XFPLT both are blank. I tried populating them in FORM 'USEREXIT_SAVE_DOCUMENT_PREPARE' but the billing plan tab on the line item level for the posted sales order using idoc says 'The item billing plan is not available'.

Later on I , realize that for billing plan has a sap internally generated number which associated with Sales order number.

And we do not have any relevant segment for billing plan for Idoc type ORDERS05.

Do you guys know, any user exit, badi or any other way to create or change the billing plan at line item level for a sales order created using Idoc ORDERS05.

Any input will be helpful and would really appreciate.

Thanks.

Gaurav.

2 REPLIES 2

0 Kudos

This message was moderated.

0 Kudos

Hello Gaurav,

I hope you found answer to your question. Could you please share the solution approach. I have a similar requirement.

Regards,

Hari.