Issue: In TCode IW32 (Maintenance Order), when adding a component in the Components tab, two identical lines were created in the RESB table—one with a Storage Location (LGORT) and one without. This happened when the Storage Location field was left empty, triggering a Warning message. After filling LGORT, a duplicate line was added.
Root Cause: The issue was traced to a CHAIN in the SAPLCOMK program (Screen 2030, Module MANDATORY_FIELD_CHK). A Warning message (Application Area: EAM_EWM_INTEG_PROC, Message Number: 000) caused the main loop to restart after LGORT was entered, creating a duplicate entry in RESB.
Solution:
Go to TCode SM30.
Enter the view V_160M_PM_1 and select Maintain.
Find the message:
Application Area: EAM_EWM_INTEG_PROC
Message Number: 000
Message Type: W (Warning)
Change the Message Type from W (Warning) to I (Information).
Save the changes and create a Transport Request.
Test in IW32 to confirm only one line is created in RESB.
Why It Works: Changing the message to Information prevents the program from restarting the loop after LGORT is filled, avoiding duplicate entries.
Tips:
Verify the change in a Sandbox environment with different materials and Plants.
Check SAP Notes for similar issues (search “SAPLCOMK V_160M_PM_1 EAM_EWM_INTEG_PROC”).
Debug SAPLCOMK (Screen 2030) if the issue persists.
Has anyone else faced this in SAP PM? Share your fixes or questions below!
Solution by Ebrahim Heydari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.