Saving data of z screen along with main transaction

Question: I have made a z screen at item level of the sales transaction ( say x) and the data of this screen gets saved as as separate transaction( y and z) all together - i.e nothing gets saved in the current transaction ( x).

So my problem is if I don't modify anything in x and I simply goto my z screen and do changes - nothing gets saved in the database bec system doesn't recognize that any change has been done in x at all so crm_order_save commit doesn't run ( for x) and as a result my changes don't get saved - since I have made the change in 'Before_Save' badi ( i.e I call crmxif_order_save for y and z there).

I need a way where I can turn some flag 'on' that changes have been made in transaction 'X' when I actually make some changes in my z screen.....

I have tried updating the orderadm_h.customer_h,customer_i buffer using their maintain_ow functions respectively...but alas...they don't work!!!

any more ideas...? pls reply ASAP....

Best Regards,
sonia
_________________
Sonia Agarwal
India (Noida)
sonia.agarwal@st.com

Answer:
The badi which implements this will be called only if CRM_ORDER_SAVE is called.
So have an action in Y or Z transaction.. that will call CRM_ORDER_SAVE/

Hope this helps
Regards
Sreedahr

Answer:
Thanks for your input sreedhar. I'll try
Regards,
sonia

Answer:
Thanks for your input sreedhar. I'll try
Regards,
sonia
Copyright ?2007 - 2008 www.jt77.com