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

Error in BAPI_MATERIAL_SAVEDATA

Hi Experts,

i am getting error while update SAP material matster data throught BAPI_MATERIAL_SAVEDATA,

error is M3 094 "Specify the relevant time unit"

Please help.

Regards,

Nee

Edited by: neeru sangwan on Feb 3, 2012 6:36 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2012 at 06:11 PM

    i did a where used on the message, and it is raised in a function called MARC-LZEIH, which checking the time unit for the field MARC-MAXLZ, the maximum storage period. Are you passing the maximum storage period in your data? if so, it appears you need to pass the unit for that period, be it hours, days, etc.

    This is just from a cursory check.

    also, use the code tags when you post your code! otherwise it is unreadable.

    lastly, if it is not as i said above, do a debug session, and breakpoint at statement MESSAGE. The program will stop (eventually) on the M3093 message and you can see from the code what it is checking for.

    Edited by: David Knittle on Feb 3, 2012 1:12 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2012 at 06:00 PM

    Hi,

    once place your code what you are passing. and also go through the function module documentation , it may help you

    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.