CRM - Pricing User Exit in Java - BADI CRM_COND_COM_BADI

Hi All
I have to convert some user-exit from Abap to Java in order to work in CRM Pricing Scenario (I use VMC technology based on Web AS 7.00).
In the manual attached to note 809820 (New userexit concept for pricing)
I find this chapter but I don't understand how to work with BADI <b>CRM_COND_COM_BADI.</b>
<b>My objective is to create Java user-exit using Custom Tables and Fileds.</b>
<b>Passing additional information to pricing</b>
To summarize, if the information used in a requirement is not depending on the current calculation result, then the information can be passed to the pricing engine. This is the best way to avoid e.g. DB or JCo calls from the user exits.
Nearly all application scenarios using the pricing engine provide a way of filling additional attributes.
1. Create a field catalogue entry for the additional attribute
2. Program the filling of that attribute value
The application calling the pricing engine and the way it is allowing customer code to fill or influence attributes is not part of this document. Here is only a short list of documentation to start with (also various notes exist):
Application Description
CRM Online Order Processing
Implement BADI CRM_COND_COM_BADI. Note 850077
Mobile Solutions Implement VBA user exit methods on SPCDOCHANDLER or SPCITEMHANDLER.Note 677314 and Note 934216
Best regards
Davide Ivanov
[email protected]

Hi davide,
The BADI CRM_COND_COM_BADI is used for filling the pricing communication structure.
If you have added any field at header level of the field catelog that will available in the changing parameter of the method HEADER_COMMUNICATION_STRUCTURE.
If you have added any field at item level of the field catelog that will available in the changing parameter of the method ITEM_COMMUNICATION_STRUCTURE.
Additional fields added at catelog can be filled with the values using this BADI.
Thanks & Regards,
Raghuram. K.R.

Similar Messages

  • Pricing User Exits - Requirement

    Hi Experts,
    I am new to IPC and Pricing. Can anybody please suggest me how to code in java for the pricing user exits. Also I would like to know. After I have uploaded the Jar file into the system. How can I put a breakpoint in my java code and debug. Or does the code get converted into ABAP after uploading?
    Can anyone please throw some light on this issue.
    Warm Regards,
    Abdullah

    hi abdullah,
    You cannot debug the java program as an ABAP program.
    you can use the following code in the java program for debugging.
    private static UserexitLogger userexitlogger =new UserexitLogger(//put the name of the class file of ur userexit);
    userexitlogger.writeLogDebug(//here you can write the varibles those values which you want to know at the runtime.);
    And to see this values using sm53 transaction. select log administration->log display->slect ur user exit under the corresponding package. Then you can see the values of the varibales at runtime.
    For developing user exit u have to use Eclipse IDE.
    With Regards
    Shanto Aloor

  • Sales Order Pricing User Exit Problem

    Hi,
    I am facing a problem related to coding in Sales Order pricing user exits. Scenario is as mentioned below:
    Based on Material Entered and Sold To in Sales Order, auto determination of a manual pricing condition happens. For doing this, coding has been done in USEREXIT_PRICING_PREPARE_TKOMP by changing XKOMV table. Auto determination of the manual price is happening properly.
    From Sales Overview Screen when user goes to the Conditions tab, Net Value is not getting calculated. When we navigate away to Schedule line tab and then come back to COnditions tab, Net Value is automatically getting calculated.
    AM i missing something in the coding part? As the data is getting populated automatically I guess some piece of code needs to be triggered. Can anyone shed some light into this.
    Thanks in advance,
    thunderans.

    Prabhu: After filling in XKOMV structure, I am calling FM PRICING. On doing this, the Sales Pricing is getting calculated but even then net value of order at header i.e VBAK-NETWR is not getting populated when we are in Sales Overview screen. When, I am getting into Conditions tab and coming back to Sales Overview screen, Net value is getting populated correctly. This portion of everything not getting populated at the same time is bothering me. The pricing conditon that I am  filling is a manual pricing condition.
    I put a breakpoint after FM PRICING which correctly populates XKOMV structure. How do I properly update Order Net Value in Sales Overview screen wihtout having to navigate to any other tab?
    Nicklas: I am looping at Order line within the user exit USEREXIT_PRICING_PREPARE_TKOMP and determining price. Once all line items are processed, I am using the FM PRICING for calculating Sales Prices.
    J@Y: Request to send me a bit more details into your approach.

  • User-Exit OR a BAdi for the Purchase order create.

    Hi,
    I am looking for a User-Exit or a BAdi which is fired when the Purchase order is being created in the SRM server via Web template. The requirement is as follows:
    There is a flag(Check box) at the the item level, Basic Data tab. This flag is called as Unlimited Overdelivery Allowed. It is with the tolerances field. Now I want this flag to be always set for a PO of a material of certain type.
    Can anyone tell me which User-Exit OR Badi I should use to always set this flag?
    The Technical field name is UNLIMITED.
    I tried a lot but could not get any.
    Regards,
    Deepak.

    Hi Deepak,
      Did you try doc_change badi? THis badi is available in all the bus objects.
    thanks,
    Ashwin

  • SO Pricing User Exit - How to know which item is selected for re-pricing.

    Hello Experts,
    I have to modify material data when user does a update pricing in VA02, the problem is...How do I know which item is selected for re-pricing (in MV45AFZZ)? I am using user exit USEREXIT_PRICING_PREPARE_TKOMP.
    For Ex: If my order has 3 items and 2nd one is selected and then 'Update' is done on 'conditions' tab. Above pricing user exit is triggered 3 times for all items, so I cant check XVBAP.
    Your help will be appreciated.
    Thanks,
    Sagar

    Hi J@Y,
    Thanks for reply. But USEREXIT_PRICING_PREPARE_TKOMP is triggered for all items, so how do I know which is current item?
    If you see in debug mode, xvbap-posnr and tkomp-kposn will have 10,20,30 everytime (for 3 times). How do I know if user has selected 20?
    Thanks,
    Sagar

  • User exit or a badi for checking the vendor email id in me22n on me29n

    hi all,
    can anybody suggest me a user exit or a badi  for checking the email id of the vendor in me21n or me22n or me29n.
    i.e. a user exit or a BADI which gets hit either at the time of creation or release of a purchase order.
    plz suggest me a solution its urgent.
    regards,
    santosh

    Hi Santosh,
    Have you looked BADI <b>ME_PROCESS_PO_CUST</b> or user exits <b>EXIT_SAPMM06E_016</b> / <b>EXIT_SAPMM06E_017</b>?
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Obsolete User Exit's n BADI's

    Hi,
    Where can I get a list of Obsolete User Exit's n BADI's when I am upgrading a system from 4.7 to ECC6.0
    Also, what is the way forward for dealing with the obsolete exit's n badi's. i.e. how can they be changed to make them compatible with ECC6.0 version?
    Thanks,
    Ajay.
    Edited by: ajay singh on Dec 11, 2009 8:16 AM

    Hi!
    In most of the cases obsolete exits and badis are working correctly, without any additional coding or modification.
    However they are marked as obsolete by SAP, because they will stop using they in the far future, and there are much more useful and more modern ways to handle the same problem.
    This means, you don't have to modifying all obsolete stuffs in a big haste until the end of the year, but you have to avoid using them in new developments, and you only have to modify them if they cause problems.
    Regards
    Tamá

  • Hi Help on SD Pricing user exit

    Hi Guru's,
    I need help on sd pricing user exit..
    when preceding order document do not have ZW15 condition type,if we try to create the return order using the preceding order , we will not have ZW15 condition type in the returns order. But if we try to enter ZW15 condition type manually in return order,system should  throw a warning message that manual entry of ZW15   is not allowed.
    i need write code for this concept..Please provide exact user exit for this concept.
    Regards
    P.Senthil Kumar

    Hi,
      The error is due to the configuration of the pricing condition type. For the present configuration you will not be able to add the condtion manually. In order to add the condition type in your return order you have to create a new pricing routine and get it configured. Add checks in the routine for the order type while applying it. This routine will get trigerred while creation of the orders.
        Go to trasncation VOFM  and then go to Requirements--->Pricing, you will be able to see the pricing routines here. You can create a routine similar to these.
    Regards,
    Susanta

  • Reg : SD pricing user exit

    Hi Guru's,
    I need help on sd pricing user exit..
    when preceding order document do not have ZW15 condition type,if we try to create the return order using the preceding order , we will not have ZW15 condition type in the returns order. But if we try to enter ZW15 condition type manually in return order,system should throw a warning message that manual entry of ZW15 is not allowed.
    i need write code for this concept..Please provide exact user exit for this concept.
    Regards
    P.Senthil Kumar

    Hi Raju Chitale,
    Thaks for your response..
    Thanks for your input..
    Ckear w_count.
    loop at xkomv where ( kposn = xvbap-posnr )
    And ( kschl = 'ZW15' ).
    w_count = w_count + 1.
    Endloop.
    If w_count > 1.
    Give Appropriate message.
    Message e057(znov) with 'ZW15'.
    Endif.
    In this case, I need to check preceding order document whenther its having ZW15 condition type or not..
    If ZW15 conditon type not found in preceding order then ur try to enter the ZW15 condtion type mannually then i want to show error msg..in this code how to check the preceding order having condition type or not.???
    Regards
    P.Senthil Kumar

  • Difference between user exit,enhancement and BAdi

    hello guys,
    what is the difference between user exit,enhancement and BAdi.
    Please do let me know..
    Thanks in advance.
    regards,
    praveen.

    Pls do search the forum before posting*

  • Crm pcui user exits

    Hi.
    I have read somewhere that in order for developers to customize, they need to put or interface their code with what is called a "user exit".
    Where can I get or find the user exit/exits for the crm pcui?
    arnold

    Hi Manuel,
    Thanks for the reply. Currently, what I wanted to do in CRM, when a user enters a customers address on the fields (street no., street name, bldg number, country, etc. the content of an address), I want it to go to a customized Java or ABAP object that connects to a database to check for the address.
    I was looking at the possible solution of user exits to do this. I have the impression user exits can be used if one wants to customize the functionality. Am I correct? Or am I looking at it the wrong way? Thanks again.
    arnold

  • User exit of\r badi for co11

    Dear Gurus,
      i need a user exit or badi for transcation co11 after creation of batch .
    tx
    raj

    Hi Raj,
    Following are the user exit for co11:
    CONF0001            Enhancements in order confirmation                          
    CONFPI01            Process order conf.: Calculate cust.specific default values 
    CONFPI02            Process order confirmation: Customer spec. input checks 1   
    CONFPI03            Process order conf.: Cust. spec. check after op. selection  
    CONFPI04            Process order conf.: Customer specific input checks 2       
    CONFPI05            Process order conf.: Cust. spec. enhancements when saving   
    CONFPI06            Process order confirmation: Actual data transfer            
    CONFPM01            PM/SM order conf.: Determine cust. specific default values  
    CONFPM02            PM/SM order confirmation: Customer specific input checks 1  
    CONFPM03            PM/SM order conf.: Cust. spec. check after op. selection    
    CONFPM04            PM/SM order conf.: Customer specific input check 2          
    CONFPM05            PM/SM order conf.: Cust. specific enhancements when saving  
    CONFPP01            PP order conf.: Determine customer specific default values  
    CONFPP02            PP order conf.: Customer specific input checks 1            
    CONFPP03            PP order conf.: Cust. specific check after op. selection    
    CONFPP04            PP order conf.: Customer specific input checks 2            
    CONFPP05            PP order conf.: Customer specific enhancements when saving  
    CONFPP06            PP Order Confirmations: Actual Data Transfer                
    CONFPP07            Single Screen Entry: Inclusion of User-Defined Subscreens   
    CONFPS01            PS confirmation: Determine customer specific default values 
    CONFPS02            PS confirmation: Customer specific input checks 1           
    CONFPS03            PS confirmation: Customer specific check after op. selection
    CONFPS04            PS confirmation: Customer specific input checks 2           
    CONFPS05            PS confirmation: Customer specific enhancements when saving 
    Hope this will help you...

  • User Exit's and BADI's

    HI  SAP Gurus,
    Can anybody please tell me what are user exits and BADI'S, and how are they used.
    Thanks in Advance.
    Sravanthi

    User exit - A user exit is a three character code that instructs the system to access a program during system processing.
    SXX: S is for standard exits that are delivered by SAP. XX represents the 2-digit exit number.
    UXX: U is for user exits that are defined by the user. XX represents the 2-digit exit number
    The R/3 enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications.
    SAP creates user exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality.
    An example of a user exits :-
    MODULE user_exit_0001 INPUT
    CASE okcode.
    WHEN 'BACK OR EXIT'.
    CASE sy-dynnr.
    WHEN '100'.
    SET SCREEN 0.
    LEAVE SCREEN.
    WHEN '200'.
    Note that you can write any code that satisfy your needs. ****
    But in this case, this was wrote as a sample code for reference sake. ****
    And you can test it. ****                                                                               
    SET SCREEN 100.
    LEAVE SCREEN.
    ENDCASE.
    ENDCASE.
    BADI: can be used for multiple implementations
    that is the difference between user exit and Badi.
    which-ever thing you execute that related code will be executed.
    see the Badi's doc
    Business Add-Ins
    Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
    In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.
    • In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
    Courtesy - Kushagra

  • User Exit migrated to Badi  (IE4N)

    Hi Expert,
    I'm doing upgrade to ECC 6.0 from 4.7 right now and encounter one issue with enhancement CCM00001. We have implemented several screen and user exit in that enhancement in 4.7 system but when we want to open it via SMOD in ECC 6.0, information message popup saying that the enhancement already migrated to Enhancement Badi Definition SMOD_CCM00001 and the status of that enhancement also Migrated.
    The funny thing is, there is no Badi definition with name SMOD_CCM00001 and the CCM00001 exit is no longer triggered from IE4N transaction as the way it was in 4.7 system.
    Do share your experience if any of you have encountered the same problem before. Thank you.

    Hi Abraham,
    We had the same issue. According to SAP, the exit CCM00001 was replaced by  the following new badis in ECC6.00:
    User screen installation IERI_USERSCR_INSTALL
    User screen dismantling IERI_USERSCR_REMOVAL
    User screen notification dismantling IERI_R_NOTIF_CUST
    We have implemented the first two badis and it worked fine.
    I hope it can help you.
    BR, Otávio.

  • CRM Badi or user exit needed

    I need a user exit or a badi that would fill zfields in CRM based on the data arriving from ERP.
    any idea experts? then mail me details.
    [email protected]
    Thanks.

    Narasimha,
    SMOUTIL3 is one user exit.
    This one is called after the Bdoc is generated. The user exit does not allow to modify the Bdoc contents. however depending on the contents of the BDOC custom fields can be filled. This user exit can also be used to modify Z tables
    I have used it for one scenario. Sending the documentation of it to you.
    Hope this helps.
    <b> <i> IceCube </i> </b>

Maybe you are looking for

  • Importing bc4j from jar in project

    Hi, since we have a complex application, we want to group application modules logically into smaller modules (submodules), which must be combined to yield more complex modules. Every submodule lives in its own project, so reusing a submodule in a mor

  • HTML5 Output to Web Browser view

    The middle image displays a play button I have to press before previewing my HTML5 output page.   Is this what my users have to do each time they view my page created in Captivate?  or is this just the view in the Preview mode while I'm working on th

  • Volume prof

    <FONT color=#666666 size=3><SPAN><EM>I have just installed a Creative Soundblaster Audigy EAX PCI Card SB0090 in my media centre. It's so much better than the onboard audio. However I would like to be able to fine tune it. I am running the sound thro

  • Is my ipod a piece of crap or what? what is going on?

    i've been having so many problems with my ipod mini lately. the battery is malfunctioning (if you look at my other posts), and now i dont know whats wrong with it. i had it on a full charge and then went out and took it with me. i tried to turn it on

  • Connection Pooling: how many active connections?

    Hi, everybody. I have a very simple question about connection pooling... How many active connections should a database see once a connection pool has been opened? I mean, it should see only one connection (the pool itself) at any time, or the number