BAPI exception when executing from external system.

Hi Experts,
I using the Function Module BAPI_MATERIAL_GET_ALL to get the Material and Plant attributes by giving Material and Plant data.I am able to get all the required
attributes when I execute this Funtion Module in SAP but when I try to execute this
Function Module from external system I am getting all the details except plant details.
When I give plant data the Function module is throwing the below exception.
java.lang.Exception: BapiWarning: I:MM:376 0001
   (0001 is the plant value)
Please help me out over this issue.
Thanks,
Kiran.

Hi ,
i think u are getting this error
W MM376 No planning data exists in plant 1000, u will get this message only if u pass the plant values to this FM , bcos its trying to get planning data from this plant.
Regards
Prabhu

Similar Messages

  • Problem with BAPI BAPI_MATERIAL_SAVEDATA when calling from other system

    Hi All,
    I able create new material using the BAPI BAPI_MATERIAL_SAVEDATA in development system.
    but when i am calling this BAPI from other systems by passing the same values that i used in the development system . system is giving me an error ( in the return statement) saying that material number doesn't exists .
    Can any one have some pointers towards this ?
    Thanks & Regards,
    Praveen

    Hi,
    this FM BAPI_MATERIAL_SAVEDATA
    is used to extend a material to another plant
    for that you need to read the original data via BAPI_MATERIAL_GET_DETAIL and then select additional data from MKVE and save it via BAPI_MATERIAL_SAVEDATA with table parameter SALESDATA
    also check with
    BAPI_STANDARDMATERIAL_CREATE Create/Extend Material
    BAPI_MATERIAL_SAVEDATA - QM - Inspection Setup
    Problem in BAPI_MATERIAL_SAVEDATA
    Thanks&Regards,
    Naresh

  • Trigger a custom workflow from external system thru BAPI

    Hi Friends,
    I am trying to trigger a custom Workflow using BAPI from external system for Intra country transfer/.
    Can you please suggest how do I do that .
    Many Thanks.
    Regards,
    Rajesh

    Start transaction SWETYPV and you will see the linkage between event and workflow.
    In transaction SWUD you can simulate events to see whether the workflow starts without any errors.
    In transaction SWELS you can start an event trace to see which events have been raised. Later on you can review this log using transaction SWEL.

  • How to call RFC from external System to get HR Data

    According to the requirement the "HR" Workflow has to be able to view the employee details from external system Using the standard Microsoft connectors.
    So, my job is to create an RFC where i need to fetch the HR data from the infotypes P0001 and P0002. And they will call this RFC by requesting employees surname, ID number and/or Employee number.
    Do i need to simply write OPEN SQL statements in RFC or
    do i need to call any BAPI's?
    Setting up RFC's(Creation of Destinations) is not our job.
    Someone Please help me in this regard with some valuable input. Thanks in Advance.
    Ram.

    Hi Ram,
    to get the information from HR sytem you could call the BAPI
    BAPI_EMPLOYEE_GETDATA
    Regards
    Bernd

  • Updating purchasing contracts in SRM from external system ( XI )

    Hello friends,
    We have a requirement to update / create purchasing contracts in SRM from external system ie e-sorcing . We are getting the structure of contract from
    xi proxy.
    We are using function modules
    BBP_PD_CTR_CREATE
    BBP_PD_CTR_UPDATE
    to create / update contracts.
    The issue is , how we will come to know an existing contract is got updated in
    the external system and , is there any function module/ bapi available to get those
    updated contract records or is there any way to do this.
    It would be great if anybody can provide some helpful information.
    Thanks..
    Jayaram

    Hello BABA,
    Try this link. Hope this helps.
    [Re: Creating SRM PO with Smartforms BBP_PO;
    Please discuss this issues in SRM- General forum for better replies.
    Cheers,
    Suvendu

  • BCS - Message from External System : 'Login failed for user 'NT AUTHORITY\IUSR'.'.

    Hello,
     I have create a an external content type .
     I Choose "Connect with user's Identity".
     I create a external list that uses the ExternalContentType.
     When I try open the external list from browser by User "TestUser" . I get the following error "Message from External System : 'Login failed for user 'NT AUTHORITY\IUSR'.'"
       My Question :
           I need to know why pass the credential "NT AUTHORITY\IUSR" to connect to the data base not the
            current log in"TestUser" ?  How Can I solve it ?
            Thanks
             Hema
    ASk

    Hi,
    did you configure Kerberos delegation?
    NTLM fails when you try to open external list from client computer, because SharePoint cannot pass user's identity - "Double Hop" issue.
    Take a look at confguring Kerberos for SharePoint 2010 white paper
    Download Configuring Kerberos Authentication for Microsoft SharePoint 2010 Products from Official Microsoft Download Center
    http://www.microsoft.com/en-us/download/details.aspx?id=23176
    Robi MCT Kompas Xnet d.o.o. Ljubljana | blog: http://xblogs.kompas-xnet.si | website: http://www.kompas-xnet.si
    Slovenia
    Please vote if you find reply useful or mark it as answer.
    Thank you

  • Modify PO from external system

    Hi all,
    We are implementing SRM 5.0 with extended classi scenario.
    Until now we have a R3 system where we create PO, but we also have got a functionality for modifing particular information of PO in a lagacy system, that comunicate with R3 between idoc.
    Now we migrate the lifecycle of PO in SRM, but the legacy system remains.
    Wich is the best way for modify a PO from a legacy system in SRM?
    thanks
    enzo

    Hi,
    You can try multiple methods ( mostly non-standard), one is use the SRM function modules to update PO, when you send the data from external system, other method is PO response( send the changes from external system as PO response in SRM).
    Hope above methods will resolve your issue.
    Thank you
    Sreedhar Vetcha

  • Getting data from external system

    Hi,
    What other methods that are used to get data from external system to BW? I know that DB Connect is one of the methods. Also, falt files is one of them.
    Thanks,
    RT

    Hi,
    Is there a BAPI that I can look at and start programming to get data from Informatica?
    Right now we are using CSV files. Would anyone have sample code for the doing this using BAPI? Appreciate any.
    Is there any How to paper to do this?
    Thanks,
    RT
    Message was edited by: Rob  Thomas
    Message was edited by: Rob  Thomas

  • Create activity from external system

    Hi
    What is meant by creating activity from external system.
    I need to work on an enhancement which deals with function module to create activity that can be called from external systems e.g. on demand.
    I am not sure what does that exactly mean?
    Any pointers would be helpful.
    Thanks
    Alka

    Hi guys,
    Thanks for your answers... But is it possible to call transaction NOTIF_CREATE from an external system?
    I have done something already so that those 3 fields will be automatically populated for a message sent from an external system.
    I changed the screen and called FM BAPI_NOTIFICATION_CREATE(a remote enabled FM which is the one being used by transaction NOTIF_CREATE to create a message) inside FM BCOS_SEND_MSG.
    I populated the category, subject and solution in the FM export parameters as well as the solution number in the sap data table. I put a destination also..
    This FM calls another FM DNO_OW_CREATE_NOTIFICATION which is the one being used from the external system but do not cater the functionality to send the 3 fields that we need.
    As you will notice, there are lots of standard objects that I've changed. =)
    My problem now is that the system data sent is the same with the system data if you create the message using NOTIF_CREATE. Some system that were sent when a message is sent from an external system is missing but at least the sap system and client ID is sent. There is no external reference number also. But hopefullly, the users will accept it. Can't find any other solution to this.
    Thanks,
    Eric

  • Startrfc - SAP utility to invoke ABAP programs from External systems

    We have used the startrfc uitlity that comes along with the SAP Presentation CD. This is bundled with the SAP RFC SDK kit. The startrfc utility can be used to invoke ABAP programs from external systems or servers.
    When using the startrfc from the SAP server using the parameters
    startrfc -h 10.60.0.31 -s 01 -c 100 -u USERNAME -p PASS -F <Function Module> -E TPPARAM=\usr\sap\trans\bin\tp_domain_<SID>.PFL -T LIST,300,w=list.txt
    the desired results are achieved.
    However when using the same startrfc with the exact parameters from another server we get the message " Incorrect user or password". If we use the SAP GUI from this server to connect to the SAP server using the same username and password we are able to connect to the SAP system.
    Has anyone encountered any similar issues with Startrfc? Any suggestion will be appreciated.
    Thanks,
    ~Nilesh

    Hi NIlesh,
    Did you check that the password and user ID entered are in capita letters?
    Thanks and Regards,
    RK

  • Sales interface from external systems

    hey,
    Sales will be interfaced into SAP. 
    We will interface transactions from three separate external systems. 
    We could receive the same document number from each of the three systems.  What makes a document unique in SAP?  These documents could conceivably be for the same customer.  Would that be a problem?
    Please advise.
    Thanks

    Hi there,
    When maintaining an external system, there will be 2kinds of transactions.
    Inbound to SAP & Outbound to SAP.
    In inbound, when a doc is created in an external system & comes to SAP, that particular doc usually comes in the form of an IDOC. The external doc num will be populated in one of the IDOC segment fields. The same external doc num will be populatedin one of the fields of the SAP document as a reference num. We usually use any field which is not used to populate this.
    In outbound from SAP, the information is sent to external system also as IDOC. In tis case, we populate the SAP doc num in 1 of the segments of IDOC. The same value will be populated in on of the fields as an external reference num.
    We define the segments & fields of an IDOC message type in t-code WE30.
    If this doesnot clarifiy your question, pls eloborate your question.
    Regards,
    Sivanand

  • How to import a maintenance task list from external system to R3

    Is there a bapi or a fm can import the maintenance task list (equipment ,function location ,generic) from external system to R3.

    Hello,
    how to import task list to sap from external system
    Hope this helps.
    Regards, Murugesh AS

  • 'Accept IDOC' from external system

    Hi Experts,  I am new to IDOCS. I have to update one already written function module to accept IDOC in SAP from external system. In the function module I see some IMPORT parameters like 'input_method' and 'mass_processing' and EXPORT parameters like 'workflow_result' , 'application_variable' , 'in_update_task', 'call_transaction_done' . Can someone tell me what are these parameters for ???.

    input _method for method of data records update
    Mass_processing for handling the large number of Idocs in single take
    Workflow_result for hitting the results at last
    'in_update_task' update the records in update mode
    call_transaction_done' by using call transaction method it would post the records

  • IDOC from external system

    Hi,
    I have scenarion in that we will receive IDOC from external system (SAP system) in XI i.e. IDOC- XI -IDOC scenrio. from my Understanding ,to configure the scenario I have to do ALE from sender side and IDOC receiver channel in receiving side.
    External system (SAP) -(ALE)-> XI -(IDOC rcv)--> Our System (SAP)
    Please can anyone provide me steps to do ALE from external system.
    Edited by: tapan singh on Feb 28, 2011 11:51 AM
    Edited by: tapan singh on Feb 28, 2011 11:52 AM

    Hi,
    We can have alternate ways to send IDocs from external system to SAP system. One way is in below link
    http://help.sap.com/saphelp_46b/helpdata/en/52/16abf6543311d1891c0000e8322f96/content.htm.
    http://help.sap.com/saphelp_40b/helpdata/ru/52/16abcf543311d1891c0000e8322f96/content.htm
    I can think of few more, like In external system after generating Idoc, save it as a tex and send it to SAP system using Http post or using web service.
    Look out to below discussion.
    Send IDoc from External System to SAP system
    Regards
    Aashish Sinha
    Edited by: Aashish Sinha on Feb 28, 2011 1:16 PM

  • Send IDoc from External System to SAP system

    Hi Folks,
        I have a requirement to send IDocs from an external system to the SAp system. Basically the external system is a subsystem which is able to send & receive idocs. The external system is currently able to send idocs to SAP system through the ALE layer but now we have to replace it by PI. Now the external system has to send teh IDocs to the SAP ECC system through the SAP PI 7.0.
       Kindly let me knowq how I can achieve it.
    Regards,
      Santosh

    Hi Satish,
    You can achieve this requirement
    1)If your external system going to support web service cals then send IDoc from External system as a web service, in PI use sender side SOAP and receiver side IDoc receiver channel  to  send IDoc.
    or
    2)Use proxy program ,implement the same ALE logic in PI.
      or
    3)Copy the Extenal IDoc message in to file folder as XML,then use file adapter to pick up this message and send it SAP using IDoc.
    Regards,
    raj

Maybe you are looking for