cancel
Showing results for 
Search instead for 
Did you mean: 

Change Quantity in Sale order w.r.t Scheduling agreement.

former_member290220
Participant
0 Kudos

Dear Experts,

I have an requirement, while creating sale order with reference to Scheduling Agreement system allows to change the quantity in sale order at Scheduling tab item level, if I change the quantity at scheduling tab the item quantity will be changed. But as per user requirement system does not allow to changes the quantity in sale order with reference Scheduling agreement.

Please suggest me how I fill the requirement.

Regards,

Siva Krishna

Accepted Solutions (1)

Accepted Solutions (1)

former_member290220
Participant
0 Kudos

Dear All,

I have done this requirement successfully, using the exit USEREXIT_SAVE_DOCUMENT_PREPARE and  include MV45AFZZ. thank you.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello SKB,

you can find editable order quanaity when you can assign Completion rule in schedule line item category.

Please check and Confirm.

Regards,

Sameer Singh

former_member290220
Participant
0 Kudos

Dear SS,

Thank you for you suggestion,

I have another requirement in this scenario while generation Sale order with reference to the scheduling agreement, Pricing should not be in editable mode. how can I achieve this requirement, Please suggest me.

Regards,

Siva Krishna

sez41
Active Contributor
0 Kudos

Hi Siva,

Would you be kind enough to share why you are creating sales orders with reference to scheduling agreement? Scheduling agreements have own schedule lines and are relevant for delivery as soon as confirmed scheduled line date is reached.

former_member290220
Participant
0 Kudos

Dear KB,

That is my business requirement, As a consultant I can full fill the requirement. I have to create Sale order w.r.t Scheduling agreement with below specifications.

1. price should not in change mode

2. Quantity should not in change mode but deletion can be possible at scheduling tab item level.

Please help on this.

Regards,

Siva Krishna.

sez41
Active Contributor
0 Kudos

Hi Siva,

I understand - but if you are creating a sales order with reference to a scheduling agreement, the reference document's presence does not make any sense at all. Because scheduling agreement is actually a sales order with fixed delivery dates. That part I did not get.

On your original requirement, that part I had already answered - you have to go with development. I'm now just curious with the logic in your process, that's why I'm still in this thread.

former_member290220
Participant
0 Kudos

Dear KB,

Is there any standard routine to hide ( Display out ) the Basic price PR00 condition in sale order while creating with reference to Scheduling agreement.

Condition should be manual entry, the pricing should pic from Scheduling agreement and and it is in non editable mode.

If any standard routines not available please provide the logic for costume routine to get display out the pricing in sale order.

this is my urgent requirement please consider it as high priority.

Thank you !

Regards,

Siva Krishna

sez41
Active Contributor
0 Kudos

Greying out schedule lines is not possible via customizing. You need to restrict by coding in form USEREXIT_FIELD_MODIFICATION, but that alone will not be enough, as user can add a new row, thus change sales order quantity. You need to find an enhancement point which will make your ABAPer a bit sweat, but I'm pretty sure he can find where to apply this logic, because I had met a similar requirement before and get it done.

What I'd really like to learn by the way is why would anyone be in need of creation of a sales order wrt a scheduling agreement?

former_member290220
Participant
0 Kudos

Dear Bilgin,

Thank for your support,

Is there any possibility through copy controls to restrict or gray out the field "order quantity" in Scheduling tab at item level.

Regards,

Siva Krishna

sez41
Active Contributor
0 Kudos

As I've said, I had met this requirement before. It is not possible in standard.