2008 Aug 19 10:29 AM
Hi,
In one of My report is using for calculating the age for material.In that report first i am selecting the all quantites from MARD table then for each material i am calculating the quantity from MCHB table fnally i am calculating the age and calculating the quantity for other columns like MARD(qty) - MCHB(Qty) and it will display in other columns.
But My problem is when we executed the report at the same time if i ran the T.Code for MM1B for transfer the goods by using Movement type 311 that time i got negative values in other columns.
In debugg mode i have observed following points.
1.After fetching the MARD qty for XXXXX material(Ex :100) and put into one internal table,if you transfer the goods by using Movement type 311 then if you fetch the data from MCHB table and do the calculation it will get the negative value .
Could you please tell me how to avoid the these negattive values.
2008 Aug 19 10:39 AM
Hello
And why you executed the report at the same time if i run the T.Code for MB1B ?
First do transfer the goods, but then form report. All values will be positive.
Hello
And why you executed the report at the same time if i run the T.Code for MB1B ?
First do transfer the goods, but then form report. All values will be positive.
2008 Aug 19 10:39 AM
Hello
And why you executed the report at the same time if i run the T.Code for MB1B ?
First do transfer the goods, but then form report. All values will be positive.
2008 Aug 19 10:51 AM
Vipin,
As Dzed mentioned you can avoid running the report when MB1B is running.
Just check if you can put a validation in the zprogram which checks if MB1B transaction is running,if running give an error message "Report can't be executed as MB1B is under execution currently" else as usually carry on executing the report.
May be there will be a field which lets us know whether a transaction is under execution or not which can be used in the above said validation.
K.Kiran.
2008 Aug 19 10:52 AM
Hi,
Thanks for your response.That report it will take nearly 2 Hrs time to execute at that same time some users to do the these transfer....
2008 Aug 19 10:58 AM
Thanks Kiran,
Could you please tell me what is that field for validation.
2008 Aug 19 11:20 AM
Vipin,
I guess it is SY-CALLD.But the thing is how to find that MB1B is under execution,may be a Basis Guy can help you with some inputs,not so sure.
K.Kiran.
2008 Oct 23 5:00 AM
hi nipin
i got to prepare a report for finding material age.
could you please help me which tables and fields i have to check for?
thanks®ards
deepika.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |