Error while using bapi BAPI_INCOMINGINVOICE_CREATE to post MIRO
Hi Friends,
Im using bapi BAPI_INCOMINGINVOICE_CREATE to post MIRO.
im passing data to table GLACCOUNTDATA.
Below are the table fields im paasing
INVOICE_DOC_ITEM " '000001' deafault always
GL_ACCOUNT "Which is constant for all in my case
ITEM_AMOUNT " Total PO net amt + Frieght charges header level
DB_CR_IND " 'S' always default
COMP_CODE " 'RPPL' always default
TAX_CODE " 'V0' deafault always
PROFIT_CTR " for ex 1100180. based on plant
While posting this bapi is trhrowing error as below
'profit centre RPPL/1100180 does not exist for 01.12.2008'
where 01.12.2008 is the MIRO posting date which im passing in header.
We checked dates for profit centres they are correct.
Awaiting the reply ASAP.
Regards,
Venky
Hi,
It would be better if you do a recheck on data input for BAPI. If you sure the data are ok but the BAPI still gives error message, then I suggest to post to OSS.
Regards,
Teddy Kurniawan
Similar Messages
-
Error while using BAPIs that deals with DMS
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.Hello,
BTW, You have BAPIs for Doc. checkin and checkout.
BAPI_DOCUMENT_CHECKIN
BAPI_DOCUMENT_CHECKIN2
BAPI_DOCUMENT_CHECKOUTSET
BAPI_DOCUMENT_CHECKOUTSET2
Can you use these and give a try?
You have a detailed documentation maintained for these BAPIs.
Hope this helps you.
Best Regards, Murugesh AS -
Error while using BAPI to create Goods Receipt Document
Hello All,
While using the bapi BAPI_GOODSMVT_CREATE to create Goods receipt document ,the following error is encountered:-
Error Message:FOR OBJECT XABBELEGNR,NUMBER RANGE INTERVAL DOES NOT EXIST OM36.
Do we need to create a number range object ??If yes,how and where to create ?
Thanks,
Deepti.Hi Deepti!
There is only a valid interval missing, not the whole object.
Maintenance can be done via transaction SNRO, enter your object XABBELEGNR in entry screen. (Alternatively use transaction OMJ6).
Push button 'Number Ranges' and 'Change Intervals'. Here you can define an interval.
Regards,
Christian -
Error while using BAPI BAPI_GOODSMVT_CREATE for Momvent type 321
Hi Guys,
We trying to transfer material from Inspection to Un.Stock by using momvent type 321...In SAP we do QVM1 and do stock postion.
We are using BAPI BAPI_GOODSMVT_CREATE getting this error " E QA 495 Change the inspection stock of material 11036125 in QM only".
Any one have any idea how to overcome this issue.
AtulHi Sachin,
Pass the Item Number of Reservation to GOODSMVT_ITEM-RES_ITEM .
Regards
DKS -
Error while using BAPI for F-47 posting.
Hi,
I am using the BAPI - 'BAPI_ACC_DOCUMENT_POST' to do a Down Payment Request Posting (F-47).
Since this is a single line posting, BTE RWBAPI01 was implemented as given in the below link.
[Re: BAPI or Function Module for F-47 (Down payment request)]
Inside the BAPI i have passed details in tables :account payable , currency amount & extension1.
However i get the error " Balance in transaction currency".
Please let me know if i need to pass any other details. Also what is the exact data that needs to be passed to extension table?
Thanks,
Meerahi ,
check this threads
Check these threads
Balance in transaction currency
Balance in Transaction Currency
error in Balance in transaction currency
error in Balance in transaction currency
Balance in Transaction Currency
Balance in transaction currency
if this could help .
Regards
Deepak.
Edited by: Deepak Dhamat on Oct 19, 2010 11:21 AM -
Getting error while using BAPI 'BAPI_GOODSMVT_CREATE'
Hi,
I am using the BAPI 'BAPI_GOODSMVT_CREATE' in program for goods issue i.e code 03.I am providing all details. the quatity is in KG and i am also providing ISO code i.e KGM but still getting error that Deficit of BA Unrestricted-use 32,900 KG .what would be the problem.Hi There,
Please check if the PO in question has GR-based IV set to active. In this case please refer to the SAP note 109396 which explains how the IDoc segment has to be filled in order for the posting be successful. The IDoc has to be filled as described in the note when try to post with this particular constellation (i.e. GR-based IV active, more than one goods receipt for the line item, first goods receipt already reversed). Normally when posting in dialog the user has to choose the correct line item to reverse. In the case of IDoc/BAPI processing this is not possible so these particular fields have to be filled at the interface so that the system finds the correct document to reverse.
I hope this helps,
Best Regards,
Elaine. -
Getting error while Using BAPI Interface in VB
Hi,
I m getting error message while creating object of SAP.BAPI.1
Error message is "out of memory : run time error 7".
do I need to install any patch to my local PC? If yes then from where could i get that patch.
Plz help me out.
Thanks & Regards,
SagarHi Sagar,
Please varify the version of SAP client you use. I have noticed that this error with SAP Frontend Package 6.20, and was able to over come the follwing issue by upgrading to the SAP Frontend Package 6.40.
Regards,
Randima -
Error while using BAPI AMDP_BAPI_CALL_ON_TRANSFER
Hi,
I am using the BAPI AMDP_BAPI_CALL_ON_TRANSFER for inter company asset posting.
The sy-subrc is zero but the return table(bapiret2) is empty and is not returning any values.
Please advise what can be the possible reason for this and how to rectify this.
Please help
Regards,
Pooja.hii
check whether you are passing on the right parameters.Check the bapi documentation properly. Hope this helps.
regards -
Getting an error while using BAPI for data upload using FB50
Hi,
Can someone please help with the error below :
To Upload Data Using FB50 , am using 'BAPI_ACC_DOCUMENT_POST' FM
and passing values as
obj_type = REACI
obj_KEY = '$'
obj_sys = t000-logsys
getting errors errors in return as
'Error in document: REACI $ R3_AFRICA
G/L account 2511510 is not defined in chart of accounts CSGP(though the account exists in the COA)
Control indicators for controlling area EU01 do not exist'.(we have not input any indicators)
ThanksControl indicators for controlling area (t-code OKKP ) is a primary configuration before the company is set to production. Here we maintain which sub areas of controlling are activated. Have a look at those settings.
Check the validity of the accounts/cost element in the KA03 to ensure the cost element is valid on the date of transaction.
What is the error message number? -
Getting the error while using bapi 'BAPI_PROJECTDEF_UPDATE'.
Hi,
All
To fulfill a requirement of project definition update in PS module, I have been trying with bapi 'BAPI_PROJECTDEF_UPDATE' , but I am getting the error like 'The external key is not compatible with the internal key'.
Following are the details of my source code:
CALL FUNCTION 'BAPI_PS_INITIALIZATION'
data: ls_def_strucure LIKE BAPI_PROJECT_DEFINITION,
ls_def_update LIKE BAPI_PROJECT_DEFINITION_UP,
ls_error like bapireturn1.
ls_def_strucure-PROJECT_DEFINITION = '11011'.
ls_def_strucure-DESCRIPTION = 'Indian Metro Updated by BAPI'.
ls_def_update-DESCRIPTION = 'X'.
CALL FUNCTION 'BAPI_PROJECTDEF_UPDATE'
EXPORTING
currentexternalproje = '11011' " Project Definition
currentinternalproje = '11011'
project_definition_stru = ls_def_strucure
project_definition_up = ls_def_update
IMPORTING
RETURN = ls_error
* TABLES
* E_MESSAGE_TABLE =
CALL FUNCTION 'BAPI_PS_PRECOMMIT'.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
I have tried with 'BAPI_PROJECT_MAINTAIN' ,but there I am not getting any idea to usage of this bapi.
please help me if you have any solution for this problem.
Thanks in advanced.Thanks for your quick reply
Actually i have a requirement to update the Project definition and other Project elements like WBS, Network , Activities and Milestone. I referred several documents and came to know that 'BAPI_PROJECT_MAINTAIN' can perform these all update tasks. But tried with that bapi but got the error. First help me please if you have any idea about this BAPI .
Coming to BAPI_PROJECTDEF_UPDATE I got the error like Internal and exrternal keys are not type compatible with each other.
So , do you have any idea what would be the exact value of these two parameters. -
Posting Subsequent Credit Using BAPI: BAPI_INCOMINGINVOICE_CREATE
Hi,
I need to post subsequent credits using BAPI: BAPI_INCOMINGINVOICE_CREATE.
In MIRO transaction we get option to select transaction (Invoice/Credit Memo/Subsequent Debit/Subsequent Credit).
But in case of BAPI I am not able to find such field. At headerdata there is one field INVOIC_IND to determine whether the system posts a credit memo or an invoice.
How can we post Subsequent Credit using this BAPI?
Regards,
UmeshHi,
For the BAPI below is the structure mapping.
<b>BAPI Structurename Field Value Value Description
Headerdata</b>
DOC_DATE 02/08/2005
INVOICE_IND X Post Invoice
PSTNG_DATE 02/08/2005
COMP_CODE 5010 Hospira Inc.
CURRENCY/ CURRENCY_ISO USD United States Dollar
GROSS_AMOUNT 100.0000
DOC_TYPE RE PO Invoice
REF_DOC_NO 1 Billing document no
EXCH_RATE 1.00000
CALC_TAX_IND X
HEADER_TXT header text
<b>Item Data</b>
INVOICE_DOC_ITEM 000001 Invoice Document no
PO_NUMBER 4500125768 PO No
PO_ITEM 1 PO item no
ITEM_AMOUNT 100.0000
QUANTITY 10.000
PO_UNIT EA Each
REF_DOC 5000000007 Goods Receipt No
REF_DOC_YEAR 2005 GR year
REF_DOC_IT 0001 Goods Receipt item no
TAX_CODE I0 AP, not relevant to tax
ITEM_TEXT Text
<b>Note:</b>For standard purchase order(Po's start with 45*****) it wont allow you to create without Goods Receipt. U can create an invoice without a Good receipt for only intercompany purchase orders.
If this is useful, pls reward with points.
Regards,
savitha -
I have create Logic App under Azure App Services, I am getting
error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure.
Following are the screen shots:
Login App Connector Diagram:
hemaMarking as answered since no response on request for more information - assuming that you found what was wrong in the inputs. Let us know if you're still having trouble.
http://twitter.com/joshtwist -
How to post invoice parked using BAPI- BAPI_INCOMINGINVOICE_CREATE
Hi all,
Can anybody help me with the following scenario:
I am parking Invoice document using BAPI: <b>BAPI_INCOMINGINVOICE_PARK</b>. It gives me a document no. which I can see in frontend system also by committing the BAPI.
But when I try to post the same using BAPI: <b>BAPI_INCOMINGINVOICE_CREATE</b> , It gives me a different document no.
Means it is not posting the document which has been parked earlier but it is creating totally a new document. Can anybody tell me using BAPIs how to post the same document that I had parked using BAPI: <b>BAPI_INCOMINGINVOICE_PARK</b>??
Thanks
SaurabhHi Shraman,
For a requirement for Intercompany GL posting, use BAPI_ACC_DOCUMENT_POST for standard posting with some advanced parameters
In Header of the BAPI, pass the hardcoded values like
DOCUMENTHEADER
OBJ_TYPE = FKKSU
OBJ_KEY = $
OBJ_SYS = System name
BUS_ACT = RFBU
Other parameters you can pass in Header is:
USERNAME
HEADER_TXT
COMP_CODE
DOC_DATE
PSTNG_DATE
TRANS_DATE
FISC_YEAR
FIS_PERIOD
DOC_TYPE
REF_DOC_NO
If you are posting a document in cross-companies 1000 & 1001, you need to pass cost-center with the line item. That is the mandatory field.
Thanks,
Guru -
Error while using XML Iview, please contact your system administrator.
Hello everybody,
I have already posted a detailed message for the XML iview problem sometime back but havent got any reply so far. All the replies had come from users who are also facing the same problem. I am trying to use a XML iview for fetching RSS feeds from one of the internet source, i have entered the proper URL and selected the proper RSS to XHTMLB transformer also and have entered the proxy settings in the http service and enabled it and restarted it also, but again when i am previewing the Iview its giving me the error <b>"Error while using XML Iview, please contact your system administrator."</b>. I am using
Area Version
J2EE Engine 6.40 PatchLevel 98256.313
Portal 6.0.14.0.0
, can someone tell me whether its a bug in sp14 or i am missing something while creating this XML Iview. Expecting a proper reply.
Thanks in advance,
Regards,
Sarabjeet.Hi Sarabjeet,
The XML iView uses server-side fetching, so if you are having problems with a regular URL iView in server-side fetching mode, so the problem with the XML iVIew probably has to do with the proxy settings.
And since you got a 407 error, it seems there is an issue with proxy settings or the proxy server, as mentioned in this description of 407 error:
The HTTP 407 code only applies to users who are accessing the Internet behind a proxy server. This is common in government and corporate workplaces. The 407 code indicates that your computer must first authenticate itself with your company's proxy server. Check with your IT department or computer support group as to the exact reason why you may be getting this error. It may be possible that the proxy server does not allow downloads of specific files (exe, cab, com). You can also verify that your proxy server settings are valid.
I will check if I can find out any more specific info.
Daniel -
Error while using soap adapter in webservice to sap system scenario
Hi everybody,
i got the error while using saop adapter in scenario(sender webservice----->sap system)
error is
HTTP error:couldnot post file
'/XISOAPAdapter/MessageServlet:Channel=:BS1:SPA.&
version+3.0&sender.Service=BS1&interface=http%3ASP%5OUTBOUND'on server 'XI03'(500)check with ur basis people
Maybe you are looking for
-
Can't scan from M1536dnf after reformatting computers
After formatting two computers in our office they can no longer scan from our M1536dnf, which is connected via Ethernet to our local network. The error message says "Scanner communication cannot be established. Ensure your product is powered on, chec
-
When my delegates are filling in a event form i have put together, a large number of them forget to change either the month or year on the date field. Is there a way to have a date field that has drop down boxes for day, month and year so they have t
-
CS SDK/CS Extension Builder
Fellow Scripters, Ten years ago, I started this forum to write about InDesign scripting. These days, the forum pretty much runs itself, thanks to an incredible group of scripters who donate their time to answering questions and posting their discover
-
Hi, I want to integrate cProjects with PS and transfer the data at the time of "Release" of cProjects. May I know what steps I need to take to replicate the cProjects data in PS. I have already chosen transfer during "Release" in cProjects in the pro
-
Appointment added in iphone do not appears in iCal on Mac
When I add some events in iphone and sync it with Leopard there is no this event in my ical program. But if event was added on Mac it perfectly sync into iphone. Also I had problems with duplicated birthday's, but it was successfully solved here http