Application Development and Automation 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: 
Read only

Update Termination in VA02

Former Member
0 Likes
728

Dear all,

We want to Close the Service Order linked with the Sales Order Item, while SAVing the changes done in that Line Item through 'VA02'.

I am doing this before saving the Document (Sales Order), using BDC.

But, after my coding, control goes to update one table KBED. But, the entry which it going to update is already deleted as Service Order is Closed. So, due to this Update is Terminated.

So, how to solve this?

Could anyone give me the solution for this.

Thanks in advance for ur kind help.

Best Regards,

Prasad

Dear all,

We want to Close the Service Order linked with the Sales Order Item, while SAVing the changes done in that Line Item through 'VA02'.

I am doing this before saving the Document (Sales Order), using BDC.

But, after my coding, control goes to update one table KBED. But, the entry which it going to update is already deleted as Service Order is Closed. So, due to this Update is Terminated.

So, how to solve this?

Could anyone give me the solution for this.

Thanks in advance for ur kind help.

Best Regards,

Prasad

4 REPLIES 4
Read only

Former Member
0 Likes
685

Hi!

If it can't be performed within the VA02 transaction, you have do the closing later.

For example you can estabilish a Z table, and store the order's number, which has to be closed, while saving the VA02 transaction.

Then create a program, which closes the order, located in this table.

Schedule this program to every 10 minutes maybe.

Regards

Tamá

Read only

Former Member
0 Likes
685

I think this is not the better one.......so please anyone ac give another clue...

Best regards,

Prasad

Read only

Former Member
0 Likes
685

Question solved

Read only

0 Likes
685

What wa the problem? Please elaborate for learning!!!