Setting a particular value as default for the Grouping Range at BP Creation

Hi,
I am trying to set certain default for the Grouping Range when I create a new Bp using Tcode BP. For this i have changed the PBC fucntion for the view BUP020 ( TCode : BUS3). The Z function module attached is Z_FBSBP_SET_DEFAULT_GROUPING
FUNCTION z_fbsbp_set_default_grouping.
""Local interface:
*"  IMPORTING
*"     REFERENCE(IV_ACTION) LIKE  BUS000FLDS-CHAR1
*"     REFERENCE(IV_SICHT) TYPE  BU_SICHT
  DATA: lv_bu_group TYPE bu_group VALUE 'GR01'.
Set the Grouping Range with a default value for all roles, each time
when transaction BP is called
  SET PARAMETER ID 'BPP' FIELD lv_bu_group.
Call the standard PBC fucntion module for BP Creation
  CALL FUNCTION 'BUP_BUPA_PBC_MISC'
    EXPORTING
      i_action = iv_action
      i_sicht  = iv_sicht.
ENDFUNCTION.
As per my notion this fucntion module should get triggered once I open the transaction BP and try to create a new BP, but such a thing is not happening.
Can someone help me in this?
Regards
Priyanka

Yes we did,
But its not a very good solution though it serves the purpose.
See what I did was:
1. Read the authorization object's values for the logged on user using SUSR_USER_AUTH_FOR_OBJ_GET. From here I retrieve the Grouping Range required for the user.
2. Keep this value in a variable say gv_grouping_range.
3. SET PARAMETER ID 'BPP' FIELD gv_grouping_range.
4. CALL TRANSACTION 'BP'.
The four steps above have been enclosed in a report which has been attached to a new transaction code. We from now on allow user an access to this new transaction and not the standard BP transaction(which of course calls for a major change in roles).
Secondly, the first three steps which have been enclosed in a subroutine set_default_grouping are also called from the BDT view BUP050, where the PBO has been changed to ZBUP_BUPA_PBO_MISC
FUNCTION zbup_bupa_pbo_misc .
""Local interface:
*"  IMPORTING
*"     VALUE(I_SICHT) TYPE  BU_SICHT
PERFORM get_set_def_grouping IN PROGRAM zrpbsbp_create_businesspartner.
  CALL FUNCTION 'BUP_BUPA_PBO_MISC'
    EXPORTING
      i_sicht = i_sicht.
ENDFUNCTION.
Hope this helps.
Regards
Priyanka

Similar Messages

  • Process open items: how to set defaults for the additional selections

    Hi FI experts,
    Can anyone tell me if it is possible to set defaults for the additional selections in the processing of open items.
    I am using transaction F-04 (or F-06 or F-07) to post with clearing.
    When processing the open items I can use additional selection parameters. In my case I need to use the document type.  I would like to save this selection as a default but this doesn't seem to be possible.
    1. it is not possible to save a variant for the processing of open items
    2. I can not create a variant transaction (with trx. SHD0) for F-0x since this is only possible for dialog transactions
    Do you see another way to store defaults for the additional selections in open item processing?
    Thanks a lot.
    Dimitri

    Hi,
    When you create a transaction variant from FB05, then also you will not able to default the value for additional selections variable.  Hence SHD0 is not going to help.
    As said above, either you can change the additional selection screen parameters, but here again you can't default the value.  You can only reduce the number of entries on the screen.
    Else you can create a custom transaction code by copying the standard.  Even SAP recommends to create custom codes from standard tcode for clearing purposes depending on requirements. 
    Please check this link:
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/41/37b8e7455b11d182b40000e829fbfe/frameset.htm
    In the above link, in navigation choose clearing -- Specifications for processing open items
    If it is a custom transaction then you can default document number.
    Regards,
    Ravi

  • The default value as "None" for the report filter which is Value List type?

    Hello,
    I want to know is it possible to make the default value as "None" for the report filter which is Value List data type?
    For example:The Project Classification Value List value type which have many value like "Supplier Rationalization" "Category Sourcing" "Contract Regegotiation" etc, and the value "Supplier Rationalization" is in the frist positon in the value list. When i use "Project Classification " as a report filter, the value "Supplier Rationalization" displayed as default value. And in the value list box in report filter of Project Classification , there is a value "None" which should be added automatically by system. So i manually filled the default value with "None" in Filter Prompt screen, but it does not work. After i display the report ,the Project Classification filter still use the ""Supplier Rationalization" as the default value.
    My current ESO version is 5.1. I tried other ESO version like 5.15, if i manaully give a default value "None" in Filter Prompt screen for filter Project Classification, then the default value is "None". It works well.
    Does anybody know if it's possible to do the same thing in ESO 5.1?
    Thanks & Regards,
    David
    Edited by: David Gao on Aug 11, 2010 4:06 AM

    Hi David -
    This is possible, but the technique is not too obvious...
    To make "None" be the default choice for a query definition filter parameter of type value list type, you need to set the default value of the filter parameter to the following:
    <internal id of value list type>:616:NULL
    For example, I believe you will see that the internal id of the Project Classification value list type is 51, so the default value of the filter parameter would be:
    51:616:NULL
    I hope this helps.
    Regards,
    Rob

  • What is the default for the "Display PDF in Browser" setting?

    What is the default for the "Display PDF in Browser" setting in Adobe Reader 9 and X?
    Also, are any statistics available on what proportion of users have this setting set to on?

    For all three the default is "checked".
    Be well...

  • (Administration - Marketing - Import), you can set a parameter value "Import mode" for what to do in case of duplication as "update existing records", "Import new records". The final report of this import is presented as a text file that can be viewed in

    Administration - Marketing -> Import, you can set a parameter value "Import mode" for what to do in case of duplication as "update existing records", "Import new records". The final report of this import is presented as a text file that can be viewed in Business Administration - Marketing -> Import -> Exceptions. Whatever the exception, including duplication import occurs during import and recorded in a text file.   What are the fields that determine the duplicity? How I can I can change those?

    You will be returned anything that is in the option's value parameter. What is displayed in the dropdown and what is put in the value attribute do NOT need to be the same, so maybe you should start there.

  • Is there a way to set an email mailbox so that mail from many months are stored, but the general default for the other mailboxes is a few days?

    Is there a way to set an email mailbox so that mail from many months are stored, but the general default for the other mailboxes is a few days?

    The only thing I can think of is to set the number of days to sync messages, shown below. But I'm not sure if this is what you're after. If it is go to Settings > Mail, Contacts, Calendars select the email account you wish to change.
    This will then only sync emails from the last week for example. In the screenshot all email messages would be synced to the iPhone.
    Message was edited by: Michael Bratley

  • How to get ALL values as default for  a drop down box in JSF

    Hi,
    I have a drop down box in JSF page which retrieves values from LOVCache.java. I have values like Company, Client, User, ALL in the drop down box.
    By default blank value is selected for the drop down box. I want to make ALL(which retrieves data for all the values) as default value for the drop down box.
    Could any body help me? Any help must be appreciated.
    Thanks,
    Aseet

    Thanks Nikhil. But I am fetching the values from the LOVCache.java.
    I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
    I mean to say can I write
    unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
    where LOVCache.entityTypeSelectionList is used to populate the drop down box.
    Regards,
    Aseet

  • Reset value by default for drop doown list inside a  valueChangeListener

    Dear all,
    I have two drop down list.
    A valueChangeListener for the dropdown1.
    Inside the valueChangeListerner i set the value to null for the dropdown2.
    But after that the setter of the dropdown2 is call with the previous value selected by the user.
    Why?
    My bean are in request scope.
    But I create a reset button and in that case it works but it 's not what i want.      
    I look at now the JSF cycle, and I notice that the process events is called before the Update Model Values
    I try to call FacesContext.getCurrentInstance().renderResponse() .
    It doesn't work in fact.
    Any idea?

    It doesn't work.
    But I find finally a way.
    for each component I want to reset ,I specify a binding attribute.
    and in my actionListener method ( I have attribute immediate at true, I don't know if it linked)
    I call folowing code:
    component.setSubmittedValue(null);
    component.setValue(null);
    component.setLocalValueSet(false);
    but apparently i can use also the method: resetValue()
    but it works well

  • IPhoto suddenly crashing after it's open for 3 seconds.Its saying Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ __NSCFDictionary 0x18d70d10 valueForUndefinedKey:]: this class is not key value coding-compliant for the key

    Iphoto is suddenly crashing after about 3 seconds on my MacBook Pro. - Here is problem report
    Crashed Thread: 46  Import thread 0
    Exception Type: EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<__NSCFDictionary 0x18d70d10> valueForUndefinedKey:]: this class is not key value coding-compliant for the key .'
    Why? all of a sudden??
    Thanks

    Wow, that' s awesome, I encountered the same problem with ya today when trying implement Pickers in Tabbar, and can't figure out why, the debugger just throw back such vague message and guess what ? I spent like 3 hours banging my head against the wall wonder why it's not working, I using XCode 2.2.1, my debugger wont work ( program won't stop at break points for what ever I tried ), and not very friendly with those newbie like me - really don't know where are all the Apple's software developer 1337 ? As I remembered, all the good ones goes for the hardware, "the rest" goes for the software =)), but thanks again, thanks, and again, click the tab bar, set both the class and nib file would get rid of the errors, if it would help some one, the credit goes to the two above, say thanks to them, like me. Have a nice day guys, I 'ma happy .

  • HT5622 I had an iPhone 4S, I recently upgraded to a 5s and have been using it since early December.  I kept my same Apple ID . I gave my 4s away, the person set up their own Apple ID for the 4s however now I can't use my Apple ID in my 5s. Any help please

    I had an iPhone 4S, I recently upgraded to a 5s and have been using it since early December.  I kept my same Apple ID . I gave my 4s away, the person set up their own Apple ID for the 4s however now I can't use my Apple ID in my 5s. Any help please

    There could be many causes. What happens when you try to use it. also try adding it again.

  • The back button no longer works. I have disabled all add-ons, rebooted & reset the defaults for the browser and nothing has changed. This happens on all webpages.How do I get the back button to light up again?

    the back button no longer works. I have disabled all add-ons,rebooted & reset the defaults for the browser and nothing has changed. This happens on all webpages.How do I get the back button to light up again?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    *Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Another possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.com/kb/Bookmarks+not+saved#w_places-database-file

  • Hi there. I bought and downloaded photoshop elements 13 today. When I tried to set it up and was prompted for the serial number, the one I was given and subsequently entered ( correctly ,I checked numerous times) was seems invalid. What's the next step?!

    hi there, I bought and downloaded Adobe photoshop elemts 13 today. When trying to set it up, I was prompted for the serial number which upon being entered was deemed invalid. I know the serial number is the correct one. What is the next step, how do I contact Adobe store?!?

    Error "The serial number is not valid for this product" | Creative Suite
    if that doesn't help, contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html

  • Tax value is not picked up correctly for the condition type in SO creation

    Hi All,
    I have a issue in Picking up Tax value correctly for the condition type in SO Creation.
    Actual Issue:
    When creating the sales order manually,
    tax value is picked up correctly for one condition type: ISS3.
    When the Sales Order is created via Idoc using the function module 'idoc_input_orders', tax value is not picked for same condition type: ISS3.
    We need to find out why the value for the condition type 'ISS3' is not picked in this way!
    Can anybody solve this issue!
    What can be the reason which is stopping picking up tax value for condition type: ISS3 when Sales Order is created via F.M 'IDOC_INPUT_ORDERS'! While it picked up the same while creating Sales Order manuallly.
    Thanks in advance.
    Thanks,
    Deep.

    Hi All,
    Can anybody give the solution for above posted issue!
    Working:
    When creating the sales order manually,
    tax value is picked up correctly for the condition type ISS3.
    Actual Issue:
    When the Order is created via Idoc using the function module 'idoc_input_orders',
    tax value is not picked .
    I need to find out why the value for the condition type 'ISS3' is not picked.
    I have debugged the issue from WE19 but upto Conditions tab it is picking up tax value but then it is becoming zero again it remains zero after saving SO.
    But Manually tax value is picked up for condition type ISS3 and remains same after saving order.
    I have debugged it several times fro WE19 but not able to find route cause for the issue.
    What can be the issue over here!
    Can anybody give me solution for the same!
    Thanks in advance.
    Thanks,
    Deep.

  • MN05: setting the number of printer copies for the whole range of vendors

    Hi all,
    by t.code MN05 I can set the number of copies of the MM documents printed the FIRST TIME. I can do it for doc.type or vendor.
    I can't set the number of printer copies for the whole range of vendors. Should I do it for each one of them?
    Thanks
    Gandalf

    Unfortunately,
    setting for document type, it doesn't work for all range of vendors.
    Setting for document type, in the field "PartF" I've put in "OA". Could it depend on it?
    you do for document type and then it will cover all range of vendors.
    If you want prints for a specific vendor then set condition recrod for that vendor only.
    regards

  • Assessable value not maintained for the material X

    Dear all,
    i have maintained material chapter ID,Plant and materialchapter id  combination ,assessable value , cenvat determination, and vendor excise details in the transaction J1ID .
    Even after maintaining all these conditions , i am not able to save the po,while saving the po i got a error message that assessable value not maintained for the material X..
    Points will be rewarded for useful suggestions.
    Thanks in Advance.
    velu+91-9789991357

    Hi,
    Search using approriate keywords in SDN, u get most of the details, i have now done the same searched and have pasted below .
    Try ME2N.
    Click on the "dynamic selections" icon and add the release indicator as an additional selection. Enter the release indicators that you class as "awaiting approval" and you will then have your list.
    The ME2* series of transactions are not that much use prior to 4.7, the layout is poor. But if you have 4.7 or later you can get the screen to use the ALV format and this transforms the ME2* (i.e. ME2L, ME2M, ME2N etc.) transactions into VERY useful reports.

Maybe you are looking for

  • IPhone Videos from iPhoto not Syncing

    I have a lot of video I shot on my 3GS imported into albums in iPhoto, and when I sync my iPad, they do not transfer, although the photos do. I checked the box that says "include videos" on my iPad photos tab - I called applecare, they suggested unch

  • Calendar year Update

    I made Calendars last year for my family as gifts in iphoto. I wanted to keep the birthdays for each calendar and update the pictures and year. Can anyone tell me how to save my calendar's data. When I duplicate my 2012 calendars for 2013 all the dat

  • Essbase 11.1.2 and OBIEE 11g Installation

    Hi All, we have installed OBIEE 11g on the LINUX instance & we are going to install Essbase 11.1.2 on the same instance....can we use the same WEBLOGIC INSTANCE for the Essbase installation ? does it works ? If I install into existing weblogic server

  • On sleep show white o pink screen, most of the time error on start up win8

    hi i got two compter with the same problem, both are (Satellite S855s5382) 1. On SLEEP, 1. lapotp went i close the laptop and then open it the screen turns white or some times show a pink screen                           2. laptop same problem like t

  • SOAP and MiniShall

    How do I check to see if we are using SOAP and how do I check to see if Mini Shall is on or off?