User Exit with call up after document splitting in New GL.
Hello,
I am looking for a user exit which is called up after document splitting and before final posting to FI. We are implementing Ecc 6.0 and wish to change functional area on gl line item based on values in cost center. However, this change/redetermination of functional area also needs to be done on documents which have been split. Splitting is at profit center level.
Regards
Jayesh.
Hi Gordon,
Yes, by a little piece of ABAP.
I have created a Z table and configured by co.code and document type. Add a little bit of code in the badi FAGL_3KEH_DEFPRCTR.
Hope it helps.
Thanks,
Srini
Similar Messages
-
User exit/BADI triggered when WWI document is released in CG02
Hi,
In CG02 when a WWI document is created for a specification i want to know user exit/BADI associated when the document is released/accept in the report management.
Any help would be appriciated.
Thanks,
Sridhar.Hello
the user exits mentioned do have special purposes.
C1G20001 and C1G20002 are related with report management system
C1G20003 and C1G20004 are related with report information system
The other exit is related to tasks which can be "programmed" in using the report header. The "release/accept" process is generally related to the definition of the generation variant.
Regarding the mentioned BADI I have no special knowledge if it can be used here.
Could you indicate the reason behind your question?
Reason is: based on the generation variant definition there is no "real report" which can be "released" or the report is immediately "released" and the user exits mentioned will not help any more in most scenarios.
With best regards
C.B.
PS: I have done a small research: Badi EHSS_WWI_BADI_001 is available starting ERp 6.0 o my knowlegde; depending to your business needs there is a chance that this Badi can help.
Edited by: Christoph Bergemann on May 24, 2010 3:57 PM -
Update transfer requirement user exit, with order
Dear experts,
I want to use exit MWMTR001, function module EXIT_SAPLL03T_003 to update the Transfer requirement with the Order number created in COR1.
But I see that by the time the user exit is called, the order number has not yet been created in the database.
Is there maybe another place to do what I want?
Thank you in advance,
Roxani AthousakiHi Frenchy,
Thanks for the answer. I have one more question.
Is it possible to automate it based on a movement type, so that every time we create a Transfer Order for this movement type the relevant TR will be automatically marked for 'final delivery'. This would help us, because then we would not have to go to WAM everytime to mark it as complete.
Or some kind of configuration that will dictate that only one Transfer order will be allowed for a Transfer Requirement and the TR will be set to complete as soon as the TO is confirmed.
Thanks,
Mike -
Client Copy Error - ERROR: Type 'F' user exit with SYS_ERROR:
Hello,
We want to create a client copy from client 001 to clien 715.
The client copy test runs successfully.
The following error occurs in normal mode of client copy.
1 ETA028XClient copy from "03.11.2010" "17:12:43"
1 ETA029 System ID............................ "IS3"
1 ETA043 Target client........................ "715"
1 ETA030 R/3 Release.......................... "701"
1 ETA354 Basis Support Package..............."SAPKB70107"
1 ETA031 Host................................. "xxx"
1 ETA000 Start in background............. ....." "
1 ETA032 User................................. "SAP*"
1 ETA033 Parameter
1 ETA034 Source client........................ "001"
1 ETA188 Source client user masters............"001"
1 ETA185 Copier profile:......................."SAP_ALL"
1 ETA036 Table selection
1 ETA177 Customizing data ....................."X"
1 ETA037 With application data................ "X"
1 ETA155 Initialize and recreate......... "X"
1 ETA294 Change documents are not copied
2 ETA367XStart analysis of system "17:12:43"
3 ETA108 "/GC1/CC_EXIT_CLIENT_DELETION" executed " 0"(" 0") entries copied
4 ETA114 Runtime " 0" seconds
3 ETA072 Exit program "/GC1/CC_EXIT_CLIENT_DELETION" successfully executed "17:12:53"
A2EE/SAPAPO/OM 012 "Mandant 715:" "Verbindung nicht oder fehlerhaft gepflegt:" "IS3CLNT001" " "
2 ETA102 ERROR: Type 'F' user exit with SYS_ERROR: "/SAPAPO/OM_CLNT_COPY_DOWNLOAD"
2 ETA534 "RCOD:" " 8" "SY-SUBRC:" " 0"
2 ETA191 Program ended abnormally
Can you help me?
thx
TorstenTorsten,
Are you doing a local client copy in a SCM System. I can see it fails & is looking for SCM specific fn modules & user exits.
If yes, has a look at this notes there are some steps that needs to be done for the transactional date:
894490 - Client copy: Transactional data
And re-post it in the SCM forum: SAP Advanced Planning & Optimization (SAP APO)
- Regards, Dibya -
User-exit for call new customize screen of another new program
Hello, I'm very appreciate for all who read this topic and give me some advice.
Anyone has an experience about customize standard program to create new screen
and add new screen to pop-up when user click some standard button to do something
for support business requirement and then continue to working the old step (such next old screen).
In QA11 (Manual UD), For posting stock quantity (After click button "Stock for inspection lot")
Business requirement need to avoid user to input stock quantity for unrestriced used (UR) and block
by after click button "Stock for inspection lot". Need to customize to pop-up new created screen for user
to choose sub-set of this inspection lot to post for UR or block by check box (Just overview)
Then after finish to select, Need to go back old screen ("Record UD : Stock" Screen) and default sum
of UR and block into screen (Automatic) for post to mvt.type 321, 350 later.
After checked, Not have any screen-exit after clicked button "Stock for inspection lot".
but i found 1 user-exit which was called after click above button.
So, Can i use user-exit to call new customize screen?
If need to go back from new customize screen to main screen, May have any problem? How to do it?
If finish to do in new customzie screen and need to continue display next old screen. How to do it in PAI of new customize screen.
Thank in advanceCan anyone provide the documentation for this BADI? Also, I'm concerned about the layout of the screen. Can this BADI do the necessary changes on the layout of the screen?
Thanks! -
BADI or user exit to enter a countable document
hello i need a BADI or user exit to enter a countable document
regards
DayanaHi,
Just curious
What exactly is a countable document? May be i can help then.
Thanks,
Praveen -
Im trying to update db table in user exit, with the internal table
Im trying to update db table in user exit, with the internal table
my scenario:
loop at itekpo.
updating itekpo -
> at the end of user exit the db table ekpo have to be updated
endloop.
Im updating internal table, using
MODIFY itekpo TRANSPORTING INCO1 INCO2 WHERE ebeln = itekpo-ebeln
where itekpo is internal table, but it is not updating the db table 'ekpo'.
i also tried updating ekpo directly !
Thanks in advanceHi,
you can search in the forum itself,
Try this link for instance
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=tocreateaBADI&adv=false&sortby=cm_rnd_rankvalue
You can find a code for finding BADI as a report with the following Transaction
finding badis
How to find BADIs
Reward if helpful
Regards
Byju -
Substitute business area after document splitting or when creating document
Hi experts,
I have to do a substitution of business area after document spliting, but i saw in previous threads that it's not allowed by SAP to modify a document after spliting. So if i do this substitution when I create a document, for example in f-02 or fb01,is it possible? And how can I do? With user-exit or Badi?
I have a specific table which contains all business areas which I should put into the document:
BUKRS, GSBER
CompA, BA 1
CompB, BA 2
CompC, BA 3
Thank you for giving me some ideas.If each Company code has a different business area, why do you need to populate it in the first place?
The definition of a business area is that is can cover a range of Company Codes, but not be directly linked to one. I would suggest your use for Business Area is wrong.
You are right about changes after splitting, however I would check with an ABAP'er on this or OSS.
Also, if you are saying Business Area is Company code dependent, then there should not be a problem as the Business Area posted to will be correct, as an accounting document can only be for a single Company Code.
You should have your business are validation, or substituion prior to document splitting.
Hope this helps, award points if useful. -
User exit/Badi in MIGO after save
hi all
I am trying to find a user-exit/BAdi in tcode MIGO.
This one should be called after saving the MIGO document.
Using this i want to put control over auto TO creation for some specific plants and storage locations.
Important thing is I am using version 4.6C.Hi,
Please try the last one. This may suit.
For "Automatic TO creation (background processing)", the following user exits are available:
MWMTOAU1 Selection of requirements for automatic creation of orders.
MWMTOAU2 Reference number assignment.
MWMTOAU3 Selection of posting change notices for automatic creation of transfer orders.
Thanks and Regards
Guru -
User Exit to call program to create IDocs.
Hi All,
For any creation/changes of material master using MM01/MM02 (after save ) one of the user exit will trigger.
From the user exit, I have to call the custom program to create MATMAS IDOCs.
if any failures in changes/creation of material master. It has to roll back eveything created by program.
Please let me know how to achieve this with out calling an event.
Thanks - VinayThere are a number of standard methods to automatically create the IDOC. You can activate the change pointers and depending on need, use BD64 to create a distribution model, and create the necessary WE20 setups to create the outbound IDOC.
If you have to process the IDOC using custom logic, you can define that as well - although it's not clear why you need a custom generating program. You can insert code into one of the IDOC user-exits to manipulate the content if needed. Also, don't overlook the pre-delivered stuff from SAP that provides filtering out of segments and the like.
There are a few good SAP PRess books about doing ALE distribution -- if this is an unfamiliar area, it's worth the cost to buy one -- if you spend any time around IDOCS, you'll appreciate it. -
User Exit/ BADI in vf01 after save
Dear Experts,
My requirement is to send the mail alert to customer when the billing document is created( VF01 ). Request you to suggest
the relevant user exit/ badi for the same which is triggered when the save button is pressed.
Thanks in Advance.Hi Farha.
Go to Ouptut type and the Driver Program related to VF01 output type ..
Go to se16>tnapr>enter output type already available-->see the Output type and form name.
Next go to se38> enter the Program name aatachned to Form> and at the end of the Pront privew write the code
to capture the spool Number and convert the spool data into internal table ( By using Function Module CONVERT_OTFSPOOLJOB_2_PDF) and next call the Funtion module SO_NEW_DOCUMENT_ATT_SEND_API1 SAPoffice: Send new document with attachments using RFC.
if you have problem go to se37-->enter CONVERT_OTFSPOOLJOB_2_PDF) and see where used list and find the Driver program how they are converting and sending the mail
Regards,
Prabhudas -
User Exit for VT02N/VT03N after printing shipment
Please, I need an EXIT after printing Shipment on VT02N/VT03N.
The propose is check if exists an entry in NAST table of an output type and call automatically the screen of Issue output.
Sample: After printing a shipment with output type "ZCS1" the program has to check if an entry output type "ZCS2" also exists in NAST table for the same shipment, and, in this case, shows to user, the screen of issue output filled with output type "ZCS2".
Thanks in advance!Hi,
Below are some of the user exits for VT02N.
Have a look.
MV56AINI Initialization of transaction control for transportation
V56AFCCH Shipment processing: Check function code allowed
V56AGTAR User Exit for Filtering Shipping Unit Calculation
V56ARCHV Customer-spec. checks for archiving shipments
V56ATKTX Change the number of lines for text input in shipment
V56BMOD Transportation processing: Field modification
V56DISTZ Shipment Processing: Determine Distance
V56FCOPY Shipment processing: Copy delivery data
V56FSTAT Shipment processing: Activities when setting a status
V56L0001 Status of Shipments for a Delivery
V56LDELI
V56LOCID Shipment Processing: Determine Location Identification
V56MVT04 Extensions for Collective Processing of Shipments
V56SLDET Shipment processing: Leg determination
V56TDLIF Filter Delivery Items for Shipment
V56UCHCH Shipment processing: Check whether changes were made
V56UCHCO Check shipments are complete
V56UDLUP Obsolete as of 4.6C: Delivery Update on Delivery Routines
V56UNUMB Shipment number allocation
V56USTAT User-individual definition of transportation planning status
V56USVDO Update new objects for transport
V56USVDP Preparation for updating new objects for transport?
Hope this will help u..
Regards,
Gautham Paspala -
User exit with transaction MB*
hi guru.
i have a question with user exit. after read in other topic i still need explanation from other.
my scenario is. whenever user use sap and system generate material document no. . i want system write this mat. doc. no. into text file and store in user 's pc.
after read from other topic i search and found related enhancement/function but not know how to start with.
so, plaes tell me then how to deal with this.
regards.
kittisak.Hi,
to find the user exits & Badi's for the T-code..
go to table TSTC>enter T-code and execute> get the Program for the t-code..
and go to-se38-->get the package attached to the t-code..
next go to t-code Se15>expand the enhacement tab>enter package under userexit and
execute you will get the list of exits
available...
-->enter package under Badi's tab and
execute you will get the list of Badi's
available...
All the User exits are stored in Table MODSAP..
Regards,
Prabhudas -
The user exit EXIT_RFEBBU10_001 calls (the transaction FEBAN)
Hi,
we are using FEBAN transaction. Some customization was required to modify FEBEP/FEBRE fields.
While implementing this in EXIT_RFEBBU10_001 it was noticed that this exit is called for all unprocessed lines from the bank statement, NOT only for the item we have chosen to post.
e.g.
the bank statement has unprocessed 20 lines and we would like to post only one of them. this exit is called 20 times in spite of the fact that we have choose posting only 1 line in the FEBAN.
I was not able to identify in this user exit the items we are actually posting with FEBAN and ignoring all other unprocessed items from the same bank statement.
the R_KUKEY is being passed to rfebbu00 and to the exit but I couldn't find where to get ESNUM of the item being posted?
Is it actually possible to do?
thanks
victorThanks, Martin!
but I am afraid I was not clear in my question.the EXIT_RFEBBU10_001 works less or more fine for us when called from the FEBAN. (the 2nd step, i.e. postprocessing after uploading) .
while doing unit testing I was only concerned that when a user is trying to post one line from the statement with FEBAN this exit is called for all unprocessed lines from the same statement and I was not able to identify the line the user is actually posting (which, in my opinion, may prevent posting the whole bank statement if the data in one line is not consistent with the logic programmed in the exit ). -
ABEND in Java User Exit with RAW DataType
I have a Java User Exit Extract running against a trail file that has been pumped to the GoldenGate instance in question. The extract starts up without any issues, but gives the following error after I update a record that has a RAW datatype as the primary key:
JAVAWRITER(javawriter.c:269) [ERROR]: Error occurred (Java exception): UEDataSource.createOperation:
com.goldengate.atg.datasource.InvalidTransactionState: A new operation was received without first receiving a BEGIN transaction. This can happen when processing is resumed in the middle of a transaction, or when there are "before" images in the trail that are not being sent to the user exit (always include "GetUpdateBefores" in the user-exit parameter file).
I have tried a number of things to try to resolve this, but I can't seem to make this work. the params for this extract currently looks like this:
extract uePump
sourcedefs ./dirdef/my_defgen.def
setenv (GGS_USEREXIT_CONF = "dirprm/javaue.properties")
getupdatebefores
cuserexit ./dirprm/libggjava_ue.so CUSEREXIT passthru includeupdatebefores
table my_schema.B_PLN_DIR, fetchmodcols (PLN_DIR_ID, *);
table my_schema.*;
... I've tried leaving off the "includeupdatebefores" argument to the cuserexit, leaving out the fetchmodcols handling for the table with the RAW PK field, but I still get the error shown above.
Any help / pointers is much appreciated.includeupdatebefores (lowercase) doesn't work; you must use the uppercase INCLUDEUPDATEBEFORES !!
Maybe you are looking for
-
Firefox will not open tabs in a new window
When I right click a tab, and select the option "Open in a new window", Firefox does not respond. I can add as many tabs as I like, but can not open them in a new window. I can also right click a link and open it in a new tab, but Firefox does not do
-
Need to format "free space" of external hard drive for Time Machine
I just recently purchased a MacBook Air and want to set up Time Machine with my external hard drive. I'm migrating from Windows 7 so before purchasing my new Mac, I transferred about 100 GB of data from my PC to my external hard drive that I wanted t
-
How to change the status of a process chain
Hi, I went through Siegfried's blog and knew how to restart a process chain at a failed step which doesn't have "Repeat" option. But is there any other function module through which we can change the "Actual State" of the process chain, in siggi's me
-
Accesing Oracle Internet Expenses
I have a user who is testing Internet Expenses on a test instance and cannot get to the page. She recieves an error page at the URL http://host_name.domain_name:port_num/OA_HTML/OA.jsp/OAFunc=OIECREATEPAGE Is there any profile option setting that nee
-
I have several iPhones - on the last update I update a 3G and it now thinks that it's my iPad
One of my iPhones thinks its my iPad