2011 Jan 31 11:08 AM
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!
2011 Jan 31 11:45 AM
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
2011 Jan 31 12:03 PM
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.
2011 Jan 31 12:05 PM
Dear Santhosh,
Did you created a Zscreen to enter the values. Use clear statement for that.
Regards,
Madhu.
2011 Jan 31 12:10 PM
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.
2011 Jan 31 12:16 PM
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
2011 Jan 31 12:25 PM
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.
2011 Jan 31 2:37 PM
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
2011 Jan 31 2:38 PM
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