BAPI_MATERIAL_MAINTAINDATA_RT gives error KM701, but manual entry succeeds

I have written a program which creates a new material using function module BAPI_MATERIAL_MAINTAINDATA_RT. I get the following error:
KM701 Profit center K100/12345 does not exist
However, I can add the same profit center (12345) to the article in transaction MM42 without problems.
I'm using the same user ID for the BAPI call (via RFC) and manual entry via MM42.

you probably forgot the leading zeros for the profit center.

Similar Messages

  • Validation Error Messages of Manual Entries in F4 enabled Fields

    I have a view on which someone has set up F4 help.I see where the GET_V method has been created to establish the pulldown values
    CALL METHOD /almgt/cl_common_util=>get_f4_help
        EXPORTING
          iv_type                 = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
          iv_index                = iv_index
          iv_keyfield_name        = 'PL_SP_HANDLING' "context attr for Job Position
          iv_textfield_name       = 'PL_SP_HANDLINGT'
          iv_help_id              = '/ALMGT/C_SPCTY-PL_SP_HANDLING' "name of check table and key field name
          iv_only_active_records  = abap_true
        RECEIVING
          rv_valuehelp_descriptor = rv_valuehelp_descriptor
    If a user does not use the pulldown, and types in an unallowed value, a message is delivered that says
    & code & is either invalid or inactive   (the ampersands are filled in).
    We want to change these messages but I can not find where they are being thrown from.  Where do these validations generally take place ? DO_VALIDATE_INPUT is empty.
    Thanks...   ...Mike
    CRM 7.0
    FRM (Fundraising Management)
    (Comp: /ALMGT/BT115H_SLSO , View /ALMGT/BT115H_SLSO/Details,
    Context BTSALESSET, Attribute: STRUCT.PL_SP_HANDLING)

    I had originally trapped CL_BSP_WD_MESSAGE_SERVICE ADD_MESSAGE() and was getting no hits.  It turns out that the caller was using fm CRM_MESSAGE_COLLECT.  When I trapped that, I was able to find the BADI that was throwing the message ( CRM_SALES_BADI ).

  • Priority on manual entries

    hi everybody
    can anybody tell me if we give at MANUAL ENTRIES field as AUTOMATIC ENTRIES HAS PRIORITY in condition type maintainence and give tick mark on MANUAL ENTRIES at pricing procedure which will system concider FIRST while pricing?

    Hi,
    In pricing procedure (V/08) if you give the condition type as manual that will be entered manually during the sales order processing... normally there will not be access seq and condition records for manual conditions
    the manual entries field in V/06 is applicable for automatically determined conditions. its not applicable for above mentined manual conditions. this option is for priority between manual and automatic entries for conditions which assigned with access seq and condition recs...
    ' '    No limitations
    A    Free
    B    Automatic entry has priority
    C    Manual entry has priority
    D    Not possible to process manually
    Hope you clear now...
    Reward if helps
    Muthu

  • Just bought a new Airport Extreme BS. After setup my iphone4 won't find the network (not even with manual entries), but my iMac (2009) does. What is wrong?

    Just bought a new Airport Extreme BS. After setup my iphone4 won't find the network (not even with manual entries), but my iMac (2009) does. What is wrong?

    Well, after another call with Apple support and the engineers, no success.  After spending over 20 hours trying to debug this, I give up.  Apple was basically fishing for a solution with trial-and-error settings on the iphone.  Then they wanted me to plug in software to log my iphone connections to the router, etc, etc., etc., at which point I decided I no longer wanted to participate in their testing process and will simply return the router.
    25 hours of my life I'll never get back.
    Big bummer, and frustrating for all the obvious reasons.

  • Report builder error after applying sql server 2008R2 SP3 when click on report builder gives error like 'Application validation did not succeed. Unable to continue.

    Hi All,
    I applied SQL server 2008 R2 SP3 recently but report builder doesn't work since then
    When click on report builder gives error like 'Application validation did not succeed. Unable to continue.
    and when I try to see details the error summary like following:
    +File, Microsfot.ReportingServices.ComponentLibrary.Controls.dll, has a different computed hash than specified in manifest.
    this is urgent.
    Please reply me asap.
    thanks a lot in advance.
    Regards,
    Nik
    Regards, Naman

    Hi nikp11,
    According to your description, you recently updated SQL Server 2008 R2 to SP3, Report Builder doesn’t work since then the error occurs: "Application validation did not succeed. Unable to continue".
    This is an known issue in SSRS 2008 R2 SP3 that Microsoft has published an article addressing this issue. It is not planning to release a fix for this issue. But we could implement one of the following workarounds:
    Install and run Report Builder 3.0 of SQL Server 2008 R2 RTM.
    Install and run Report Builder of SQL Server 2014.
    Uninstall Service Pack 3 then uninstall Service Pack 2 and then reinstall Service Pack 3.
    Reference:
    Report Builder of SQL Server 2008 R2 Service Pack 3 does not launch
    Thank you for your understanding.
    Best Regards,
    Wendy Fu

  • ITunes gives me an error and asks for re-installation, the error is "The procedure entry point CMBlockBufferCopyDataBytes could not be located in the dynamic link library coreMedia.dll", and the iTunes can not be lunched any more

    iTunes gives me an error and asks for re-installation, the error is "The procedure entry point CMBlockBufferCopyDataBytes could not be located in the dynamic link library coreMedia.dll", and the iTunes can not be lunched any more.
    can you please help, as I also tried to re-install it but pr

    Entry point errors can often be fixed by deleting the offending dll, then repairing the component it is part of. CoreMedia.dll is part of Apple Application Support.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If the advice above doesn't resolve things you could try this alternate version:
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    which is a 64-bit installer for the 32-bit version of the core application, similar to previous 64-bit releases.
    Or roll back to the previous build:
    iTunes 12.0.1.26 for Windows (32-bit) - iTunesSetup.exe (2014-10-16)
    iTunes 12.0.1.26 for Windows (64-bit) - iTunes64Setup.exe (2014-10-16)
    tt2

  • RE: [Adobe Reader] when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? i

    HelloThank's for your helpsI hope this document is helpfulBest Regards,
    Date: Sun, 22 Jun 2014 17:10:17 -0700
    From: [email protected]
    To: [email protected]
    Subject:  when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
        when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
        created by Anoop9178 in Adobe Reader - View the full discussion
    Hi,
    Would it be possible for you to share the document?
    Regards,
    Anoop
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
         To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • When i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th

    when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ?
    if you can help me thank's
    [email address removed by host]

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • In Windows 7, iTunes  gives error message "An iPhone has been detected, but it could not be identified properly. Please disconnect and reconnect the phonon then try again.

    In Windows 7, iTunes  gives error message "An iPhone has been detected, but it could not be identified properly. Please disconnect and reconnect the phonon then try again."
    I have a iphone 4S. It has been activated on Win 7 computer and synced. But overnight this meassage reappears.

    I have same error except that i get it even when my phone is not connected.

  • HT1212 iPhone diabled, tried to use iTunes to restore, but iTunes gives error message (0XE8000084). Now what to try to reset iPhone?

    iphone disabled, tried to use iTunes to restore, but iTunes gives error message (0XE8000084). How to restore iPhone?

    Try here   =   http://support.apple.com/kb/TS3221

  • Oracle ADF application run while debuging but gives error while running

    Hi,
    I created application in oracle ADF, which accesses database from SQL server 2008. I changed database names to different database having same tables. When I debug it by using breakpoint in EOIMPL class, it runs perfectly. But when run it by removing brakpoint it gives error (invalid object). Please Help.
    Thanks.

    can u paste the complete invalid objects error..
    I rember i have seen this case before which possibly got resolved by removing the system folder.. especially the systemfolder/o.j2ee/drs/ folder..
    may be some synching problem..

  • PL/PDF - Procedure test1 is executed but gives error

    Hello All,
    I have Oracle XE 10g with Oracle Apex and recently I installed PL/PDF in the same. I tried to execute the headerfooter procedure given in the installation guide. But it gives error ORA-20000: ERR-006 Procedure call error: xxfooter. How can I get the header and footer from this procedure headerfooter?
    - create header footer procedure
    CREATE OR REPLACE procedure headerfooter is
    /* 7. Example: Header, Footer, number of pages */
    l_blob blob;
    begin
    /* Initialize, without parameters means:
    - page orientation: portrait
    - unit: mm
    - default page format: A4 */
    plpdf.init;
    /* Defines the page number alias.
    Default: {nb} */
    plpdf.nopAlias;
    /*Sets the page header procedure name. The program name passed
    as a parameter executes when the page header is created. */
    plpdf.SetHeaderProcName(
    p_proc_name => 'xheader', -- Page header procedure name: xheader
    p_height => 10 -- Height of header section
    /* Sets the page footer procedure name. The program name passed
    as a parameter executes when the page footer is created. */
    plpdf.SetFooterProcName(
    p_proc_name => 'xfooter', --Page footer procedure name: xfooter
    p_height => 10 --Height of footer section
    /* Begin a new page, without parameters means:
    - page orientation: default (portrait) */
    plpdf.NewPage;
    /* Sets the font and its properties */
    plpdf.SetPrintFont(
    p_family => 'Arial', -- Font family: Arial
    p_style => null, -- Font style: regular (default)
    p_size => 12 -- Font size: 12 pt
    /* Draws a rectangle cell with text inside. */
    plpdf.PrintCell(
    p_w => 50, -- Rectangle width
    p_h => 10, -- Rectangle heigth
    p_txt => 'Page 1' -- Text in rectangle
    /* Begin a new page, without parameters means:
    - page orientation: default (portrait) */
    plpdf.NewPage;
    /* Draws a rectangle cell with text inside. */
    plpdf.PrintCell(
    p_w => 50, -- Rectangle width
    p_h => 10, -- Rectangle heigth
    p_txt => 'Page 2' -- Text in rectangle
    /* Returns the generated PDF document.
    The document is closed and then returned in the OUT parameter. */
    plpdf.SendDoc(
    p_blob => l_blob -- The generated document
    /* Print it:*/
         owa_util.mime_header('application/pdf',false);
    htp.p('Content-Length: ' || dbms_lob.getlength(l_blob));
    owa_util.http_header_close;      
    wpg_docload.download_file(l_blob);
    end;
    -Create footer procedure
    CREATE OR REPLACE procedure xfooter is
    begin
    /* Sets the font and its properties */
    plpdf.SetPrintFont(
    p_family => 'Arial', -- Font family: Arial
    p_style => 'I', -- Font style: Italic
    p_size => 8 -- Font size: 8 pt
    /* Print number of page */
    /* Draws a rectangle cell with text inside. */
    plpdf.PrintCell(
    p_w => 0, -- Rectangle width
    p_h => 10, -- Rectangle heigth
    p_txt => to_char(plpdf.CurrentPageNumber) || '/{nb}', -- Text in rectangle
    p_border => '0', -- Without frame
    p_ln => '0', -- Cursor position after the cell is printed: Beside
    p_align => 'C' -- Text alignment: Center
    end;
    Thanks.

    Thanks for your reply,
    Since the owner of header/footer procedures is different than plpdf, I should have given the grants to plpdf schema but unfortunately I missed. Thanks for the answer it worked. Instead of creating synonyms for the procedures in plpdf schema I am passing procedure name with qualifier, the name of its owner, to plpdf api (owner.procedure_name).

  • My macbook pro is version 10.7.3 and since I bought it, I try to update but it gives error, what should i do?

    My macbook pro is version 10.7.3 and since I bought it, I try to update but it gives error, what should i do?

    What are you trying to update? Are you trying to do a Software Update from the Apple menu, or something else?
    What is the error you're seeing? We are not mind readers.
    Matt

  • Itunes not working on my laptop. It gives me an error meassage, "The procedure entry point dispatch_get_specific could not be located in the dynamic link library "

    itunes not working on my laptop. It gives me an error meassage, "The procedure entry point dispatch_get_specific could not be located in the dynamic link library "

    See Troubleshooting issues with iTunes for Windows updates.
    The issue seems similar to that in the first box though it would be nice to have the complete error message. Tearing out all iTunes components and reinstalling as given in the second box should resolve.
    tt2

  • Trying to install adobe photoshop on macbook pro but at 50% it gives error message and kicks out dis

    trying to install adobe photoshop on macbook pro but at 50% it gives error message and kicks out disc

    copy the disc contents to a desktop folder and click setup in that desktop folder.
    if that fails what ps version are you trying to install and what is your os version?

Maybe you are looking for

  • It is just frustrating... "Missing Filters"...

    Hi there! After having a "book of problems" with iWeb I reinstall the whole app so I am now back to the 1.0 version. I was working without any problems for five days but suddenly I got yesterday the message "The following errors occurred while trying

  • Unable to Read the Full Form

    Hi, We have developed forms using the Livecycle Designer 7.0 and then enable these form on Livecycle Designer 8.0.Some of the users are unable the open the full form with some fields appearing blank when they open it.They had adobe reader v 8.1 on th

  • Delete ECN for a BOM

    Hi, How can we delete ECN along with the BOM to which it is attached? All this is getting affected in future. This has got creted by mistake and needs to be removed from SAP. Thanks, Ravi.

  • ITunes And Digital Copy Question

    sorry if this has been asked before but is there a way to register all my digital copy blu rays onto my itunes and delete them so they dont take space away from my macbook pro? i copied Juno onto the computer then deleted it, and they let me know tha

  • Unable to restore after Android Update

    Hi all, After updating my Z1 to 4.4.2 I was unable to restore using the built in backup and restore app. The error message states that the selected backup cannot be used due to incompatability of the software!!!!  This should have been obvious to son