cancel
Showing results for 
Search instead for 
Did you mean: 

Badi to check item field before saving

Former Member
0 Kudos

Hi gurus,

I 'm just checking if there is any BADI to check item fields and in case set these fields in grey or better said as not changeable.

At the moment I have found Badi which perform at the moment of saving docs, and unfortunately this is not sufficient for my purposes.

I 'd like to find one which perform once the sales doc is opened and user try to modify item-fields.

In any case this Badi should act before saving sales doc.

Hope it's possible.

Many thanks in advance,

Andrea

Accepted Solutions (1)

Accepted Solutions (1)

P000636
Active Contributor
0 Kudos

Hi Andrea,

Implement the badi definition CRM_ORDER_FIELDCHECK.

Regards.

Manuel

Former Member
0 Kudos

Ok Manuel,

it seems that this Badi had solved the problem. So I have assigned you points.

Many thanks,

Andrea

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi all ,

I think that this topic could be consider closed.

Regards,

Andrea

former_member927251
Active Contributor
0 Kudos

Hi,

Use the BADI definition ORDER_SAVE and write an implementation for the same in SE19. Write your code to check the fields in the method PREPARE.

<b>Reward points if it helps and feel free to ask further questions.</b>

Former Member
0 Kudos

Hi all,

the fact is we have already created an implementation from Badi ORDER_SAVE, by writing code in method Prepare.

But unfortunately at the moment it seems that this Badi doesn't stop once you try to modify the item quantity.

Basically it acts when you save the document.

I am trying another Badi CRM_ORDER_FIELDCHECK.

I let you know if it works and I will reward in case.

Andrea

Former Member
0 Kudos

Andrea

If it is in ISA THEN, Should this BADi help you??? :CRM_ISA_BASKET_ITEMS

Thanks

Jack