Error in function call BAPI_0050_CREATE. Create FM Budgeting Entry document
Hi guys,
I've got runtime error in BAPI-function call BAPI_0050_CREATE for create\release budgeting entry document:
"Number range 01 not found for object BULI_DOCNR in fiscal year 2007"
Function parameters below:
CALL FUNCTION 'BAPI_0050_CREATE'
EXPORTING
header_data = l_wa_header
testrun = ' '
TABLES
item_data = g_it_item_data
return = g_it_return.
l_wa_header-FM_AREA = '2500'
l_wa_header-VERSION = '000'.
l_wa_header-DOCSTATE = '1'.
l_wa_header-PROCESS = 'ENTR'.
l_wa_header-DOCTYPE = '0001'.
l_wa_item_data-BUDTYPE = 'DEBL'.
l_wa_item_data-BUDCAT = '9F'.
l_wa_item_data-ITEM_NUM = '01'.
l_wa_item_data-FISC_YEAR = 2007.
l_wa_item_data-FUNDS_CTR = '2000'.
l_wa_item_data-CMMT_ITEM = 'R10101010'.
l_wa_item_data-TOTAL_AMOUNT = 20000.
l_wa_item_data-DISTKEY = '0'.
l_wa_item_data-TRANS_CURR = 'RUB'.
l_wa_item_data-VALTYPE = 'R1'.
Interval 01 was already created in SPRO-tran for customizing option for FM module (Budgeting)
(000000001 до 99999999) - Create Number Range Interval for Entry Document
Does anybody know correct parameters for BAPI-call or customizing option for Budjeting (FM) ?
ps Sorry, I am not expert in FI-FM-module
Thnx in advance,
Dmitry
It works !
I've performed this function in workbench and got additional help guide for error resolving.
You're right - i've missed initial interval 05 for number ranges 5000000000 to 599999999 for budjeting docs.
But i've got new error message
'Release and budget amounts are inconsistent'
Similar Messages
-
Badi: for user defined fields in Budget Entry Document
HI,
I am implmenting BADI for user defined field in budget entry document definatin name 'FMBW_CUSTOMER' . I have created two fields in include 'CI_FMBH' and also created a sub screen and assign this subscreen to badi. I have called get data and put data methods in PBO and PAI. like this.
<b>
PBO
create object grid1.
CALL METHOD grid1->if_ex_fmbw_customer~get_data_from_screen
importing doc_header = doc_header.</b>
<b>PAI
CALL METHOD grid1->if_ex_fmbw_customer~put_data_to_screen
EXPORTING
doc_header = doc_header
processing_mode = 'CRE'.</b>
But the system is not saving these fields in database.
What could be the problem .Hi, did you have any advance on this issue?
-
Delete preposted budget entry document
Hi Guru's
I am failing to delete preposted budget entry document, if i use transaction code FMBB to delete preposted document the delete functionality is greyed out under document. Is there anyother way to delete the preposted budget documents.
Thank You in advance.
AlfredI don't think this is an authorization issue. I think that the budget entry is posted and therefore cannot be deleted, if you can undo the posted budget entry, then you will be able to delete it.
In the Document Overview window, click on a preposted document to select it. Click on Document on the Menu Bar and then choose Undo. An undone document cannot be recalled. Instead, a new one must be created.
Meta -
Enhance Budget Entry Documents for Commitment Carryforward
Anyone implemented the badi: Enhance Budget Entry Documents for Commitment Carryforward before?
May I know what changes are required in order to ensure that the budget entry documents is in local currency (SGD) when commitment carryforward is in foreign currency (USD)?Hi,
So, you want the budgetary document to be posted in local currency? I don't ask for reasons, though, as you probably know, even if the document is posted in foreign currency, local currency amount would be also there and the AVC would be performed also in local currency. But, if you need to change the currency, you can indeed use this BADI and modify I_BUDGET_ENTRY_DOC_SENDER and I_BUDGET_ENTRY_DOC_RECEIVER parameters, changing the currency and the amount.
I'm not sure about your remark 'change code' as BADI does not come with any code at all. You will have to implement the BADI providing your own code to change the required fields.
Regards,
Eli -
What are the function modules to create a follow on documents for SC
Could any one please tell me What are the function modules ( like PO , Preq ...) to create a follow on documents for Shopping Cart?
Thanks
MuraliMurali,
That depends on what scenario you've got implemented.
Classic scenario: FM BBP_REQREQ_TRANSFER
Extended classic: FM BBP_PD_PO_CREATE
Regards,
Franz -
Budget entry documents with wrong Budget hierarchy doc
Hello Colleagues !
I have this opened question from a customer:
======================================================
Hello!
We have implemented FM- Former management module in SAP Enterprise
system. We have problem with budget documents after budget figures
entering in productive system for 2009 year.
The situation is following:
We have the Funds Center hierarchy (as an example):
T -> T1 -> T17 -> T171
After Budget entry, the budget hierarachy document prepared only for
few Funds center hierarchy levels:
T -> T1 -> T171( see in attached pictures).
The same situation we have also with all others budget documents as well
however the budget structure is performed for all levels and without
errors. As a result we have problems wth our reporting system.
What can we do to repair these documents?
===========================================================
Any hint will be much appreciated
Best Regards,
Vanessa.Ilona:
If I understand your problem correctly, you entered budget in the amount of $100 at the T171 funds center level. The same $100 should appear in T17, T1 and T superior funds centers as well based on your hierarchy. If so, please try this. In the FR04 transaction on the selection screen, enter funds center T (highest funds center level) and your fund information, etc. On the second screen, change the period from 07 to YEAR (scroll to the top of the drop down list). The Distribution Key column should then be visible. You should see the following:
FC AMT DIST KEY
T $100 0
T1 $100 0
T17 $0 0
T171 $100 1
You should be able to change the amount at the T17 level to $100 and change the distribution key to 1 (equal distribution). Use the check (F7) function to ensure that the hierarchy is in balance. If no errors are received, you should be able to post the hierarchy correction.
Edited by: Karen Jobe on Jan 14, 2009 8:44 AM -
Type of Budget Entry document info object
hi
what is info object for Type of Budget Entry documentHi,
Check in following InfoObjects Tables..
RSDIOBJ ---Directory of all InfoObjects
RSDIOBJT ---Texts of InfoObjects
RSDIOBJ ---Directory of all InfoObjects
RSDIOBJT ---Texts of InfoObjects
RSDATRNAV--- Navigation Attributes
RSDATRNAVT--- Navigation Attributes
RSDBCHATR--- Master Data Attributes
RSDCHABAS ---Basic Characteristics (for Characteristics,Time Characteristics, and Units)
RSDCHA--- Characteristics Catalog
RSDDPA-- Data Package Characteristic
RSDIOBJCMP --Dependencies of InfoObjects
RSKYF ---Key Figures
RSDTIM ---Time Characteristics
RSDUNI--- Units
Thanks
Reddy -
Error in function call when passing timestamp as parameter
Hi All,
I have created a function in database "Calulate_Wegs" whcih takes two parameter one "number" and other is "timestamp". I am able to get the output from function when running in database.
But when i tries to call the function in OBIEE as EVALUATE('Calulate_Wegs(%1,%2)' AS INTEGER , Inv_BMM.s_view.Unit_id, CAST (Inv_BMM.s_view.T_date AS TIMESTAMP )) then it throws following error.
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 42015] Cannot function ship the following expression: Evaluate( Calulate_Wegs(%1,%2),D904.c4, cast(D904.c5 as TIMESTAMP ) ) .
I am not getting any clue about this error. Looking for suggestions. Thanks in advance.
Thanks
AshokHi,
I have a similar problem, and the documentation definitely does not help !
The message is :
+State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 42015] Cannot function ship the following expression: Evaluate( MIN(%1) KEEP (DENSE_RANK FIRST ORDER BY %2) OVER (PARTITION BY %3),D903.c3, D903.c4, D903.c5) . (HY000)+
With the expression :
EVALUATE('MIN(%1) KEEP (DENSE_RANK FIRST ORDER BY %2) OVER (PARTITION BY %3)' AS DOUBLE PRECISION , Funds.NAV.NAV, Funds."Time Dimension"."Calendar Date", Funds.Fund."Subfund")
By the way, %2 is not TIMESTAMP, but DATETIME. %1 is DOUBLE and %3 VARCHAR.
If anyone can help ...
Edited by: luxFarenheit on Jul 16, 2009 5:27 PM -
Syntax error in function call through EF6
I'm trying to call a function from an EF6 query but it seems the compiled statement has a syntax error and the DBMS bails out with "ORA-00933: SQL-Befehl wurde nicht korrekt beendet" (SQL statement ends with an inappropriate clause). As far as I understand the Oracle .NET provider compiles E-SQL to SQL for Oracle in the first place, so how come the statement is malformed?
Here's what EF logs for this particular statement:
Opened connection at 26.01.2015 09:46:14 +01:00
SELECT
"Extent1"."Z_AS" AS "Z_AS"
FROM "DEMO_VIVPFLEGEDOKU"."FN_GETASSESMENTCHILDS_AUSMENGE"(:STRFILTER) "Extent1"
-- STRFILTER: '1' (Type = Object)
-- Executing at 26.01.2015 09:46:14 +01:00
-- Failed in 79 ms with error: ORA-00933: SQL-Befehl wurde nicht korrekt beendet
Closed connection at 26.01.2015 09:46:14 +01:00
This is with VS 2013 Update 4, ODP.NET (ODTwithODAC121021 package) and Oracle 12c DBMS.
The function is defined as
create or replace function fn_GetAssesmentChilds_AusMenge(strFilter varchar2)
RETURN TTabOneNumber pipelined
is
IndexEing PLS_INTEGER;
IndexZ_Aus PLS_INTEGER;
Cursor CursorEing is select column_value from TABLE(fn_splitstring( strFilter ));
Cursor CursorAssessCh is select column_value from TABLE(fn_GetAssesmentChilds_AusInt(IndexEing));
BEGIN
open CursorEing;
fetch CursorEing into IndexEing;
while CursorEing%found
loop
open CursorAssessCh;
fetch CursorAssessCh into IndexZ_Aus;
while CursorAssessCh%found
loop
pipe row (IndexZ_Aus);
fetch CursorAssessCh into IndexZ_Aus;
end loop;
close CursorAssessCh;
fetch CursorEing into IndexEing;
end loop;
close CursorEing;
END fn_GetAssesmentChilds_AusMenge;
Here's the sample code for what I'm trying to achieve:
using System;
using System.Linq;
namespace ConsoleApplication17
class Program
static void Main(string[] args)
using (var db = new Entities())
var ids = db.GetAssessmentIds("1")
.Select(r => r.Z_AS);
Console.WriteLine(string.Join(",", ids));
For the sake of completeness, here are the relevant parts from the EDMX:
SSDL
<Function Name="FN_GETASSESMENTCHILDS_AUSMENGE" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="true" ParameterTypeSemantics="AllowImplicitConversion" Schema="DEMO_VIVPFLEGEDOKU">
<Parameter Name="STRFILTER" Type="varchar2" Mode="In" />
<ReturnType>
<CollectionType>
<RowType>
<Property Name="Z_AS" Type="number" Precision="10" Scale="0" />
</RowType>
</CollectionType>
</ReturnType>
</Function>
CSDL
<FunctionImport Name="GetAssessmentIds" ReturnType="Collection(CareDocumentation.fn_GetAssesmentChilds_AusMenge_Result)" IsComposable="true">
<Parameter Name="STRFILTER" Mode="In" Type="String" />
</FunctionImport>
MSL
<FunctionImportMapping FunctionImportName="GetAssessmentIds" FunctionName="CareDocumentation.Store.FN_GETASSESMENTCHILDS_AUSMENGE">
<ResultMapping>
<ComplexTypeMapping TypeName="CareDocumentation.fn_GetAssesmentChilds_AusMenge_Result">
<ScalarProperty Name="Z_AS" ColumnName="Z_AS" />
</ComplexTypeMapping>
</ResultMapping>
</FunctionImportMapping>
Return type:
<ComplexType Name="fn_GetAssesmentChilds_AusMenge_Result">
<Property Name="Z_AS" Type="Int32" />
</ComplexType>
Any ideas as to what is going on here?Hello Thanvi
It seems that you need to apply the OSS note 1041283:
FUNCTION cacs_bupa_pai_special_cacsb1.
*"*"Lokale Schnittstelle:
DATA: lt_but0bk TYPE TABLE OF but0bk WITH HEADER LINE.
CALL FUNCTION 'BUP_BUPA_BUT0BK_GET'
TABLES
t_but0bk = lt_but0bk.
* einmal vorhanden -> nehmen; nicht vorhanden -> Feld muss leer sein
* mehrmals vorhanden -> Mussfeld
READ TABLE lt_but0bk INDEX 2.
IF sy-subrc NE 0.
* READ TABLE lt_but0bk. "NOTE 1041283 " <<<<<<<<<
READ TABLE lt_but0bk FROM lt_but0bk. " <<<<<<<<<
IF sy-subrc = 0.
cacs_s_bupaw-bank_id = lt_but0bk-bkvid.
ENDIF.
ELSE.
Regards
Uwe -
ORA-02069: global_names parameter must be set to TRUE for this operation
I am getting the following error when I am trying to invoke a user defined function through my sql statement .The function has been declared as DETERMINISTIC .The moment i set it to true , i get another error
.i.e.
ORA-02085:
: database link *****PRD connects to ******TEST -
Javascript error on function call MVThemeBasedFOI
I am getting a javascript error Error(36,55): This attribute is not recognized. in the below code line highlighted in bold, what is going wrong. I am using JDeveloper and Mapviewer 11g. Please suggest
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:trh="http://myfaces.apache.org/trinidad/html"
xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
xmlns:af="http://xmlns.oracle.com/adf/faces"
xmlns:tr="http://myfaces.apache.org/trinidad">
<jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<trh:html>
<trh:head title="map">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
<trh:script source="/jslib/oraclemaps.js"></trh:script>
<trh:script text='
var baseURL = "http://"+document.location.host+"/mapviewer";
var mapCenterLon = 145.07;
var mapCenterLat = -37.57;
var mapZoom = 1;
function showMap() {
var mapview = new MVMapView(document.getElementById("map"), baseURL);
mapview.addMapTileLayer(new MVMapTileLayer("gis_data.AV_VICMAP"));
mapview.setCenter(MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,4283));
mapview.setZoomLevel(mapZoom);
mapview.addNavigationPanel("WEST");
addThemeBasedFOI();
mapview.display();
function addThemeBasedFOI() {
var themebasedfoi1 = new MVThemeBasedFOI('themebasedfoi1','gis_data.geom_avl_rural_lastknown'); mapview.addThemeBasedFOI(themebasedfoi1);
}'></trh:script>
</trh:head>
<trh:body onload="javascript:showMap()">
<h:form>
<tr:panelPage>
<f:facet name="navigation1"/>
<f:facet name="navigationGlobal"/>
<f:facet name="branding">
<tr:outputText value="Oracle Maps"/>
</f:facet>
<!--TODO: Migrator from ADF Faces 10.1.3 to Trinidad removed the following node and its contents since it does not exist in Trinidad anymore
<f:facet name="brandingApp" />
-->
<f:facet name="appCopyright"/>
<f:facet name="appPrivacy"/>
<f:facet name="appAbout"/>
<f:verbatim>
<div id="map"
style="width:800.0px; height:600.0px; background-color:rgb(255,255,255); border-width:thin; border-color:rgb(99,99,255); border-style:solid;"/>
</f:verbatim>
</tr:panelPage>
</h:form>
</trh:body>
</trh:html>
</f:view>
</jsp:root>
ThanksTry use another name of FOI. Not the same as FOI var
-
JavaScript errors at function calls to "top" (e.g. team room or wpc editor)
Hi all,
formerly I run into problems when I tried to embed a team room into the content area of the NW portal.
Now I have a similar problem with the WPC page editor.
In both cases I get JavaScript errors, because the navigation calls a "top" element, which seems to be overwritten by the portal frameworkpage.
Is there any possibility to isolate these elements in a way that allows to embed them into the content area of the portal without these errors?
Or is it only possible to open them in a new window?
Regards, JosefHi priya,
Not sure: check syntax in your Update Roules, also at level of start routine.
Ciao.
Riccardo. -
Upgrade error in Function call
Hi Firends,
I am working in a upgrade to ECC6.0 project. The following statement is shown in UNICODE as an error:
PERFORM GET_FRAME_TITLE(SAPDBBRF) USING &1 TS_TEXT&1. " 4.6A
But there is no error when we verify the syntax. How do we replace this statement, please suggest.
Rgds
KishoreHi Kishore,
In Unicode only '_' will be accepted for the varible names, not any special characters.
TEXT_20 is correct variable name
TEXT &1 is error in unicode.This error will not shown in Syntax.Hope this will help you
Regards,
Narendra.Somarouthu -
Hi guys
Someone know a BAPI for creating/changing/deleting Budget/PEP.
Best RegardsGo to SE37->F4-> Short Description "Budget" , number of entries = 9999999->
You`ll get Fms ....
E,g
BAPI_0050_CREATE Create FM Budgeting Entry document
BAPI_0051_UPDATE
BAPI_0050_REVERSE
GM_RMBDGT_RECORD_CREATE GM-RM: Create Budget Document Record
RH_PM_BUDGET_DELETE
HRCM_BTDB_BUDGET_DELETE
RH_PM_DELETE_INTEGRATED_BUDGET
RH_PM_BUDGET_CREATE
HRCM_BTDB_BUDGET_CREATE
RH_PM_CREATE_BUDGET_PURPOSE
RH_PM_CREATE_INTEGRATED_BUDGET
RH_PM_CREATE_INT_BUDGET_NAME
Hope thisll give you idea!!
<b>P.S award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise" -
Function call in SAP GUI with errors
Dear All,
When i am calling FM of Comports using OLE Integration i got " Function call in SAP GUI with errors" error
now my front end version is 6.40. how to solved this problem.
In my Function Module i am creating object like this
CREATE OBJECT O_OBJ 'MSCOMMLib.MSComm.1'.
IF SY-SUBRC <> 0.
RAISE NO_CREATE_OBJECT.
ENDIF.
it raised the sy-subrc = 2 this error is "Function call in SAP GUI with errors"
send to me how to handle this error.
Thank,
Vijay.gHi Vijay,
We are facing the same issue.
Interestingly
From program's code only we are facing this issue.
If we display the program and Execute (Direct processing), it is working fine.
Can you please share how you resolved this issue.
Thanks
Sreedhar
Maybe you are looking for
-
Greetings all, I am needing assistance in how to lockdown access to Local Computer Management and Windows Backup via Group Policy for users that access RDS service. I have followed this awesome guide - h t t p://w w w.it.ltsoy.com/windows/lock-down-r
-
Can I change the frame/picture that is shown for a movie put into iWeb?
I have a transitions (fading in from black) in a movie that I brought into an iWeb page. The picture on the iWeb page is completely black, since that is the first frame of the movie. Is there a way to change this so I can select another frame to be t
-
SharePoint 2013: Edition requirement for multi tier setup.
Dear all, I am planning to setup a high availability 3-tier SharePoint farm. My question is which edition of SharePoint 2013 should i purchase? Standard version or enterprise version? My requirement is just a simple document management system. Any he
-
Third-party tools for solution manager
Hi all, Im new for solution manager a i just want to know whats SM tools and whats the third-party tools integrate and interface with SAP Solution Manager and if will be more third party tools?? ( Whats the add on tools SM have??) regards Tim
-
Lors de l 'enregistrement de diporama , renvoi du message d'erreur suivant WMF a rencontré un problème ,et n'enregistre pas le diaporama . Je suis sous Windows 7 64 bits edition familiale premium Cette anomalie est apparu aprés un bon fonctionne