SAP ABAP

Archive for the ‘MM Module’ Category

EINA Purchasing Info Record- General Data

EINE Purchasing Info Record- Purchasing Organization Data

MAKT Material Descriptions

MARA General Material Data

MARC Plant Data for Material

MARD Storage Location Data for Material

MAST Material to BOM Link

MBEW Material Valuation

MKPF Header- Material Document

MSEG Document Segment- Material

MVER Material Consumption

MVKE Sales Data for materials

RKPF Document Header- Reservation

T023 Mat. groups

T024 Purchasing Groups

T156 Movement Type

T157H Help Texts for Movement Types

OLMB Inventory management/Physical Inventory

OLMD MM Consumption-Based Planning

OLME MM Purchasing

OLML Warehouse Management

OLMR Invoice Verification

OLMS Material Master data

OLMW MM Valuation/Account Assignment

MM01-MM03 Create/change/display material

MM06 Flag material for deletion.

MB31 Goods receipt for order

ME21-23 Create/change/display PO

MK01-MK03 Create/change/display VENDOR : Purchasing

FK01-FK03 Create/change/display VENDOR : Accounting

XK01-XK03 Create/change/display VENDOR : Centrally

BD64 Distribution model

OLMS materials management configuration menu, most of the stuff under this menu is not under the implementation guide

MRP block for Credit limit attained Customers
How to block the requirement (MD04) generated by the item category in a sales order when the customer has attained the credit limit?

The MRP requirements still appear even though the schedule is zero.
You should try and use one of the standard requirements.
See in transaction “VOFM”.
Under Requirements / Subsequent Functions / Reqs.Availablity.
Try using routine 103, you may have to tweak if it doesn’t work exactly as you’d like.
For example, you can write a routine 903 because you only wanted this reaction for certain business units. Irregardless, using a routine similar to this will prevent the requirement from appearing in MD04 for orders blocked on credit.

Code:
DATA: W_ZSDCRD TYPE ZSD_CREDITBLCK.
DATA: W_CMGST LIKE VBUK-CMGST.
SELECT SINGLE * INTO W_ZSDCRD
FROM ZSD_CREDITBLCK
WHERE KKBER = VBAK-KKBER
AND CTLPC = VBAK-CTLPC.

IF SY-SUBRC = 0 AND VBUK-CMGST CA ‘B’.
IMPORT VBUK-CMGST TO W_CMGST FROM MEMORY ID ‘CREDIT’.
IF W_CMGST = SPACE. MESSAGE I706(Z1).
EXPORT VBUK-CMGST TO MEMORY ID ‘CREDIT’.
ENDIF.

* Read the subsequent function information for the message

PERFORM FOFUN_TEXT_READ USING GL_FOFUN CHANGING FOFUN_TEXT. MESSAGE ID ‘V1’ TYPE ‘E’ NUMBER ‘849’ WITH FOFUN_TEXT RAISING ERROR.

ENDIF.

ENDFORM.

Website : http://abapcode.blogspot.com/

MM reopen period issue.

Problem: One user opened by mistake period 06 year 2005 but they still had documents for posting in period 04.
Solution: The solution is running the MMPI transaction and read note 48781.

This is a post I found on sap.ittoolbox.com SAP forum which explain some basic steps to reopen the MM period.

1. Lock all users out of PRD
2. Take snapshot of MB5L for all materials at company code for current and previous periods

3. Add User parameter MMPI_READ_NOTE with value = current date in this format YYYYMMDD

4. Stop all processing that updates inventory values

5. Run t-code MMPI with correct period

6. Run Z_DEl_HIST_ENTRIES program

7. Take MB5L snapshot for all materials at company code fs01 for current and previous periods

8. Validate that values match on MB5L pre-post snapshots or are appropriate.

9. Unlock all users in PRD

10. Remove User parameter MMPI_READ_NOTE from user ID

Be carefully if you want to reopen a period that is far in the past!!!!

Website : http://abapcode.blogspot.com/

If you created an material by error and you want to delete that material from the data base you can do it in this simple 4 steps. The only condition is that this material has to have no material movement recorded.

These are the steps:1
1) Flag material for deletion. transaction MM06
2) Run report MMREO001 – Selection of materials flagged for deletion and select the material
3) Run report MMREO050 Archive Materials to archive the material (some customisig settings might be required)
4) Run report MMREO110 Deletion Program for Archiving Materials to delete the material from the database.

These reports are called by the SARA transaction too.

Website : http://abapcode.blogspot.com/


Read Whole Site there

http://abapcode.info

Topic Wise Content

blog content

June 2017
M T W T F S S
« Feb    
 1234
567891011
12131415161718
19202122232425
2627282930  

Blog Stats

  • 468,881 hits