‎2006 Jul 26 12:01 PM
hi friends
i am doing a report for Goods Issue.
when i m getting the documents from MKPF wher the doc type is 'WA' ,it is giving me tranfer posting docs also.
how to filter these doc from the Goods Issue docs
Your help will be rewarded
Thanks And Regards
Zarina
‎2006 Jul 26 12:06 PM
‎2006 Jul 26 12:07 PM
‎2006 Jul 26 12:12 PM
Hi Zarina,
After fetch from MKPF, you could use these MBLNr and then fetch from MSEG. In here you could filter out by movement type.
So use BWART = GI Movement type to further confirm you are picking only GI's.
Regards,
HR
‎2006 Jul 26 12:17 PM
hi
i cannot hard code movement types in the program as they have created some z movment types.so irrespective of movement type i need to get the goods Issue docs only with doc type 'WA'.
For this docs i m getting data from MSEG
Regards
Zarina
‎2006 Jul 26 12:20 PM
Yes Zarina. You don't need to hard code.
Instead what you could do is:
Maintain teh relevant movement types for GI in a custom table and then use the entries from here to validate document numbers. The movement types can be even custom movement types. You can just store all the relevant ones in custom table and use.
Hope this helps.
Rgds,
HR
‎2006 Jul 29 2:09 PM
hi HR
thanks for that info
instead of creating a custom table i hard coded the movement types in the program.
and my problem is solved
thanks
Zarina
‎2006 Jul 26 12:46 PM