BADI / UserExit for FB50
Hi frnds,
My requirement is In FB50 tcode after entering Personnel No, Costcenter should come automatically.
For that I am using BADI FAGL_DERIVE_SEGMENT.
My code is
DATA: GT_PA0001 type PA0001.
SELECT SINGLE * FROM PA0001 INTO GT_PA0001
WHERE PERNR = I_COBL-PERNR
AND KOSTL NE ''.
I_COBL-KOSTL = GT_PA0001-KOSTL.
But it is not picking cost Center value. In debug I can see the value in I_COBL-KOSTL.
Is thare any alternative option are thare.
hi,
Use this FM to update the screen Fields instead of assigning directly.
For reference check this link.. Re: automatically populate other fields on screen while applying search help on
Similar Messages
-
BADI/UserExit for MIGO in Stock Transfer
Hi Gurus,
I have a requirement.
When posting a GR in MIGO, if the material has been flagged to go through inspection, MIGO post the batch to quality inspection.
Now, when a batch has already gone through inspection (for example in another plant) and its released (passed) and its been transferred to another plant, if we are receiving this batch doing a post GR in MIGO, it automatically post it to quality inspection again.
Is there a BADI, UserExit or way to skip this inspection and post the batch to unrestricted stock since its already gone through inspection in the previous plant and has a Decision Code A0 (accepted etc).
We don't want to change the material master for this because we still want the material/batch to go through quality inspection if its hasn't already been.
Thanks..
Baz
Edited by: Basil Balogun on Sep 23, 2010 1:49 AMHi,
Try the possibilities of MB_MIGO_BADI. I think in method LINE_MODIFY, POST_DOCUMENT and perhaps PAI_DETAIL.
I hope this helps you
Regards,
Eduardo -
Badi/userexit for va01,when save button is clicked
hi friends,
i want badi/userexit which triggers when save button is clicked in va01 tcode.
Thanks,
GauravHello,
You can debug the standard code ( /h before pressing save button) searching for user-exits or badis.
Set breakpoints in statements. For example if you are looking for call customer-fuction, click on:
Breakpoint --> Breakpoint at --> Breakpoint at Statement
and then here write: CALL CUSTOMER-FUNCTION
Then pressing F8 it will go directly to the next breakpoint (user exit for this transaction).
I hope it will help you. -
Hi Experts,
I have to validate user inputs(item details) before post a document into SAP. I mean, I have to validate G/L Account input. Only certain G/L Accounts are allowed to post through FB50.
Thanks in advance..Hi friend,
If you need to know any transaction user exit, use this program. It's very helpful:
REPORT ZUSER_EXIT.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
select single * from tadir where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code u2013 ', 20(20) p_tcode, 45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline, 2 'Exit Name', 21 sy-vline , 22 'Description', 95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline, 2 jtab-obj_name hotspot on, 21 sy-vline, 22 modsapt-modtext, 95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
If you can't see it, try to depurate it or writte me a message and I send an email.
It's a very powerful tool.
Alexis Sánchez
SAP ABAP Development Consultant
Molen Services and Consulting, C.A. -
Userexit for FB50/Fb60 transaction
Hi Gurus,
Can someone give me a Userexit or BADI that will trigger before posting an invoice thru FB50 or Fb60 transactions?
Thanks,
-Anthony.FB50 all avaliable user exits:
F050S001
F050S002
F050S003
F050S004
F050S005
F050S006
F050S007
F180A001
FARC0002
FEDI0001
RFAVIS01
RFEPOS00
RFKORIEX
SAPLF051
Transaction Code - FB60 Enter Incoming Invoices
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment) -
BADi/UserExit for MIGO : To popup batch classification screen auto
Hi all,
I want to pop up batch classification screen automatically in MIGO when performing a goods movement . In MIGO there is a command button for that to open up the batch classification screen, but my requirement is when click CHECK or SAVE button, branch it to batch classification screen if those characteristics are not maintained.
Please reply .
Thanks and Best regards,
SandunHI ,
Chk BADI using these steps..
1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
2. In 'Display' mode, go to 'Methods' tab.
3. Double click the method 'Get Instance' to display it source code.
4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.
5. Then run your transaction.
6. The screen will stop at this method.
7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction. -
BADI/Userexit for header text in Purchase order
Hi Experts,
i had a scenario , in that when i create a sales order , a purhcase requisiona and purchase order will also generate automatically.
in this case how to copy the header text of sales order to PR and PO.
is there any BADI or User Exit for this..
Pls help me.
Thanks ,
ChandraHello Chandra
Assuming that you are working on ERP 6.0 (Do we know???) then the BAdIs are:
ME_PROCESS_REQ_CUST
ME_PROCESS_PO_CUST
Regards
Uwe -
BADI, Userexit for Travel Expense
Hi All,
While creating expense report from ESS.
I.e
Travel > My Trips and Expenses > All My Travel Requests > Select Trip Number and Create Expense report.
I need a BADI which provide that selected Trip number's details.
Regards,
Shree Wadekar
Useful answers will be rewarded.Hi,
The fm 'ptra_web_general_data_get_2' will help you in this regard.
Give the trip number, trip schema and other required parameters to the above function module and you will get the expense related information in the structure gs_general_data.
Thanks,
Rajkumar Shanmuganthan.
Edited by: Rajkumar Shanmuganathan on Aug 29, 2008 3:57 PM -
BADI or User exit for FB50 to update custom field in table COEP
Hi all,
i have added one custom field in table COEP through include CI_COBL .
when i do posting through sales order(VA02) or purchase order(ME22n) that custom fields in COEP get updated with controlling document
and through BADI AC_DOCUMENT i m updating that custom field in COEP.
but when i do manual posting through FB50 controlling document is generated in COEP but i m not able to update that custom field
because in this case BADI AC_DOCUMENT is not get triggered.
is there any BADI or User exit or enhancement spot for FB50 through which i can update that custom field in table COEPHi Sandy,
Thanks for u r reply,
RFAVIS01 is not getting triggered through FB50
and F180A001 ( EXIT_SAPLF048_001) is getting triggered but it doesnt contain COEP field in its parameter
import - F180A_DOC_HEAD_TAB
F180A_DOC_ITEM_TAB
changing - RELATION_TAB -
BADI or Userexit for ME2Xn for VERSION
Hello,
I want to know which is the BADI or USerexit for which in ME22n what ever the changes made in PO,Netprice or Delivery date it should create a NEW VERSION number,only if the Netprice is changed,new version is getting genarated....can any one help me regarding this please?
Moderator message: please work yourself first on your requirement, search for available information.
Edited by: Thomas Zloch on Dec 1, 2010 11:43 AMList of all U-Exists for ME22N:
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
best regards. -
Hai everyone,
Could Anyone Pls Tel me the BADI or USEREXIT for VL31N while Saving the inbound Delivery .
REgards,
EKadevi.SHI Ekadevi ,
following are the Badi's
DLV_CHECK_APO_UPD
DELIVERY_PUBLISH
Following are the user Exits :
V50PSTAT
V02V0004
V02V0003
V02V0002
V02V0001
VMDE0004
VMDE0003
VMDE0002
VMDE0001
V53W0001
V53C0002
V53C0001
V50S0001
V50R0004
V50R0002
V50R0001
V50Q0001
Hope this will help to you.
Regards,
Nikhil -
User Exit/ Badi/ FM for Tcode IW32
Hi Experts,
I have a requirement which i need to update the next line with the same part number concatenate with u201CNVu201D and in the quantity enter u201C-1u201D and enter the item category as u201CLu201D.
The scenario is this,
In the service order (IW32) when ever a component is entered on a new line item, example below:
RESBD-MATNR= spare part(Ex: 0614-2331) compponent
System should update the next line with the same spare part number concatenate with u201CNVu201D
Ex: 0614-2331NV
and
Required quantity (RESBD-MENGE) =-1
Item Category(RESBD-POSTP) = L
Plant(RESBD-WERKS)= US40
has anyone done this before? Can you lend a hand? I just need the exit/ badi where the coding can be done.
Thanks.
Regards,
Min DeeHi,
try this User Exit..
Exit name Short text
IWO10012 Maintenance order: Priority handling on central header
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..
Prabhudas -
Hi Experts,
Is there any userexit for transaction VBO1 where I can update KOMK?
Thanks,
Vitz.Hi,
No user exits are available.
Check the below BADIs:
ARC_SD_COND_CHECK
ARC_SD_COND_CHECK
ARC_SD_COND_WRITE
ARC_SD_COND_WRITE
BADI_SD_REBATES
BBY_NR_RANGE_EXT
CACS_COND_VERSIONING
SD_COND_LOAD_MVA
SD_COND_SAVE_A
If you are in ECC 6.0 , you can try out the enhancement spot also.
Regards,
Soumya. -
Userexit For TCODE J1IJ depot excise invoice
hi
I want to know is there any userexit for depot excise invoice. That we can use to check weather excise entry date that is (J_1IRG23D-CPUDT) is equal to likp-WADAT_IST . Any info will be really helpful.
Thank youHi,
Use this program SAPMJ1IJ in this program there are 4 includes.
First try with MJ1IJF01
So check with your abaper which exit is working in this include.you can do it by setting break-point.
Also check other includes MJ1IJTOP MJ1IJO01 MJ1IJI01
Thank you, -
BAdI UC_DATATRANSFER for BCS Mapping in "Load from Data Stream" method
Hello Everyone,
I need some help on finishing up the code for the UC_DATATRANSFER BAdI.
I have looked up in the SDN and other places, but could not get comprehensive breakdown of documentation except for the "F1" documentation available on the BAdI.
So, any help would be appreciated.
The Steps so far completed,
1. Have activated the BAdI and have created the filter value for the BAdI.
2. After the BAdI has been activated, I was able to go into the MAP method and have written the logic for profit center derivation from consolidation hierarchy.
The issue is there are four components for the Map method,
IT_DATA_SOURCE
IS_DATA_TARGET
ES_DATA_TARGET
ET_DATA_TARGET
The data is available from Source system in the table IT_DATA_SOURCE.
But this is not changeable as it is "Importing" type. Whereas the actual ET_DATA_TARGET which is passed over into FINALIZE method of the BAdI is not filled initially.
When I try to do a MOVE-CORRESPONDING from the IT_DATA_TARGET into ET_DATA_TARGET I continuously am getting the short dumps as both the tables length is not the same.
Did anyone else face the same issue as above when trying to do the BAdI implementation for Mapping.
I will really appreciate if any one can provide me a sample code if possible.
Let me know if you need additional information.
Thanks
Dharma.Hello,
Thanks for looking into the question.
I already had tried doing that, I get the Short dump stating the object tables are not convertible.
When I looked into the table structures, I found out that the table structures "IS_DATA_TARGET", "ES_DATA_TARGET" & "ET_DATA_TARGET" belong to the same category in terms of these structures being flat structures or tables of length 484 as per the debugger.
Whereas the structure "IT_DATA_SOURCE" has the length 404.
Due to this reason when I say,
ET_DATA_TARGET = IT_DATA_SOURCE, I keep getting the short dumps.
Also, is your consolidation process legal or managerial.
Our Consolidation process is legal and we have the Company and Profit Center fields assigned to the Consolidation Unit role in the Data Basis definition.
Can you please let me know what is the structures length in your system.
Thanks
Dharma.
Maybe you are looking for
-
No method found for XML query element
Hi, I have an EJB module which contains some entity beans. If I try to deploy it or verify it using the Sun One Verifier Tool I get the following exception... Error: ** Error trying to process file: java.lang.RuntimeException: No method found for XML
-
Q on GTX 660 not working in PremPro CS6 also SpeedGrade, heard of tab selection
I have a newly configured PC with a new GTX 660 video card with a new load of Premiere Pro and can not operate Premiere correctly or load Tiffen Dfx .....so I thought I had purchsed a higher performance card than those recommended ....also I've heard
-
Hi all, We are using CISCO 836 routers for our WAN access. Due to the case the bandwith connection is limitted I was wondering how can we block users from using on-line games (such as yahoo or some other). In case we can block these connections, plea
-
Best cover for an ipad mini and do you need a keyboard?
best cover for an ipad mini and do you need a keyboard?
-
Need help with a part of my Applet.
When I run this applet, it is supposed to set the text of JLabel "questions" to the next question in the ArrayList "YourQuestions" and clear the textfield. But every time I click the "Next" JButton, all it does is clear the textfield. Why is this and