Skip to Content
author's profile photo Former Member
Former Member

System Error During Insert (Table KNMT SUBRC 4)

Hi All,

I am getting a peculiar error when i try to update KNMT table using the FM RV_CUSTOMER_MATERIAL_UPDATE.

When i run it directly in debug mode, entries are getting created perfectly.

But when i run it through RFC, before the FM is executed itself, during validation, i am getting an error in the message queue stating "System Error During Insert (Table KNMT SUBRC 4).

I cheked that KNMT table is empty. Also i had deleted all entries using the standard transaction VD52.

I found that there is a certain FM RV_CUSTOMER_MATERIAL_UPDATE_C which is described as Posting program for customer-material info (CALL mode).

But i am not sure what this does. I cannot view the documentation in my system and also this FM does not have any parameters.

Kindly let me know if anyone has encountered an error like this... Please let me know of any suggestions for resolution.

Thanks & Regards,

Mz

P.S : The Functionality seems to work intermittently... though not when i want it. 😔

Edited by: Mazin Mahmood on Dec 8, 2011 9:09 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2011 at 03:58 AM

    Hi ,

    I faced same situation but for some other update program.

    I Just logged off my system and tried the update again and it was working fine.

    Please try i think this may help you.

    Regards,

    Ganesh.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2011 at 08:15 AM

    Hi,

    The issue was that i was calling the function module RV_CUSTOMER_MATERIAL_UPDATE using an RFC.(ABAP Proxy) For some reason, while using an RFC, there is some issue with this function module and the database commit .

    I had to recode using BDC (for transaction vd51) approach for creating a record in KNMT.

    Thanks All,

    Cheers,

    Mz

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.