Stocks Definition
Hi
In MMBE i can able to see many stocks types. Can i get to know the definitios of the same for understanding each.
Is any doc or way to get that pls..
Vijay
assume you want to know what unresticted stock is.
follow the link.
click the U in the alphabet
find unrestricted use entry
click it.
and you will get :
unrestricted-use stock
Inventory Management (MM-IM)
Valuated stock of a material held by (and belonging to) a company, which is not subject to any usage restrictions.
Similar Messages
-
Hi to all
Nowadays in SAP BO 2007 A there some basis initialization as "Use Continuos Stock" that is a global definition for company.
Since we have now the G/L Account Determination per Period, why not include also this defition related to Continuous Stock?
We have an issue that we have because in Portugal related to Continuous Stock.
In our legal system not all companies have to use Continuous Stock, but could be mandatory so some companies start without continuous stock but for some legarl issues must change to Continuous Stock.
Now what we do here is the creation of new database with the new Basis Initialization.
So if we have this definition in G/L Account Determination it will not be necessary to create a new database.
Comment pleasethis issue.
Regards
Vasco SilvaHello,
Thank you for this interesting request.
As you know continuous and non-continuous stock (aka perpetual and periodic) inventory valuation concepts are completely different in regards to posting rules and valuation during the year. It is hardly a question of single switch. Therefore to implement control to change how company valuates stock requires huge development effort.
You have noticed correctly posting period selection on G/L Account Determination form. This was implemented as 'current period' concept was left in 2007 version making user work more flexible. G/L Account Determination were set per posting periods even before the 2007 version but this was controlled by 'current period' switch. -
hi experts,
can any body tell how many types of STOCK are there and how STOCK are created in SAP?
Thanks.Hi,
Due to various inventory transaction in sap various stooks types are created.Stock type is nothing but the stock quantity created with a specific transactions .
there exixts two types of stocks.Normal stocks and special stocks.
Normal : UR,Quality, blocked
Special stocks:
Special stocks are stocks that are managed separately as a result of their not belonging to your company or being stored at a particular location
Special stocks and special procurement types are divided into the following areas:
· Consignment
· Subcontracting
· Stock transfer using stock transport order
· Third-party processing
· Returnable transport packaging
· Pipeline handling
· Sales order stock
· Project stock
Stocks belonging to your company that are stored with the vendor or the customer.
In the SAP System the following types of special stocks are available:
· Stock of material provided to vendor
· Consignment stock at customer
· Returnable packaging stock at customer
Since these special stocks are not located at your own company, they are managed at plant level and not at storage location level.
Two stock types are possible:
· Unrestricted-use stock
· Quality inspection stock
All stock types can be inventoried.
Purpose
Stock of Material Provided to Vendor
These are your company's own stocks that you provide to the vendor (subcontractor) to manufacture a product you have ordered. However, this stock is still your company's property. This stock is available for Materials Planning.
The goods movements for materials provided to vendor are described in Subcontracting.
Consignment Stock at Customer
This is consignment material belonging to your company that is stored with the customer. This stock is not available for materials planning.
In Inventory Management, you can post the following goods movements (with reversal):
· Initial entry of stock balances (movement types 561, 563)
· Transfer posting from plant to plant in one step (301)
· Transfer posting material to material (309; see also Entering Transfer Posting Material to Materials)
Other goods movements are processed using the Sales (SD-SLS) component. See also: Consignment.
Returnable Packaging Stock at Customer
This is packaging materials or means of transport (for example, pallets or crates) which are supplied by your company to a customer and must be returned. Returnable packaging stock is not available for Materials Planning.
In Inventory Management, you can post the following goods movements (with reversal):
· Initial entry of stock balances (movement types 561, 563)
· Transfer posting from plant to plant in one step (301)
· Transfer posting material to material (309; see also Entering Transfer Posting Material to Materials)
Other goods movements are processed using the Sales (SD-SLS) component. See also: Returnable Packaging Stock
Externally-Owned Special Stocks
Definition
Externally-owned special stocks belonging to a vendor or customer that are stored at your company.
In the ERP System, the following types of externally-owned special stocks exist:
· Vendor consignment
· Returnable transport packaging
· Sales order stock
· Project stock
Since these special stocks are located at your company, they are managed at storage location level.
These special stocks can be allocated to three different stock types:
· Unrestricted-use stock
· Quality inspection stock
· Blocked stock
All stock types can be inventoried.
Regards, -
Third-party-order in combination with consignment?
Hello,
we need to handle the process that our vendor has to deliver goods directly to a customer consignment stock? In the SAP OSS I only found a note that this process is not designed yet.
Has anyone a good idea to get an efficient process?
Thanks for help.
Kind regards
Sandra OpplHi Sandra,
Companys Own Special Stocks
Definition
Stocks belonging to your company that are stored with the vendor or the customer.
In the R/3 System the following types of companys own special stocks are available:
Stock of material provided to vendor
Consignment stock at customer
Returnable packaging stock at customer
Since these special stocks are not located at your own company, they are managed at plant level and not at storage location level.
Two stock types are possible:
Unrestricted-use stock
Quality inspection stock
All stock types can be inventoried.
Use
Stock of Material Provided to Vendor
These are your company's own stocks that you provide to the vendor (subcontractor) to manufacture a product you have ordered. However, this stock is still your company's property. This stock is available for Materials Planning.
The goods movements for materials provided to vendor are described in Subcontracting .
Consignment Stock at Customer
This is consignment material belonging to your company that is stored with the customer. This stock is not available for materials planning.
In Inventory Management, you can post the following goods movements (with reversal):
Initial entry of stock balances (movement types 561, 563)
Transfer posting from plant to plant in one step (301)
Transfer posting from material to material (309; also refer to Entering Transfer Postings from Material to Material)
Other goods movements are processed using the Sales (SD-SLS) component. See also: Managing Consignment Stocks.
Hope this could be helpful to you.
Regards
Srikanth.A -
Help Needed...Oracle Apps Inventory
Hi,
I am new to this forum. My email id is [email protected]
I need some help in inventory module
1)Mult-org
2)Item Setup
3)All inventory Setups.
Can you guide be so that I could be knowledgable in this module.
Thanks in advance,
sandraInventory is an item referential and it also allows stock replenishment.
There is no ‘standard’ flow for using Inventory.
You will find all setup instructions in document that Vinod Subramanian sent to you. I mean : Organization definition, Item definition, Subinventory definition, Stock definition …
Basic steps for item creation :
- check the pre-requisites (organization must be defined …). You must have at least one master organization (it is your item referential). Item type must exist. You have to define at which level (Master or Organization ) item attributes are defined …
- Then you create your item in the Master organization.
- After that, you can assign item to one or several organization
Then, Inventory management depends on the business of your company : do you manage stored items or not; if yes, how do you manage replenishment ? ….
If you need more help, please ask precise questions and you will get all information you need. -
Taking backup of workbooks and business areas in one shot
Hi friends
I need to take a backup of all the workbooks and business areas in one shot. How can I do that? Please help me in this regard.
Thanks in advance
AnkurYes! Please find it as follows:
For your reference, I have exported everything from KPM_IN and importing it to KPMIN
Export:
DIS4ADM.EXE /connect kpm_in/kpm_in@test /export c:\EUL\BA_TEST.eex /all /show_progress /log c:\eul\BA_TEST.log
Exporting the following Business Areas:
Exporting the following Folders:
Exporting the following Items:
Exporting the following Hierarchies:
Exporting the following Functions:
Exporting the following Summaries:
Exporting the following Workbooks:
Exporting the following Data:
Exporting the following Business Areas:
* Inventory*
* OPM*
* Enduse Detail Report*
* Master Repot*
* NewBusinessArea1*
* END USE REPORT*
* Pendingrpt240205*
* RECEIVING REPORT*
* Sales View Summary Report*
* Transport_Invoice_Detail*
* Truck-Transport-Destination Wise Stock Preparation Report*
* MyArea*
* Material Receiving Report*
* NND_Truck_Tracking*
* kpm_tax_reg_dtls*
* DIFF AR OM V*
* KPM_BILL_DETAIL_V*
* CUST PO INFO V*
* KPM SERVICE TAX*
* KPM_PO_PRE_PAYMENT*
* KPM_PUR_TAX_DTL*
* KPM TDS RETURN*
* Suppliers_info*
* KPM_INV_REC_RECON_V*
* KPM_CONS_OPM*
* KPM_CURR_STK_OPM*
* KPM_PUR_DELIVERY_OPM*
* KPM Stock Discrete*
* Visitors*
* KPM UNMATCHED RECEIPTS*
* KPM_STOCK_AS_ON_DAY*
* kpm_quantity_clearance_v*
* Truck-Transport-Destination Wise Stock Preparation Report 1*
* KPM_RMA_ORDERS_V*
* KPM HR*
* kpm_finish_goods_v*
* input output*
* resource update*
* kpm_outbound_freight_dtl_v*
* kpm_sales_receipt_v*
* NewBusinessArea2*
* kpm_inv_valuation_v*
* KPM_OUTBOUND_FREIGHT_DTL_NEW_V*
* VAT*
* KPM_ACCOUNT_RETREIVAL_V*
* KPM Receiving Info*
* KPM_GATE_PASS_STATUS_V*
* KPM_PPAY_CUST_V*
* visitors info*
* GatePass_Issue_Item_Rep*
* kpm_import_expenses_v*
* State_wise_salesperson_wise_quality*
* NewBusinessArea3*
* KPM_NND_SECURITY_INFO*
* KPM_Container_track_dtl_v*
* kpm_move_order_status_v*
* kpm_pend_imp_pur_ord*
* kpm_coll_open_bills_v*
* KPM_PO_STATUS_V*
* KPM_DELIVERY_DETAIL_V*
* Kapoor Automibile Invoices*
* KPM_TDS_RETURN_NEW*
* preparerwise*
* KPM_Payment_Overview_v*
* KPM Work Order Status*
* KPM Consumption (For discrete)*
* KPM_PURCHASING_REPORT*
* KPM_STATE_SALESPERSON_QUAL_V*
* Kpm_hr_resume_data*
* kpm_internal_audit_v*
* KPM Asset Tracking*
* KPM Receipts Register*
* KPM Employee Details*
* KPM Purchase Requisitions*
* KPM TDS DETAILS V*
* KPM_BUYER_WISE_INDENT_V*
* KPM_HR_ADVANCE_DTLS_V*
* KPM NND MIS V*
* KPM NND MIS CON V*
* kpm_fa_cost_adj_v*
* KPM_BUDGET_ASSET_PO_V*
* KPM_GATE_ENTRY_FOR_LOCAL*
* kpm_coll_wise_detail_v*
* KPM_NONCENVATABLE_TAXES_REPORT*
* KPM_UNACCOUNTED_RECEIPTS_V*
* KPM AVAILABILITY LIST V*
* KPM NON ESI MEMBERS V*
* KPM_READY_TO_MOVE_V*
* KPM_FGW_ITEMS_V*
* KPM_TDS_SUMMARY_V*
* KPM ESI MEMBERS LIST*
* KPM_VENDOR_DEVELOPMENT_V*
* KPM_ACCOUNTS_RETRIEVAL_JE_V*
* KPM_SUPPL_INVOICES_V*
* KPM_NND_HAULAGE_DTLS_V*
* kpm_imp_pending_orders_v*
* Cash_Receipts_breakup*
Exporting the following Folders:
* ABMBV_ACT_ACCT_DATA_VAR_V*
* Inventory Stock1*
* Kpm Req Status1*
* Kpm Req Status2*
* Kpm Req Status*
* Requisition Status*
* Inventory Stock*
* Vbatch*
* Consumption Report 1*
* Item Wise Consumption Report*
* Abmbv Act Acct Data Variance*
* BANK NAME*
* NND TRACKING REPORT*
* Master report -material yet to be shipped*
* Enduse Detail*
* Enduse Detail Report(Ver.1)*
* FCL Creation Banks*
* FCL CREATION REPORT*
* FCL Maturity Report*
* End Use Report*
* Xxkpm Items Categories V*
* Xxkpm Lot Details V*
* COUNTRY*
* Truck-Transport-Destination Wise Stock Preparation Report*
* Main_Query*
* CustomFolder 2*
* Receiving Report*
* CCUSTOMER_NAME*
* GSM*
* LINE_STATUS*
* ORDERTYPE*
* QUALITY*
* REEL_SHEET*
* SALESPERSON*
* Sales View Summary Report*
* WAREHOUSE*
* Inv Ent By Usr V*
* NewFolder1*
* Material Receiving Report*
* Material Receiving Report Ver.1*
* NND_Truck_Tracking*
* Kpmtax Reg Dtls V*
* Diff Ar Om V*
* Kpm Bill Detail V*
* Cust Po Info V*
* Kpm Service Tax V*
* Kpm Po Pre Payment*
* Kpm Pur Tax Dtl V*
* Kpm Tds Return V*
* Kpm Pur Tax Sum V*
* Suppliers Info V*
* Salesperson_Wise_Quality*
* Customerwise_Quality*
* kpm_des_item*
* kpm_item_total*
* Kpm Inv Rec Acct Recon V*
* Kpm Cons Opm V*
* Kpm Curr Stk Opm V*
* Kpm Pur Del Opm*
* Kpm Stk Discrete V*
* Visitors*
* Kpm Unmatched Receipts V*
* kpm_cons_report_opm*
* Kpm Stock As On Day*
* Kpm Quantity Clearance V*
* Sales View Summary Report With Duties*
* Truck-Transport-Destination Wise Stock Preparation Report 1*
* Kpm Rma Orders V*
* SAL_BRKUP*
* Statewise_quality*
* ADVANCES*
* ADVANCES_DETAIL*
* Kpm Finish Goods V*
* KPM_NEW_APPOINTMENTS*
* kpm_hr_itax_deduc*
* Sales View Sumary Report (Annexure-1)*
* ABSENTEE_RECORD*
* Kpm Input Output V*
* Kpm Resource Update V*
* Destination Wise Sales*
* loan_tour_advances*
* WORK INFO*
* Customer Additional Info*
* Resumes*
* customer_wise_quality*
* ITEM Recv Update*
* Kpm Outbound Freight Dtl V*
* Kpm Sales Receipt V*
* Kpm Inv Valuation V*
* Truck-Transport-Destination Wise Stock Preparation Report (New)*
* Cust Po Info V New*
* Destination Wise Sales (New)*
* kpm_des_item (New)*
* Kpm Outbound Freight Dtl New V*
* Kpm Vat V*
* Kpm Account Retreival V*
* Kpm Recev Info V*
* Kpm Gate Pass Status V*
* Kpm Ppay Cus V*
* Kpm Hr Visitors Info*
* GatePass_Issue_Item_Rep*
* salesperson_wise_quality_drill*
* Kpm Import Expenses V*
* State_wise_salesperson_wise_quality*
* Kpm Nnd Security Info*
* Kpm Container Track Dtl V*
* KPM_CONT_TRACK_SUMM*
* kpm_move_order_status_v*
* kpm_pend_imp_pur_ord*
* Kpm Coll Open Bills V*
* Kpm Po Status V*
* Kpm Delivery Detail V*
* Saleperson_state*
* kpm_coll_quality_open_bills*
* Kapoor Automobile Invoices*
* KPM_TDS_RETURN_NEW*
* preparer*
* Kpm Payment Overview V*
* Work Order Status*
* KPM Consumption*
* kpm_purchasing*
* Kpm State Salesperson Qual V*
* kpm_state_salesperson_qual*
* Kpm_hr_resume*
* Kpm Internal Audit V*
* KPM Po Status(New)*
* Kpm Asset Tracking V*
* Receipts Register*
* KPM Employee Details*
* Kpm Sal Adv View*
* CustomFolder*
* Kpm Tds Details V*
* Kpm buyer wise indent v*
* Kpm Hr Advance Dtls V*
* Kpm Nnd Mis V*
* Kpm Nnd Mis Totals V*
* Kpm Nnd Mis Con V*
* Kpm Fa Cost Adj V*
* Kpm Budget Asset Po V*
* KPM Gate Entry For Local*
* Kpm Coll Wise Detail V*
* KPM_NONCENVATABLE_TAXES_REPORT*
* Kpm Unaccounted Receipts V*
* Kpm Availability List V*
* Kpm Non Esi Members V*
* Kpm Ready To Move V*
* Kpm Fgw Items V*
* Kpm Tds Summary*
* KPM ESI MEMBERS LIST*
* Kpm Vendor Development V*
* Kpm Accounts Retrieval Je V*
* Kpm Suppl Invoices V*
* Kpm Nnd Haulage Dtls V*
* Kpm Imp Pending Orders V*
* Cash_Receipts_breakup*
Exporting the following Items:
* Status 2*
* Status 3*
* Batch No*
* itemdesc_consumption*
* NewItemClass2*
* Organisation*
* Plant Code*
* Bank Name*
* FCL CREATION BANKS*
* NewItemClass1*
* NewItemClass5*
* COUNTRY*
* Customer_Name*
* CUST_NAME*
* GSM1*
* GSM*
* LINE_STATUS*
* SALESPERSONS*
* ORDERTYPE*
* QUALITY*
* REEL_SHEET*
* WAREHOUSE*
* DOC TYPE*
* WHSE CODE*
* REASON CODE*
* Quality 1*
* Customer*
* SalesPerson 1*
* Customer 1*
* Salesperson*
* Quality 2*
* Item*
* WHSE_CODE*
* ITEM_DESC*
* CATEGORY*
* WHSE_CODE 1*
* ITEM_DESC 1*
* CATEGORY 1*
* Subinventory*
* Category*
* ItemDesc*
* CustomerName*
* Item_Description*
* Category 1*
* Warehouse*
* Category 2*
* EMPCODE*
* PERIOD*
* DEPARTMENT*
* DEPARTMENT 1*
* PERIOD 1*
* Period*
* Destination*
* EMPCODE 1*
* Customer Number*
* Depatrment*
* Qualification*
* bill_to*
* ship_to*
* quality*
* sales_person*
* org_code*
* PO_No*
* Consignee*
* whse_code*
* category*
* period*
* Destination_new*
* ORG_CODE*
* Held By*
* Req No*
* Req Type*
* Department*
* NUMBER*
* Party*
* Type*
* status*
* Preparer*
* Requester*
* Preparer 1*
* Requester 1*
* line_status*
* Collector*
* Customer 2*
* Type 1*
* preparer*
* supplier*
* estimate held by*
* estimate status*
* preparer*
* requester*
* requisition no*
* req no*
* req status*
* Service order no*
* Items*
* Org*
* vendors*
* Preparer 2*
* Requestor*
* Buyer*
* Shipper*
* NewItemClass3*
* CHARGE_NONCHARGE*
* Contractor*
* ProductType*
* Category 3*
* Organization LOV*
* Organization Code*
Exporting the following Hierarchies:
* Xxkpm Lot Details V: Lot Created: Default Date Hierarchy*
* salesperson_drill_detail*
* state_wise_salesperson_wise_quality_hierarchy*
* saleperson_state*
* data hierarchy*
* kpm_item_hierarchy*
* state_salesperson_qual_hier*
Exporting the following Functions:
* Default Date Hierarchy*
* Default Date Hierarchy 1*
* Default Date Hierarchy 3*
* Entry Date Hier*
Exporting the following Summaries:
* XXKPM_ENDUSE_DETAIL*
* FIND_CESS*
* FIND_EDU_CESS*
* FIND_EXCISE*
* FIND_FREIGHT*
* FIND_FREIGHT_TEST*
* FIND_INSURANCE*
* NND_RECEIVING_REPORT*
* ON_HND_QTY*
* XXBoard_Amt*
* FIND_RATE*
* KPM_OPEN_BAL_DISC*
Exporting the following Workbooks:
Exporting the following :
* INVENTORY*
* Requisition Status Report*
* Batch Wise Consumption report*
* Item Wise Consumption report*
* Consolidated Consumption Report*
* Enduse-report*
* end-use_report-in-detail*
* Material Yet To Be Shipped*
* NND Tracking Report*
* RECEIVING REPORT FOR IMPORT*
* Sales View Summary Report*
* Truck Transporter Destination Wise Report*
* Truck-Transport-Destination Wise Stock Preparation Report*
* Party wise Quality wise list of pending orders*
* INVOICES ENTERED BY USERS*
* Fax Message Report*
* MATERIAL RECEIVING REPORT*
* Truck Transporter Destination Wise Report Complete*
* Shipper wise container wise report*
* TAX DETAILS*
* Diference in AR and OM*
* KPM Bill Detail Report*
* Customer PO Info Report*
* KPM Service Tax Report*
* KPM PO PREPAYMENT REPORT*
* KPM Purchasing Tax Details Report*
* KPM Consolidated Tax Detail Report(Invoice Wise)*
* Suppliers Having Incomplete Information*
* Customer Wise Quality Report*
* Sales-Person Wise Quality Report*
* KPM Item Despatched Report*
* KPM Item-Wise Total Report*
* KPM Inventory Receiving Account Reconcilation Report*
* KPM Consumption Report For OPM Items*
* KPM Current Stock Report For OPM Items*
* KPM Purchase Delivery Report (OPM)*
* KPM Stock Report(Discrete)*
* KPM Visitors Report*
* KPM Unmatched Receipts*
* KPM Warehouse Wise Consumtion Report*
* KPM Stock Report As On Day (Discrete)*
* KPM Quantity Clearance Report*
* Sales View Summary Report With Duties*
* KPM RMA Orders Info*
* KPM Salary BreakUP Report*
* KPM State Wise Quality Report*
* KPM Advances Report*
* KPM Advance Details*
* KPM Finish Goods Report*
* KPM HR New Appointments*
* KPM HR Tax Deduction Report*
* Sales View Summary Report (Annexure-1)*
* KPM HR Absentee Record*
* KPM Input Output Report*
* KPM Resourec Updation Report*
* KPM Destination Wise Sales Report*
* KPM Outstanding Advances Report*
* KPM HR Work Information*
* KPM Customers Additional Information*
* KPM HR Resumes Report*
* Customer Wise Quality Report with nature of sale*
* Sales-Person Wise Quality Report (Cross-Tab)*
* KPM Item Receiving Update Report(Detail)*
* KPM Item Receiving Update Report (Summary)*
* KPM Outbound Freight Detail*
* KPM Sales Receipt Analysis Report*
* Fax Message Report (New)*
* Truck-Transport-Destination Wise Stock Preparation Report (New)*
* Customer PO Info Report (New)*
* KPM Destination Wise Sales Report (New)*
* KPM Item Despatched Report (New)*
* KPM Outbound Freight Detail (New)*
* KPM VAT Report*
* KPM Inventory Valuation Report(OPM)*
* KPM Receiving Info (Freight_Shortage)*
* KPM Accounts Retreival Report*
* KPM Gate Pass Status Report*
* KPM Prepayment For Customs(NND)*
* KPM Gate Pass Issue Item Report*
* KPM VAT Report2*
* Sales-Person Wise Quality Report (Drill Detail)*
* KPM Import Expenses Report*
* KPM State Wise Salesperson Wise Quality Report (Drill Detail)*
* KPM NND Security Info Report*
* KPM Container Tracking Details Report*
* KPM Move Order Status Report*
* KPM Pending Imported Purchase Orders*
* KPM Collector Wise Open Bills*
* KPM Purchase Order Status Report*
* KPM Delivery Detail Report*
* KPM Salesperson Wise State Wise Quality Report (Drill Detail)*
* KPM Collector Wise Quality Wise Open Bills*
* Kapoor Automobile Invoices*
* KPM TDS Return Report (New)*
* KPM PO Preparer Wise Report*
* KPM Payment Overview Report*
* KPM Work Order Status Report*
* KPM Consumption Report (Drill Down)*
* Kpm Purchasing Report*
* State Wise Saleperson Wise Average Report (Drill Detail)*
* State Wise Saleperson Wise Quality Report (Drill Detail)*
* State Wise Saleperson Wise Percentage Report (Drill Detail)*
* KPM Outbound Freight Detail (New - Full Detail)*
* KPM HR Resume Status Report*
* KPM Internal Audit Report*
* KPM Lead pendency report*
* KPM Asset Tracking Report*
* KPM Receipts Register*
* KPM Employee Details Report*
* KPM_ADV_FILE_REPORT*
* KPM_HR_SAL_REPORT*
* KPM Purchase Requisition*
* KPM Buyer Wise Indent Report*
* KPM TDS Details Report (New)*
* KPM TDS Return Report*
* KPM HR Advance Details Report*
* KPM Import Costing Sheet*
* KPM FA Cost Adjustment Report*
* KPM Budget/Asset Wise Purchase Order Report*
* KPM Gate Entry For Local*
* KPM Collector Wise Details*
* KPM_NONCENVATABLE_TAXES_REPORT*
* KPM Unaccounted Receipts Report*
* KPM Bill Detail Report New*
* KPM Availability List report*
* KPM Non ESI Members Report*
* KPM Ready to Move Report*
* KPM Items List for FGW*
* KPM TDS Summary Report*
* KPM ESI Members Report*
* KPM Vendor Development Details*
* KPM Accounts Retrieval Report (Journal Entries)*
* KPM Grade Wise Dispatch Report*
* KPM NND Haulage Details*
* KPM Imported Orders Pending for Receiving*
* KPM Cash Receipts Breakup Report*
* KPMHRATT2/5/2009 1:31:02 PM*
Import:
DIS4ADM.EXE /connect kpmin/kpmin@dvp /import C:\EUL\BA_TEST.eex /show_progress /log c:\eul\imp_all_dvp.log /keep_format_properties /preserve_workbook_owner /auto_refresh /identifier
An imported Date Hierarchy had identifier 'EUL_DEFAULT_DATE_HIERARCHY' renamed to 'EUL_DEFAULT_DATE_HIERARCHY1'
An imported Date Hierarchy had identifier 'EUL_DEFAULT_DATE_HIERARCHY1' renamed to 'EUL_DEFAULT_DATE_HIERARCHY11'
A folder named 'Enduse Detail' was created or modified during the import but is not in a business area
Import completed successfully.
Abmbv Act Acct Data Variance: Abmbv Act Acct Data Variance: Definition Unavailable
ABMBV_ACT_ACCT_DATA_VAR_V: ABMBV_ACT_ACCT_DATA_VAR_V: Definition Unavailable
Cust Po Info V: Cust Po Info V: Definition Unavailable
Cust Po Info V New: Cust Po Info V New: Definition Unavailable
Diff Ar Om V: Diff Ar Om V: Definition Unavailable
Inv Ent By Usr V: Inv Ent By Usr V: Definition Unavailable
Kpmtax Reg Dtls V: Kpmtax Reg Dtls V: Definition Unavailable
Kpm Accounts Retrieval Je V: Kpm Accounts Retrieval Je V: Definition Unavailable
Kpm Account Retreival V: Kpm Account Retreival V: Definition Unavailable
Kpm Asset Tracking V: Kpm Asset Tracking V: Definition Unavailable
Kpm Availability List V: Kpm Availability List V: Definition Unavailable
Kpm Bill Detail V: Kpm Bill Detail V: Definition Unavailable
Kpm Budget Asset Po V: Kpm Budget Asset Po V: Definition Unavailable
Kpm buyer wise indent v: Kpm buyer wise indent v: Definition Unavailable
Kpm Coll Open Bills V: Kpm Coll Open Bills V: Definition Unavailable
Kpm Coll Wise Detail V: Kpm Coll Wise Detail V: Definition Unavailable
Kpm Cons Opm V: Kpm Cons Opm V: Definition Unavailable
Kpm Container Track Dtl V: Kpm Container Track Dtl V: Definition Unavailable
Kpm Curr Stk Opm V: Kpm Curr Stk Opm V: Definition Unavailable
Kpm Delivery Detail V: Kpm Delivery Detail V: Definition Unavailable
Kpm Fa Cost Adj V: Kpm Fa Cost Adj V: Definition Unavailable
Kpm Fgw Items V: Kpm Fgw Items V: Definition Unavailable
Kpm Finish Goods V: Kpm Finish Goods V: Definition Unavailable
Kpm Gate Pass Status V: Kpm Gate Pass Status V: Definition Unavailable
Kpm Hr Advance Dtls V: Kpm Hr Advance Dtls V: Definition Unavailable
Kpm Hr Visitors Info: Kpm Hr Visitors Info: Definition Unavailable
Kpm Import Expenses V: Kpm Import Expenses V: Definition Unavailable
Kpm Imp Pending Orders V: Kpm Imp Pending Orders V: Definition Unavailable
Kpm Input Output V: Kpm Input Output V: Definition Unavailable
Kpm Internal Audit V: Kpm Internal Audit V: Definition Unavailable
Kpm Inv Rec Acct Recon V: Kpm Inv Rec Acct Recon V: Definition Unavailable
Kpm Inv Valuation V: Kpm Inv Valuation V: Definition Unavailable
Kpm Nnd Haulage Dtls V: Kpm Nnd Haulage Dtls V: Definition Unavailable
Kpm Nnd Mis Con V: Kpm Nnd Mis Con V: Definition Unavailable
Kpm Nnd Mis Totals V: Kpm Nnd Mis Totals V: Definition Unavailable
Kpm Nnd Mis V: Kpm Nnd Mis V: Definition Unavailable
Kpm Nnd Security Info: Kpm Nnd Security Info: Definition Unavailable
Kpm Non Esi Members V: Kpm Non Esi Members V: Definition Unavailable
Kpm Outbound Freight Dtl New V: Kpm Outbound Freight Dtl New V: Definition Unavailable
Kpm Outbound Freight Dtl V: Kpm Outbound Freight Dtl V: Definition Unavailable
Kpm Payment Overview V: Kpm Payment Overview V: Definition Unavailable
Kpm Po Pre Payment: Kpm Po Pre Payment: Definition Unavailable
Kpm Po Status V: Kpm Po Status V: Definition Unavailable
Kpm Ppay Cus V: Kpm Ppay Cus V: Definition Unavailable
Kpm Pur Del Opm: Kpm Pur Del Opm: Definition Unavailable
Kpm Pur Tax Dtl V: Kpm Pur Tax Dtl V: Definition Unavailable
Kpm Pur Tax Sum V: Kpm Pur Tax Sum V: Definition Unavailable
Kpm Quantity Clearance V: Kpm Quantity Clearance V: Definition Unavailable
Kpm Ready To Move V: Kpm Ready To Move V: Definition Unavailable
Kpm Recev Info V: Kpm Recev Info V: Definition Unavailable
Kpm Req Status1: Kpm Req Status1: Definition Unavailable
Kpm Req Status2: Kpm Req Status2: Definition Unavailable
Kpm Req Status: Kpm Req Status: Definition Unavailable
Kpm Resource Update V: Kpm Resource Update V: Definition Unavailable
Kpm Rma Orders V: Kpm Rma Orders V: Definition Unavailable
Kpm Sales Receipt V: Kpm Sales Receipt V: Definition Unavailable
Kpm Sal Adv View: Kpm Sal Adv View: Definition Unavailable
Kpm Service Tax V: Kpm Service Tax V: Definition Unavailable
Kpm State Salesperson Qual V: Kpm State Salesperson Qual V: Definition Unavailable
Kpm Stk Discrete V: Kpm Stk Discrete V: Definition Unavailable
Kpm Stock As On Day: Kpm Stock As On Day: Definition Unavailable
Kpm Suppl Invoices V: Kpm Suppl Invoices V: Definition Unavailable
Kpm Tds Details V: Kpm Tds Details V: Definition Unavailable
Kpm Tds Return V: Kpm Tds Return V: Definition Unavailable
Kpm Tds Summary: Kpm Tds Summary: Definition Unavailable
Kpm Unaccounted Receipts V: Kpm Unaccounted Receipts V: Definition Unavailable
Kpm Unmatched Receipts V: Kpm Unmatched Receipts V: Definition Unavailable
Kpm Vat V: Kpm Vat V: Definition Unavailable
Kpm Vendor Development V: Kpm Vendor Development V: Definition Unavailable
Suppliers Info V: Suppliers Info V: Definition Unavailable
Vbatch: Vbatch: Definition Unavailable
Visitors: Visitors: Definition Unavailable
Xxkpm Items Categories V: Xxkpm Items Categories V: Definition Unavailable
Xxkpm Lot Details V: Xxkpm Lot Details V: Definition Unavailable
ABSENTEE_RECORD: ABSENTEE_RECORD: Definition Unavailable
ADVANCES: ADVANCES: Definition Unavailable
ADVANCES_DETAIL: ADVANCES_DETAIL: Definition Unavailable
BANK NAME: BANK NAME: Definition Unavailable
Cash_Receipts_breakup: Cash_Receipts_breakup: Definition Unavailable
Consumption Report 1: Consumption Report 1: Definition Unavailable
COUNTRY: COUNTRY: Definition Unavailable
Customerwise_Quality: Customerwise_Quality: Definition Unavailable
Customer Additional Info: Customer Additional Info: Definition Unavailable
customer_wise_quality: customer_wise_quality: Definition Unavailable
NND TRACKING REPORT: NND TRACKING REPORT: Definition Unavailable
Salesperson_Wise_Quality: Salesperson_Wise_Quality: Definition Unavailable
Item Wise Consumption Report: Item Wise Consumption Report: Definition Unavailable
KPM Consumption : KPM Consumption : Definition Unavailable
kpm_purchasing: kpm_purchasing: Definition Unavailable
KPM Po Status(New): KPM Po Status(New): Definition Unavailable
Receipts Register: Receipts Register: Definition Unavailable
KPM Employee Details: KPM Employee Details: Definition Unavailable
CustomFolder: CustomFolder: Definition Unavailable
Truck-Transport-Destination Wise Stock Preparation Report: Truck-Transport-Destination Wise Stock Preparation Report: Definition Unavailable
Truck-Transport-Destination Wise Stock Preparation Report 1: Truck-Transport-Destination Wise Stock Preparation Report 1: Definition Unavailable
preparer: preparer: Definition Unavailable
KPM Gate Entry For Local: KPM Gate Entry For Local: Definition Unavailable
KPM_NONCENVATABLE_TAXES_REPORT: KPM_NONCENVATABLE_TAXES_REPORT: Definition Unavailable
KPM ESI MEMBERS LIST: KPM ESI MEMBERS LIST: Definition Unavailable
Main_Query: Main_Query: Definition Unavailable
NND_Truck_Tracking: NND_Truck_Tracking: Definition Unavailable
CustomFolder 2: CustomFolder 2: Definition Unavailable
Material Receiving Report: Material Receiving Report: Definition Unavailable
Receiving Report: Receiving Report: Definition Unavailable
End Use Report: End Use Report: Definition Unavailable
Master report -material yet to be shipped: Master report -material yet to be shipped: Definition Unavailable
CCUSTOMER_NAME: CCUSTOMER_NAME: Definition Unavailable
Destination Wise Sales: Destination Wise Sales: Definition Unavailable
Destination Wise Sales (New): Destination Wise Sales (New): Definition Unavailable
Enduse Detail: Enduse Detail: Definition Unavailable
Enduse Detail Report(Ver.1): Enduse Detail Report(Ver.1): Definition Unavailable
FCL Creation Banks: FCL Creation Banks: Definition Unavailable
FCL CREATION REPORT: FCL CREATION REPORT: Definition Unavailable
FCL Maturity Report: FCL Maturity Report: Definition Unavailable
GatePass_Issue_Item_Rep: GatePass_Issue_Item_Rep: Definition Unavailable
GSM: GSM: Definition Unavailable
Inventory Stock1: Inventory Stock1: Definition Unavailable
Inventory Stock: Inventory Stock: Definition Unavailable
ITEM Recv Update: ITEM Recv Update: Definition Unavailable
Kapoor Automobile Invoices: Kapoor Automobile Invoices: Definition Unavailable
kpm_coll_quality_open_bills: kpm_coll_quality_open_bills: Definition Unavailable
kpm_cons_report_opm: kpm_cons_report_opm: Definition Unavailable
KPM_CONT_TRACK_SUMM: KPM_CONT_TRACK_SUMM: Definition Unavailable
kpm_des_item: kpm_des_item: Definition Unavailable
kpm_des_item (New): kpm_des_item (New): Definition Unavailable
kpm_hr_itax_deduc: kpm_hr_itax_deduc: Definition Unavailable
Kpm_hr_resume: Kpm_hr_resume: Definition Unavailable
kpm_item_total: kpm_item_total: Definition Unavailable
kpm_move_order_status_v: kpm_move_order_status_v: Definition Unavailable
KPM_NEW_APPOINTMENTS: KPM_NEW_APPOINTMENTS: Definition Unavailable
kpm_pend_imp_pur_ord: kpm_pend_imp_pur_ord: Definition Unavailable
kpm_state_salesperson_qual: kpm_state_salesperson_qual: Definition Unavailable
KPM_TDS_RETURN_NEW: KPM_TDS_RETURN_NEW: Definition Unavailable
LINE_STATUS: LINE_STATUS: Definition Unavailable
loan_tour_advances: loan_tour_advances: Definition Unavailable
Material Receiving Report Ver.1: Material Receiving Report Ver.1: Definition Unavailable
ORDERTYPE: ORDERTYPE: Definition Unavailable
QUALITY: QUALITY: Definition Unavailable
REEL_SHEET: REEL_SHEET: Definition Unavailable
Requisition Status: Requisition Status: Definition Unavailable
Resumes: Resumes: Definition Unavailable
Saleperson_state: Saleperson_state: Definition Unavailable
SALESPERSON: SALESPERSON: Definition Unavailable
salesperson_wise_quality_drill: salesperson_wise_quality_drill: Definition Unavailable
Sales View Sumary Report (Annexure-1): Sales View Sumary Report (Annexure-1): Definition Unavailable
Sales View Summary Report: Sales View Summary Report: Definition Unavailable
Sales View Summary Report With Duties: Sales View Summary Report With Duties: Definition Unavailable
SAL_BRKUP: SAL_BRKUP: Definition Unavailable
Statewise_quality: Statewise_quality: Definition Unavailable
State_wise_salesperson_wise_quality: State_wise_salesperson_wise_quality: Definition Unavailable
Truck-Transport-Destination Wise Stock Preparation Report (New): Truck-Transport-Destination Wise Stock Preparation Report (New): Definition Unavailable
WAREHOUSE: WAREHOUSE: Definition Unavailable
WORK INFO: WORK INFO: Definition Unavailable
Work Order Status : Work Order Status : Definition Unavailable2/5/2009 1:39:38 PM -
Project stock belongs to different plant than the plant in project definition
Dear all,
I have a case:
Project belongs to plant A (which is entered in the project definition), but there's a material in project stock which is belongs to plant B (checked in MMBE, the material under this project, but under plant stock B).
Is this the normal case of SAP standard? As I never seen this case before (always project stock belongs to the same plant as entered in the project definition).
Awaiting for your answer& clarification.
Thanks and best regards,
AndyThanks for your helpful answer.
I'd like to explain more about this case:
I found a PO and a good receipt document to the project stock, and the plant in these documents is plant B.
Then the material appear in MMBE under project stock and plant B.
But when I check the project in CJ20N, the plant in project definition is plant A.
As the requirement is to reverse the goods receipt document, but when doing so, system issues a message as "inconsistency data", so I confuse is it because of the different in plant stock in goods receipt document and plant in project.
That's why I ask is this the standard case if material in project stock belongs to different plant than the plant in project definition.
Hope you understand clearly my situation.
Do you have any more suggest in this case?
Thanks and best regards,
Nghia -
I don't know how to definitely delete an app. When i delete of my screen, and i go to the App Store, this app look like stocked in cloud.
You cannot delete an app from your purchase history in icloud at all.
You can hide it.
iTunes Store: Hiding and unhiding purchases -
Material Stock Report for tcode MB5B
Hello Expert
I have a SAP report for stock posting date with T-Code as MB5B and
the report name is RM07MLBD.
When I enter Material no, plant code , Movement type (101) and selection
dates for a month, The report is displaying but not break by Movement type instead it is showing all the movement type....?
Can anyone have idea about this
REPORT RM07MLBD NO STANDARD PAGE HEADING MESSAGE-ID M7 LINE-SIZE 95.
REPORT RM07MLBD (Transaktionscode MB5B) *
correction June 2004 MM "n747306
wrong the assignment of the MM and FI documents for data "n747306
constellation : n MM doc items --> 1 FI doc item "n747306
ABAP-Preprocessor removed "n599218 A
- this version is for release 4.6C and higher "n599218 A
- process database table OBEW always "n599218 A
- IS-OIL specific functions : "n599218 A
- define IS-OIL workings fields "n599218 A
- transport and process these fields only when "n599218 A
structure MSEG comprise these fields "n599218 A
Improvements : Dec. 2003 MM "n599218
- print the page numbers "n599218
"n599218
- send warnings and error messages only when report is "n599218
launched / advoid warnings when user changes entries on "n599218
the selection screen "n599218
- send warning M7 689 when user does not restrict the "n599218
database in dialog or print mode "n599218
- send warning M7 393 when user deletes the initial "n599218
display variant "n599218
"n599218
- allow to process the fields MAT_KDAUF, MAT_KDPOS, and "n599218
MAT_PSPNR from release 4.5B and higher "n599218
"n599218
- show the current activity and the progress "n599218
"n599218
- error message 'programmfehler' improved "n599218
"n599218
- new categories for scope of list "n599218
"n599218
- use function module for database commit for the update "n599218
of the parameters in table ESDUS. This allows to record "n599218
this transaction for a batch input session using "n599218
transaction SHDB "n599218
"n599218
- reset the entries for plant when valuation level is "n599218
is company code and mode is valuated stock "n599218
"n599218
- enable this report to run in the webreporting mode "n599218
Dec. 2002 MM "n571473
the definition of the selection screen moved from include "n571473
RM07MLBP into this report "n571473
Sept 2002 MM "n555246
log function tax auditor "n555246
note 547170 : August 2002 MM "n547170
- representation of tied empties improved "n547170
active this function automatically in retail systems "n547170
- FORM routines without preprocessor commands and without "n547170
text elements moved to the new include reports "n547170
RM07MLBD_FORM_01and RM07MLBD_FORM_02 "n547170
- the function module FI_CHECK_DATE of note 486477 will "n547170
be processed when it exists "n547170
- function and documentation of parameter XONUL improved "n547170
- display MM documents with MIGO or MB03 depending from "n547170
the release "n547170
- get and save the parameters per user in dialog mode "n547170
only in release >= 4.6 "n547170
the following items were improved with note 497992 "n497992
- wrong results when remaining BSIM entries contain "n497992
an other quantity unit as material master MEINS "n497992
- improve check FI summarization "n497992
- the messages M7 390, M7 391, and M7 392 "n497992
- definition of field g_f_repid for all releases "n497992
- incomplete key for access of internal table IT134M "n497992
causes wrong plant selection "n497992
- the function "no reversal movement" did not surpress "n497992
the original movements; fields "SJAHR" was moved from "n497992
from report RM07MLBD_CUST_FIELDS to RM07MLBD "n497992
- process valuated subcontractor stock from database "n497992
table OBEW if it exists "n497992
- if FI summarization is active process warning M7 390 "n497992
for stock type = valuated stock "n497992
- the user wants to restrict the movement type : process "n497992
warning M7 391 "n497992
- the user wants to surpress the reversal movements : "n497992
process warning M7 392 "n497992
- consider special gain/loss-handling of IS-OIL "n497992
- automatic insert of field WAERS currency key into the "n497992
field catalogue : "n497992
- at least one ref. field is active -> WAERS active "n497992
- all reference fields are hidden -> WAERS hidden "n497992
- the length of sum fields for values was increased "n497992
- customizing for the selection of remaining BSIM entries "n497992
- customizing for the processing of tied empties "n497992
separate time depending authorization for tax auditor "n486477
additional fields are displayed in wrong format "n480130
report RM07MLBD and its includes improved Nov 2001 "n451923
- merging FI doc number into table G_T_MSEG_LEAN improved "n451923
- handling of the short texts improved "n451923
- some types and data definitions -> include RM07MLDD "n451923
error for split valuation and valuated special stock "n450764
process 'goods receipt/issue slip' as hidden field "n450596
error at start date : material without stock has value "n443935
wrong results for docs with customer consignment "W" "n435403
error during data selection for plants "n433765
report RM07MLBD and its includes improved May 10th, 2001 "n400992
!!! IMPORTANT : DO NOT CHANGE OR DELETE THE COMMENT LINES !!! *
- consider the material number during looking for FI documents
- field "g_cust_color" in include report "RM07MLBD_CUST_FIELDS"
allows the customer to activate or inactivate the colors in the
lines with the documents.
- error during calcuation of start stock for special stock "M"
- valuted stocks required : no documents found ? continue and
process empty document table
- the length of sum fields for quantities has been increased
to advoid decimal overflow
- table ORGAN is replaced by G_T_ORGAN
- it is filled by the following ways :
- at process time at selection screen if the
user wants the selection via cc or plant
- otherwise after the database selection of the stock
tables
- it contains less data fields
- it contains all entries twice, for binary search
with plant or valuation area
- selection of databases MKPF and MSEG in one SELECT
command with an inner JOIN
- authority checks after the database selections
- result of database selection from the both database tables
MSEG and MKPF in working table G_F_MSEG_LEAN instead of
the tables IMSEG and IMKPF
- the number of processed data fields was reduced
- the user has the possibility to increase the number of
the processed fields deleting the '*' in the types-command
in include report RM07MLBD_CUST_FIELDS
- the creation of the field catalog for the ALV considers
only the fields of structure G_S_MSEG_LEAN
- the new table G_T_BELEG contains the results for the ALV.
the number of fields of table G_T_BELEG corresponds with
the number of fields of table G_T_MSEG_LEAN.
- the functions "define breakdown" and "choose" are inactivated
in the menue, because they are are not carried out correctly
in all blocks of the list
Anzeige der Materialbestände in einem Zeitintervall *
Der Report gliedert sich im wesentlichen in folgende Verarbeitungs- *
blöcke: *
1) Definition des Einstiegsbildes und Vorbelegung einzelner *
Selektionsfelder, sowie Prüfung der eingegebenen Selektions- *
parameter und Berechtigungsprüfung *
2) Lesen der aktuellen Bestandswerte *
3) Lesen und Verarbeiten der Materialbelege *
4) Berechnung der Bestandswerte zu den vorgegebenen Datümern *
5) Ausgabe der Bestände und Materialbelege *
*eject
*# APP_CALL_DECLARE TEST
this definitions depend on the release
TYPE-POOLS: IMREP, " Typen Bestandsführungsreporting
SLIS. " Typen Listviewer
for the selection of the reversal movements only in release >=45B
DATA: BEGIN OF STORNO OCCURS 0,
MBLNR LIKE MSEG-MBLNR,
MJAHR LIKE MSEG-MJAHR,
ZEILE LIKE MSEG-ZEILE,
SMBLN LIKE MSEG-SMBLN,
SJAHR LIKE MSEG-SJAHR,
SMBLP LIKE MSEG-SMBLP,
END OF STORNO.
include: rm07mldd, " reportspezifische Datendefinitionen
rm07grid. " Gitternetz, Formatierung, Farbgebung
INCLUDE RM07APP1. "ABAP-PREPROCESSOR "TEST
"n571473
define the selection screen here "n571473
"n571473
SELECTION-SCREEN BEGIN OF BLOCK Database-selection
WITH FRAME TITLE TEXT-001.
Text-001: Datenbankabgrenzungen
SELECT-OPTIONS: MATNR FOR MARD-MATNR MEMORY ID MAT
MATCHCODE OBJECT MAT1,
BUKRS FOR T001-BUKRS MEMORY ID BUK,
WERKS FOR T001W-WERKS MEMORY ID WRK,
LGORT FOR T001L-LGORT,
CHARG FOR MCHB-CHARG,
BWTAR FOR MBEW-BWTAR,
BWART FOR MSEG-BWART.
PARAMETERS SOBKZ LIKE MSEG-SOBKZ.
SELECTION-SCREEN SKIP.
SELECT-OPTIONS: DATUM FOR MKPF-BUDAT NO-EXTENSION.
Datumsintervall für Selektion
SELECTION-SCREEN END OF BLOCK Database-selection.
SELECTION-SCREEN BEGIN OF BLOCK BESTANDSART
WITH FRAME TITLE TEXT-002.
Text-002: Bestandsart
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS LGBST LIKE AM07M-LGBST RADIOBUTTON GROUP BART DEFAULT 'X'.
SELECTION-SCREEN COMMENT 4(50) TEXT-010 FOR FIELD LGBST.
Text-010: Lagerort-/Chargenbestand
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS BWBST LIKE AM07M-BWBST RADIOBUTTON GROUP BART.
SELECTION-SCREEN COMMENT 4(50) TEXT-011 FOR FIELD BWBST.
Text-011: bewerteter Bestand
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS SBBST LIKE AM07M-SBBST RADIOBUTTON GROUP BART.
SELECTION-SCREEN COMMENT 4(50) TEXT-012 FOR FIELD SBBST.
Text-012: Sonderbestand
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK BESTANDSART.
improved definition of parameters for scope of list "n599218
SELECTION-SCREEN BEGIN OF BLOCK listumfang
with frame title text-003. "Listumfang
the following 3 parameters became obsolete do not use "n599218
anymor. They are still here to inform the user about "n599218
that he is using old variants or SUBMIT commands "n599218
PARAMETERS : "n599218
XONUL LIKE AM07M-XONUL no-display, "n599218
XVBST LIKE AM07M-XVBST no-display, "n599218
XNVBST LIKE AM07M-XNVBS no-display. "n599218
7 new categories for the scope of list "n599218
"n599218
cat. I docs I stock on I I stock on I Parameter "n599218
I I start date I I end date I "n599218
---+--+--------++------+-------- "n599218
1 I yes I = zero I = I = zero I pa_wdzer "n599218
2 I yes I = zero I <> I <> zero I pa_wdzew "n599218
3 I yes I <> zero I <> I = zero I pa_wdwiz "n599218
4 I yes I <> zero I <> I <> zero I pa_wdwuw "n599218
5 I yes I <> zero I = I <> zero I pa_wdwew "n599218
I I I I I "n599218
6 I no I = zero I = I = zero I pa_ndzer "n599218
7 I no I <> zero I = I <> zero I pa_ndsto "n599218
"n599218
definition of the pushbutton : show or hide the following "n599218
parameters for the scope of list "n599218
SELECTION-SCREEN PUSHBUTTON /1(20) PB_LIU "n599218
USER-COMMAND LIU. "n599218
"n599218
text line : materials with movements "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN COMMENT 1(55) TEXT-072 "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / start = zero = end = zero "n599218
1 I yes I = zero I = I = zero I pa_wdzer "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : pa_wdzer LIKE AM07M-MB5B_XONUL "n599218
modif id liu. "n599218
text-083 : no opening stock ; no closing stock "n599218
SELECTION-SCREEN COMMENT 5(70) text-083 "n599218
FOR FIELD pa_wdzer "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / start = zero = end <> zero "n599218
2 I yes I = zero I <> I <> zero I pa_wdzew "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : pa_wdzew LIKE AM07M-MB5B_XONUL "n599218
modif id liu. "n599218
text-084 : no opening stock ; with closing stock "n599218
SELECTION-SCREEN COMMENT 5(70) text-084 "n599218
FOR FIELD pa_wdzew "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / start stock <> 0 / end stock = 0 "n599218
3 I yes I <> zero I <> I = zero I pa_wdwiz "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : pa_wdwiz LIKE AM07M-MB5B_XONUL "n599218
modif id liu. "n599218
text-085 : with opening stock ; no closing stock "n599218
SELECTION-SCREEN COMMENT 5(70) text-085 "n599218
FOR FIELD pa_wdwiz "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / with start and end stocks / different "n599218
4 I yes I <> zero I <> I <> zero I pa_wdwuw "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : pa_wdwuw LIKE AM07M-MB5B_XONUL "n599218
modif id liu. "n599218
with opening stock ; with closing stock ; changed "n599218
SELECTION-SCREEN COMMENT 5(70) text-086 "n599218
FOR FIELD pa_wdwuw "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / with start and end stock / equal "n599218
5 I yes I <> zero I = I <> zero I pa_wdwew "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : pa_wdwew LIKE AM07M-MB5B_XONUL "n599218
modif id liu. "n599218
with opening stock ; with closing stock ; non-changed "n599218
SELECTION-SCREEN COMMENT 5(70) text-087 "n599218
FOR FIELD pa_wdwew "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
text line : materials without movements "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN COMMENT 1(55) TEXT-073 "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
materials without movements / stocks = zero "n599218
6 I no I = zero I = I = zero I pa_ndzer "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : pa_ndzer LIKE AM07M-MB5B_XONUL "n599218
modif id liu. "n599218
text-083 : no opening stock ; no closing stock "n599218
SELECTION-SCREEN COMMENT 5(70) text-083 "n599218
FOR FIELD pa_ndzer "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
materials without movements / with start or end stock "n599218
7 I no I <> zero I = I <> zero I pa_ndsto "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : pa_ndsto LIKE AM07M-MB5B_XONUL "n599218
modif id liu. "n599218
with opening stock ; with closing stock ; non-changed "n599218
SELECTION-SCREEN COMMENT 5(70) text-087 "n599218
FOR FIELD pa_ndsto "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
SELECTION-SCREEN END OF BLOCK listumfang.
SELECTION-SCREEN BEGIN OF BLOCK EINSTELLUNGEN
WITH FRAME TITLE TEXT-068. "Settings
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 1.
PARAMETERS XSUM LIKE AM07M-XSUM.
SELECTION-SCREEN COMMENT 4(50) TEXT-019 FOR FIELD XSUM.
Text-019: nur Summen
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 1.
PARAMETERS XCHAR LIKE AM07M-XCHRG.
SELECTION-SCREEN COMMENT 4(50) TEXT-015 FOR FIELD XCHAR.
Text-015: nur chargenpflichtige Materialien
Das Kennzeichen 'xchar' bestimmt die Art der Listausgabe entweder
auf Material- oder Chargenebene.
SELECTION-SCREEN END OF LINE.
the function "No reversal movements" is only "n571473
available from relaese 4.5B and higher "n571473
( TEXT-026 : No reversal movements ) "n571473
SELECTION-SCREEN BEGIN OF LINE. "n571473
SELECTION-SCREEN POSITION 1. "n571473
PARAMETERS NOSTO LIKE AM07M-NOSTO. "n571473
SELECTION-SCREEN COMMENT 4(50) TEXT-026 "n571473
FOR FIELD NOSTO. "n571473
SELECTION-SCREEN END OF LINE. "n571473
SELECTION-SCREEN END OF BLOCK EINSTELLUNGEN.
SELECTION-SCREEN BEGIN OF BLOCK LISTE WITH FRAME TITLE TEXT-040.
PARAMETERS: P_VARI LIKE DISVARIANT-VARIANT.
SELECTION-SCREEN END OF BLOCK LISTE.
*eject
new data definitions
working fields for reading structures from DDIC "n599218 A
and check whether IS-OIL is active "n599218 A
types : stab_x031l type standard table of x031l "n599218 A
with default key. "n599218 A
"n599218 A
data : g_s_x031l type x031l, "n599218 A
g_t_x031l type stab_x031l. "n599218 A
"n599218 A
data : g_f_dcobjdef-name like dcobjdef-name, "n599218 A
g_flag_is_oil_active(01) type c, "n599218 A
g_cnt_is_oil type i. "n599218 A
contains the a structure with the max. number of fields of
the database table MSEG, but those lines are comment lines
with a '*'. The customer can achtivate those lines.
The activated fields will be selected from the database table
and are hidden in the list. With the settings in the display
variant the can be shown.
INCLUDE RM07MLBD_CUST_FIELDS.
common types structure for working tables
a) g_t_mseg_lean results form database selection
b) g_t_beleg data table for ALV
TYPES : BEGIN OF STYPE_MSEG_LEAN,
MBLNR LIKE MKPF-MBLNR,
MJAHR LIKE MKPF-MJAHR,
VGART LIKE MKPF-VGART,
BLART LIKE MKPF-BLART,
BUDAT LIKE MKPF-BUDAT,
CPUDT LIKE MKPF-CPUDT,
CPUTM LIKE MKPF-CPUTM,
USNAM LIKE MKPF-USNAM,
process 'goods receipt/issue slip' as hidden field "n450596
XABLN LIKE MKPF-XABLN, "n450596
LBBSA LIKE T156M-LBBSA,
BWAGR LIKE T156S-BWAGR,
BUKRS LIKE T001-BUKRS,
BELNR LIKE BKPF-BELNR,
GJAHR LIKE BKPF-GJAHR,
WAERS LIKE MSEG-WAERS,
ZEILE LIKE MSEG-ZEILE,
BWART LIKE MSEG-BWART,
MATNR LIKE MSEG-MATNR,
WERKS LIKE MSEG-WERKS,
LGORT LIKE MSEG-LGORT,
CHARG LIKE MSEG-CHARG,
BWTAR LIKE MSEG-BWTAR,
KZVBR LIKE MSEG-KZVBR,
KZBEW LIKE MSEG-KZBEW,
SOBKZ LIKE MSEG-SOBKZ,
KZZUG LIKE MSEG-KZZUG,
BUSTM LIKE MSEG-BUSTM,
BUSTW LIKE MSEG-BUSTW,
MENGU LIKE MSEG-MENGU,
WERTU LIKE MSEG-WERTU,
SHKZG LIKE MSEG-SHKZG,
MENGE LIKE MSEG-MENGE,
MEINS LIKE MSEG-MEINS,
DMBTR LIKE MSEG-DMBTR,
DMBUM LIKE MSEG-DMBUM,
XAUTO LIKE MSEG-XAUTO,
KZBWS LIKE MSEG-KZBWS,
special flag for retail "n497992
retail(01) type c, "n497992
define the fields for the IO-OIL specific functions "n599218 A
mseg-oiglcalc CHAR 1 "n599218 A
mseg-oiglsku QUAN 13 "n599218 A
oiglcalc(01) type c, "n599218 A
oiglsku(07) type p decimals 3, "n599218 A
insmk like mseg-insmk, "n599218 A
the following fields are used for the selection of
the reversal movements
SMBLN LIKE MSEG-SMBLN, " No. doc
SJAHR LIKE MSEG-SJAHR, " Year "n497992
SMBLP LIKE MSEG-SMBLP. " Item in doc
additional fields : the user has the possibility to activate
these fields in the following include report
INCLUDE TYPE STYPE_MB5B_ADD.
TYPES : END OF STYPE_MSEG_LEAN.
TYPES: STAB_MSEG_LEAN TYPE STANDARD TABLE OF STYPE_MSEG_LEAN
WITH KEY MBLNR MJAHR.
data tables with the results for the ALV
TYPES : BEGIN OF STYPE_BELEGE.
INCLUDE TYPE STYPE_MSEG_LEAN.
TYPES : FARBE TYPE SLIS_T_SPECIALCOL_ALV.
TYPES : END OF STYPE_BELEGE.
TYPES : STAB_BELEGE TYPE STANDARD TABLE OF STYPE_BELEGE
WITH KEY BUDAT MBLNR ZEILE.
DATA : G_T_BELEGE TYPE STAB_BELEGE WITH HEADER LINE,
G_T_BELEGE1 TYPE STAB_BELEGE WITH HEADER LINE.
global working areas data from MSEG and MKPF
FIELD-SYMBOLS : TYPE STYPE_MSEG_LEAN.
DATA : G_S_MSEG_LEAN TYPE STYPE_MSEG_LEAN,
G_S_MSEG_UPDATE TYPE STYPE_MSEG_LEAN, "n443935
G_T_MSEG_LEAN TYPE STAB_MSEG_LEAN.
working table for the control break "n451923
types : begin of stype_mseg_work. "n451923
include type stype_mseg_lean. "n451923
types : tabix like sy-tabix, "n451923
end of stype_mseg_work, "n451923
"n451923
stab_mseg_work type standard table of "n451923
stype_mseg_work "n451923
with default key. "n451923
"n451923
data : g_t_mseg_work type stab_mseg_work, "n443935
g_s_mseg_work type stype_mseg_work. "n443935
working table for the requested field name from MSEG and MKPF
TYPES: BEGIN OF STYPE_FIELDS,
FIELDNAME TYPE NAME_FELD,
END OF STYPE_FIELDS.
TYPES: STAB_FIELDS TYPE STANDARD TABLE OF STYPE_FIELDS
WITH KEY FIELDNAME.
DATA: G_T_MSEG_FIELDS TYPE STAB_FIELDS,
G_S_MSEG_FIELDS TYPE STYPE_FIELDS.
working table for the requested numeric fields of MSEG
types : begin of stype_color_fields,
FIELDNAME TYPE NAME_FELD,
type(01) type c,
end of stype_color_fields,
stab_color_fields type standard table of
stype_color_fields
with default key.
data: g_t_color_fields type stab_color_fields
with header line.
DATA: BEGIN OF IMSWEG OCCURS 1000,
MBLNR LIKE MSEG-MBLNR,
MJAHR LIKE MSEG-MJAHR,
ZEILE LIKE MSEG-ZEILE,
MATNR LIKE MSEG-MATNR,
CHARG LIKE MSEG-CHARG,
BWTAR LIKE MSEG-BWTAR,
WERKS LIKE MSEG-WERKS,
LGORT LIKE MSEG-LGORT,
SOBKZ LIKE MSEG-SOBKZ,
BWART LIKE MSEG-BWART,
SHKZG LIKE MSEG-SHKZG,
XAUTO LIKE MSEG-XAUTO,
MENGE LIKE MSEG-MENGE,
MEINS LIKE MSEG-MEINS,
DMBTR LIKE MSEG-DMBTR,
DMBUM LIKE MSEG-DMBUM,
BUSTM LIKE MSEG-BUSTM,
BUSTW LIKE MSEG-BUSTW, "147374
define the fields for the IO-OIL specific functions "n599218 A
mseg-oiglcalc CHAR 1 "n599218 A
mseg-oiglsku QUAN 13 "n599218 A
oiglcalc(01) type c, "n599218 A
oiglsku(07) type p decimals 3, "n599218 A
insmk like mseg-insmk, "n599218 A
END OF IMSWEG.
User settings for the checkboxes "n547170
DATA: oref_settings TYPE REF TO cl_mmim_userdefaults. "n547170
*eject
HAUPTPROGRAMM *********************************
F4-Hilfe für Reportvariante -
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
PERFORM f4_for_variant.
"n599218
INITIALIZATION "n599218
"n599218
"n599218
pay attentions : this process time will not be processed "n599218
in the webreporting mode "n599218
INITIALIZATION.
PERFORM APP_PROCESS USING 'ME'. "TEST
PERFORM initialisierung.
get the parameters from the last run "n547170
perform esdus_get_parameters. "n547170
set flag when INITILIZATION is processed
move 'X' to g_flag_initialization.
"n599218
AT SELECTION-SCREEN "n599218
"n599218
Prüfung der eingegebenen Selektionsparameter, -
Berechtigungsprüfung -
AT SELECTION-SCREEN.
the following 3 parameters XONUL, XVBST, and XNVBST "n599218
became obsolete; send error when they should be filled. "n599218
This could be possible if the user works with old "n599218
selection variants or this report is launched by a "n599218
SUBMIT command "n599218
if XONUL is initial and "n599218
XVBST is initial and "n599218
XNVBST is initial. "n599218
ok, the old parameters are empty "n599218
else. "n599218
text-088 : note 599218 : obsolete parameter used "n599218
MESSAGE E895 with text-088. "n599218
endif.
did the user hit the pushbutton "Category" ? "n599218
case SSCRFIELDS-UCOMM. "n599218
when 'LIU '. "n599218
yes, the pushbutton "Category" was hit "n599218
IF g_flag_status_liu = C_HIDE. "n599218
show the 7 parameters on the selection srceen "n599218
MOVE C_SHOW TO g_flag_status_liu. "n599218
ELSE. "n599218
hide the 7 paramaters "n599218
MOVE C_HIDE TO g_flag_status_liu. "n599218
ENDIF. "n599218
ENDcase. "n599218
"n599218
go on only if the user wants to launch this report "n599218
check : sy-ucomm = 'ONLI' or "n599218
sy-ucomm = 'PRIN' or "n599218
sy-ucomm = 'SJOB'. "n599218
PERFORM eingaben_pruefen.
check whether FI summarization is active and other "n547170
restrictions could deliver wrong results "n547170
perform f0800_check_restrictions. "n547170
- the user wants to surpress the reversal movements : "n497992
process warning M7 392 "n497992
IF NOT NOSTO IS INITIAL. "n497992
emerge warning ? "n497992
CALL FUNCTION 'ME_CHECK_T160M' "n497992
EXPORTING "n497992
I_ARBGB = 'M7' "n497992
I_MSGNR = '392' "n497992
EXCEPTIONSPlease read the KBA document 2012912 - Changeablility of the field "material group" in purchasing documents
It clearly says that material group can't be changed in case you will use material master in purchase order.
So, it is clear that you can't use different material group for material master in purchase order.
For stock report, system will only show you the material group which is assigned to the material master (MARA-MATKL). System will not look into the purchase order section (like EKPO). -
Modification in MB5B prg...material stock between a date range
Hi experts
I have to modify mb5b tranx prg . presently we are using date as selection criteria..but now onwards user wants G/L account along with date as selection criteria. I created one selec-option for field HKONT type hkont-bseg. Now in select queries i need ur help ..Kindly tell me where i need to use this field in my select queries to fetch RELEVANT data.
Regards
Anu
CODE:
REPORT ZRM07MLBD NO STANDARD PAGE HEADING MESSAGE-ID M7 LINE-SIZE 280.
********my change*******
tables : BSEG.
TYPE-POOLS: IMREP, " Typen Bestandsführungsreporting
SLIS. " Typen Listviewer
INCLUDE ZRM07MLDD.
DATA FLAG(1) TYPE C VALUE ' '.
DATA BAL_QTY TYPE P DECIMALS 2.
DATA BAL_AMT TYPE P DECIMALS 2.
*include: rm07mldd. " reportspezifische Datendefinitionen
"n571473
define the selection screen here "n571473
"n571473
SELECTION-SCREEN BEGIN OF BLOCK DATABASE-SELECTION
WITH FRAME TITLE TEXT-001.
Text-001: Datenbankabgrenzungen
SELECT-OPTIONS: MATNR FOR MARD-MATNR MEMORY ID MAT
MATCHCODE OBJECT MAT1,
BUKRS FOR T001-BUKRS MEMORY ID BUK,
WERKS FOR T001W-WERKS MEMORY ID WRK,
LGORT FOR T001L-LGORT,
CHARG FOR MCHB-CHARG,
BWTAR FOR MBEW-BWTAR,
BWART FOR MSEG-BWART.
PARAMETERS SOBKZ LIKE MSEG-SOBKZ.
SELECTION-SCREEN SKIP.
SELECT-OPTIONS: DATUM FOR MKPF-BUDAT NO-EXTENSION,
**********my change**************
HKONT FOR BSEG-HKONT.
********END CHANGE************
SELECTION-SCREEN END OF BLOCK DATABASE-SELECTION.
SELECTION-SCREEN BEGIN OF BLOCK BESTANDSART
WITH FRAME TITLE TEXT-002.
Text-002: Bestandsart
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS LGBST LIKE AM07M-LGBST RADIOBUTTON GROUP BART DEFAULT 'X'.
SELECTION-SCREEN COMMENT 4(50) TEXT-010 FOR FIELD LGBST.
Text-010: Lagerort-/Chargenbestand
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS BWBST LIKE AM07M-BWBST RADIOBUTTON GROUP BART.
SELECTION-SCREEN COMMENT 4(50) TEXT-011 FOR FIELD BWBST.
Text-011: bewerteter Bestand
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS SBBST LIKE AM07M-SBBST RADIOBUTTON GROUP BART.
SELECTION-SCREEN COMMENT 4(50) TEXT-012 FOR FIELD SBBST.
Text-012: Sonderbestand
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK BESTANDSART.
Commented By Rachit Material group Not Required
improved definition of parameters for scope of list "n599218
*SELECTION-SCREEN BEGIN OF BLOCK MARA WITH FRAME TITLE TEXT-040.
**selection-screen begin of line.
*PARAMETERS P_MATKL LIKE MARA-MATKL.
**selection-screen end of line.
**SELECTION-SCREEN COMMENT 4(50) TEXT-030 for fieLD s_matkl.
*SELECTION-SCREEN END OF BLOCK MARA.
SELECTION-SCREEN BEGIN OF BLOCK LISTUMFANG
WITH FRAME TITLE TEXT-003. "Listumfang
the following 3 parameters became obsolete do not use "n599218
anymor. They are still here to inform the user about "n599218
that he is using old variants or SUBMIT commands "n599218
PARAMETERS : "n599218
XONUL LIKE AM07M-XONUL NO-DISPLAY, "n599218
XVBST LIKE AM07M-XVBST NO-DISPLAY, "n599218
XNVBST LIKE AM07M-XNVBS NO-DISPLAY. "n599218
7 new categories for the scope of list "n599218
"n599218
cat. I docs I stock on I I stock on I Parameter "n599218
I I start date I I end date I "n599218
---+--+--------++------+-------- "n599218
1 I yes I = zero I = I = zero I pa_wdzer "n599218
2 I yes I = zero I <> I <> zero I pa_wdzew "n599218
3 I yes I <> zero I <> I = zero I pa_wdwiz "n599218
4 I yes I <> zero I <> I <> zero I pa_wdwuw "n599218
5 I yes I <> zero I = I <> zero I pa_wdwew "n599218
I I I I I "n599218
6 I no I = zero I = I = zero I pa_ndzer "n599218
7 I no I <> zero I = I <> zero I pa_ndsto "n599218
"n599218
definition of the pushbutton : show or hide the following "n599218
parameters for the scope of list "n599218
SELECTION-SCREEN PUSHBUTTON /1(20) PB_LIU "n599218
USER-COMMAND LIU. "n599218
"n599218
text line : materials with movements "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN COMMENT 1(55) TEXT-072 "n599218
MODIF ID LIU. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / start = zero = end = zero "n599218
1 I yes I = zero I = I = zero I pa_wdzer "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : PA_WDZER LIKE AM07M-MB5B_XONUL "n599218
MODIF ID LIU. "n599218
text-083 : no opening stock ; no closing stock "n599218
SELECTION-SCREEN COMMENT 5(70) TEXT-083 "n599218
FOR FIELD PA_WDZER "n599218
MODIF ID LIU. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / start = zero = end <> zero "n599218
2 I yes I = zero I <> I <> zero I pa_wdzew "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : PA_WDZEW LIKE AM07M-MB5B_XONUL "n599218
MODIF ID LIU. "n599218
text-084 : no opening stock ; with closing stock "n599218
SELECTION-SCREEN COMMENT 5(70) TEXT-084 "n599218
FOR FIELD PA_WDZEW "n599218
MODIF ID LIU. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / start stock <> 0 / end stock = 0 "n599218
3 I yes I <> zero I <> I = zero I pa_wdwiz "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : PA_WDWIZ LIKE AM07M-MB5B_XONUL "n599218
MODIF ID LIU. "n599218
text-085 : with opening stock ; no closing stock "n599218
SELECTION-SCREEN COMMENT 5(70) TEXT-085 "n599218
FOR FIELD PA_WDWIZ "n599218
MODIF ID LIU. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / with start and end stocks / different "n599218
4 I yes I <> zero I <> I <> zero I pa_wdwuw "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : PA_WDWUW LIKE AM07M-MB5B_XONUL "n599218
MODIF ID LIU. "n599218
with opening stock ; with closing stock ; changed "n599218
SELECTION-SCREEN COMMENT 5(70) TEXT-086 "n599218
FOR FIELD PA_WDWUW "n599218
MODIF ID LIU. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / with start and end stock / equal "n599218
5 I yes I <> zero I = I <> zero I pa_wdwew "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : PA_WDWEW LIKE AM07M-MB5B_XONUL "n599218
MODIF ID LIU. "n599218
with opening stock ; with closing stock ; non-changed "n599218
SELECTION-SCREEN COMMENT 5(70) TEXT-087 "n599218
FOR FIELD PA_WDWEW "n599218
MODIF ID LIU. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
text line : materials without movements "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN COMMENT 1(55) TEXT-073 "n599218
MODIF ID LIU. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
materials without movements / stocks = zero "n599218
6 I no I = zero I = I = zero I pa_ndzer "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : PA_NDZER LIKE AM07M-MB5B_XONUL "n599218
MODIF ID LIU. "n599218
text-083 : no opening stock ; no closing stock "n599218
SELECTION-SCREEN COMMENT 5(70) TEXT-083 "n599218
FOR FIELD PA_NDZER "n599218
MODIF ID LIU. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
materials without movements / with start or end stock "n599218
7 I no I <> zero I = I <> zero I pa_ndsto "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : PA_NDSTO LIKE AM07M-MB5B_XONUL "n599218
MODIF ID LIU. "n599218
with opening stock ; with closing stock ; non-changed "n599218
SELECTION-SCREEN COMMENT 5(70) TEXT-087 "n599218
FOR FIELD PA_NDSTO "n599218
MODIF ID LIU. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
SELECTION-SCREEN END OF BLOCK LISTUMFANG.
SELECTION-SCREEN BEGIN OF BLOCK EINSTELLUNGEN
WITH FRAME TITLE TEXT-068. "Settings
parameter for totals only - hierseq. list
corresponding display variant
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 1.
PARAMETERS XSUM LIKE AM07M-XSUM.
SELECTION-SCREEN COMMENT 4(60) TEXT-090 FOR FIELD XSUM.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 5(30) TEXT-091 FOR FIELD PA_SUVAR.
*Commented by Rachit
SELECTION-SCREEN POSITION 40.
PARAMETERS: PA_SUVAR LIKE DISVARIANT-VARIANT.
SELECTION-SCREEN END OF LINE.
parameter for totals only - flat list + corresponding display variant
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 1.
PARAMETERS PA_SUMFL LIKE AM07M-XSUM.
SELECTION-SCREEN COMMENT 4(60) TEXT-092 FOR FIELD PA_SUMFL.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 5(30) TEXT-091 FOR FIELD PA_SFLVA.
SELECTION-SCREEN POSITION 40.
PARAMETERS: PA_SFLVA LIKE DISVARIANT-VARIANT.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 1.
PARAMETERS XCHAR LIKE AM07M-XCHRG.
SELECTION-SCREEN COMMENT 4(50) TEXT-015 FOR FIELD XCHAR.
Text-015: nur chargenpflichtige Materialien
Das Kennzeichen 'xchar' bestimmt die Art der Listausgabe entweder
auf Material- oder Chargenebene.
SELECTION-SCREEN END OF LINE.
the function "No reversal movements" is only "n571473
available from relaese 4.5B and higher "n571473
( TEXT-026 : No reversal movements ) "n571473
SELECTION-SCREEN BEGIN OF LINE. "n571473
SELECTION-SCREEN POSITION 1. "n571473
PARAMETERS NOSTO LIKE AM07M-NOSTO. "n571473
SELECTION-SCREEN COMMENT 4(50) TEXT-026 "n571473
FOR FIELD NOSTO. "n571473
SELECTION-SCREEN END OF LINE. "n571473
SELECTION-SCREEN END OF BLOCK EINSTELLUNGEN.
*Rachit
SELECTION-SCREEN BEGIN OF BLOCK LISTE WITH FRAME TITLE TEXT-040.
PARAMETERS: P_VARI LIKE DISVARIANT-VARIANT.
SELECTION-SCREEN END OF BLOCK LISTE.
HAUPTPROGRAMM *********************************
F4-Hilfe für Reportvariante -
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI.
PERFORM F4_FOR_VARIANT.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR PA_SFLVA.
PERFORM VARIANT_VALUE_REQUEST_F4
USING PA_SFLVA G_S_VARI_SUMFL.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR PA_SUVAR.
PERFORM VARIANT_VALUE_REQUEST_F4
USING PA_SUVAR G_S_VARI_SUMHQ.
"n599218
INITIALIZATION "n599218
"n599218
"n599218
INITIALIZATION.
CLEAR : G_S_VARI_SUMHQ, G_S_VARI_SUMFL.
REPID = SY-REPID.
VARIANT_SAVE = 'A'.
preprae the working areas for the variants
MOVE : REPID TO G_S_VARI_SUMHQ-REPORT,
'SUHQ' TO G_S_VARI_SUMHQ-HANDLE,
REPID TO G_S_VARI_SUMFL-REPORT,
'SUFL' TO G_S_VARI_SUMFL-HANDLE.
MOVE-CORRESPONDING : G_S_VARI_SUMHQ TO G_S_VARI_SUMHQ_DEF,
G_S_VARI_SUMFL TO G_S_VARI_SUMFL_DEF.
PERFORM GET_THE_DEFAULT_VARIANT
USING PA_SFLVA
G_S_VARI_SUMFL
G_S_VARI_SUMFL_DEF.
PERFORM GET_THE_DEFAULT_VARIANT
USING PA_SUVAR
G_S_VARI_SUMHQ
G_S_VARI_SUMHQ_DEF.
PERFORM INITIALISIERUNG.
get the parameters from the last run "n547170
PERFORM ESDUS_GET_PARAMETERS. "n547170
set flag when INITILIZATION is processed
MOVE 'X' TO G_FLAG_INITIALIZATION.
"n599218
AT SELECTION-SCREEN "n599218
"n599218
Prüfung der eingegebenen Selektionsparameter, -
Berechtigungsprüfung -
AT SELECTION-SCREEN.
the following 3 parameters XONUL, XVBST, and XNVBST "n599218
became obsolete; send error when they should be filled. "n599218
This could be possible if the user works with old "n599218
selection variants or this report is launched by a "n599218
SUBMIT command "n599218
IF XONUL IS INITIAL AND "n599218
XVBST IS INITIAL AND "n599218
XNVBST IS INITIAL. "n599218
ok, the old parameters are empty "n599218
ELSE. "n599218
text-088 : note 599218 : obsolete parameter used "n599218
MESSAGE E895 WITH TEXT-088. "n599218
ENDIF.
did the user hit the pushbutton "Category" ? "n599218
CASE SSCRFIELDS-UCOMM. "n599218
WHEN 'LIU '. "n599218
yes, the pushbutton "Category" was hit "n599218
IF G_FLAG_STATUS_LIU = C_HIDE. "n599218
show the 7 parameters on the selection srceen "n599218
MOVE C_SHOW TO G_FLAG_STATUS_LIU. "n599218
ELSE. "n599218
hide the 7 paramaters "n599218
MOVE C_HIDE TO G_FLAG_STATUS_LIU. "n599218
ENDIF. "n599218
ENDCASE. "n599218
"n599218
go on only if the user wants to launch this report "n599218
CHECK : SY-UCOMM = 'ONLI' OR "n599218
SY-UCOMM = 'PRIN' OR "n599218
SY-UCOMM = 'SJOB'. "n599218
only one sum function can be processed
IF XSUM = 'X' AND
PA_SUMFL = 'X'.
SET CURSOR FIELD 'XSUM'.
select one sum list only
MESSAGE E895 WITH TEXT-093.
ENDIF.
PERFORM EINGABEN_PRUEFEN.
SET CURSOR FIELD 'PA_SFLVA'.
PERFORM VARIANT_CHECK_EXISTENCE
USING PA_SFLVA
G_S_VARI_SUMFL
G_S_VARI_SUMFL_DEF.
SET CURSOR FIELD 'PA_SUVAR'.
PERFORM VARIANT_CHECK_EXISTENCE
USING PA_SUVAR
G_S_VARI_SUMHQ
G_S_VARI_SUMHQ_DEF.
check whether FI summarization is active and other "n547170
restrictions could deliver wrong results "n547170
PERFORM F0800_CHECK_RESTRICTIONS. "n547170
- the user wants to surpress the reversal movements : "n497992
process warning M7 392 "n497992
IF NOT NOSTO IS INITIAL. "n497992
emerge warning ? "n497992
CALL FUNCTION 'ME_CHECK_T160M' "n497992
EXPORTING "n497992
I_ARBGB = 'M7' "n497992
I_MSGNR = '392' "n497992
EXCEPTIONS "n497992
NOTHING = 0 "n497992
OTHERS = 1. "n497992
"n497992
IF SY-SUBRC <> 0. "n497992
SET CURSOR FIELD 'NOSTO'. "n497992
to surpress the reversal movements could cause ... "n497992
MESSAGE W392. "n497992
ENDIF. "n497992
ENDIF. "n497992
carry out special authotity check for the tax auditor "n547170
PERFORM TPC_CHECK_TAX_AUDITOR. "n547170
does the user wants a selection via company code or a plant ?
fill range table g_ra_werks
REFRESH : G_RA_BWKEY, G_RA_WERKS, G_T_ORGAN.
CLEAR : G_RA_BWKEY, G_RA_WERKS, G_T_ORGAN, G_S_ORGAN.
REFRESH : G_0000_RA_BWKEY, G_0000_RA_WERKS, G_0000_RA_BUKRS.
CLEAR : G_0000_RA_BWKEY, G_0000_RA_WERKS, G_0000_RA_BUKRS.
DESCRIBE TABLE BUKRS LINES G_F_CNT_LINES_BUKRS.
DESCRIBE TABLE WERKS LINES G_F_CNT_LINES_WERKS.
IF G_F_CNT_LINES_BUKRS > 0 OR
G_F_CNT_LINES_WERKS > 0.
fill range tables for the CREATION OF TABLE G_T_ORGAN
MOVE : WERKS[] TO G_0000_RA_WERKS[],
BUKRS[] TO G_0000_RA_BUKRS[].
PERFORM F0000_CREATE_TABLE_G_T_ORGAN
USING C_ERROR.
ENDIF.
save the parameters of this run "n547170
PERFORM ESDUS_SAVE_PARAMETERS. "n547170
"n599218
AT SELECTION-SCREEN OUTPUT "n599218
"n599218
"n599218
AT SELECTION-SCREEN OUTPUT. "n599218
"n599218
IF G_FLAG_INITIALIZATION IS INITIAL. "n599218
the process time INITIALIZATION was not done, so "n599218
carry out the functions here "n599218
MOVE 'X' TO G_FLAG_INITIALIZATION. "n599218
"n599218
PERFORM INITIALISIERUNG. "n599218
"n599218
get the parameters from the last run "n599218
PERFORM ESDUS_GET_PARAMETERS. "n599218
ENDIF. "n599218
"n599218
how to handle the 7 paramaters for the scope of list ? "n599218
LOOP AT SCREEN. "n599218
modify the selection screen "n599218
CASE SCREEN-GROUP1. "n599218
WHEN 'LIU'. "n599218
IF G_FLAG_STATUS_LIU = C_SHOW. "n599218
SCREEN-ACTIVE = '1'. "show parameters "n599218
ELSE. "n599218
SCREEN-ACTIVE = '0'. "Hide parameters "n599218
ENDIF. "n599218
"n599218
MODIFY SCREEN. "n599218
ENDCASE. "n599218
ENDLOOP. "n599218
"n599218
adapt the icon on the pushbutton depending on the status "n599218
CASE G_FLAG_STATUS_LIU. "n599218
WHEN C_HIDE. "n599218
MOVE TEXT-081 TO PB_LIU. "@0EQ@ Scope ... "n599218
WHEN C_SHOW. "n599218
MOVE TEXT-082 TO PB_LIU. "@0HQ@ Scope ... "n599218
WHEN OTHERS. "n599218
ENDCASE. "n599218
"n599218
"n599218
START-OF-SELECTION
START-OF-SELECTION.
*SET PF-STATUS 'TEST'.
create the title line
If no date is given at all, the range is set to the maximum
extend (1.1.0000 - 31.12.9999).
If only datum-low is set, it is interpreted as the day for
which the analysis is wanted --> datum-high is filled up.
IF DATUM-LOW IS INITIAL.
DATUM-LOW = '00000101'.
IF DATUM-HIGH IS INITIAL.
DATUM-HIGH = '99991231'.
ENDIF.
ELSE.
IF DATUM-HIGH IS INITIAL.
DATUM-HIGH = DATUM-LOW.
ENDIF.
ENDIF.
MOVE: DATUM-LOW(4) TO JAHRLOW,
DATUM-LOW+4(2) TO MONATLOW,
DATUM-LOW+6(2) TO TAGLOW,
DATUM-HIGH(4) TO JAHRHIGH,
DATUM-HIGH+4(2) TO MONATHIGH,
DATUM-HIGH+6(2) TO TAGHIGH.
SET TITLEBAR 'MAN'
WITH TAGLOW MONATLOW JAHRLOW TAGHIGH MONATHIGH JAHRHIGH.
create the headlines using the titelbar "n599218
PERFORM CREATE_HEADLINE. "n599218
calculate the offsets for the list header
PERFORM CALCULATE_OFFSETS.
for the representation of tied empties "n547170
PERFORM F0700_PREPARE_TIED_EMPTIES. "n547170
create table g_t_mseg_fields with the names of all
wanted fields from MSEG and MKPF
PERFORM F0300_GET_FIELDS.
set a break-point : is IS-OIL active ? "n599218 A
"n599218 A
check whether this is a IS-OIL system "n599218 A
PERFORM CHECK_IS_OIL_SYSTEM. "n599218 A
"n599218 A
IF G_FLAG_IS_OIL_ACTIVE = 'X'. "IS-OIL ? "n599218 A
the 2 IS-OIL specific data fields will be inserted into "n599218 A
working table G_T_MSEG_FIELDS. Then these fields will "n599218 A
transported from database table MSEG, too "n599218 A
APPEND 'MSEG~OIGLCALC' TO G_T_MSEG_FIELDS. "n599218 A
APPEND 'MSEG~OIGLSKU' TO G_T_MSEG_FIELDS. "n599218 A
ENDIF. "n599218 A
create the ALV fieldcatalog for the main list always
MOVE 'G_T_BELEGE' TO G_F_TABNAME.
PERFORM F0400_CREATE_FIELDCAT.
do not print the ALV-statistics and selection criteria
CLEAR G_S_PRINT.
G_S_PRINT-NO_PRINT_SELINFOS = 'X'.
G_S_PRINT-NO_PRINT_LISTINFOS = 'X'."
create the range table for the storage location
PERFORM F0600_CREATE_RANGE_LGORT.
- show the current activity and the progress "n599218
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' "n599218
EXPORTING "n599218
TEXT = TEXT-063. "Reading current stocks "n599218
get the stock tables
PERFORM AKTUELLE_BESTAENDE.
PERFORM TABELLEN_LESEN.
- show the current activity and the progress "n599218
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' "n599218
EXPORTING "n599218
TEXT = TEXT-064. "Reading MM documents "n599218
PERFORM F1000_SELECT_MSEG_MKPF.
PERFORM BELEGSELEKTION.
END-OF-SELECTION
END-OF-SELECTION.
results of all the autority checks
PERFORM F9100_AUTH_PLANT_RESULT.
- show the current activity and the progress "n599218
IF BWBST = 'X'. "n599218
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' "n599218
EXPORTING "n599218
TEXT = TEXT-066. "Calculating Stocks and Values "n599218
ELSE. "n599218
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' "n599218
EXPORTING "n599218
TEXT = TEXT-067. "Calculating Stocks "n599218
ENDIF. "n599218
PERFORM SUMMEN_BILDEN.
PERFORM BESTAENDE_BERECHNEN.
PERFORM LISTUMFANG.
- show the current activity and the progress "n599218
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' "n599218
EXPORTING "n599218
TEXT = TEXT-065. "Preparing list output "n599218
stop if table bestand is empty
LOOP AT BESTAND.
SELECT SINGLE MATKL FROM MARA INTO CORRESPONDING FIELDS OF BESTAND
WHERE
MATNR = BESTAND-MATNR.
MODIFY BESTAND INDEX SY-TABIX.
ENDLOOP.
DESCRIBE TABLE BESTAND LINES G_F_CNT_LINES.
IF G_F_CNT_LINES IS INITIAL.
Keinen Eintrag zu den Suchbegriffen gefunden/selektiert
MESSAGE S083.
perform anforderungsbild.
ELSE.
process log function if the use is a tax auditor "n555246
and the database selection was successful "n555246
IF G_FLAG_TPCUSER = '1'. "n555246
PERFORM TPC_WRITE_LOG. "n555246
ENDIF. "n555246
PERFORM FELDGRUPPEN_AUFBAUEN.
sort table with header data per material
IF BWBST IS INITIAL.
SORT BESTAND BY MATNR WERKS CHARG.
ELSE.
SORT BESTAND BY MATNR BWKEY.
ENDIF.
which function does the user want ?
IF XSUM = 'X'.
hierseq. alv with sums
PERFORM CREATE_TABLE_TOTALS_HQ.
PERFORM CREATE_FIELDCAT_TOTALS_HQ.
PERFORM ALV_HIERSEQ_LIST_TOTALS.
ENDIF.
IF FLAG NE 'X'.
IF PA_SUMFL = 'X'.
elseif pa_sumfl = 'X'.
show the sums only in a flat ALV
PERFORM CREATE_TABLE_TOTALS_FLAT.
PERFORM CREATE_FIELDCAT_TOTALS_FLAT.
PERFORM ALV_FLAT_LIST_SUMS_ONLY.
ELSE.
display the full list using the APPEND ALV
PERFORM BESTAENDE_AUSGEBEN.
ENDIF.
ENDIF.
FLAG = ' '.
ENDIF.
CLEAR: G_T_MSEG_LEAN, G_T_BSIM_LEAN, BESTAND. "n443935
*& PF_STATUS_SET_TOTALS
FORM PF_STATUS_SET_TOTALS "#EC CALLED
USING EXTAB TYPE SLIS_T_EXTAB.
SET PF-STATUS 'STANDARD' EXCLUDING EXTAB.
ENDFORM. "PF_STATUS_SET_TOTALS
user_parameters_save
FORM USER_PARAMETERS_SAVE.
GET PARAMETER ID 'BUK' FIELD G_SAVE_PARAMS-BUKRS.
GET PARAMETER ID 'WRK' FIELD G_SAVE_PARAMS-WERKS.
GET PARAMETER ID 'MAT' FIELD G_SAVE_PARAMS-MATNR.
GET PARAMETER ID 'CHA' FIELD G_SAVE_PARAMS-CHARG.
GET PARAMETER ID 'BLN' FIELD G_SAVE_PARAMS-BELNR.
GET PARAMETER ID 'BUK' FIELD G_SAVE_PARAMS-BUKRS.
GET PARAMETER ID 'GJR' FIELD G_SAVE_PARAMS-GJAHR.
ENDFORM. "user_parameters_save
user_parameters_restore
FORM USER_PARAMETERS_RESTORE.
SET PARAMETER ID 'BUK' FIELD G_SAVE_PARAMS-BUKRS.
SET PARAMETER ID 'WRK' FIELD G_SAVE_PARAMS-WERKS.
SET PARAMETER ID 'MAT' FIELD G_SAVE_PARAMS-MATNR.
SET PARAMETER ID 'CHA' FIELD G_SAVE_PARAMS-CHARG.
GET PARAMETER ID 'BLN' FIELD G_SAVE_PARAMS-BELNR.
GET PARAMETER ID 'BUK' FIELD G_SAVE_PARAMS-BUKRS.
GET PARAMETER ID 'GJR' FIELD G_SAVE_PARAMS-GJAHR.
ENDFORM. "user_parameters_restore
*& USER_COMMAND_TOTALS
FORM USER_COMMAND_TOTALS "#EC CALLED
USING R_UCOMM LIKE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CLEAR G_S_BESTAND_KEY.
CASE R_UCOMM.
WHEN '&GRPT'.
SORT BESTAND BY BWKEY MATKL.
FLAG = 'X'.
PERFORM GRP_TOTAL(ZGRP_TOTAL) TABLES BESTAND.
IF FLAG = 'X'.
EXIT.
ENDIF.
WHEN '&STR'.
IF BWBST = 'X'.
IF FLAG = 'X'.
clear: LGBST,BWBST ,SBBST.
PERFORM GRP_TOTAL(ZGRP_TOTAL1) TABLES BESTAND.
SUBMIT ZRM07MLBD2 WITH LGBST = 'X'
WITH WERKS = '1000'
WITH BUKRS = '1001'
WITH XSUM = 'X'
WITH PA_WDZER = PA_WDZER
WITH PA_WDZEW = PA_WDZEW
WITH PA_WDWIZ = PA_WDWIZ
WITH PA_WDWUW = PA_WDWUW
WITH PA_WDWEW = PA_WDWEW
WITH PA_NDZER = PA_NDZER
WITH PA_NDSTO = PA_NDSTO
WITH LGORT IN LGORT
WITH DATUM IN DATUM
WITH MATNR IN MATNR VIA SELECTION-SCREEN
AND RETURN.
CLEAR: LGBST.
ELSE.
MESSAGE E345(0) WITH 'First see the grp total'.
ENDIF.
ELSE.
MESSAGE E345(0) WITH 'Stock type chosen was not valuated'.
ENDIF.
Quarter Ending----
WHEN '&QTRE'.
TYPES: BEGIN OF TY_MTART,
MATNR LIKE MARA-MATNR,
MTART LIKE MARA-MTART,
END OF TY_MTART.
DATA: L_REC_QTY TYPE P DECIMALS 3,
L_ISS_QTY TYPE P DECIMALS 3,
L_REC_AMT TYPE P DECIMALS 3,
L_ISS_AMT TYPE P DECIMALS 3,
L_OTHERS_QTY TYPE P DECIMALS 3,
L_SALE_QTY TYPE P DECIMALS 3,
L_SALE_AMT TYPE P DECIMALS 3,
L_OTHERS_AMT TYPE P DECIMALS 3.
DATA: IT_MAKT TYPE STANDARD TABLE OF MAKT WITH HEADER LINE,
IT_T023T TYPE STANDARD TABLE OF T023T WITH HEADER LINE,
IT_T134 TYPE STANDARD TABLE OF T134T WITH HEADER LINE.
DATA: IT_MTART TYPE STANDARD TABLE OF TY_MTART WITH HEADER LINE.Dear Experts,
Thanks all for the reply.
I have followed the OSS notes 194788
Only enter the selection criteria which are required for the selection of the stock management unit for which the opening stock balance and closing stock should be determined.
In MB5B I key in selection criteria which are :
material number : xxxxxx
company code : 1000
plant : 1500
batch : xxxxxx
special stock indicator : orders on hand
selection date : 01.08.2009 to current date
stock type :special stock
and the result comes out :
there is initial balance of 3000 kg on 01.08.2009 - INCORRECT ( our team never enter this initial balance but still came out )
therefore the stock of current date also WRONG
if the total stock is adjusted using stock take , the accounting journal will be created, and reduce the financial asset with the same amount of 3000 kg (WRONG EFFECT)
how to solve this issue without affecting the accounting journal ?
Thanks
Pauline -
Dash board report for make to stock scenario?
hi friends,
Here i am having a problem that, I need to do the dash board report to display the sales and production values (quanty s , value) with particular date comparission.
some more detailed.
my client need the report with day wise production and sales values with respective of material number. I can make the report if it is make to order situation. but , this is make to stock situation. and also mentioned that values should match the G\L Account ,ref: fs10n Transaction.
plz help out ......
rewards in advance.
Regards,
Naveen MThe definition of Organization structure might not allow you to do so
Please go throught the following link in detail http://help.sap.com/saphelp_47x200/helpdata/en/f4/7d3f9344af11d182b40000e829fbfe/frameset.htm
Summary from the above link is as mentioned below
You can plan material requirements at plant level or for different MRP areas. With MRP at plant level, the system adds together stocks from all of the individual storage locations, with the exception of individual customer stock, to determine total plant stock. The requirements are combined in the planning run and procurement elements are created for these pegged requirements with unknown sources. Individual storage locations can be planned separately or be excluded from planning.
In the case of material requirements planning on an MRP area level, only the stocks from the storage locations or subcontractor assigned to the respective MRP area are taken into account. Only the requirements in this MRP area are combined and procurement elements are created for them. This enables you to plan material requirements specifically for certain areas. -
Opening and Closing Stock -Calendar Day Interval
Dear All,
Regards.I got a requirement where I need to calculate the Opening and Closing stock -Daywise..Did checked the related threads which stated to create 2 Restricted KF's upon Calmonth.Hence i tried the same replacing Calmonth with Calday,but those 2 Restricted KF's are empty at the Query output level!!!!!!!!(Note : 0TotalQtystock shows the Closing stock by default)..It would be really helpful if someone could take time to update on this..
Manythanks
ArunHi,
Stock key figures are normally set to calculate closing stock with respect to time. e.g. day end stock, week end stock, month end stock.
To calculate Opening balance -
1. create a new calculated KF on your stock key figure with no calculations.
2. Set exception aggregation as "First Value" for this calculated key figure in the query definition.
3. Use this calculated key figure instead of main key figure.
This setting works for all the time characteristics present in the cube.
Regards,
Anup -
Regaring opening stock and closing stock in MM
hi guys,
can any body plzz tell me what exactly do u mean by
1) opening stock (OS)
2) closing stock (CS)
3) credit indicator
4) debit indicator
in MM, i actually checked bseg table for documentation of these fields but could not understand can any one plzz help me.
thanks very much
pavanHello Pavan
What exactly do you wish to know the definitions or calculation.
Opening stock : It is the initial stock available for a particular material at a particular plant/sloc (when the sku was created).
Closing stock : It is the current stock available, basically Opening stock + receipts - issue.
Credit/Debit indicator : Basically, they indicate whether the stock was received at the location or issued from the location.
Regards
Anurag -
Hi Experts
I am looking for a report which should display the unrestricted stock of a material in a Particular Plant / storage location.
They have an existing Z report for the ATP Quantity for a material taking into consideration of all Open Sales Orders & Scheduled for Delivery.
But the business want the Unrestricted stock picked from the above z report.
My Question is: Is it possible to extract the data from a Z report with specific conditions to be populated in another Z report being developed.?
If so, how coul d be achieved ?
ThanksGeetha,
The answer to your question is yes. Just spec it out and hand it to your developers. They will find it easy to modify the existing report, and then create a new one which reads the newly available data.
Of course, one wonders, 'why don't you just use standard SAP reports'?
I assume when you say 'unrestricted', you are following the standard SAP definition. If so, then Transaction MB52 is a standard list which includes a column for 'unrestricted'.
I suggest you review all SAP reports before commissioning a new one. Try SAP1 at the command line (this is not really a transaction, so don't preface with /N). Select Materials Management>Inventory management. Lotsa stuff there.
Regards,
DB49 -
Check Credit and Stock on Sale Order
Hi All
Could you please tell me how to check Credit and Stock on Sale Order.
Thank and Best Regard
ThangHow To Do Configuration For Credit Management
Credit and risk management takes place in the credit control area. According to your corporate requirements, you can implement credit management that is centralized, decentralized, or somewhere in between.
An organizational unit that represents the area where customer credit is awarded and monitored. This organizational unit can either be a single or several company codes, if credit control is performed across several company codes. One credit control area contains credit control information for each customer.
For example, if your credit management is centralized, you can define one credit control area for all of your company codes.
If, on the other hand, your credit policy requires decentralized credit management, you can define credit control areas for each company code or each group of company codes.
Credit limits and credit exposure are managed at both credit control area and customer level. You set up credit control areas and other data related to credit management in Customizing for Financial Accounting. The implementation guide is under Enterprise Structure -> Definition or Assignment -> Financial Accounting and then Maintain credit control area. You assign customers to specific credit control areas and specify the appropriate credit limits in the customer master record.
Settings for determining the credit control area of a document. The settings of items 1 - 4 are taken into account according to their priority. The credit control area found is stored in field VBAK-KKBER.
1. Transaction OB38
Check which credit control area is assigned to the company code.
Company code:
Credit control area:
2. Transaction OVFL
Check which credit control area is assigned to the sales area.
Sales area:
Credit control area:
3. Transaction XD02 or VD02
Check which credit control area is assigned to the payer.
Payer:
Credit control area:
4. Transaction SE37
Is user exit EXIT_SAPV45K_001 being used?
5. Transaction OBZK
For the settings under items 2 - 4, field "All company codes" must be marked in Transaction
OB45, or the credit control area must be entered under the relevant company code in table
T001CM of the credit control areas allowed.
Company code:
Credit control areas allowed:
6. Settings for the credit checks
7. Transaction OVAK
Which settings do exist for the sales document type used?
Sales document:
Check credit:
Credit group:
8. Transaction OVAD
Which settings do exist for the delivery type used?
Delivery type:
Credit group for delivery:
Credit group for goods issue:
9. Transaction OB01
Credit management/Change risk category
Definition of the risk category for each credit control area. This risk category can be
assigned to a credit account by using Transaction FD32.
10. Transaction OVA8
Here, the individual credit checks for key fields
o credit control area
o risk category
o credit group are set. Take these key fields from the above settings and go to the detail
screen. In particular, check whether fields "Reaction" and "Status/block" are set
correctly. To carry out follow-up actions in case of a credit block, the credit check
status must be set (field "Status/block").
11. Transaction FD32
Credit master data for the payer of the relevant document.
Credit account:
Credit limit:
Risk category:
Currency:
12. Settings for updating the credit values Update of the credit values is required for the limit
check (static or dynamic credit limit check).
13. Transaction OVA7
Update of the credit value is active for the corresponding item type if the check box is marked. This field corresponds to
field "Active receivable" in Transaction VOV7.
Item type:
Active receivable:
14. Transaction V/08, Pricing
In the pricing procedure used for pricing, subtotal "A" must be entered in a line for
determining the credit value (mark the pricing procedure and doubleclick on "Control").
Usually, the net value plus taxes is used. This way the system is determined to use this
subtotal for credit pricing. The credit price is stored in field VBAP-CMPRE and used for
update and credit check.
You can find the used pricing procedure of the order under "Item -> Condition -> Analysis".
Pricing procedure:
Line with subtotal = 'A':
15. Transaction OB45
Which update group (field "Update") do you use in the relevant credit control area? The
default setting is "12". If you use another update group, check whether this is fine with
you. If you open an OSS message, please tell us the alternative update group.
Credit control area:
Update:
16. Transaction OMO1
Which kind of update did you choose for structure S066?
In any case, "Synchronous update (1)" has to be chosen as the kind of update.
All other settings will lead to errors
Regards
Raja
Edited by: ramanathan raja on Jul 25, 2008 4:37 PM
Maybe you are looking for
-
Hi, I am getting the following error while testing the Webform "ref: 10OZcTRWdS2gJf9A1t0bQ, AccessControlViolation" An error has occurred. The form does not exist. Please re-enter the web address as the link may be misspelled. [ref: 10OZcTRWdS2gJf9A1
-
Moving average price not calculated properly
Hi, For a consumable material moving average price(MAP) is getting calculated wrongly. There are 2 goods receipts taken in Jan'08 and Feb'08 at a unit price of 1250 and 1450 INR. Then there are around 10 Goods issues for a cost centre, Mvt type 201 t
-
Shall i update my N96 to V30?
Hey People Shall i update? as all im after is the audio theme? Help
-
So last night I needed to install X11 cause the iMac didn't come with it installed and you cant download it. Or so I read. So I pop in the iMac disc 1 and go to install it. If I had to option I would have unselected EVERYTHING but X11. I couldnt, I H
-
Reading multiple result sets using executeQuery
Hi - We have a database Proc that returns multiple result sets as the out params. Following is the line that does the DB call. rows = DynamicSQL.executeQuery(sentence : query, implname : "Sql Server"); The 'rows' param above is able to get only the f