Use of CRM_COND_COM_BADI badi... pls help

Hi fnds,
I am implementing ABAP routines to java user exits.
Now in abap routine, there is a select query from a z table. Now what i understood in developing the same in java user exit is --
download that same z table to crm from r3.
implement CRM_COND_COM_BADI badi, and right the select query there.
But what i dont understand is,
what ist he use of badi CRM_COND_COM_BADI ?
if i have a routine 615, where a z table is used..... how will it relate to this badi CRM_COND_COM_BADI, when i write a query..
basically that query is to tell whether the condition type shud execute or not in req routine...
now how can write this in badi?
I am totally confused with this badi, could u explain on how to write the query in a java user exit.
thanks a ton,
Niraja

Assume a scenario.
You have a pricing condition that provides a discount to a sales based on the end user of the product. Assume this is a partner function different from Sold-To and is a part of the transaction. Remember, I am just making this up. Suppose you have the custom pricing condition table A999 with end user and discount rate. Since you have a custom condition A999, you would have downloaded the condition or created the condition in CRM. For that you must have defined the condition variable say zenduser.
You can determine this enduser using some partner determination and keep it in the partner functions of the transaction or keep it in an EEWB field, depending upon the functional design. But, to determine the discount based on the end user, you must now put this end user partner function or EEWB field into the zenduser condition variable - the pricing structure. The CRM_COND_COM_BADI is the place where you will implement the header or item methods to populate the custom condition variables in the pricing structure with the values from the transaction.
For your case, unfortunately, this BAdI won't do much help unless you change the design significantly. However, see my reply in the following thread for more help.
JCo Connection / RFC in Pricing Userexit
Easwar Ram
http://www.parxlns.com

Similar Messages

  • I have brought ipad 2 from USA to INDIA(32 GB WIFI). I am unable to register with app store using my credit card using india details. Pls help.

    I have brought ipad 2 from USA to INDIA(32 GB WIFI). I am unable to register with app store using my credit card using india details. Pls help.

    You cannot. To open an account on a different iTunes country you must have a valid credit card issued from a bank in that country. You must have a billing address in that country, as well.
    There are reasons why some apps are not available in all iTunes stores.

  • HT204266 Hi pls support me how to switch my store to Saudi Arabian store? By mistake my store is switched to USA store so now I'm unable use my apple id, pls help me

    Hi pls support me how to switch one store to another store? Because my store is Saudi Arabian store but mistakenly now it is switched to USA store
    So now I'm unable to use my apple id, pls help me

    Settings / iTunes & App Stores, tap on your AppleID, then Account / Country-Region.

  • Error while using Javamail...pls help me...

    when i am using javamail for sending mail , i am getting error like,
    C:\jdk1.3\bin\mail>java MailSend
    [email protected] [email protected]
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
    javax.mail.MessagingException:
    at javax.mail.Transport.send0(Transport.java:218)
    at javax.mail.Transport.send(Transport.java:80)
    at MailSend.Send(MailSend.java:56)
    at MailSend.main(MailSend.java:73)
    and i define properties like,
    mailProp.put("java", "java");
    where , "java" is my system name, and there is also mail server on my system. and my system is connected with proxy server..
    when i am trying
    mailProp.put("mail.smtp.host", "java");
    then i am getting same type of error...
    so, what is that ? pls help me to solve my error...

    Surely there's more information associated with that MessaginException than
    you've included here.
    Turn on session debugging and run your program again.
    http://java.sun.com/products/javamail/FAQ.html#debug

  • Apple id lost. Cannot get access to it. Started with a mail from apple id saying that apple id and password were changed. Did not sent such a request. Cannot get a new apple id as the mail adress already has been used one time. Pls help

    Apple id lost. Cannot get Access to it. Started with a mail from apple id saying that apple id and password were changed. Did not sent such a request myself. Since then no acces to apple id, not even via forgot my id site. It says that my apple id and birth date details do not match. Something is obviosly totally wrong. Got a visa card recently, is that the reason? Cannot get a new apple id with my real address as the systems says its already used. Pls help, I am vey frustated that this can happen.
    Best regards
    Laus Lausen

    Call Apple account security via the telephone for your country
    http://support.apple.com/kb/HE57

  • How to use the User Dictionary---Pls help me......

    User dictionary how to use?
    1. I have typed all the words in the Oxford hyphenation dictionary and saved text file.
    2. I have created new dictionary in the preference file.
    3. i have imported all the typed words in the created dictionary file.
    4. I have faced the problem. User dictionary is not supporting properly. Can i disable the System dictionary.
    5. Most of the words are hyphenating by system dictionary only
    Can any one help me out. how to handle this.

    One thread is sufficient, please. If noone responds it means they don't have an answer for you.
    If you can help the OP, please see his original post at http://forums.adobe.com/message/2169036#2169036
    I am locking this thread.

  • Need to retrieve all the node values of xml using DOM parser..pls help

    I want to fetch each node value in this xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <Main>
    <AAAAA>
    <ES>ESValue</ES>
    <EI>EIValue</EI>
    </AAAAA>
    <BBBBB>
    <SIP>
    <ST>STValue</ST>
    <TB>TBValue</TB>
    <PM>PMValue</PM>
    <VIP>
    <CARP>
    <AN1>AN1Value</AN1>
    <BN>BNValue</BN>
    </CARP>
    <DARP>
    <SA>
    <AN2>AN2Value</AN2>
    <CN>CNValue</CN>
    </SA>
    </DARP>
    </VIP>
    </SIP>
    </BBBBB>
    </Main>
    output should be the inner text values of diffrent nodes that contain some values..
    i.e
    output:
    ESValue
    EIValue
    STValue
    TBValue
    PMValue
    AN1Value
    BNValue
    AN2Value
    CNValue
    so that i can use thses node values and put it them in database...

    pls check the above xml file in proper redable order...I need to parse using DOM and fetch node values that are present...
    <?xml version="1.0" encoding="UTF-8"?>
    <Main>
        <AAAAA>
            <ES>ESValue</ES>
            <EI>EIValue</EI>
        </AAAAA>
        <BBBBB>
            <SIP>
                <ST>STValue</ST>
                <TB>TBValue</TB>
                <PM>PMValue</PM>
                <VIP>
                    <CARP>
                        <AN1>AN1Value</AN1>
                        <BN>BNValue</BN>
                    </CARP>
                    <DARP>
                        <SA>
                            <AN2>AN2Value</AN2>
                            <CN>CNValue</CN>
                        </SA>
                    </DARP>
                </VIP>
            </SIP>
        </BBBBB>
    </Main>

  • Function moduke use in bdc BAPI_MATPHYSINV_POSTDIFF(pLS HELP)

    Hi,
    How to use thsi function module ..
    i need to transfer data in Tcode MEI08,
    I need to develop a progarm to transfer data from text file to sap system
    Is it possible to use this.
    Kindly Help me
    Sincerely
    Jayalakshmy

    Hi Jaya,
    This FM is used to post differences for physical inventory documents that have been counted. Please check the FM documentation for more details.
    If u r still not clear then open this FM in SE37 and press where used list button. If some one has already used this FM then it will list all those objects. Then u can analyze those objects and see how they are using this FM.
    I am not able to find the transaction MEI08 in my system. If u are not able to find any BAPI/FM then u can go ahead with BDC of this transaction.
    thanks,
    Vinod.

  • Map FLAT file to oracle table using 9.04 version - PLS HELP!!!!

    Hello all
    I am having a problem with mapping a flat file to oracle table. The validation is successful, when I go to Project/Deployment manager. Try to deploy the mapping itself and the target table. It said succesful, and the last step is another "Deploy", this one is fail. Saying could not locate the file (which is a flat file) , but it is there on the server.
    I have read all the help on line and follow what they show me, but still not work
    Any ideas? Please provide detail answer if you know it.
    Thank in advance

    Hallo,
    just give a rights on connector
    Variant 1
    1. connect to user sys
    2. grant read,write on directory <connector_name> to <target_schema>;
    or
    Variant 2
    1. as user sys or system give CREATE_ANY_DIRECTORY to <target_schema>
    2. manualy make CREATE DIRECTORY <connector_name> as '<full_path_to_directory>';
    and enjoy :)
    PS: <connector_name> you can take from script CREATE_TABLE wisch in Generation phase was created!
    Kirill

  • Using droid in india supported with service provider, how to activate hotspot...its asking permission from verizone. updated to 4.4..pls help

    im using verizone provided ultra droid in india with service provider support..Reliance communication.
    All working fine except hotspot...on activating it insist on verizone permission....
    using on 4.4
    pls help
    >> Personal information removed to comply with the Verizon Wireless Terms of Service <<
    Message was edited by: Verizon Moderator

    HELPPPPPP !!!!!!!!!!

  • I am new to SAP i dont know even basics also pls help me to learn

    I want use SAP in qlikview pls  help me
    thanks in  advance

    HI Kumar,
    This forum is specially for SAP BI application not for qlikview, for SAP BI Please refer below tutorial links
    Official Product Tutorials – SAP BI Suite
    http://scn.sap.com/docs/DOC-7725
    Official Product Tutorials – SAP BusinessObjects Web Intelligence
    http://scn.sap.com/docs/DOC-7819
    Official Product Tutorials – SAP Crystal Reports 2011 / 2013
    http://scn.sap.com/docs/DOC-8514
    Official Product Tutorials – SAP BusinessObjects Crystal Reports for Enterprise
    http://scn.sap.com/docs/DOC-8013
    Official Product Tutorials – SAP BusinessObjects Dashboards
    http://scn.sap.com/docs/DOC-7946
    Thanks,
    Daya

  • My iphone5 was stolen.. pls help how to deactivate it? badly need your help..

    My iphone5 was stolen.. i was slept on the bus, pls help how to deactivate it? badly need your help.. its only two months on me

    What To Do If Your iDevice Is Lost Or Stolen
    If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. What to do if your iOS device is lost or stolen
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
      8. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)

  • Issue when doing Delta loads from PSA to DSO using DTP - Pls help Urgent

    Hi All,
    I have done 3 data loads into PSA and from PSA, iam loading the data into DSO - by splitting that load into 3 using 3 DTPs. (Split that by Fiscal Period).
    2 of the DTP loads are extracting the data from 3 PSA requests.
    But, one of the DTP load is filtering on ONE PSA request.
    So, we are not getting the full data into DSO.
    Can some one pls help me why the DTP load is beheaving like this ???
    Even though i have not given any filters for Request id, still , for one load its picking up the data by filtering on One Req ID.
    Cheers,
    Nisha

    Hi Jr,
    Sorry for late reply.
    I think i found the solution, the diff between the DTP's is i ahve ticked " Get request one after another " .
    I have changed it now and its working fine.
    Thanks,
    Nisha

  • HT201407 hi..I cant activate my Iphone 5. I bought this from someone who cant remember her apple password and even the email address that she used to set up the account.What am I gonna do now....How can I activate my Iphone. what are my options...pls help

    hi..I cant activate my Iphone 5. I bought this from someone who cant remember her apple password and even the email address that she used to set up the account.What am I gonna do now....How can I activate my Iphone. what are my options...pls help me.thank you

    Activation Lock in iOS 7  >  http://support.apple.com/kb/HT5818
    hannibalfromlemery wrote:
    .I cant activate my Iphone 5. I bought this from someone
    The Apple ID and Password that was Originally used to Activate the iDevice is required.
    If you cannot get this information from the seller
    Removing a device from a previous owner’s account
    You need to return the Device for a refund, as you will not be able to re-activate it.

  • Not getting PO printed while using bursting pls help

    Hi All,
    Working on converting PO report to XML. While using bursting to print the pdf file the document is not sent to the printer..
    But in the output file of the "XML Publisher Report Bursting Program" getting success.
    Not sure why report output is not sent to the printer.
    Pls help......
    Thanks
    Rajesh
    Edited by: Badsha on Jun 17, 2010 2:19 AM

    Hi...Please check the Burst Control file with the printer & IP details.
    Look for the file below.
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:globalData location="stream">
    </xapi:globalData >
    <xapi:request select="/DATA/LIST_DEPT/DEPT/LIST_EMPLOYEE/EMPLOYEE">
    <xapi:delivery>
    <xapi:email server="${EMAIL_SERVER}" port="${EMAIL_PORT}"
    from="${FROM_EMAIL_ADDRESS}"
    reply-to ="${REPL_TO_ADDRESS}">
    <xapi:message id="email1" to="${TO_EMAIL_ADDRESS}" cc="${CC_EMAIL_ADDRESS}"
    attachment="true" content-type="html/text"
    subject="Employee Report for Empno ${EMPNO}">
    Dear ${ENAME}, Please review the attached document.</xapi:message>
    </xapi:email>
    <xapi:filesystem id="file1"
    output="C:\burst\sample\${EMPNO}_${ENAME}_${MGR}_PRINT.pdf"/>
    <xapi:print id="print1" printer="${PRINT_URL}" copies="2"
    orientation-requested="3" />
    </xapi:delivery>
    <xapi:document key="${EMPNO}"
    output-type="pdf" delivery="email1">
    <xapi:template type="rtf" location="${TEMPLATE_LOC}"
    filter=".//EMPLOYEE[DEL_CHANNEL='EMAIL']" >
    </xapi:template>
    </xapi:document>
    <xapi:document key="${EMPNO}" output-type="pdf" delivery="print1">
    <xapi:template type="rtf" location="${TEMPLATE_LOC}"
    filter=".//EMPLOYEE[DEL_CHANNEL='PRINT']" >
    </xapi:template>
    </xapi:document>
    <xapi:document key="${EMPNO}" output-type="pdf" delivery="file1">
    <xapi:template type="rtf" location="${TEMPLATE_LOC}"
    filter=".//EMPLOYEE[DEL_CHANNEL='FILE_SYSTEM']" >
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    check the printers setting as required....aslo check what printer you are using for pdf printing...Pasta Printing??
    Thanks
    Ratnesh

Maybe you are looking for

  • While saving a pdf file opened by foxit reader, the filename will be some strings

    '''''i opened a pdf file in firefox with foxit reader, the filename was ,for example, ol20120327.pdf, and i click the save and i got i file , the filename just some strings , not the real name. It really bothers me for a long time. ps: while in ie, m

  • G4 Dual 1.43 Ghtz won't boot and disk utility won't repair it

    I can't get the Boot Disk Disk Utility to repair the drive on my old G4 Dual 1.43 and desparately need the Documents file and home folders.  Any ideas ?

  • Visio 2010 Dynamic connectors are connecting to shapes

    Hi, I am new to Visio and I am trying to create group using some shapes. The shapes in the group have connection points but the group itself doesn't have any. I want the dynamic connector to connect to the connection points only when I connect the gr

  • For Loop with Error Check

    Hello all, As per my sample VI. I gave   Empty array to For Loop. As we know this Loop will not execute because N value "0". But, I want to know why Error out always giving True value. This Error Indicator value changing to "True" irrespective of Err

  • How do I get html5 on my iPad?

    How do I get html5 on my iPad? Trying to download it doesn't work. Every time I try, a message box pops up and says "safari cannot download this file".