Application Development 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: 

goods issue

Former Member
0 Kudos

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

7 REPLIES 7

Former Member
0 Kudos

in case of SD u have to take WL for GI.

Regards

Prabhu

Former Member
0 Kudos
MKPF-VGART =  'WL'

Cheers,

Tm

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

Check the Function Modudle <b>MY_GOODS_ISSUES_GET</b>