Post invoice - events created?
hi,
does anyone know which events are created if I post invoices with batch-input (fb60)? Is there any events created?
background:
I post IDoc-invoices with batch-input (call transaction 'fb60' using bdcdata...) and must update the IDoc after I post the invoice, so I need response from 'FB60'.
thanks
markus s.
Hi Markus,
If you are using call transaction, you could use messages into xxx to collect the messages that were produced by the transaction.
In the returned table, you can then look for the messages that are of interest for you. Example: message F5 312 means: document has been posted with document number &. So if you find the message F5 312 in the table, the document has been posted and in message variable 1, you will find the document number.
Hope this helps, kind regards, Kathrin!
Similar Messages
-
Runtime error in MIRO posting invoice for SES's created in CATS
Hi Gurus,
We are having an issue when posting invoices in MIRO referred to SES created in CATS.
It always took much longer the system to process those SES created via CATS than those from the standard MM (ML81...) but the situation today is so critical that we can not pay the vendors for which SES are created via CATS. Runtime error is obtained when trying to post a SES for 900$ value.
This problem does not happen in our integrating/testing system.
Do you have any idea why this is happening?
thanks to everyone in advance,
VLHi,
have you searched for notes with the runtime error details?
Has also a short dump occured (transaction ST22) ? Please give more detail information.
Regards,
Edit -
Post Process Event Handler ----Unique Constraint Violation--Create User
Hi Evryone..
I am creating the user using the create user request template and there is one level of approval for this.
I have one pre process event handler which populates one field A and one post process event handler which updates some 3 fields in the user form .
In request template itself we had placed value as "ABC" for field B and this field B will be overridden in the post process event handler with Value as "XYZ" .
Now when i raise the request the user is getting created in OIM but the value XYZ is not getting replaced in the field B.
Below are the errors which i got in the logs while executing post process event handler :
<Mar 28, 2012 10:25:58 AM CDT> <Warning> <oracle.iam.callbacks.common> <IAM-2030146> <[CALLBACKMSG] Are applicable policies present for this async eventhandler ? : false>
<Mar 28, 2012 10:25:59 AM CDT> <Warning> <org.eclipse.persistence.session.oim> <BEA-000000> <
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.1.3.v20110304-r9073): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UK_UAR_ATTR_NAME_VALUE) violated
Error Code: 1
Call: INSERT INTO USR_ATTRIBUTE_RESERVATIONS (UAR_RESERVATION_KEY, UAR_ATTRIBUTE_NAME, CREATED_BY, CREATED_ON, DATA_LEVEL, UAR_REQUEST_ID, UAR_RESERVED_VALUE, UPDATED_BY, UPDATED_ON) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
bind => [10, User Login, null, null, null, 10, DUMMY14, null, null]
Query: InsertObjectQuery([email protected]658269)
Exception at usrIntf.updateUser IAM-3050128 : Cannot reserve user attribute User Login with value DUMMY14 in OIMDB. Corresponding request ID is 10.:User Login:DUMMY14:10
I checked reservations table and there are no records in that table.
Has any one faced this issue..if so how it can be resolved..Are you trying to update the User ID? As far as I know during create user requests, OIM reserves the user login as it goes through approval and you cannot update that directly I think. I haven't tried it but can you tell me which fields you are prepopulating and which are you updating? Are there any OOTB fields in this or UDF?
-Bikash -
Split the posting amount while creating invoice through EDI.
Hi All,
We receive invoice via an IDOC and is processed using function moudle INPUT_IDOC_INVOICE_MRM. When the invoice gets created and the amounts get posted. In the accounting document that got created, I need to split the amount to specific accounts.
Does anyone have an idea about the solution that could be used?
Thanks in advance. Points after the replies.
Regards,
Ashutosh.Hello Ashutosh
For Logistics Invoice verification the accounts are determined by account determination configuration set in your system...
Please check with your MM/Fi consultant. Please chk transactions like OBYC .. should give you an idea...
Regards,
Arun -
OIM 11g - ldap sync - Post Process event handler 'CREATE' faillling
Hi Gurus,
We have ldap sync set up between OIM 11.1.1.5 and ODSEE 11g,
Post process event handler on user creation with is setting a attribute with random 16 digit character, This event handler is getting triggered and setting the attribute in OIM but in logs i can see "Modification failed because user 45118 is not synchronized to the LDAP directory." error and it is not updated in ODSEE.
This behaviour is only for trusted recon not for the User created through UI.
Not sure what exactly is happening..
Is it expected behavior??
Gurus help me out on this.IF it fail because event handler unable to produce random number then verify below
is eventhandler code being executed in trusted recon verify in log.
There are two method execute and bulk execute in eventhandler. execute is being called from UI and bulk execute is being called for trusted recon.
either put code in bulk execute or update batch recon size something like that system property to 1. so, it will function as UI. Default value of batch is 500
--nayan -
Hi,
could someone help me, which event can I test for information, that new invoice was created from module invoice?
I want to call some process after creating new invoice and i don`t know, how find out that the invoice is created.
thx
PetrHi Vishnu,
i tried code
If pVal.Before_Action = False And pVal.Action_Success = True Then
.. code
End If
but this condition isn`t the right, because these conditions are ok not only for adding invoice, but for loaded form and so on. Do you have any idea, what is in the condition missing?
thx
Petr -
Event to identify if an invoice is created
Hi,
I have a scenario where i want to send a notification when an invoice is created for a sales order. I checked the Change Document but i could not find an event when creating an invoice from a sales order.
Is there a way I can get an event and can code against it to send the notification?
Regards,
VenuIn standard, for billing output, routine 62 would be assigned which would trigger the required output once a billing document is saved. So you can validate the required logic in Include LV61B062
G. Lakshmipathi -
Deferred tax: Post invoice and payment separately $1" Message no. DEFTAX020
while reversing a document thru FB08, it is giving the error message,
" Deferred tax: Post invoice and payment separately $1" Message no. DEFTAX020.
This is a stand alone invoice document , without any clearing document. What is to be done ?
Below is the snapshot of FB03:-
Document Number 2256162 Company Code MLTD Fiscal Year 2009
Document Date 24.05.2010 Posting Date 25.05.2010 Period 11
Reference PYX/10-11/032 Cross-CC no.
Currency INR Texts exist
Itm PK BusA Acct no. Description Tx Amount in INR
001 31 U106 503551 PYXIS SYSTEMS PVT.LTD. DD 55,150.00-
002 40 COMM 5656 Membership & Subscri DD 50,000.00
003 40 1371 Service Tax Availed DD 5,000.00
004 40 1372 Ecess on ST Availed DD 100.00
005 40 1373 S&H Ecess on ST Avai DD 50.00
Document Type I2 VEMDOR INV-CORPORATE
Doc.Header Text PYXIS SYS.P.LTD.
Branch number Number of Pages 0
Reference PYX/10-11/032 Document Date 24.05.2010
Posting Date 25.05.2010
Currency INR Posting Period 11 / 2009
Ref. Transactn BKPF Accounting document
Reference key 0002256162MLTD2009 Log.System MALCLNT999
Entered by NITINRB Parked by
Entry Date 25.05.2010 Time of Entry 13:05:08
TCode FBR2
Changed on Last update
Ledger Grp Ledger
Ref.key(head) 1 Ref.key 2Hi,
Check whether OSS note 913805 (see below) offers a solution to your particular issue.
Kind regards, Robert
Note 913805 - Error FF891 or DEFTAX025 when posting FI-Documents Version: 5
Summary
Symptom
The posting of FI-documents cannot be executed due to one of the following error messages:
FF 890 "Vendor and customer items in document with deferred taxes"
FF 891 "G/L account item without tax code in document with deferred taxes"
FF 892 "Error writing to table DEFTAX_ITEM"
DEFTAX 025 (no specific text)
Also update terminations and other errors which are related to function group TAX4 may be the topic of this note.
Other terms
RFUMSV25; RFUMSV50; VAT; deferred tax; BTE; DEFTAX_ITEM; TAX4; SAPSQL_ARRAY_INSERT_DUPREC; FI_POST_DEFTAX_ITEM; FF891; FF890; FF892; FF804; 00 671; FF099; DEFTAX020; DEFTAX021; DEFTAX022; DEFTAX023; DEFTAX025; DEFTAX012; DEFTAX_MX027; DEFTAX_MX047; DEFTAX_MX039; DEFTAX; DEFTAX_MX;
Reason and Prerequisites
Accidentally some business transaction events (BTE) for the new solution for deferred tax were delivered in an active state in support packages of SAP releases 4.70 and ERP 2004. The solution is available in the SAP-Standard only from release ERP 2005. Also in ERP 2005 the new deferred tax can cause problems in countries for which the solution is not released.
These BTEs perform strict tests for documents containing tax codes for deferred tax.
Solution
If you are using the old deferred tax, i.e. you use report RFUMSV25 to create transfer postings, you can safely deactivate these BTEs.
Remove the following BTEs:
00001025 DI-TAX CREATE_DEFTAX_ITEM
00001030 DI-TAX SET_DEFTAX_ITEM
00001040 DI-TAX CREATE_DEFTAX_ITEM_REVERS
00001050 DI-TAX CREATE_DEFTAX_ITEM_MR1M
In ERP 2005 (ECC 600) the application key is 'FI-TAX' instead of the above mentioned 'DI-TAX'.
To do this start transaction FIBF
-> Settings
-> P/S Modules
...of an SAP Application
Mark the entries from the list above and delete them.
This deactivates the functionality of 'new deferred tax' for all company codes in all clients on the system. This means that no data is written to table deftax_item at posting time. Report RFUMSV50 can still be started, but it will not process new documents any more.
If in ERP 2005 problems arise in one country but the new deferred tax is used in another country you must not deactivate the BTEs completely. In this case it is possible to restrict the BTEs to be active only in certain countries using the column 'country' in transaction FIBF.
Header Data
Release Status: Released for Customer
Released on: 16.01.2008 20:12:15
Master Language: English
Priority: Correction with medium priority
Category: Program error
Primary Component: FI-GL-GL-F Value Added Tax (VAT)
Affected Releases
Software Component Release From Release ToRelease And subsequent
SAP_APPL 46C 46C 46C
SAP_APPL 470 470 470
SAP_APPL 500 500 500
SAP_APPL 600 600 600
SAP_APPL 602 602 602
SAP_APPL 603 603 603
SAP_APPL 604 604 604
Related Notes
771319 - RFUMSV50: Documentation
Edited by: Robert North on May 26, 2010 11:49 AM
Edited by: Robert North on May 26, 2010 11:50 AM -
Error while posting Invoice verifycation
Dear All..
At the time of posting invoice verifycation in miro for service order .The error is coming "No business area in the line item please check" But in that line item business area already mentioned.
Please resolve this problem.
Usefull answers will be rewarded.
REgards
Kumarhi,
T.code:OMJ7, link plant and division to your business area...
In Service Master enter division while creating with AC03 t.code.
Note:In T.code OX03 - Create the new Business Area
hope it helps..
Regards
Priyanka.P -
Disable 'Delete' button for posted invoices in GOS Attachment List
Hi,
when i open the attachement list of a generic object i see the attached files. In this dialog i want to disable the "Delete" ( attachment) button for Posted invoices ( In MIR4 tcode -> If the invoice is already posted it should not allow to delete the attachment )
I read oss notes and some ides of copying diverse classes but nothing really helps.
I found two badis
GOS_SRV_REQUEST
GOS_SRV_SELECT
but i dont know where we have to write our code .
I read so many posts related to attachments but all the places described about authoriztion object .
Can you please give some ideas to disable the delete button for posted invoices.Hello,
For GOS there is no SAP Standard authorization concept. The only way to
manage GOS authorizations is implementing it via custom code as
described in SAP Note: 491271.
Please have a look at the SAP notes:
491271 Authorizations for generic object services
701609 Authorizations for services: Final classes
For the use of S_OC_ROLE: this object states if a user is an office
administrator he can create, modify or delete every document, even
those created by other users. If the user is not an office admin, the
user is still able to create his own attachments.
Regarding to the issue, there is an role object S_GUI for upload.
To match your inquiry, pleaes find the user's role and active the
object S_GUI.
Regards,
David -
Asset in incomplete while posting invoice MIRO
Hi All,
I have raised an P.O with account assignment 'A' P.O has created but while posting invoice through t.code Miro i am getting the error 'asset co.code xxxx asset no.xxxxxx is incomplete.
let me know were i need to check.Hi Ganee,
The asset for which you are doing MIRO, the error might be due to the following reasons:
1. Check the depreciation Key.
2. Check the Account Determinations (Ao90)
You can do resolve your error.
Regards
VG -
Hi,
Products
OIM 11.1.1.5 BP02
OAM 11.1.1.5
OID 11.1.1.5
Problem
I have written a post-process event handler which fires when a role is assigned to a user. The event handler calls a plugin which uses the UserManager API to generate and change the user's password.
I've tested this by assigning a role to the user via the OIM web console. I can see my log messages indicating that the event handler has fired and that the password has been changed.
However, I expected that when UserManager.changePassword completed, a notification email would then be sent to the user informing them of the new password, but no notification email has been sent.
The email notifications have been set up correctly, because I have changed the same user's password via the OIM web console and successfully received a Reset Password email.
So, my questions are:
1) Am I right in thinking that when you call UserManager.changePassword(), an out-of-the-box ResetPassword email notification should be sent to the user?
2) Has anyone got this working in 11.1.1.5?
Some more detailed info
In my plugin class I'm calling the following from both execute methods (EventResult and BulkEventResult):
char newpasswd[] = new RandomPasswordGeneratorImpl().generatePassword(user);
getUserManager().changePassword(userKey, newpasswd, false, null, true);
logger.info(("Successfully changed password"));
plugin.xml
<oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
<plugin
pluginclass="oracle.iam.PostInsertPlugin"
version="1.0"
name="PostInsertPlugin">
</plugin>
</plugins>
</oimplugins>
$OIM_HOME/server/bin/weblogic.properties
wls_servername = oim_server1
app = OIMMetadata
metadata_from_loc=/home/oracle/eventhandlers
metadata_file=/metadata/roleuser/custom/EventHandlers.xml
/home/oracle/eventhandlers/import/metadata/roleuser/custom/EventHandlers.xml
<?xml version='1.0' encoding='utf-8'?>
<eventhandlers
xmlns="http://www.oracle.com/schema/oim/platform/kernel"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.oracle.com/schema/oim/platform/kernel orchestration-handlers.xsd">
<action-handler
class="oracle.iam.PostInsertPlugin"
entity-type="RoleUser"
operation="CREATE"
name="PostInsertPlugin"
stage="postprocess"
order="1002"
sync="TRUE"/>
</eventhandlers>
There are no errors in the OIM out and diagnostic logs apart from the following which occur at OIM startup:
[2013-01-07T16:29:23.425+00:00] [oim_server1] [ERROR] [IAM-0080075] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 2e903d7ef060ab65:66b2de91:13c15d6d9ce:-8000-0000000000000002,0] [APP: oim#11.1.1.3.0] XML schema validation failed for XML /metadata/iam-features-OIMMigration/EventHandlers.xml and it will not be loaded by kernel.
[2013-01-07T16:29:24.267+00:00] [oim_server1] [ERROR] [IAM-0080075] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 2e903d7ef060ab65:66b2de91:13c15d6d9ce:-8000-0000000000000002,0] [APP: oim#11.1.1.3.0] XML schema validation failed for XML /metadata/iam-features-callbacks/event_configuration/EventHandlers.xml and it will not be loaded by kernel.
Thanks
dty
Edited by: oim_user on Jan 7, 2013 5:37 PMNo notification will be sent if you changepassword using the method from usermanager api.
You have to trigger the resetpassword event manullay in your code.
Here is a sample code to create an event for reset password. Once you create event, invoke it from notification service - notify method.
NotificationEvent event = new NotificationEvent();
String[] receiverUserIds= {userLogin};
event.setUserIds(receiverUserIds);
event.setTemplateName("ResetPasswordNotification");
event.setSender(null);
HashMap<String, Object> resolvedData = new HashMap<String, Object>();
resolvedData.put("userLoginId", userLogin);
event.setParams(resolvedData); -
Calendar Event : event created in Pre2 cannot sync to exchange
Event created in Pre2 exchange 2010 calendar, is visible in Pre2 only, but cannot see the same event when checking calendar in the same exchange account in PC. Have tried 'Sync Now' in pre2, no use.
But when new event is created in PC exchange, the event is visible in Pre2.
How can I resolve this issue ?
Post relates to: Pre 2 p102ueu (Unlocked EU)Hello and welcome to the forums...
Has this worked before? If it has worked before, has anything changed from the last time it was syncing?
What I would try is removing and re-adding the Exchange account to the device. Just to be sure, you may want to remove the exchange account from all apps on the device and restart it. Add the Exchange account back to the calendar app and test the process again.
If it worked before and now its not, or if has never worked... you may want to check with the Exchange Admin to see if anything has changed on the server side. Exchange controls the device preferences most of the time.
Let us know what's happening. Hope this helps...
Cola -
Events created on my iPhone 5 calendar are no longer syncing with iCal.
Events created on my iPhone 5 calendar are no longer syncing with iCal on my Macbook Pro (Lion OSX). It works fine the other way around.
I can't understand why, and cannot find a solution. Please help!You can no longer sync via iTunes. That method of sync was removed (and the 1000+ post thread is arguments over things tangientally related to that).
You need to sync via other means than iTunes, then.
One option is to use iCloud. If you sign into iCloud on all your devices, and then make sure your calendars are in the "iCloud" section on your devices, they should sync.
If you don't want to use iCloud, you could use Google calendars, they operate much the same way (but may be less reliable).
Or if you use Exchange for work, you could sync that way.
Or if none of those are acceptable, you could install OS X Server and set up the calendar server on your local network and use it to sync. This is fairly straightforward "for setting up a UNIX calendar server" but it's not trivial and beyond the scope of a forum post to explain it all -
How to post invoices in FI-CA related to outgoing payments
Hi
We need to make payments to vendors for our business. We are creating vendors as business partners in FICA and invoices have to be posted in FI-CA. Can someone tell me the configurations to be done for posting a invoice before making the payments. What would be the main and sub transaction for the invoice and outgoing payments?
Thanks
Santosh
Edited by: Santosh Kolleti on Nov 20, 2008 11:00 PM
Edited by: Santosh Kolleti on Nov 20, 2008 11:00 PMSanthosh,
Are you trying to Post Invoices in FICA or just FICA document with Invoice Refer no?
If former, it is a very big config and you need to sit with Billing Consultant.
If latter, suggest you to populate value in Reference number.
You can use any MT/ST that are used to post Open items like 0010/0030 etc
Hope this helps
Rgds
Rajendra
Maybe you are looking for
-
MacBook Display - Text Glows or Fades When Scrolling with Two Fingers
I am currently using an early 2008 MacBook Black, OS X 10.5.5, 2.4GHz Penryn, 4GB RAM (CAS 4), 250 GB HDD. I recently came into an Apple Store for a Genius Bar appointment because of a problem with the screen. When I use two finger scrolling and view
-
All calls fail after 7 seconds. this is my 2nd iPhone. what's wrong?
Hi there, I'm very frustrated. My last 3G iPhone suddenly stopped working in this respect: I could make calls out, but the call ended just after the person answered; also, I could receive calls, but the call ended after the same number of seconds. My
-
Include a backslash in text quotes
I need to be able to include backslashs in a script that adds text to a textfield. Example: this.rawValue = "\\Start\now.";
-
Inheritance in a Relational Database
Hi Now I've some problem in mapping my class hierarchy in relational database table. How to express inheritance relationship in database? Any advice appreciated victor
-
User Type (Dialog , Communication etc) can impact on SAP User Licensing
Dear Expert, The User Type (Dialog, Communication, System etc) can impact on SAP User Licensing. Suppose if I craete a user type other than DIALOG such as SYSTEM or COMMUNICATION etc; will this be counted as License User. Or only DIALOG users are pai