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

VA01 - screen not clearing Old Values after saving

santosh_fhalke
Participant
0 Kudos
1,418

Hi experts,

When we usually create a sale order in VA01 and save it, sales order has been saved.

But the data on the screen i.e. sap internal tables does not get cleared.

Does anyone know why this is happening and where I should start looking??

Thanks!

8 REPLIES 8
Read only

Former Member
0 Kudos
1,126

Hello,

There's a formroutine 'beleg_initialisieren' in SAPMV45A.

That's the point where normally all internal tabs are cleared.

If you should use own global tab's in some exits, you would have to clear them

in a form called 'userexit_refresh_document' in MV45AFZA.

Regards Wolfgang

Edited by: Wolfgang Valtin on Jan 31, 2011 12:45 PM

Read only

0 Kudos
1,126

Hi,

thanx for reply, i know the user exit but i do not know how to clear standard SAP internal table from that Exit,

if possible please provide FM or code for that.

Read only

0 Kudos
1,126

Dear Santhosh,

Did you created a Zscreen to enter the values. Use clear statement for that.

Regards,

Madhu.

Read only

0 Kudos
1,126

Dear sir,

the problem is with SAP standard Internal table i.e. CVBAP, FXVABP not with z screen table,

due to some problem those table is not cleared by SAP hence i want clear those tables.

Read only

0 Kudos
1,126

Dear Santhosh,

Can you explain in which screen you are getting this issue . Please mention the tab or screen where it is not clearing the values .

Regards,

Madhu

Read only

0 Kudos
1,126

Dear sir,

SA Qty = 500

when first time i am creating SO from SA with quantity 100 from VA01,

then my remaining qty is to be 400,

if i am totally coming out of that transaction then first time it shows 400 qty &

then if without saving i m coming on first screen on va01 & again i m creating

SO from SA then it shows Qty 500 which is original qty of SA,

it means the problem is this when i m creating seriese of SO aginst single SA

totally comming out of that transaction then second time it shows total SA qty

instead of remaining Qty.

Read only

0 Kudos
1,126

Moderator message - When closing old threads, there is no need to add a comment. Adding a pasted answer like "ok" only brings old threads to the top of the forum list and pushes current ones down. If you do add a comment, please indicate just how the problem was resolved. Additionally, if you assign poiints to helpful answers, it will encourage people to help with your new questions. Rob

Read only

0 Kudos
1,126

Hello,

sounds to me more that you might have a problem in the customizing,

specially in the part 'Copying Control: Sales Document to Sales Document'.

There, on item level, are two important switches.

First called 'Pos./neg. quant' - there should be a '+'.

And second is 'Update document flow', should be 'X'.

But normally you would not count down an item proposal by orders.

A special clear on some internal tables you normally only

need if you use own global internal tables in some exits.

Regards Wolfgang