Error handling while calling BAPI ?

Hi all,
I am calling 'BAPI_GOODSMVT_CREATE'  from a program to create goods receipt with purchase order. Eventhough i am successfully creating the Goods Receipt , i am unable to display the error messages if Goods Receipt is not created.
Please help me on displaying the error messages by specifying procedure and coding  ?
Thanks,
Vamshi.

Hi
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
  EXPORTING
    goodsmvt_header             =
    goodsmvt_code               =
  TESTRUN                     = ' '
IMPORTING
  GOODSMVT_HEADRET            =
  MATERIALDOCUMENT            =
  MATDOCUMENTYEAR             =
           tables
           goodsmvt_item               =
  GOODSMVT_SERIALNUMBER       =
           return                      =
In return table you will get all the errors which thrown by this BAPI. you can go in debug mode and check for the error msg.
Regards
Sowmya
Edited by: Sowmya Sahadevan on Jul 9, 2008 5:38 AM

Similar Messages

  • Internal Error occurred while calling the ProcessDPCommands API

    We have installed Business Objects XI  with MySQL. We are getting following error when we click on view query on the WEBI Reports
    " Internal Error occurred while calling the ProcessDPCommands API  Error WIS 30270".
    When we change the CMS database to ORACLE everything works fine it looks like some issues when CMS database is MYSQL
    Please hep to fix this problem
    Installation is on Solaris 10
    Edited by: AshishDatar on Nov 6, 2009 3:00 PM
    Installation is on Solaris 10

    did you check whether universe connection is pointing to the correct db?The following url might be helpful:
    [http://www.forumtopics.com/busobj/viewtopic.php?t=52355&view=previous]

  • An internal error occurred while calling 'submitReport' API. (Error: ERR_WI

    An internal error occurred while calling 'submitReport' API. (Error: ERR_WIS_30270)
    We get above mentioned error message at any point in WebI Rich Client.
    DataSource: Teradata 12.0 (Local machine)
    BO XI 3.1 Client installed on local machine
    Universe (Secured connection)
    WebI : desiging and creating in Standlone mode
    WebI client version : 12.1.0.882
    Many times above written error is thrown 2-3 times even when we click on OK button and lastly followed by new error message:-
    Unable to get the first page of the current report - Web Intelligence will switch to structure view (WIJ 20003).
    Flow: We create report based on locally saved universe. There are couple of scenarios for which error comes
    1) After successfully saving the report, reopen and refresh causes this error (1st error and 2nd)
    2) Droping a properly written variable on measure column, if done Ctrl + Z, report works sometimes (both or 2nd error message)
    3) Draging out the mesaure or dimension from report (only 2nd error)
    Report is simple and no other stuff except the cross tab table
    Even if we start with simply dropping the dimension and measures on report, 2nd error comes at any time.
    What we noticed is that if we do all desiging in structure mode and then run instead of in result mode, reports works for more time.

    You can have a look here:
    Input Controls with Break Error on webi report
    http://www.forumtopics.com/busobj/viewtopic.php?t=60789&postdays=0&postorder=asc&start=45
    Re: internal error occurred while calling the 'submitReport' API.
    I'm Back
    HAPPY NEW YEAR

  • An internal error occured while calling 'processDPCommandsEx' API. (Error: ERR_WIS_30270)

    Hi ALL,
    I am facing a wierd issue while opening/refreshing/broadcasting a webi report.
    The error message scrnshot:
    This error is not throughout the reports, but for specific reports only, when checked the Bex query definition it works fine, but gives error for Webi reports.
    Recently we had upgrade of BO 4.0 SP7 patch 9.
    The reports are directly built on Bex queries, Bex queries contains simple Structures and few CKF's.
    Would be thankful for any help recieved in resolving the above issue.
    Regards,
    Jaywant Kulkarni.

    Hi jaywant,
    Please check the note: 1760827 it may be helpful
    ( An internal error occurred while calling the 'processDPCommands' API. (ERR_WIS_30270) due to some scenarios.
    Scenario 1:
    Error occurs when try to refresh a migrated Web Intelligence report in InfoView, after entering a date or dates for prompts.
    Suggested Solution:
    Modify problematic report in Webi. 
    Change the prompt definition to be a constant, run the report in Webi, and save it. 
    Change the prompt definition back to prompt with required date definition. Make sure you are using the correct date format! (The report prompt should tell you what the format is supposed to be.) Re-run the report in Webi, and save it. 
    Re-open the report in InfoView and refresh.
    Scenario 2:  Error occurs when trying to edit the properties of a Webi report containing merged dimensions.
    Suggested Solution:
    Remove the merged dimensions and then re-establish them.
    Scenario 3:  Error occurs when the InfoView report has been open and idle for a long time.
    Suggested Solution:
    This error can be an indication of a time-out, based on the server’s settings.  Make sure you save your work often.  You will need to close and re-open the report when you get this error, and you may have lost any unsaved changes.

  • An internal error occured while calling 'getBlob' API. (error: ERR_WIS_3027

    Hi Team,
    Please help me in resolving the below error message.
    One of my user is experiencing this when trying to run a report.
    "An internal error occured while calling u2018getBlobu2019 API. (error: ERR_WIS_30270)". I have checked the previous discussion on the same, But I could not get it. Could some one help me as what I can do to resolve this.
    Thanks in Advance
    Mmvihar

    Hi George Pertea,
    Appreciate your prompt response.
    I found a simple solution for this.
    This error message occurs when the TOMCAT server memory exceeds more than 1.3 gb. Hence, restart the TOMCAT server would resolve this issue.
    Here are the steps in detail.
    1. Log into each server through either citrix, remote desktop or mstsc from run command.
    2. Click on task Manager.
    3. Click on process, if you find TOMCAT memory is more than 1.3 gb, come back to CCM and stop tomcat server.
    4. Wait for 20 seconds and then start tomcat server. Check all the remaining servers and do the same
    This resolved the issue.
    Thanks & Regards
    Mmvihar

  • "An internal error occured while calling 'answerPrompts' API.(Error: wis_30

    Hi Gurus
    Getting an error message while running a webi report from infoview link(server:8080/InfoViewApp/logon.jsp)
    as
    "An internal error occured while calling 'answerPrompts' API.(Error: ERR_WIS_30270)
    I found that while selecting refresh checkbox in one of the query which is using .xls file from the local system this is showing above error while running from above link.
    If it is unchecked it is running without any error.
    while running report from webirichclient(where we are developing reports) it is running without any error.
    Thanks in Advance
    Regards
    Ritu Raj

    It seems you are on SP3, and I assume the operating system of the BO server is Windows based.
    Please cross-check that the Excel version you have matches the ODBC driver in the supported platforms document for XI3.1 SP3 [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4079f8f6-2b49-2d10-d790-bc596012dc25]
    Second thing, I would like to see screenshots of what you mean by
    "I found that while selecting refresh checkbox in one of the query which is using .xls file from the local system this is showing above error while running from above link.
    If it is unchecked it is running without any error."
    just to avoid misunderstandings from my side
    Thanks!
    Best regards,
    Simone

  • An internal error occured while calling 'getBlob' API.(Error: ERR_WIS_30270

    Hi,
    I am using BOXI R3.1, when i open a Webi Report & getting one Error:
    An internal error occured while calling 'getBlob' API. (Error: ERR_WIS_30270).
    Do anyone know how to fix error?
    Regards,

    Hi,
    this is an old thread..
    There are a great many potential reasons for this problem.
    I would recommend you use  our Knowledge Base search on SMP - link here:  http://service.sap.com/xsearch
    .. and search for terms :  webi 'getBlob' API
    Also, some information about your Product version and Patch level is requiered.
    Also, any explanation of workflow -  
    does it only happen when opening report? 
    are you using OpenDoc  hyperlink  navigation? 
    Moving between report tabs?   
    Are many Schedules running concurrently at that time ?
    regards,
    H

  • Error Message: An internal error occured while calling 'openDocumentMDP' AP

    Hi,
    I am working on BO XIR3.1,
    we have two acceptence environment and we use the same liscense key for both the environment.
    i am trying to schedule a report in the acceptence environment and my scheduling  is geting failed.
    due to the reason below
    Server Used: XXXXXXXX.AdaptiveJobServer 
    PID:  3444 
    Parent Object Path: Cust Reports/ 
    Remote Instance in Federated Cluster: No 
    Expiry: 2/16/2022 8:59 AM 
    Formats: Web Intelligence 
    Parameters: 
    Error Message: An internal error occured while calling 'openDocumentMDP' API. (Error: ERR_WIS_30270)  .
    it is a very urgent issue ,kindly help me out to solve this issue.

    Thanks Amith,
    You are getting error in all reports or particular report?
    All the reports
    These reports  are migrated from one environment to other?
    No,it was created in the same environment
    what is the BO SP level?
    SP 1
    restart the SIA and then schedule report and see you are getting error or not?
    I had done this ,and i am geting the same error.
    Kindly help me out with a solution.
    Regards
    S.Cyril

  • Error while calling BAPIs for DMS from Portal

    Hi everybody,
    We are developing a portal with Web Dynpro and trying to call from our java code BAPIs that deals with DMS:
    BAPI_DOCUMENT_CREATE2 - to create a new DMS document and checkin an original.
    CVAPI_DOC_CHECKIN - to checkin an original to an existing DMS document.
    CVAPI_DOC_CHECKOUT - to checkout an original from the DMS.
    While using other bapi's that deals with DMS but do not deals with originals (like creating a new document, retrieving metadata about documents and originals) we don't have any problem.
    Only when trying to checkin or checkout originals we get the following message (from the DMS?): RFC_START_PROGRAM
    the full message is: com.sap.aii.proxi.framework.core.BaseProxiException:RFC_START_PROGRAM error key:RFC_ERROR_PROGRAM.
    does anybody knows the meaning of this message?
    by the way - those BAPIs works well while called from the R/3. only when we call them from the portal we have this problem.
    thanks for any information, Adi.

    Hi Adi,
    Right now I have a similar problem. Did you find the cause/solution?

  • Error while calling BAPIs of DMS from Portal

    Hi everybody,
    We are developing a portal with Web Dynpro and trying to call from our java code BAPIs that deals with DMS:
    BAPI_DOCUMENT_CREATE2 - to create a new DMS document and checkin an original.
    CVAPI_DOC_CHECKIN - to checkin an original to an existing DMS document.
    CVAPI_DOC_CHECKOUT - to checkout an original from the DMS.
    While using other bapi's that deals with DMS but do not deals with originals (like creating a new document, retrieving metadata about documents and originals) we don't have any problem.
    Only when trying to checkin or checkout originals we get the following message (from the DMS?): RFC_START_PROGRAM
    the full message is: com.sap.aii.proxi.framework.core.BaseProxiException:RFC_START_PROGRAM error key:RFC_ERROR_PROGRAM.
    does anybody knows the meaning of this message?
    by the way - those BAPIs works well while called from the R/3. only when we call them from the portal we have this problem.
    thanks for any information, Adi.

    Hi Adi,
    Right now I have a similar problem. Did you find the cause/solution?

  • "A technical error during invocation : Could not invoke service reference" Error message while calling a service from BPM

    Hi Experts,
    We are facing a issue while calling a Automated activity from BPM process, the process gets suspended and the BPM logs says "Process XYZ suspended, A technical error during invocation: Could not invoke service reference name fdhueoegghejietyhsjk6886 Component name ABC " We have already checked the mapped service reference and provider system. Gone through the below link, but no help.
    http://http://wiki.scn.sap.com/wiki/display/TechTSG/Sending+a+message+from+SAP+NetWeaver+BPM+process+to+PI+fails+via+automated+activity?original_fqdn=wiki.sdn.sap.com
    Any pointers or suggestions to fix up this issue will be highly appreciated. Thanks in advance.
    Regards,
    Mohit Jaju

    The details/ID in NWDS Service Reference must exactly match the SOA configuration. Sometimes it's possible you have changed the reference or the group itself and something changed to become mismatched.
    It's possible they don't match - but the SG itself will show green in NWA since the service exists and responds on the target system. Does the ID listed in the error match what is shown in the NWDS project?
    regards, Nick

  • Error getting while calling a webService from XI

    Hi
    We are getting the follwoing error while calling a webservice from XI. We Could call the same webservice from XML spy. Have checked the SOAP adapter it was running fine and the communication channel parameters too.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Inbound Message --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code area="MESSAGE">GENERAL</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.MessagingException: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault</SAP:AdditionalText><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack/><SAP:Retry>M</SAP:Retry></SAP:Error>
    Please try to help.
    Thanks
    Ramesh

    Hi
    Thanks a lot for your kind support.
    Hi Moorthy
    We have created one Asyn MI and wrapped the external definition into that, Haven't done any mapping for responce. Please find the trace below.
    Hi Bhavesh
    It was great helpful link but the payload days is not visible for this message it was containing details about sending. For some other message i could see payload.
    I Could see one differnce in the XML Spy and "XI payload before entering SOAP Adapter"
    The following line doesn’t appear in the XI payload.
    <m:StatusUpdate xmlns:m="http://localhost/StatusUpdate" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    </m:StatusUpdate>
    Is this line would be embeded in the SOAP Adapter??? Please find the trace below. Please help me if you have any additional info.
    The message was successfully received by the messaging system. Profile: XI URL: Using connection AFW. Trying to put the message into the receive queue.
    Message successfully put into the queue.
    The message was successfully retrieved from the receive queue.
    The message status set to DLNG.
    Delivering to channel: CC_SOAP_Rcvr_D_Pick_ZALEAUD
    SOAP: request message entering the adapter
    SOAP: completed the processing
    SOAP: response message received 4cb3fab0-7fc5-11db-8c5a-000f203c93e0
    SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
    SOAP: sending a delivery error ack ...
    SOAP: sent a delivery error ack
    Exception caught by adapter framework: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
    Delivery of the message to the application using connection AFW failed, due to: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault.
    The asynchronous message was successfully scheduled to be delivered at Wed Nov 29 16:23:51 GMT 2006.
    The message status set to WAIT.
    Retrying to deliver message to the application. Retry: 1
    Kind Regards
    Ramesh
    Message was edited by:
            Ramesh Reddy Pothireddy

  • SSL error happened while calling a web service on a managed oc4j instance

    While calling a webservice, I got SSL Error: Unrecognized SSL message, plaintext connection? The webservice is deployed on a managed oc4j which is created on a 10.1.3.4 oracle application server. We have SSL certificate installed for http server.
    Any ideas?
    Thanks!

    Hello,
    The error is stating there isn't a descriptor for the Agent class the app is trying to execute a query on. This could be due to improper mappings, but assuming Agent is mapped, is more likely due to a classloader issue. TopLink uses the classloader at login to initialize the descriptors and hash them on the Class objects. If the application uses a different classloader, descriptors will not be found for classes loaded from the new classloader. How are you obtaining sessions, and where is the session being used?
    Best Regards,
    Chris

  • WebI Report Corruption on BI 4.1 SP 1 Patch 7 : An internal error occured while calling 'openDocument' API WIS 30270

    Hi All,
    We are facing some weird WebI report corruption issues.
    Issue is specific to only one report so far. We have seen this issue usually when we save the report to enterprise or do Save as.
    Report gets corrupted at both the places; local and in repository.
    The report have 5 Tabs, 3 queries from same database, Cross Tab,  and approximately
    15 Dimensions and around 500 Measures (From 3 Queries same universe and database)
    Variables: 70 Measures and 10 Dimensions (created on report level)
    Error Message while opening the report:
    This error is generic. however there is no relevant SAP note for this on SMP. Even in trace I could not find much relevant details:
    Please find the logs attached for WebI rich client tool.
    Note: Change the extension of attached file to .zip and then extract
    Thanks
    Satish

    Hi Jen,
    Thank you for the response.
    I am using WebI rich client in offline mode without connecting to CMS; still the working report crashes after making some changes while saving it. (we do refresh reports here)
    Secondly, APS is already split and we have enough resources on the server, which anyways are not being used so far.
    Even in logs do not see any instance for insufficient memory or crashing message.
    Only connection server will come into picture when we use Rich Client all other task will be done be Rich client itself.
    Thanks,
    Satish

  • Error while calling BAPI in BLS(Logic Editor)

    Hi all,
    I am using a RFC(BAPI_OBJCL_CHANGE) in XMLL logic editor. I have configured in SAP JCO interface. While executing that transaction, it shows error like ACTION FAILED: End Action SAPJCOInterface_0 : (SAP JCO Interface).  But, when I try with other BAPI's its working fine. At the same time when I execute the RFC(BAPI_OBJCL_CHANGE) in SAP logon its working fine. What could be the problem?
    Help in this regard, it's urgent.
    Thanks & Regards,
    Hemalatha

    Did you try to execute the BAPI from SAP in BAPI Explorer?  If you are not familiar with the behavior of a particular BAPI, that is a good place to do testing.  By using BAPI Explorer, you have bypassed any impact xMII may have on the execution of the BAPI. 
    Once you have the parameters set correctly there and the BAPI executes without error, then try it in xMII.  A couple of other things to keep in mind.  SAP often adds leading zeroes to various ID's (material, production order, batch, etc.).  BAPI's often do not.  So make sure you know the configuration of the object and check to make sure you have leading zeroes where appropriate.
    Hope this helps,
    Mike
    Also make sure you check the Automatically Commit Transaction since you are performing an action upon SAP rather than simply retrieving information.
    Edited by: Michael Appleby on Feb 11, 2008 4:17 PM

Maybe you are looking for

  • Update CO version 000 for controlling area

    Hi Experts, I need to update the values for CO versión 000 for a new controlling area created in the system. In order to do that I tried to customize in Project System--> Costs --> Create CO Versions. In the tables I choose version 0 but, when access

  • Where to fine software for Youtube viewing

    Hello to all... Does anyone know where I could download the software to view streaming videos of youtube for my 8120 Pearl? I was told when I bought my phone in August that by October I could log on the interent and go to the blackberry site and I co

  • Audio In Troubles

    Hey, quick question. I am just having a horrible time getting my "audio in" to respond. I have read every manual and I just can't get it to respond. What do I do? My interface is an "I-mic", is that the problem? Is it not powerful enough? thank you -

  • Match frame from subclip to original full clip?

    Can anybody tell me if it is possible to match frame from a subclip to the original full clip?  When I match frame from a clip in my timeline that came from a subclip, the subclip loads into the source monitor.  I can't find how to then match frame f

  • Hyperion Webanalysis Error

    Hi, When User opens web analysis Report in work space.The selection date is showing One date and from the filter its showing another date.For Example on the report if date is showing 2012-06-30 but the data reflecting on the report is 2012-05-31.When