Quantcast
Channel: SCN : Unanswered Discussions - Enterprise Resource Planning (SAP ERP)
Viewing all articles
Browse latest Browse all 2436

How to Find Opening Stock , total Issue and total Received Stock and Closing Stock by Material Group in local Currency??

$
0
0

My report si Looks Like

 

Material GroupMARA-MATKL
Material Group DescriptionT023T-WGBEZ
Opening StockMBEWH-SALK3
Total IssueMSEG-SALK3
Total RecivedMSEG-SALK3
Closing StockMBEWH-SALK3

 

Logic For Finding  Opening Stock

 

Select all MARA-MATNR From MARA Where MATKL=Input Range Given By User For Material Group
Select All Material  From MARC Where MARA-MATNR=MARC-MATNR and MARC-WERKS= Input Given By User  User For Plant
Sum All MBEWH-SALK3 of MBEWH where MBEWH-MATNR=MARC-MATNR , MBEWH-BWKEY=MARC-WERKS , MBEWH-LFGJA=Year Input By User ,MBEWH-LFMON= Previous Month Of  Input Month
Store It in Internal Table MARA-MATKL and MBEWH-SALK3, This Internal Table Contain Total Stock Value Of A Single Material Group
Repeat All Steps For Next Material Group

 

Now Help Me how to Find  Total Issu And Receive Stock  that month


Viewing all articles
Browse latest Browse all 2436

Trending Articles