CRM Call List Save BADI / Enhancement Point
Hi
I need to perform some validations on Call List Save using TX CRMD_TM_CLDIST . I searched for a BADI which gets called when the call list is saved but could not find one .
Has anyone worked on a BADI which gets called when a call list is modified ?
Regards
Ajitabh
Hi
In the call list application there are individual operations some of which require a save and some do not for eg adding a user to the assignment block of a call list does not require a save button .
For this operation class CL_TM_CLM_ASSIGNMENT is used by the standard.
SAP has provided implicit enhancement points in each of the methods of this classs .These methods handle the individual operations for eg deleting an assignment,adding an assignment etc.
To identify the classes we did a trace of the operation(adding a new assignment,deleting an assignment etc etc). From the ST05 traces we identified the classes which were performing the various operations and then implemented the implicit enhancements in these methods to do our processing.
Hope this helps....
Ajitabh
Similar Messages
-
User Exit/BADI/Enhancement Point in VF01 before new document no assignment
Hi Expert,
I am looking for a user exit/BADI/Enhancement point which will trigger in VF01 before the new document no (Billing document no assign).
I need to cross check few things in Billing via VF01 at billing document save and give error message accordingly. The problem is if new number assign and there is error due to my code then when user save the document next he get a new no. its mean a no skip.
Example: The invoice no is 1000. User start creating a billing document with Vf01 and he get an error message due to my code at exit , at this point of time the next number assign to billing which is 1001 but document not save due to my error message. Now after applying correction user save data and billing document created with no 1002. So there is no skip.
I tried BADI BADI_SD_ACCOUNTING but this will trigger after no assignment. Can someone provide me a user exit/BADI/Enhancement point in VF01 which trigger before no range assignment and contain at least Billing header data to use in my code?
Regards
Swati
Edited by: Swati Namdev on Nov 16, 2010 9:55 PMHI Brad and team,
BRED is right. I check few user exit normally all of us have that list or easily available on net.
BRED: my question is: I need to check the billing date VBRK-FKDAT of document should not be less than the sales order plan billing date VBAP-Oldate.
If this check fail then won't allow the user to create billing document. The problem is I used one user exit SDVFX001 already define previously that's work fine but issue is that user exit trigger after the billing no assignment. That's why when user get that error message he correct the document and create billing this time he get a new number which is skip of one no.
That why I need a User Exit/BADI/Enhancement Point which trigger at save but before document no assignment.
Please update more about your comment "Why not use a header level copy requirement routine to perform the checks and log the messages? This is the standard process." .
Suggest user exit USEREXIT_FILL_VBRK_VBRP trigger before save. I need at save the reason is VBRK-FKDAT this can be change.
Feel free to contact me back if you need more clarification.
Regards
Swati
Edited by: Swati Namdev on Nov 17, 2010 6:22 PM
Edited by: Swati Namdev on Nov 17, 2010 6:25 PM
Edited by: Swati Namdev on Nov 17, 2010 6:32 PM
Edited by: Swati Namdev on Nov 17, 2010 6:47 PM -
User Exit/BADI/Enhancement Point in VF01 after generating new billingdocno.
Hi Experts,
I am looking for a user exit/BADI/Enhancement point which will trigger in VF01 after generating the new document no (Billing document no assign). The Billing document no is generating in the FM RV_INVOICE_DOCUMENT_ADD ( NUMBER_GET_NEXT).
Now the Billing document no is generating like '0000152', i want to concatenate 'ECR' to the generated Billing document no and it should be updated like ECR0000152 in Billing tables (VBRK, VBRP).
Kindly let me know is there any EXIT/BADI to achieve this functionality.
Regards,
VenuHi Venu,,
These are the enhancements and badis for vf01, please check which will be helpful to you,,
<exit farm removed by moderator>
<points begging removed by moderator>
Warm Regards
Zulfikhar Ali
Edited by: Thomas Zloch on Oct 1, 2011 3:57 PM -
EXIT/ BADI/ Enhancement point for User Status change in Order
Hi all,
I am looking for an EXIT or a BADI or an enhancement point specifically for user status change in an order thru IW31/IW32.
I have the exit names for Order PBO, PAI, 'SAVE' event etc. so m not looking for generic answers.
I have to put some validations for the Order on USER STATUS CHANGE. Let me know if any of u have any pointers on that.
Thanks and Regards,
SonalHi,
Use this Enhancement IWO10009 and call these function module to change the User Status
STATUS_TEXT_EDIT --> To Read the existing status.
STATUS_CHANGE_INTERN_VB --> to change the status.
Regards,
Satish -
Purchase order user exit / BADI / Enhancement points
Hello experts,
Please Help me to get the user exit or any way to enhance the PO functionality. I am trying to set the PO line item status to "Blocked" or "Unblocked" whenever a change is triggered in PO line item for transactions Me21N / Me22N. The blocked status will be triggered by the custom enhancement, this is the requirement.
Thanks in advance for your help.
I tried the user exit MM06E005, but not working.
- NagarajanHello Nagarajan Ramudu,
inside of MM06E005 you should try the function module EXIT_SAPMM06E_012,
i'm using this user-exit from all things in my company.
Regards,
Welinton Rocha -
hello
i have to add some codes in enhancement ENHANCEMENT-POINT ZUORDNUNG_DURCHFUEHREN_01 SPOTS ES_SAPLMR1M.
what im not sure is whether im doing it in the right way coz its the first time im doing that
i right click on the ENHANCEMENT-POINT ZUORDNUNG_DURCHFUEHREN_01 SPOTS ES_SAPLMR1M.
where i can create the enhancement or is there another way coz i was following a tutorial, im not getting the same screens
plz confirmhi sia anjali,
The better way to start with a Enhancement is;
1) Go to SE18
2) Give Enhancement Spots and click Display.
3) Scroll the list for your Enhancement Point (ZUORDNUNG_DURCHFUEHREN_01) and Double click on it.
4) Now The code will be opened in ABAP Editor.
5) Before modifying switch to "enhancement mode" by pressing the "Enhance Sourcecode" Button( Shift + F4).
6) Now Right Click -> Enhancement Implementation -> Create
7) Click on the Create icon and Give Name and description
8) Assign Package
9) Now select the newly created Enhan. implementation and press enter.
10) Now start writing code as usual.
Regards
Karthik D -
Enhancement points option: Function modules or BADI
Hi, I am on ECC 6.0 and I need to validate and set some requirement in customer sales area data when user input the document output message in Documents tab strip screen 7003 of sapmf02d in transaction XD01 or XD02.
I found that there is function module EXIT_SAPMF02D_001 that I probably can use to create an implicit enhancement point to validate table T_KNVD or I can use BADI customer_add_data. Can someone suggest which way is better and why? I am new to this so could someone show me screen by screen on how to create and implement BADI.
I am confusing about should I create a ZBADI or using existing BADI customer_add_data. If I use existing BADI how can I add my own method with my own code.
Thanks.Thanks. Could you explain to me how does the custom BADI get call to execute my code? Say
I have a customer document screen 7326 (Customer Master Subscreen SD Documents in program SAPMF02D). What I want is when user click save, I want to do some validation on the output message that they enter and issue some warning or error messages.
I am on ECC 6.0 so I can create a BADI from Enhancement spot not from SE18. SAP has a BADI called CUSTOMER_ADD_DATA with class CL_EX_CUSTOMER_ADD_DATA and interface IF_EX_CUSTOMER_ADD_DATA.
When I create a ZBADI_CUST, which interface class I put in the IF_EX_CUSTOMER_ADD_DATA
or a ZIF_EX_XX so that I can create my own method? How does the BADI get called when I am in transaction XD02 and click the save button? Could you kindly show me step by step the procedure.
Thanks. -
Activate a call list in CRM using an interface
We are building an interface to create a call list in CRM and we have come to the stage where we want the interface to activate the call list that has been created.
Does anyone know how accomplish this?What you are suggesting would require a different stored procedure for each table which is what I'm trying to avoid.
Why would it have to be different procedures? You could have all the INSERT statements in a single procedure.
Yes, you could save yourself some typing (well, copying-and-pasting) by using that piece of dynamic SQL. But when may at some point have to fight permissions, you will need to spend times to tweak the code, when there are columns that are not to be copied
and so on. It's possibly more fun, but it is necessarily not more productive.
By the way, there are three flaws in the piece of code you posted:
select @columnList = coalesce(@columnList + ',','') + sys.columns.name
from sys.columns
where object_name(sys.columns.object_id) = @tableName
and sys.columns.name not in ( @keyName )
and is_computed = 0;
The correct result of the construct SELECT @x = @x + col is undefined. You can use FOR XML PATH('') to create a concatenate list. (A quick Google will show you how.)
"NOT IN (@keyname)" means the same thing as "<> @keyname". If they idea is tha @keyname is to be an inclusion list, then you need to crack the list to a table.
And:
exec sp_executesql @sqlCommand, N'@oldKeyId int', @oldKeyId = @oldKeyId
select @newTableId = @@identity -- note scope_identity() won't work here!
Of course, scope_identity() works as long as you capture the value inside the dynamic SQL and return in it an OUTPUT parameter.
By the way, here is one more issue: you need to write the query so that it can handle tables that do have IDENTITY columns.
Erland Sommarskog, SQL Server MVP, [email protected] -
Any Exit/BADI/Enh point to modify COOI table contents before PR/PO save
Hi Experts,
whenever we create/change Purchase requisition/Purchase Order,
table COOI(Commitment line items) gets updated with the Purchase requisition/purchase order
item details and table COSP gets updated with the sum values of COOI entries order by primary keys
of the table.For better explanation i am taking fields from tables
COOI (taken few fields for example)
REFBT REFBN RFKNT LIFNR HRKFT OBJNR WTGBTR(Total value in transaction cuu)
1234 0010 00512 (empty) (empty) PR00148 10
1234 0020 00512 (empty) (empty) PR00148 10
1234 0030 00512 (empty) (empty) PR00149 20
table updated COSP with sum value of COOI order by it's primary keys
COSP (taken few fields for example)
OBJNR KSTAR HRKFT WTG010
PR00148 00512 (empty) 20
PR00149 00512 (empty) 20
I want to pass the value HRKFT(CO key subnumber/Origin grp) to table COOI
to update each commitment line item,so that sum will update table COSP order by it's primary keys
The same example revised with origin group.
COOI
REFBT REFBN RFKNT LIFNR HRKFT OBJNR WTGBTR(Total value in transaction cuu)
1234 0010 00512 (empty) 3100 PR00148 10
1234 0020 00512 (empty) 3200 PR00148 10
1234 0030 00512 (empty) 3300 PR00149 20
table COSP get update with sum value of COOI order by it's primary keys
of COSP considering HRKFT values now(taken few fields for example)
OBJNR KSTAR HRKFT WTG010
PR00148 00512 3100 10
PR00148 00512 3200 10
PR00149 00512 3200 20
and this table is used in report painter to show the commitment
COSTS's segregated by Origin Group.
I need to show the report in report painter HRKFT(origin grp) wise cost's for commitments.
which is using the COSP table to display.
Now my requirement is any exit/BADI/Enhancement where i can modify table COOI contents
with HRKFT value for each line item before sum calucalation for COSP table in detail while creating
Purhcase requisition/Purchase order.
We are using SAP GUI version 6.0
Helpfull answeres will be rewarded
<< Moderator message - Please do not promise points >>
Edited by: Rob Burbank on May 15, 2011 4:28 PMModerator message -
When closing old threads, there is no need to add a comment. Adding a pasted answer like "answered" only brings old threads to the top of the forum list and pushes current ones down. If you do add a comment, please indicate just how the problem was resolved. -
Badi, enhancement in MB1B on save.
Hi,
i am new to enhancements in ABAP,
i have functional req as
in MB1B with Mvt type = 411 and Special Stock = Q
at the time of posting, available balance in budget should not get effected i.e amt of material not get added to available budget.
and in display document layout of MB1B WBS element of 1st line item should be copied to 2nd line item.
i have checked for user exit but but there is exit on SAVE
so have to search for BAdi or enhancement..
Regards
Neha Gupta
Edited by: neha1.gpta on Apr 19, 2011 8:42 AMHi,
Check these or you can keep breakk point @cl_exit_handler badi tcode.
MB_RESERVATION_UPCHD BAdI for Creation and Changing of Manual Reservations
MB_RES_BAPI_CHANGE BAdI: Execution of Changes to Reservation Fields
MB_RES_BAPI_CREATE1 BAdI: Adoption of Customer's Own Fields as Reserv. Fields
MB_RES_BAPI_DETAIL1 BAdI: Display of Customer's Own Fields in Reservations
MB_STOR_LOC_BADI_GTS BADI to Check and Change Storage Location (GTS Fct. Only)
ARC_MM_EBAN_CHECK BAdI: Enhancement of Archivability Check (MM_EBAN)
ARC_MM_EBAN_PRECHECK BAdI: Enhancement of Archivability Check (MM_EBAN)
ARC_MM_EBAN_WRITE BAdI: Enhancement of Scope of Archiving (MM_EBAN)
ARC_MM_EINA_CHECK BAdI: Enhancement of Archivability Check (MM_EINA)
ARC_MM_EINA_WRITE BAdI: Enhancement of Scope of Archiving (MM_EINA)
ARC_MM_INVBEL_CHECK BAdI: Enhancement of Archivability Check (MM_INVBEL)
ARC_MM_INVBEL_WRITE BAdI: Enhancement of Scope of Archiving (MM_INVBEL)
ARC_MM_MATBEL_CHECK Prüfung ADD-ON-spezifischer Kriterien für MM_MATBEL
ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL
MB_RESERVATION_SCR Screen BAdI for Retrofit DFPS
MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blocking Tables
MB_CIN_LMBMBU04 posting of gr
MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7
MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR
MB_DOCUMENT_BADI BAdIs During Creation of a Material Document
MB_DOCUMENT_BADI_SAP BADI for Creation and Changing of a Material Document
MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF
MB_DOC_BADI_INTERNAL BAdIs During Creation of a Material Document (SAP Internal)
MB_ME_CSGMT_BADI_SAP BAdI: Consignment Processing - Stock Transfer
MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens
MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data
MB_PHYSINV_INTERNAL Connection: Core Inventory and Retail AddOn
MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check
MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data -
Hello.
I have the requirement of sending additional fields to Genesys (G+ 7.5) during synchronization of call list.
Do you know if it is possible? I have searched for any documentation or similar topic and I haven't found any document.
Thank you in advanced.
JMit can be done with the help of a system code 'sy-xcode'. it is initialised the time list is sorted so just keeping a check point, we can solve this problem.
Vishu Khandelwal -
Is any Userexit or BAdi or enhanc. point while create PO with reference .
Hello Experts,
Is there any Userexit or BAdI or Enhancement point while create P.O with reference .
My requirement is while creating the P.O.(ME21N) with reference, The payment terms is getting copied from the reference P.O. and become grayed out (Non editable) instead of that user want the payment terms which we have maintained in (LFB1) Vendor Master.
Please help me to resolve my problem.
Edited by: Ketanp on Mar 7, 2012 11:48 AMHi
Try with badi ME_PROCESS_PO_CUST
Regards
Eduardo -
How to enhance call list to show entire list
Hi
In SAP standard, only calls witihin the maintained calling hours are displayed in web-ui.
For example: If the call list is generated for all customers to be called on tuesday, then customer A will show up 9AM if the calling hours are maintained beteween 9AM-11AM.
We would like to enhance this functionlity to show the entire call list from the beginning.
Does someone has experience of this and know how to do that?
BR
JohanHi,
In component/view CRMCMP_CLM/ClmCallListDetails you must change DO_PREPARE_OUTPUT method.
from
lr_Calls = lr_Call_List->get_Related_Entities( iv_Relation_Name = CL_CRM_APPL_INTLAY_CL=>Co_Rn_Active_Calls iv_Mode = CL_CRM_BOL_ENTITY=>BYPASSING_BUFFER ).
to
lr_Calls = lr_Call_List->get_Related_Entities( iv_Relation_Name = 'Calls' iv_Mode = CL_CRM_BOL_ENTITY=>BYPASSING_BUFFER ).
Hope this helps!
Best regards,
Caíque Escaler -
Differences between BAdI and Enhancement Point
Hi Experts,
The version of system I used is ECC 6.0, as locating T-code SE18,I find two field areas:Enhancement Point and BAdI.Could you tell me the differences between the two ?Check
https://forums.sdn.sap.com/click.jspa?searchID=12147590&messageID=5161143
https://forums.sdn.sap.com/click.jspa?searchID=12147579&messageID=5375758
Regards
Kiran Sure -
Enhancement/Badi/Enhancement Spot required for BP at the time of SAVE
Dear Friends,
I have a requirement to update the custom field(Created by using EEWB) in BP transaction at the time of Save, based on the condition Risk Class Category, Could any one help me in finding the solution such as BAdi/Enhancement Spot/User exit where I can find the values of Risk Class category, Credit segment category and the custom field I can change at the time of save.
Appreciate Ur help Thanks alot in advance.
Br,
NaveenHello Selva,
I tried both the options.
The SDVFX008 is getting triggered.
*if cvbrp-netwr is INITIAL and cvbrp-fkimg is NOT INITIAL.
* MESSAGE 'Not Valid' TYPE 'S' DISPLAY LIKE 'E'.
* ENDIF .
this is my logic but the values are initials.
Is there nay other method which I can use?
Maybe you are looking for
-
Error while deploying/Undeploying the SOA composite
Hi All, I am a new bie to OIM 11g. I have created a simple batch file with the commands for deploying/Undeploying/Disbaling/Enabling the SOA composites. I am trying to deploy/Undeploy/Disbale/Enable the SOA composites using the batch file. Following
-
Some images do not print when in printed documentation
I have been encountering this problem for over a year now... I maintain over 20 projects in RoboHelp HTML. I have numerous printed document layouts defined. However, in what appears to be random situations, some of my images do not print. They displa
-
Photo file numbers - duplicates
Hi, My digital camera can take 9999 photos. I have just this week taken more than that this year and the camera started over with numbering the files (0001, 0002 etc.) When I put these into iphoto will it over write the photo files I took earlier in
-
Premiere CS4 "Save As" for Avid or FCP
Hello, Is there a way to save my composition or sequence for Avid or FCP . My buddy works with Avid and FCP and he wants me to send him my composition or sequence so can work on it. I use Premiere CS4. Thanks
-
NI Developer Suite 2011 DS2 installati​on problem
I got 4 cds of NI Developer Suite 2011, version DS2; But when I installed it, it paused after DVD1. First, I checked many options, such as RT module, FPGA moudle, after DVD1, a message popped up said DVD2 should put in. I followed the message, put D