Populating the G/L account field based on Material in the SC

HI aLL,
   We are runnin on SRM 4.0 (classic).I have a reqt wherein the G/L account which comes in the "Cost assignment details" should be populated at run time (when items are added to SC) based on the material no/Product ID....
  I found out a BADI...BBP_DETERMINE_ACCT which is used to determine the G/L account but not sure at whci point this  BADI is triggered...i  inserted a poup message in a sample implementatiuon of this BADI..but it doesnt show me the popup message when i click on the "ADD TO SHOPPING CART" button on teh SC creatio screen wheerin i can test that this is the BADI which i s called at teh time items are added to teh SC and will populate the G/L account field with teh  proper value form teh backend.
  Also for the G/L account value for the Material,is there any std table which stores the link between  product/valuation class and G/l account in SRM itself  so that my RFC call to teh backend is saved in this BADI implementation??
regards,
Disha.

Hi Disha
Not sure if I understood you right. I've implemented this BAdI BBP_DETERMINE_ACCT and it works fine so far. I can add an item to the SC and then go to the item details to see the accounting data. There the G/L account corresponds to the one that was determined at run time by the BAdI implementation.
The standard table in R/3 backend is T030. For described requirements (no known material id) you have to specify a product category. Valuation classes can be assigned to product categories in table T023 (in R/3 backend as well).
Unfortunately the SRM standards do not take into account the standard account determination as it is known and working in R/3 systems. For this you'll have to implement the BAdI BBP_DETERMINE_ACCT.
Maybe this thread is of interest for you?
How to have backend account determination working SRM
HTH
Renaud

Similar Messages

  • Setting the value of a field based on a dropdown list

    I am using the latest production release of JHeadstart 10.1.3.0.91. I am trying to set the value of a field based on selecting the value of another field (drop down list). The drop down list field has the following attributes set autoSubmit="true" immediate="true" valueChangeListener="#{jhsPageLifecycle.updateModelValue}".
    The other field has the partialtrigger set to the first field. ie "depends on" selection from JHeadStart file. The value of the second field is set in the setter of the VO RowImpl java file.
    The value of that field is only populated on the screen if it is set to disabled="true". This seems a bit bizzare behaviour. Can you explain why it cannot set the value of the field when it is not disabled.

    Worked out that if i set the "Clear/Refresh value" attribute on the field that i want updated then it will work ok
    Alan

  • HT4864 When trying to update my Mail Account Mailbox Behaviours settings, when I try to close the settings pane the following messages occur: Invalid Incoming Mail Server The "Incoming Mail Server" field cannot be empty. The incoming mail server box has p

    When trying to update my Mail Account Mailbox Behaviours settings, after making the changes when I try to close the settings pane the following messages occur: Invalid Incoming Mail Server The “Incoming Mail Server” field cannot be empty. The incoming mail server box has in light grey colour: p02-imap.mail.me.com in it and I cannot edit its content. Any ideas what is going on and how to fix it?

    Hi all,
    Mattreichenbach is probably on the right track here with a reset of settings.  I think I've determined the issue has to do with cached account information and inconsistencies for the account name.  This seems to crop up when I've changed my password and it hasn't propagated fully to all the servers, devices, certificates, etc.
    Hopefully many here are on their way to restoration of service by now but it's clear that a lot of people are having the same issues.  Very frustrating and definitely something Apple needs to resolve:  incoming mail server field grayed out, incorrect autopopulation of different fields, other unanticipated behaviors.  If you're still having issues, though, here's what worked for me...
    First, head to the iCloud preferences pane in System Configuration and choose "Sign Out".  When I did this it prompted me with a number of "are you sure" type questions about retaining information on my local machine.  I chose to delete/remove the info each time simply because it should all be restored by the cloud and I didn't want to risk a massive duplication of my data... I will say, I'm back up and running with no issues so I suspect you can make the same delete/remove choices...  But use your own judgment.  I don't want you to lose any data (ie.. please use care as you do this because I cannot bear the thought of causing anyone to experience the pain of data loss).
    Once you've signed out of iCloud, restart your system.  When you get back in, head to the Mail, Contacts and Calendars section of your System Preferences and add your account back by choosing the brushed aluminum "iCloud" button.  When it asks for your account name, use your @iCloud.com email address.  I am all but certain my issue had started because one of my devices (iPhone or whatever) had been set up with an email alias specified instead of my @iCloud.com address.
    Apple, if you're reading through any of these issues (there are TONS of users having this same problem).  Take note, that your icloud service somewhat frequently is not responding and yet tells the user that the password is wrong and this prompts people to be changing their passwords unnecessarily.  This has happened to me on numerous occasions.  Also, I noticed that last week's outage corresponded to a VERY similar outage exactly one year ago to the day.  Sounds like planned maintenance to me and I think you could do a better job notifying folks so we're not wasting HUGE amounts of time troubleshooting a problem that we have no hope of fixing.
    Hope that helps some of you!
    Terry Mullane
    Washington, DC

  • The  G/L ACCOUNT field by default

    Hi,
                    I am running cj20n,I added material to that activity,I able to create material . The  G/L ACCOUNT field in material is filled manually.
                I want this field by default.For this, is there any configeration ? Could you please answer me.
    Thank you

    hi,
    Press F1 on the field you will get the answer when to maintain this field.
    Valuation Class for Project Stock
    Default value for the valuation class for valuated project stocks of the material.
    Use
    You need specify a valuation class here only if you want to assign a different valuation class to this type of stock than that assigned to other valuated stocks of the material. This makes it possible to define other allowed G/L accounts for these stocks.
    If you want to maintain this filed "Valuation Class for Project Stock" alongwith the valuation class lthen for this valuation class (for project stock) also you have to maintain the OBYC setting with defined GL.
    regards,

  • HT4864 I am getting a triangle with an exclamation point next to my inbox...it says: There may be a problem with the mail server or network. Verify the settings for account "MobileMe" or try again.  The server returned the error: Mail was unable to log in

    I can send but cannot recieve email
    This is the messege I am gewtting:
    There may be a problem with the mail server or network. Verify the settings for account “MobileMe” or try again.
    The server returned the error: Mail was unable to log in to the IMAP server “p02-imap.mail.me.com” using “Password” authentication. Verify that your account settings are correct.
    The server returned the error: Service temporarily unavailable

    Also if I go to system preferences accounts and re-enter the password it fixes the glitch sometimes.

  • Can I use the same iTunes account for 2 iPads without having the same apps on both?

    Can I use the same iTunes account for 2 iPads without having the same apps on both? Everytime I try to sync my new iPad, it syncs all the apps that are on my account. If I can do this, can someone tell me how please???

    Yes you can, easily.  When you plug the first pad in to sync, note the name of the pad on the last pane.  Set up for that device whatever you want to sync.  When you are done, plug the second pad in.  Make sure it has a different name on the left pane.   Then sync to that pad whatever you want.  I tunes will remember what you did on each pad, and will start from there the next time you plug in.

  • HT1848 How do I transfer the songs from my desktop to my iPad using the same iTunes account? I can only sync the other way. Thanks

    How do I transfer the songs from my desktop to my iPad using the same iTunes account? I can only sync the other way. Thanks

    DaisyDoodle,
    The songs on your Shuffle should still be in your iTunes library.  That means you should just be able to connect your Nano to the same iTunes library and sync it just as you would with your Shuffle. There is no limit to the number of iPods, iPads, or iPhones you can sync to one computer, iTunes library, or account.
    As for preparing the Shuffle for your husband, just restore it via iTunes and then let him sync it to his own iTunes library or if its the same iTunes library, let him configure it to sync only his content.
    Here are instructions on how to restore the Shuffle if need be.
    http://support.apple.com/kb/ht1481
    B-rock

  • HT1206 I need a work iTunes account for my work system, but used my work email address as an associated email to my personal iTunes account. Now I can't use the work email to create the new iTunes account.  how do I remove the email from my personal accou

    Since I upgraded to Mavericks from Snow Leopard I need a work iTunes account for my work system, but used my work email address as an associated email to my personal iTunes account.
    Now I can't use the work email to create the new iTunes account.  how do I remove the email from my personal account?

    You can long into an account via this page and update the email addresses that you have on it : http://appleid.apple.com

  • I'm using apple's bluetooth keyboard and I need an easy way to switch between the text and numbers fields instead of tapping on the screen

    I'm using apple's bluetooth keyboard and I need an easy way to switch between the text and numbers fields instead of tapping on the screen

    While not in edit mode:
    - if start typing numbers, then it enters number mode.
    - if start typing text, then it enters text mode.
    Using the arrow keys exits edit mode. So this should work for you:
    1 Type text into a cell, which enters text mode.
    2 Press Return to move to the next cell.
    3 Press right arrow key to exit edit mode.
    4 Press left arrow key to get back to the cell.
    5 Type a number, which enters number mode.
    Another method that requires more planning ahead of time is to format the cells as text or number before starting the data entry. Then when you navigate to a cell while in edit mode, you will be in the appropriate mode (without having to exit edit mode).
    This all works fine for me. Hopefullly it does for you also.

  • Error F5507 on MIRO. "The general master data of the G/L account 161000 is not maintained in the chart of accounts 1000"

    I was doing a MIRO w.r.t PO. I was getting the following error - "The general master data of the G/L account 161000 is not maintained in the chart of accounts 1000." I later went ahead and created the GL Account in the COA. now the error is recitified. But, I would like to know what happens in the background. 
    Could someone explain me this?  How is the G/L account determined?

    Hi,
    At the time of MIRO system posts below Accounting Entry:
    GR\IR Clearing Account Dr--> This will be picked from t-code OBYC- key WRX
    Vendor Account Cr--this will be picked from vendor master data
    If there are any tax or TDS involved then system post to those accounts as well.
    I guess 161000 is your recon account? Because if it is GR\IR then you would have got error at the tim e of MIGO ( if you have already done that)
    Hope this is clear to you.
    Br,Vivek

  • HT4623 I bought my iPad from a friend and updated to iOS 7.1. Now in order to activate it I need to sign in using the original iTunes account but I can't contact the owner. Is there a way to get past this or should I toss my iPad into the garbage?

    I bought my iPad from a friend and updated to iOS 7.1. Now in order to activate it I need to sign in using the original iTunes account but I can't contact the owner. Is there a way to get past this or should I toss my iPad into the garbage?

    Ask previous owner to remove his device from account
    http://support.apple.com/kb/TS4515

  • HT4759 I did a a factory reset to my I phone 4G but it ask for the original owner account but I don't know the original owner, how can I activate my device?

    I did a a factory reset to my I phone 4G but it ask for the original owner account but I don't know the original owner, how can I activate my device?

    Unfortunately, you can't.  There's no way around it.  You'll have to get the ID and password used to originally activate the phone or you will not be able to activate it again.  If you can't contact them, try to get your money back because you won't be able to use it.

  • HT5973 Maps has errors in it. It shows my subdivision with all of the houses, but shows the streets and street names in the middle of a field about a mile down the road. How do I report this to get it fixed.

    How do I get errors in Maps corrected? It shows the subdivision I live in, The streets and houses are in the correct place, however it does not name the streets. It then shows the correct street names in the middle of a field about a mile down the street from my subdivision.

    Similar issues here.
    I purchased five movies for download and having nothing but problems getting them downloaded. I keep receiving error messages and the download stops and I have to restart it, just to get another minute worth of download with each restart. Now Apple has my money and I have nothing.

  • HT204053 My iphone is now locked at activation screen.My old Iphone purchased from Japan to Vietnam nam.toi reset iphone without knowing the old icloud account and I can not contact the previous owner to do now iphone.

    My iphone is now locked at activation screen.My old Iphone purchased from Japan to Vietnam nam.toi reset iphone without knowing the old icloud account and I can not contact the previous owner to do now iphone.

    The phone is useless unless you can contact the previous owner. There is nothing anyone can do to help. If you are able to contact, the following contains instructions on what they need to do: iCloud: Activation Lock

  • I have restored my phone to the wrong iTunes account. Can I get all the pictures back that I are now not on my phone

    I have restored my phone to the wrong iTunes account. Can I get all the pictures back that I are now not on my phone

    Restore to your last backup.  It will contain your camera roll photos and videos.

Maybe you are looking for

  • Ios 7 in iphone 4 is extremely slow

    I just updated my iphone 4 and it's keyboard , home pages and settings is extremely slow . The keyboard is very sluggish . The apps won't open faster and the games is a bit slow in the beginning .. Can u please help me to fix this ?

  • Many-to-many association: inserting in the detail table fails

    I'm using jdeveloper 11g and configured the many-to-many association as described in the documentation, so I have accessors in both directions, with composition association and a many-to-many link view. Using the business component browser, the link

  • HT5312 The button to send an email isnt there. HELP!

    The button isnt there

  • Regarding lock objects

    Hi,   How can we know that lock objects has been created for table or particular records.. Naveen M.

  • No apple logo appears during startup

    I am fixing this 2007 iMac for free for an autistic child. Apparently, changing computers for someone that is autistic isn't ideal. I don't have the history with this iMac, just that it isn't working. They supposedly did have the hard drive replaced?