Default Settings for Items - default company code

Upon entry into Power Shop, how can I look up what the default Company Code is for the user?  Is there a BADI/FM combination that can be used?

bbp_compcode_fav -table
this fav table stored recently used company codes. as ganesh said below default flag if you specified in buk attribute .
input -username
you will get desired defaulted company code
br
muthu

Similar Messages

  • GL account given in Default Settings for Items is not taking precedence

    Hi All,
    Could you please give your valuable inputs for my query
    Which takes precedence....GL account given in Default Settings for Items at the top of the shop screen or the Product category and GL account assignment maintained in SRM GUI?
    Scenario: I input a GL account in 'Default Settings for Items' at the top of the shop screen. Then click on Describe Requirements. Here I change the Product Category and add the line item to shopping cart.
    What GL account will appear in the cost assignment? Default value maintained at the top or the value maintained in the Product category table.
    Thanks
    Deepthi....

    Hi Muthu,
    Thank you for your response.
    It is not picking the default G/L account assigned to cost center( I believe you are talking abt OKB9 trans). It is picking the G/L account which is assigned to the product category in the customising. This is happenning only if the product category is changed for the line item while adding the item to shopping cart. Otherwise the same G/L account given at the header is appearing in the line item too.
    Also While changing the G/L#  information in Default settings for items at top, if Cost center is also changed then the same cost center is appearing in the cost assignment section for the line item but not the G/L.
    Wanted to know if this is a standard design or not. I would like to have the header data to take precedence over the product category and G/L assignment. Any suggestions please
    No ..... I checked in csks table.There are many cost centers for the company code.
    Thanks
    Deepthi..

  • Is it possible to create a new tab in 'Default settings for items' option?

    Hi everybody
    I am Raghu working in EBP2.0 & I have come across a difficlty and that is of creating a new tab and also the fields 'GL a/c', 'cost centre' or 'internal order' in this new tab.
    First of all please let me know whether is it possible to create a new tab for these fields.
    The purpose of this new tab is to default the cost centre and GL account with reference to shopping cart.
    As per current scenario, user has to enter the cost centre & the GL code as many times as the number of items in a shopping cart. I mean, if you have 10 items in your shopping cart then 10 times user has to input the cost centre & GL account. To avoid this we are required to add new tab so that per shopping cart we can enter the GL account & cost centre only once.
    Your immediate response would be very much apprecited.
    Regards
    Raghu

    hi Ram & Sreenivas
    Thanks for your immediate response.
    Ram, we can default GL a/c & cost centre in org structure since client wants to us to keep the option of entering these for every shopping cart.
    Sreenivas, I checked the 'copy to clipboard' option & its not there in EBP2 and I feel what you meant as cost centre tab is account assignment tab.
    Let me explain you more clearly about this requirement.
    Current Scenario
    1.Say a user has added 5 items to his SC.
    2.User has to enter cost centre & GL code 5 times & then he can order
    Required scenrio
    1.Say a user has added 5 items to his SC.
    2.As per the proposed functionality, user will click on 'Default settings for items' button. Three tabs will appear-->Basic data, Internal note & Delivery Address.
    We have to provide a new tab here where in user will default his GL & cost centre for this shopping cart & then order. This will help user to avoid entering GL & cost centre 5 times.
    For some reasons our client is not interested in defaulting this data.
    Please help in this regard if time permits.
    Thanks
    Raghu

  • Tracking number field in the Default settings for items section

    I need to add the tracking number field in the Default settings for items section in the shopping cart creation transaction.
    Could you please tell me inw hich structure should I add the custom field ?
    thanks,
    Rita.

    Hi Atul,
    I added the code of tracking number in in the html template saplbbp_mon_sc 1200 with reference to the code of purchase org field.
    This added a field in the shopping cart report selection screen but without any description.
    I will further learn html code and try to bring in the description and then try to handle this field in the badi bbp_mon_sc after_selection_screen and after_selection method.
    Is this approach ok?
    <!-- purchase org. -->
        `TR()`
          `TD(class="label", nowrap="X")`<label for="GS_ITEM-PURCHASE_ORG"> `T_PURCHASE_ORG.label`</label>
          `TD(class="label", align = "right", nowrap="X")` <label for="GS_ITEM-PURCHASE_ORG"> </label>
          `TD(class="data",  nowrap="X")` <input type="text" id="GS_ITEM-PURCHASE_ORG" name="GS_ITEM-PURCHASE_ORG" value="`GS_ITEM-PURCHASE_ORG`" maxlength="14" size="14">
          `F4HelpButton(bbpformname, "GS_ITEM-PURCHASE_ORG", jsMaskString(strEnc(#SELECT_TEXT_SHELP_PUR_ORG)), jsMaskString(strEnc(#SELECT_SHELP_PUR_ORG)))`
         `TR()` `Lines(colspan2="2")`
    <!-- tracking no (added) -->
        `TR()`
          `TD(class="label", nowrap="X")`<label for="GS_ITEM-ZZBE_TRACKING_NO"> `T_TRACKING_NO.label`</label>
          `TD(class="label", align = "right", nowrap="X")` <label for="GS_ITEM-ZZBE_TRACKING_NO"> </label>
          `TD(class="data",  nowrap="X")` <input type="text" id="GS_ITEM-ZZBE_TRACKING_NO" name="GS_ITEM-ZZBE_TRACKING_NO" value="`GS_ITEM-ZZBE_TRACKING_NO`" maxlength="14" size="14">
          `F4HelpButton(bbpformname, "GS_ITEM-ZZBE_TRACKING_NO", jsMaskString(strEnc(#SELECT_TEXT_SHELP_PUR_ORG)), jsMaskString(strEnc(#SELECT_SHELP_PUR_ORG)))`
         `TR()` `Lines(colspan2="2")`

  • Default settings for items is not getting copied to items in Shopping Cart

    Hi SRM GURU's,
    I am facing a problme while creating shopping cart.
    I maintained default settings for items like Product catagory,Internal Notes etc.
    While adding items in shopping cart these default settings are not getting copied to any items.
    If anybody is having any clue Plz let me know I will award points for sure.
    Our integration testing is affected because of this issue.
    Thanks in Advance.
    Atulp
    +919822761641

    Dear Laurent,
    Yeah, this is a very strange issue and also a rare one. We have already tried this option. User deleted the cart and created a new cart. But still no luck. The new cart is also not getting released from SOCO. User created many carts previously for different product categories, vendors and all carts were through. But for this cart,it is not getting released. If you could have any other idea, you are most welcome.
    Anyway, thanks so much for your time and patience. Appreciate your help!!
    Regards,
    Aswini

  • Shopping Cart - Default Settings for items

    Hi all,
    We are on SRM 7.0  SP05 classic scenario with backend ECC 6.0 EHP4.  There is a requirement to retain shopping cart default settings so that user is no need to enter default values on each shopping cart creation.
    We are intent to develop a custom WDA for users to edit their own shopping cart default settings, the values will be saved to user position attributes and extended attributes (including some customized attributes) at PPOMA_BBP.  After that, default settings will be copied from attribute during shopping cart creation, for example:
    Item Basic Data: Product Category <== extended attribute "Product Category" value which is set as default
    Account Assignment: Account Assignment Category <== attribute KNT which is set as default
    Assign Number: Cost Center <== attribute CNT,  Asset <== attribute AN1, WBS Element <== attribute PRO  (plus two custom attributes to hold value of Internal Order and Network)
    Here are the questions:
    (1)  For GL account, we did not config combination of Product Category and Account Assignment Category in SPRO, we will create a custom attribute as mentioned above.  However, where can we insert our coding to copy custom attribute value to default setting during shopping cart creation?   Is class /SAPSRM/CL_PDO_USER_CONTEXT  a candidate?  If yes, which method should be enhanced?
    (2)  For Delivery Address, if we do not use standard address management and maintain value at attribute ADDR_SHIPT, we intent to use similar approach: maintain custom attribute and then populate to default settings.  The same question is where can we insert our coding to copy custom attribute values to default setting during shopping cart creation?
    Thanks.
    Regards,
    Donald

    Hi Lee,
    Please  implement the following SAP notes in SRM 7.0
    There is a product bug in SRM 7.0
    1. 1450367-Default settings for Acct assignment.
    2.1442277 -Default setting for delivery address.
    hope it will solve your problem
    Regards
    G.Ganesh Kumar

  • Shopping Cart - Default Setting for Items

    Since the default setting for items requires user to enter the default values on each shopping cart creation. We would like to use the BADI BBP_DOC_CHANGE_BADI to set a default value, so that user would not have to entry it over and over.
    After I check the BADI, where I cannot find any export parameters associate to these default fields.
    Regards

    Hi Vadim,
    I also have a similar requirement where our customer wants to change or prepolulate the PO type in the Default settings for items.I wanted to knwo if this is user based and if there is any waye we can keep updating them based on some action on the portal.Ideally in our case we have to do it from teh portal.So if there is any RFC that can update or fill these details we can use webdynpro applications to trigger them at runtime and then update them.Any ideas ?
    Thanks,
    Best Regards,
    Muinul

  • Error ERR-9131 Error in PLSQL function body for item default code, item=P24

    Hi All,
    Am getting the below error in my page 24
    ORA-01403: no data found
    Error ERR-9131 Error in PLSQL function body for item default code, item=P24_REQ_BY_ID
    OK
    I dont know what to do?:(
    Suddenly am getting this error in the page.
    Can anyone help me to understand why this error is coming?
    Thanks & Regards,
    Ramya
    Edited by: 901942 on Jan 29, 2012 10:16 PM

    Data stored in these tables is different. If Oracle says that there's no record that satisfies the WHERE condition, why do you think that it lies? It is too stupid to do that.
    Therefore, you need to handle the exception. There are several ways to do it. Here are some of them.
    The first one is the most obvious - EXCEPTION handling section.
    DECLARE
      default_value VARCHAR2(100);
    BEGIN
      SELECT ISID INTO default_value
        FROM USER_TBL
        WHERE UPPER(ISID) = UPPER(:APP_USER);
      RETURN default_value;
    EXCEPTION
      WHEN NO_DATA_FOUND THEN
        RETURN (null);  -- or whatever you find appropriate
    END;Another one is to use aggregate function (MAX is a good choice) as it won't return NO-DATA-FOUND, but NULL:
    DECLARE
      default_value VARCHAR2(100);
    BEGIN
      SELECT MAX(ISID) INTO default_value
        FROM USER_TBL
        WHERE UPPER(ISID) = UPPER(:APP_USER);
      RETURN default_value;
    END;

  • Determination of default characteristics values based on Company Code/Plant

    Hi All,
    We are using batch management and classification.  We have defined various Characteristics and maintained values for it.
    As per our business process, we create Purchase Order (which may contain many line items) and after that we receive the Goods thru MIGO.
    At the time of MIGO user need to enter all the Characteristics of the batch. Out of no. of characteristics few are mandatory and also have got same value (depends on Company Code/Plant).
    Currently there is no provision to maintain default values of the characteristics at Company Code / Plant level. Due to this user have to maintain same values again and again at the time of MIGO for each line item/batch. So please suggest us the solution where user need not to enter same values for respective characteristics during MIGO and we can save lot of time and it will help to improve the efficiency.
    We also tried to explore the provision of making u201CDefault Valueu201D in CT04, but then that value was getting applied for all the Company Code / Plant which we donu2019t want.
    Regards
    Nilesh

    you have to valuate the characteristics with  Object Dependencies
    http://help.sap.com/saphelp_bw/helpdata/en/24/4766d4416711d189ec0000e81ddfac/frameset.htm

  • Bus. Entity - Default Unit of Measurement per Company Code

    Experts, I have assigned the default units of measure in "Make Basic Settings in Company Code" config. Surprisingly these entries don't show up in "Default Unit of Measurement per Company Code" config under Business Enity. Also, I cannot add those entries.
    Please treat this as urgent!
    Thank you.

    Hi,
    Goto RealEstate (not RE-FX, though you are using RE-FX) \ Basic settings \ Basic Setting for Company codes / Financial asset management, select checkbox of Fin Asset Mangmt for your company code.
    Now you can see this company code in company code level settings for company code in business entity level.
    Really i dont know why we have to check that checkbox of Asset management to allow at business entity level, but we have to.
    regards,
    Srini

  • Default Unit of Measurement per Company Code

    Dear Gurus,
    I'm trying to specify Default Unit of Measurement per Company Code into RE customizing but I can't make new entries or modify existing into change view.
    How can i solve my requirement?
    Than you in advance,
    Fuffo

    Hello Ute,
    we made all basic settings:
    -activate RE-FX
    -make settings in company code
    -activate RE manaagement in controlling area
    Into company code settings we mainteined DEFAULT UNIT OF MEASURE but into S_ALN_01001235 we can't find related entries.
    Any suggestion?
    Thank you in advance,
    Fuffo

  • Unable to clear customer line items for a particular company code

    Hello,
    For a certain company code, even though open items are present for some customers, i am unable to clear them using F-28 or F-32.I am getting the message 'No open item exists', Anyone come across this scenario before?

    Hi:
             Make sure you are giving proper selection criteria for the processing open item. May be the items are Special GL based transaction so you need to select special GL indicator to process open item. Please also refer to OSS Note 136754 - F-03, F-32, F-44, F-28 missing open items. Hope this will help you.
    Regards

  • How to change default settings for a video generator?

    I'm using a video generator (Lyric Media's Pan Zoom Pro) many times in the same project, and have to change the default settings for each new instance of the generator that I create. I'm wondering if there's any way to change the default settings for a generator (i.e., length of clip, individual slider and checkbox settings in the "controls" tab) so that each new instance automatically has my customized settings when I first open it.
    Thanks.

    That works for the all the controls/filter settings. The clip length still defaults to 10 seconds, but that's OK, since the main thing I was looking for was to change the clip's internal settings. Thanks for your help

  • How do I change the default settings for opening documents on my macbook?

    Hi I would like to know how to change the default settings for opening documents on my macbook. Everytime I try to open a doc. it automatically opens with Textedit, instead of Pages or another program.

    Select any particular document you wish to fix. Press COMMAND-I to open the Get Info window. In the Open With section select the desired Default Application from the dropdown menu. Click on the Change All button to extend the change to all similar documents.
    You can only assign one default application to one type of document.

  • What are the settings for the "Default Client Settings"?

    What are the settings for the "Default Client Settings"? I changed them instead of creating a new policy and would like to fix that.
    Thanks
    James A+, Network+, MCP

    Hi,
    The blogs below provides the default client settings.
    Default Client Settings in SCCM 2012 SP1
    http://prajwaldesai.com/default-client-settings-sccm-2012-sp1-sccm-2012-sp1/
    Note: Microsoft provides third-party contact information to help you find technical
    support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Best Regards,
    Joyce

Maybe you are looking for