How to determine a BP from the user

HI Experts,
We have a scenario where there are contract employee's which are not maintained in the system as employee but maintained as BP, now during creation of any transaction i need to determine the contract BP based on the user, in the user master we are maintaining e-mail, the same is also maintained in the BP, which is also unique, is there any ways i can dtermine the BP in the transaction, please somebody help me, this is very crtical in my project.
Regards
Milan

You can always use badi. To use badi, you would have to define in partner access sequence as source COM_PARTNER_Z (Business add-in 3).
Then you would have to create your implementation of that badi (spro>crm>basic functons>partner processing>business add-in for partner). In thet badi implement method DETERMINATION_ADD_IN_3 in which you can put whatever logic you need.
Regards.

Similar Messages

  • How to get a formula from the user from a text box in a webpage

    Hi. I would like to know how to get the formula from the user who enters in a textbox. This formula can have any number of variables starting with a and goes on.
    The complexity of the formula can go upto sin, cos, ln, exp. Also user enters the minimum and maximum values of these variables. Based on a specific algorithm (which I use) I would calculate a *set of values, say 10, for each of these variables, substitute in the formula and based on the result of this formula, I select ONE suitable  value for each of the variables.
    I don't know how to get this formula (which most likely to be different each time) and substitute the values *which I found earlier.
    Kindly help me out in this issue.
    Thanks

    The textbox is the easy part. It's no different than getting a String parameter out of an HTTP request.
    The hard part is parsing the String into a "formula" for evaluation. You'll have to write a parser or find one.
    Google for "Java math expression parser" and see what you get.
    Or write your own with JavaCC.
    %

  • How do i get input from the user?

    For example if i wanted to ask "Whats your favorite number" and then get the input from the user and assign it to a variable how would i go about doing that?

    hi,
    if you want to get input from your console your should work with io(input and output).The BufferedReader class, InputStreamReader class
    you should import "java.io.BufferedReader" and "java.io.InputStreamReader" package, and do something like this:
    BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
    String favoriteNumber;
    System.out.println("Whats your favorite number ");
    favoriteNumber = input.readLine();
    System.out.println ("Your favorite Number Is " + favoriteNumber);
    if its a gui you should import "javax.swing.JOptionPane" and do the following
    String favoriteNumber = JOptionPane.showInputDialog(null, "Enter your favorite Number", "Favorite Number", JOptionPane.INFORMATION_MESSAGE);
    anjiie([email protected]).

  • How to determine if coming from the Error Page?

    Version 4.1.1.00.23
    Hello,
    I have a manually created tabbed form with a collection.
    I've added a validation and set the error message to display on the Error Page to preserve the information entered into the form.
    One of the Select Lists is a cascading list. That list does not populate when returning from the Error Page.  The parent list is populated and does show the value selected before the error was thrown. It's just the list that is based on the parent that isn't populated.
    If I refresh the page the Select Lists are reset and I can access the values normally.
    So, what I think I want to do (and I'm not sure here) is to refresh the page when returning from the Error Page.
    How can I determine if I'm coming back from the Error Page?
    Is there a better solution?
    Please let me know if this isn't clear or there are questions.
    Thanks,
    Joe

    Hello,
    I'm hoping someone can help me with this.
    Thanks,
    Joe

  • How to determine client locale from the mail?

    How to determine client locale(language/country) from the mail(header)?
    I investigate that some mails have not got any content-language header...
    Also, If mail is in multipart , I cannot get it throught the contentType....
    e.g some header contain header like this: content-Type: "text/html; charset=Big5"
    but some are : content-Type: multipart/mixed; boundary......";
    So, how can I know the client locale?
    Thanks

    You should be able to get the charset from the content type, as u said. the reason some types don't have a charset, such as multipart/* types, is because they don't contain any content on their own! they only contain nested body parts, each of which should have a charset specified. you're gonna have to get the charset by following the mail structure recursively.

  • How can i make changes from the user in TabBar with more button persistent?  I´m using the Storyboard.

    I have build an App with more than 5 Tabs, the user can change the order of the items, but this is not persitent.
    How can i fix this on iOS 7 and i´m using the Storyboard.

    Can I do it afterwards ?
    Yes. In addition to what Bee Jay said, here are some other tips.
    First record a pattern that's a few bars long, and don't tweak any knobs while you're doing this. Set a Cycle Range, because we want to play this pattern over and over again. Press A to make Automation visible (although there isn't any yet).
    Find the channel strip for this track, either in the Inspector or in the Mixer window. Just above the meter, look for the button that says "Off." Hold down this button and a menu will appear. Select "Touch." Press Play. As the pattern plays the first time, pick a knob in the ABL2 window, and mess with that knob. At the end of the pattern, let go of the knob, and then watch what the knob does as the pattern plays again. Then as the pattern plays some more, mess with another knob. You'll notice that curves are being drawn in the Arrange window as you mess with the knobs.
    This should help get you started.

  • How can i set the "Keep the following number of major versions" to a limit suppose 20 and then disable it from the users so that they cannot change the value?

    I want to set the value of "Keep the following number of major versions" in the versiong settings of a documnet library to a limit say 20 and then disable the option from the users so that they cannot them. Is it possible thorugh some custom coding?

    Hi Moumita10,
    Just curious about that how the custom CSS code works in your environment if put it in the “LstSetng.aspx” page.
    In my environment, it hides the "Keep the following number of major versions" setting in the “LstSetng.aspx”
    page after applying the custom CSS style there.
    Thanks
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to execute BAPIs by getting the input from the user through the browser

    Hi,
    I have created a simple xMII transaction using BAPI. It is a simple BAPI with one input. Now i want the transaction to be executed by getting the input from the user through browser. Once the user enters the value and clicks on a button, I want the result of the BAPI to be displayed in the grid. How to link the BAPI/transaction with applet/Javascript coding.
    Thanks.

    The first thing I would recommend would be for you to collaborate with your colleague Vinodh, since his/her recent thread is very similar to yours:  Calling a BAPI from web page
    In your case, the iGrid applet will run the Xacue query template and automatically display the results from your output parameter.
    I would encourage you to take a look at the sticky thread at the top of the forum entitled "MII Manufacturing Templates Updated" since this MII project is full of samples for you and your colleague to learn from.

  • How does the PRODUCTION SYSTEM take the benifit from the USER EXITS?

    how does the PRODUCTION SYSTEM take the benifit from the USER EXITS?
    please explain

    and it is not the production system that benefits. its the company and the people working with SAP that benefits from the user exits which allow SAP to be altered for the company specific situations.

  • How to create a program that accepts 5 digits from the user between 0 and 9

    how to create a program that accepts 5 digits from the user between 0 and 9 then put them in ascending order using link-list method..

    You can use a scanner to get user input from the command line.
    import java.util.*;
    public class Test {
        private List<Integer> list;
        private Scanner in;
        public static void main (String... args) {
            new Test ();
        public Test () {
            list = new LinkedList<Integer> ();
            in = new Scanner (System.in);
            for (int i = 0; i < 5; i ++) {
                System.out.format ("Please enter a number (%d more): ", (5 - i));
                list.add (in.nextInt ());
            Collections.sort(list, new Comparator<Integer> () {
                public int compare (Integer i1, Integer i2) {
                    return i2 - i1;
            System.out.println (list);
    }

  • How do you delete a guest user account from the users&groups pane?

    could anyone help with giving a tip on how to  delete a guest user account from the users&groups pane in os-x 10.7 ? when I unlock account the delete or minus button is inactive. Thankyou

    aha, by disabling the find my mac checkbox in icloud seems to work. tusen takk previous threaders!!!!!!!!!!

  • How do I generate a TripleDES key from the user's password?

    Is there any standard way to generate a Key (for TripleDES for example) using a user provided password? I want to store encripted data and I see TripleDes key has to be 24 bytes long, so how do I generate it consistently and safely from the user provided password?
    I know how to actually build a key with the keyfactory, I'm talking about the aproach to generate good keys from a user entered string. It can't be random keys since I have to store those encripted files and restore them later.

    Is there any standard way to generate a Key (for
    TripleDES for example) using a user provided
    password? I want to store encripted data and I see
    TripleDes key has to be 24 bytes long, so how do I
    generate it consistently and safely from the user
    provided password?
    I know how to actually build a key with the
    keyfactory, I'm talking about the aproach to generate
    good keys from a user entered string. It can't be
    random keys since I have to store those encripted
    files and restore them later.Hi , i�m having the same problem, i was wondering if yoy found any solution so far.
    I�ve tried this
    SecretKey symmetricKey = SecretKeyFactory.getInstance("DESede").generateSecret(new PBEKeySpec("mypassword".toCharArray()));But it returns java.security.spec.InvalidKeySpecException: Inappropriate key specification
    I have also tried to this:
    SecretKey symmetricKey = SecretKeyFactory.getInstance("PBEWithMD5AndTripleDES").generateSecret(new PBEKeySpec(password.toCharArray()));But it results on different byte arrays whenever i try to do the encrypting, i mean it allways returns different encryptatios. I suposed it could be becaus it�s using some kind of random, and i need to have always a specific result.

  • How do you use Time Machine to restore a specific users account?  I can't do it from the user screen because I am not allowed.  I can't do it from the admin because I can't see other users in Time machine.

    I can't restore my user account from the users screen because I get an alert that Mac OS needs something.  I can't restore in TimaeMachine from the Admin screen because I can't see other users home folders.  What can I do?

    See Pondini's TM FAQs for starters.

  • How to get data from the user for an Insert Trigger ?

    Hi all and thanks in advance, I need to get some values from the user for a child table when a row inserted into the parent table, is that possible to use ampersand inside an "Insert Trigger" to let the user for inserting some values ?
    Edited by: user9942078 on 17-Dec-2008 16:35

    In a different words,
    When a virus attacked your body your blood cells instantly goes into operation. Just like that -> your trigger activated as a result of your DB operation on objects. So, here also you have no option to manually intervene anything.
    Hmm... Looks like some science fiction movies ultimately pays some price... ;)
    So, trigger basically fires implicitly as a result of any database operation on objects or even on user.
    So, that has to be automatic. And, when you are using & it will ask for some input value - which cannot be done in case of triggers.
    For details please refer the oracle docs.
    Regards.
    Satyaki De.

  • How do I transfer Pages from one user account to another

    How do you transfer Pages from one user account to another on the same Mac?

    Welcome to the Apple Support Communities
    If you haven't modified anything, Pages is installed on /Applications. All users have access to this folder, identified as "Applications" on the Finder sidebar, so you don't have to move anything, because Pages will work on all your users.
    If you have installed Pages on ~/Applications (being ~ your user folder), then you have to move Pages to /Applications. After doing this, you will be able to access to Pages on all users

Maybe you are looking for

  • Resizing images in a div to fit browser width

    i have a page with rollovers in a DIV: http://toddheymandirector.com/REEL/index_newlook.html i want the the images, "nike the getaway", etc, to resize to fit the browser window width. i tried putting them in a div and adding row {     max-width: 100%

  • Sales Return Material document COGS Posting

    Hi, We have a scenario for Sales Return where the client requirement is to Cr the COGS account with same value as used in Sales Invoice. Month 1 , Material Std Price is 10$ While posting GI in Sales Order entry is Cr Stock A/C 10$ Dr COGS a/c 10$ Now

  • Using KM APIs with Anonymous user

    Dear SDNites, I have gone thorough one of the SAP notes on possible CM scenarios with anonymous users. It says the the supported scenarios are Search, browse and download. My question is that can we use KM apis in these areas with anonymous users?  I

  • Fastest Text Parsing Technique

    Hi all, I have a set of huge text files that I need to quickly parse and remove all the asteriks characters from. At the moment my simple program looks like this: import java.io.*; public class QuickParse      public static void main(String[] args) t

  • Prior to importing photo's should the thumbnails be of a low quality such that they are blurry?

    Prior to importing photo's should the thumbnails be of a low quality such that they are blurry? I have recently started to use lightroom and when selecting a folder to import from my hard drive the thumbnails are of (in my opinion) very low quality.