User-exit or BADI to fill cost center if we know personal number in FB60
Hi experts,
When we enter a vendor invoice in FB60, if we know Personal Number, can we get its Cost Center automatically from PA0001 when we press "Enter"?
Is there an user-exit or Badi which can be triggered when we press "Enter" or how we do the configuration?
Thanks for your helps.
Hi
I believe there isn't a BADI or EXIT allows to change item data, I usually use the exit to change the item text EXIT_SAPMM07M_001 (the BADI MB_MIGO_ITEM_BADI should be the same thing) where I change the data by field-symbols:
FIELD-SYMBOLS: <KOSTL> TYPE MSEG-KOSTL.
ASSIGN '(SAPMM07M)MSEG-KOSTL' TO <KOSTL>.
<KOSTL> = .......
Max
Similar Messages
-
User exit or Badi for VL31N (create inbound delivery)
Dear friends.
I wish to add a check before saving in the transaction VL31N for that i need to know user exit or BADI..can you help me to know what possible user exit or badi available for this task.. your suggestion and article will be greate help of mine,
thanking you
regards,
NaimExit Name Description
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of stock for POs for shipping due date list
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
BADI
<b>DELIVERY_PUBLISH</b>regards
vinod -
Cost center in FB01 - User exit or BADI
Hi,
I would like to change the cost center field data in transaction FB01 with some other data based upon some conditions.
Please suggest with user exits or badi.
thanks.Thanks for reply.
In the user exits mentioned, checking for cost center value in the import parameter DOC_ITEM_TAB and based on some validations i have changed the it to other value. But this new value is not considered by the program still it is creating with the old value.
The changed value has to be exported from the user exit right? this is not happening as we know dont have cost center field in export or changing parameters
Please suggest -
User Exit or BADI on saving of Sales order cost estimate (CK51N)
Hi,
Can any one share with me what are the User Exit or BADI that gets triggered on saving of Sales order cost estimate (CK51N).
Regards,
BijayHi
Check the link
Need Enhancement Spot or BADI for transaction ck51n
Regards
Sanil -
User Exit or BADI to change the product cost
Hi All,
My requirement is to change the product cost when the costing engine is running via ck11n or ck40n. Iam looking for user exits and BADI's for this requirement.
I did look into the BADI DATA_EXTENSION_CK but this particular BADI does not have export or changing parameters. Can anyone suggest any user exit or BADI's for this requirement. I also looked into other BADI's like
CK_KALAMATCON2_CI
COSTINGRUN_CK
COST_APPORTION_CK
CO_PROD_COSTING_CK
DYNPRO_EXTENSION_CK
ORDER_COSTING_CK
QUANTITY_STRUCT_CK
SUR_STOCK_TRANSF_CK
VALUATION_CK
But none of them served the purpose. Plz help...Thanks in advance...
Regards,
Nirmal.Hi,
Check followinf enhancement spots:
CO_PROD_COSTING_CK Cost Management for Joint Products (Costing, Target Costs)
COSTINGRUN_CK Edit Costing Run
ES_CAL2TYPE ES_CAL2TYPE
ES_LCK40VWS
ES_SAPLCK00 es_SAPLCK00
ES_SAPLCK01 es_SAPLCK01
ES_SAPLCK04 SAPLCK04
ES_SAPLCK2U es_saplck2u
ES_SAPLCK36 es_saplck36
ES_SAPLCKCC02 ES_SAPLCKCC02
ES_SAPLCKDI ES_SAPLCKDI
ES_SAPLCKKK
ES_SAPRCKCU
ESC_CL_COSTING_PERSISTENCE
LCKDIO2M_01 ES_SAPLCKDI
LCKDIO2T_01 ES_SAPLCKDI
ORDER_COSTING_CK Enables Header Data Changes in Preliminary Order Costing
QUANTITY_STRUCT_CK Enables Quantity/Structure Changes in Costing
VALUATION_CK BAdI for Valuation in Product Costing
Hope this may be useful..
Regards,
Prashant -
Material document automatic fill position with user exit or BADI in MB1B
Hi gurus,
We have this requeriment.
We need to modify a material movement via customizing and enable a new field (Order) in it. (At header's level)
After that, in MB1B, we need that after input a maintenance order in that field, the first position in material document will be filled with material and quantity from the order.
The question in...is there any user-exit or badi that allows me to do this implementation??
A lot of thanks!!
Edited by: Cap_ES on Oct 27, 2009 8:30 AMAs i saw, this requeriment is not possible.
I'll close the post. -
User Exit or BADI to update the service order in R/3
Hi,
When creating a service order the following fields need to be populated automatically using an user exit or badi.
1. Planner Group
2. PMActType Plant maintenance activity type
3. Cost/Profit Centre
4. WBS element
5. Work center
so my requirement is there any function module or Badi or user exit to update the service order details when service order is created / changed.
Pls do the needful.
Reg
RamanaHi Ramana,
Go to SPRO Transaction and follow the below path
Customer relationship management>Transactions>Settings for Service Processes>Business Add-Ins and you will find 8 BADI's.
Check these BADI's useful for you.
Regards,
Lijo Joseph -
User exit or BADI for MIGO to Update a field in MSEG-KOSTL
Hi,
I want to update/change the KOSTL (Cost center) value before creating/posting the document.
Please let me know is there any user exits or BADI, which will export the MSEG structure.
Regards,
GaneshHi
I believe there isn't a BADI or EXIT allows to change item data, I usually use the exit to change the item text EXIT_SAPMM07M_001 (the BADI MB_MIGO_ITEM_BADI should be the same thing) where I change the data by field-symbols:
FIELD-SYMBOLS: <KOSTL> TYPE MSEG-KOSTL.
ASSIGN '(SAPMM07M)MSEG-KOSTL' TO <KOSTL>.
<KOSTL> = .......
Max -
User Exit or BADI to update the service order
hi,
When creating a service order the following fields need to be populated automatically using an user exit or badi.
1. Planner Group
2. PMActType Plant maintenance activity type
3. Cost/Profit Centre
4. WBS element
5. Work center
so my requirement is there any function module or Badi or user exit to update the service order details when service order is created / changed.
Pls do the needful.
Reg
Ram
Message was edited by:
RAMANA MYLAPALLIBest Possible way is.
go to se24 -> type in CL_EXITHANDLER -> Go to get_instance method.
Put a breakpoint on CALL METHOD cl_exithandler=>get_class_name_by_interface.
Now run the transaction and check which all BADI and user exits are invoked when u call the transaction.
Idenitfy the BADI which can be useful to you.
Reward if u find it useful.
Thanks
Kartavya -
User exit or BADI available for the CAPP in CA03.
Hi,
I have a requirement to populate the standard CAPP values to the work center activities of the routing only when all the activities are having a blank value.Please see the below paragraph for better understanding.
Currently in SAP when executing CAPP for a work center of the routing it over writes the existing values populated on the routing for the setup,labor,standard labor,man occupation,machine occupation etc whether the values are blank or not. An enhancement needs to be made to only populate operations standards when all the values are blank.
If routing is not populated with setup, machine, labor standards, man occupation, machine occupation and work center is setup for default standards in CAPP, then run the CAPP process to apply standards from work center zcappstds table. The program that is run to apply these standards currently is SAPLCETO. Potentially ca96 and the batch process that updates the material master RCPMAU01 will have to be adjusted as well.
Please help me if anybody knows the user exit/Badi for this requirement.Please reply me soon this is an urgent requirement
thanks in advance,
Samyuktha.I dont have details abt exact user Exit or badi which will suit ur requirement. But below info will give you the way to find out the same.
Have a look at below link,
http://www.erpgenie.com/sap/abap/code/abap26.htm
which gives the list of exits for a tcode
There are multiple ways of searching for BADI.
Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
Finding BADI Using SQL Trace (TCODE-ST05).
Finding BADI Using Repository Information System (TCODE- SE84).
1. Go to the Transaction, for which we want to find the BADI, take the example of Transaction VD02. Click on System->Status. Double click on the program name. Once inside the program search for CL_EXITHANDLER=>GET_INSTANCE.
Make sure the radio button In main program is checked. A list of all the programs with call to the BADIs will be listed.
The export parameter EXIT_NAME for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it. The changing parameter INSTANCE will have the interface assigned to it. Double click on the method to enter the source code.Definition of Instance would give you the Interface name.
2. Start transaction ST05 (Performance Analysis).
Set flag field "Buffer trace"
Remark: We need to trace also the buffer calls, because BADI database tables are buffered. (Especially view V_EXT_IMP and V_EXT_ACT)
Push the button "Activate Trace". Start transaction VA02 in a new GUI session. Go back to the Performance trace session.
Push the button "Deactivate Trace".
Push the button "Display Trace".
The popup screen "Set Restrictions for Displaying Trace" appears.
Now, filter the trace on Objects:
V_EXT_IMP
V_EXT_ACT
Push button "Multiple selections" button behind field Objects
Fill: V_EXT_IMP and V_EXT_ACT
All the interface class names of view V_EXT_IMP start with IF_EX_. This is the standard SAP prefix for BADI class interfaces. The BADI name is after the IF_EX_.
So the BADI name of IF_EX_CUSTOMER_ADD_DATA is CUSTOMER_ADD_DATA
3. Go to Maintain Transaction (TCODE- SE93).
Enter the Transaction VD02 for which you want to find BADI.
Click on the Display push buttons.
Get the Package Name. (Package VS in this case)
Go to TCode: SE84->Enhancements->Business Add-inns->Definition
Enter the Package Name and Execute.
Here you get a list of all the Enhancement BADIs for the given package MB.
Best Regards,
Vibha
*Please mark all the helpful answers -
I would like to populate the cost center in work order to PR. Is there any user exit or BADI ? I had try IWO10009, it doesn't work.
Please help on this. Thanks.Hi all
I am from FICO but I have quite the same issue. I would really appreciate if PM gurus can help me in this. From FICO point of view, the Cost Center from t/code iw31 needs to be populated so that later, auto-created PR then PO followed by GR, will be reflected in Cost Center Reports such as Cost Center:Actual/Plan/Variance. This is important for accurate management reporting. In addition, t/code FBL3n Display Line Items for that G/L account, will show which Cost Center expenses are posted into.
Eva
Does this why you need the Cost Center to be populated?
Thanks & regards
Fauzi -
Dear all,
In MB51 report, sale order value is not showing values even though it actually has.
What could be the reason?
If the answer is User-exits or BADI, can u suggest me the correct user-exit or BADI.
I have already tried the following user-exits by placing BREAK-POINT in the includes. But no where the execution is breaking.
MBCF0002 Customer function exit: Segment text in material doc. ite
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc
Plz give some suggestions.
Regards,
PremHi ,
U need to change the layout of MB51 in order to get the SO no.
goto MB51---> give some inputs ---> in the o/p screen ->click on the variant button-> on the pop screen u, top of it u will get 2 options
1.Header
2.Position
click Position Button ---> here u will get all Fields avail. for this Report O/P , so u can add SO field and save the variant.
regards
Prabhu -
User exit or BADI for recruitment
Hi,
I am new to HCM, can you give me user exit or badi for recruitment.
Requirement - i have developed an infotype which i am updating through BSP, while the custom infotype is updated it should simultaneously update some of my Z tables. Hoping for positve replies earliest.
Thanks in advance:-
SantoshHi,
<b>Infotype</b>The data fields of HR master data, time management and recruitment are grouped logically into information types or infotypes for short.
Examples of infotypes are "Family/Related Person", "Organizational Assignment, "Basic Pay".
The following naming conventions apply to infotypes:
Infotypes 0000 to 0999 are used for HR master data
and sometimes for applicant data
Infotypes 1000 - 1999 for organizational management
Infotypes 2000 - 2999 for time data
Infotypes 4000 - 4999 for applicant data
Infotypes 9000 - 9999 for customers
<b>Function character of step</b>
This controls for which types of processing (create, change and/or delete a data record) a dynamic action should be carried out.
The processing type is indicated by a two-digit numeric value. These values can be added up; in other words, you can enter several processing types for each infotype, subtype or field. A dynamic action can also be carried out independent of the current processing type.
00 for Independent of the current function carried out
02 for Change
04 for Create
06 for Change and create
08 for Delete
10 for Change and delete
12 for Create and delete
Examples
If you enter 06, an action is carried out if the specified infotype was created or changed.
If you enter 00, an action is carried out irrespective of whether the specified infotype was created, changed or deleted.
<b>Variable function part</b>
The variable function part, which depends on the indicator for step, can have the following meaning:
<b>P - Plausibility checks</b>
You can enter values for specific infotype fields. Field names must be entered in full. Literals and constants can serve as comparison values. These must be enclosed by inverted commas. Variables can also be used.
The old value of a field can be used for comparison; the field name must be preceded by PSAVE-.
If fields of other infotypes are used for comparison, these must be stored in the module pool of the current infotype.
The following comparison operators are supported:
= equal to,
< less than,
<= less than or equal to,
> greater than
>= greater than or equal to and
<> not equal to.
Consecutive checks must be linked by a logical AND. Logical OR links must also be indicated by a /X.
Note:
Note that all checks with OR links must have a /X.
If the result of the comparison operation is not "true", then the following commands (I, F, W etc.) are skipped over until a field is reached or a new comparison operation takes place.
Examples
Infotype Field ..... Ind. Variable function part
0007 STAT3 P P0007-STAT3='0'
0007 STAT3 P PSAVE-STAT3='1'
The step is taken if the value in the P0007-STAT3 field changes from 1 to 0.
0007 P P0013-KLKZ1<>'0'/X
0007 P P0013-ALVKZ<>'0'/X
0007 P P0013-RVKZ1<>'0'/X
0007 P P0013-RVNUM=SPACE
The first three conditions are linked by an OR; at least one of these conditions must be met. Condition 4 must always be met.
The step is taken if the following holds true:
P0013-KVKZ1 not equal to 0 or P0013-ALVKZ not equal to 0 or P0013-RVKZ1 not equal to 0, and P0013-RVNUM empty.
<b>I - Maintain infotype record</b>
Enter the step, infotype, subtype, object ID, start and end dates of the record and an indicator which defines whether the step is to be run in the background. The possible actions are INS, COP, MOD, and DEL.
Use commas to separate selection criteria just like the separator in the matchcode. If an entry is missing, the system inserts a comma.
Separate the indicator for suppressing dialog from other entries by a slash D (/D).
Constants, such as those for subtypes, are not enclosed in inverted commas.
Variable entries are also permitted. Fields containing such values must be put in brackets.
Examples:
Infotype Field .... Ind. Variable function part
.... I INS,19,01/D
Step: Create a Dates record, subtype 01, run in the background
.... I DEL,14,M559
Step: Delete Rec. Payments/Deds. record with subtype (wage type) M559.
0007 .... I INS,8,,,(P0007-BEGDA),(P0007-ENDDA)
Step: Create a Basic Pay record (0008) without subtype and object ID. The start and end dates are the same as those in the current Planned Working Time record (0007); specify these two fields only if they are filled because the dynamic action was triggered by this infotype.
<b>W - Default values for new record</b>
Literals or variables are used as default values.
Set the defaults for the infotype, subtype, object ID, start and end dates using an I step and not a W step.
Do not set defaults for Q fields of an infotype because the values for these fields are derived from the corresponding P fields.
Examples
Infotype Subtype ..... FC Ind. Variable function part
0021 2 04 I INS,0015,M430
0021 2 04 W P0015-BETRG='10000'
When a Family/Related Person record (0021) record with subtype 2 (child) is created, an Additional Payments record (0015) with a default amount of 100.00 is created.
<b>V - Cross-reference to another step</b>
Here, you can combine fields to groups. The variable function part contains the value in the field which follows the "field" column. Steps which are specified only for the following field are also triggered for each of the other fields.
Examples
Infotype Field ..... FC Ind. Variable function part
0016 PRBZH 06 V PRBZT
0016 PRBZT 06 I DEL,0019,01/D
Infotype 0019, subtype 01 is deleted in the background when the field PRBZT or PRBZH in infotype 0016 is changed or created (function code 06).
The following entries are equivalent:
0016 PRBZH 06 I DEL,0019,01/D
0016 PRBZT 06 I DEL,0019,01/D
<b>F - Call a routine</b>
You can call internal (module pool) as well as external routines.
If you call external routines, type the program name in brackets after the routine name. Do not specify 'using' parameters. When calling an external routine, all data must be declared in a common part. You can use the fields of structure RP50D to return values from the routine. These are not used in the standard system and can only be populated via the routine and then can be used for defaults (W-Commands).
This allows customer-specific routines to be formulated with all the above steps.
Example 1:
Infotype Field ..... Ind. Var.function part
0016 PRBZT F PROBATION
0016 PRBZT I INS,19,01
0016 PRBZT W P0019-VTRMN=PRBEND
Module pool MP001600 contains the PROBATION routine. This routine uses the entries in the fields P0016-PRBZT and P0016-PRBEH to determine the end of the probation period which it stores in the field PRBEND.
The system creates a new 'Dates' record with the reminder date = PRBEND.
Example 2:
Infotyp ..... Ind. Var. function part
0001 F GET_DATE(ZPUDYN01)
0001 I INS,19,01
0001 W P0019-VTRMN=RP50D-DATE1
The GET_DATE routine in program ZPUDYN01 calculates a date and enters this date in the RP50D-DATE1 field via "TABLES RP50D" in ZPUDYN01. This date can be user-defined in GET_DATE: if necessary, user-defined infotypes can be read afterwards.
<b>M - Send a mail</b>
Enter the name of the feature which defines the characteristics of the mail.
Example
Infotype Field ..... Ind. Var.function part
0001 SACHP M M0001
A mail is sent when the field SACHP is changed. The characteristics of the mail are defined in feature M0001.
In the standard system, feature M0001 is provided as a model. The documentation on feature M0001 explains how to define the characteristics of a mail.
<b>ADDITIONAL HINTS</b>
If you use a date as a constant, enter it as YYYYMMDD (YYYY=year, MM=month, DD=day).
The table strings T001P, T503 and PSPAR are filled with the values which are valid on the record start date.
The old values of the infotype are stored in the field string PSAVE. The structure of this string is the same as the Pnnnn structure (nnnn=infotype). The structure is filled with (valid) values only when the delete, change and create functions are used.
Please read Create dynamic actions in the Implementation Guide.
Regards
Bernd -
USER EXIT or BADI for Vendor field in MIRO
Hi Experts,
In MIRO transaction vendor field gets defaulted from Purchase Order. So my requirement is to changes that vendor with alternate payee.
To <u>replace the vendor with alternate payee</u> I need the <b>USER EXIT or BADI</b>, kindly help me on this will be useful for us.
Thanks in Advance.
SAP ConsultantTransaction Code - MIGO Goods Movement
Exit Name Description
MBCF0002 Customer function exit: Segment text in material do
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Ma
No of Exits: 8
BAPI-step by step procedure
http://www.sapgenie.com/abap/bapi/example.htm
list of all BAPI's
http://www.planetsap.com/LIST_ALL_BAPIs.htm
Rewards if useful.................
Minal -
User Exit or Badi for VL01N (before the delivery will be displayed)
Hello Togheter:
I have to change the sort order of the delivery items in VL01N before they will be displayed (not at the moment when they'll be stored on the database). Does anybody know any enhancement or user exit or BADI that i can use for this? I've tried with BADI LE_SHP_DELIVERY_PROC, but there is no methode which I can use for reordering the table XLIPS/LIPS before the delivery will be displayed.
Thanks in advance
KlausExits for VL01N ::::::
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
Hope they may help a little.
Regards,
Jignesh
Maybe you are looking for
-
Can't install OS 10.4 on new hard drive
I installed a new WD 320Gb hard drive in our PowerBook G4 today but can't load the os. I connected the G4 as a target to another mac and partitioned the new drive and erased it with zero. Everything looks good there but . . . the g4 wont recognize th
-
I was very excited to see the recent release of the Soundblaster Audigy 2 ZS Video Editor. Anyone aware of plans for more audio/video products? As much as I like the new device, I would really prefer an internal/external combo that would have interna
-
2nd HARD DISK DISSAPPEARED..HELP!!!!!
someone PLEASE help me...i have 2 years of data on this disk. My 2nd hard disk disappeared from my desktop and Finder. I see it in Disk Utility, nad verified it and says everything is ok. This all happenned when i creatd a user account under my admin
-
Don't understand error message from HTML parser?
I've written a simple test program to parse a simple html file. Everything works fine accept for the <img src="test.gif"> tag. It understands the img tag and the handleSimpleTag gets called. I can even pick out the src attribute. But I get a very str
-
Apple iTunes store keep taking my visa money
I don't know why ... The last purshase I have made it was from 2 weeks a go , then I canceled my visa info from my ID , but today and surprisely I just receive SMS from my pank to inform me that apple iTunes store it used they take 29 USD by this day