CUP - Using several Parameters ID in User Default

Hello everybody,
I have a problem with using User Default section in CUP.
In fact I want to use the User Default Mapping to define two different parameter ID in the SU01.
For example: the Company Code (BUK parameter) and the Cost Center (KOS parameter).
If I define two different User Default (one for the company code and the other for the cost center) with two different User Default Mapping Condition (Custom fields Company code with the good value for the first one and cost center custom fields for the second one) it doesn't works.
It seems to use only one User Default even if the both User Default Mapping Conditions are different.
Does anyone know how to define two different User Defaults that works together?
Thanks in advance.
BMW

BEN,
   I have never tried this scenario. It seems to me that this might not work.
Regards,
Alpesh

Similar Messages

  • Using data source to update user defaults

    I have a default entry in my user defaults that is a list. Each item of the list is a list of records. I use the following code to delete an entry.
    on deletePlaylist()
    set tableView to table view "Playlist" of scroll view "Playlist" of window "Schedule Window"
    set selectedDataRows to selected data rows of tableView
    if (count of selectedDataRows) > 0 then
    delete (item 1 of selectedDataRows)
    set contents of default entry "specialList" of user defaults to contents of data source "Specials"
    register
    end if
    end deletePlaylist
    This code seems to work; when I open my plist the entry looks just as it should. The problem is that the next time I open my program, I get a 1728 error when I try to read that default entry.

    I'm not using pipes anyplace in my program.
    I'm reading my user defaults like this
    set theList to contents of default entry "specialList" of user defaults
    tell data source "Specials"
    set update views to false
    delete every data row
    repeat with a from 1 to length of theList
    set theRow to make new data row at end of data rows
    tell theRow
    set contents of data cell "thisDay" to thisDay of item a of theList
    set contents of data cell "thisTime" to thisTime of item a of theList
    set contents of data cell "thisFinalPlay" to thisFinalPlay of item a of theList
    set contents of data cell "thisPlaylist" to thisPlaylist of item a of theList
    end tell
    end repeat
    set update views to true
    end tell
    I'm writing my user defaults like this in my delete routine.
    delete (item 1 of selectedDataRows)
    set theList to content of data source "Specials" --I think this is the problem line
    set contents of default entry "specialList" of user defaults to theList
    When I open my plist in Property List editor, the pipes do not show. The entries are identical to those in the plist before it is screwed up. I think that when my program asks for user default thisList it is actually finding |thsList|. Does that make sense?
    When I add to the data source, I make the changes to theList and then rebuild the data source and write theList to user defaults. This works fine.
    If I could get the line number of the selected data row in the table view, I could use that index to delete the appropriate item from theList and then write theList directly to user defaults like I do when I add to the data source.

  • Using date parameters entered by user within Chart

    I would like to allow the end user to populate a start date and end date which will be used to generate a Pie Chart. I have been following posting How to Create a Chart from a user's date range input ? and I'm having problems.
    I have created two Page Items to allow the user to enter a date range. Both Page Items are set to Date Picker ('DD-MON-RR') The start date has a default value set to the first day of the year by using round(SYSDATE, 'YYYY') The end date defaults to SYSDATE.
    The flash chart series is defined as the following:
    select null link, trunc((months_between(sysdate, c.DATE_OF_BIRTH))/12) label, count(*) value1
    from FAMILY_INTAKE f
    , CLIENT c
    where f.client_id = c.client_id
    AND f.intake_date between nvl(:P19_START_DATE, f.intake_date) AND nvl(:P19_END_DATE, f.intake_date)
    group by trunc((months_between(sysdate, c.DATE_OF_BIRTH))/12)
    When I run the page, the pie chart works; however, it does not seem to use the values used in the date parameters. It seems to be using the null value of f.intake_date. No matter what I set the date parameters to, the results are always the same.
    Any help would be appreciated... Thanks!
    Pam

    How does one operate the page? Select one or two date values and press Go, or something? Then the page branches back to itself? If so, are the date items showing the selected values or getting reset?
    Scott

  • SAP AC 5.3 - CUP (user default)

    Dear All,
    we want to create a request for DELETE ACCOUNT so when we delete a user it will be deleted in all the relevant systems.
    can we use the user default for that ? if yes, how ?
    thanks
    Yudit

    Yudit,
    Do you submit this request manually ?
    If you want to delete the user account , try to trigger this via Hr triggers ,when a employee is  withdrawn in the SAP HR system
    you can  create a rule which could trigger an action to delete the user ID in all the SAP systems , you can add  all the sytems where you want  the user deleted,if the user doesnt exist in certain systems , CUP puts out an error message in the audit log as user doesnt exist in XXX system so it doesnt matter .
    If you are submitting this delete request  manually in CUP and you want delete the user in the portal as well at he same time  you delete him on the backend .
    what you can do is define a dummy role for the backend system where you want to delete the user and map this dummy role to the role or group on the portal system and use this dummy role in defualt configuration  for request type DELETE
    so whenever you submit a request for delete account for a specfic system default Dummy role will be picked and the Portal system will be picked as well due to the role mapping in this way you can achieve this.
    Regards
    Gerry

  • Overriding SPMetal Defaults by Using a Parameters XML File

    hi everybody,
    I have a datatable
    Employee below :
    FullName Single line of text
    Age
    Number
    After use SPMetal to generate entities, i have
    EmployeeItem below:
    FullName string
    Age
    double?
    I want Age is Integer so i use "Overriding SPMetal Defaults by Using a Parameters XML File" :
    <?xml version="1.0" encoding="utf-8"?>
    <Web AccessModifier="Public" xmlns="http://schemas.microsoft.com/SharePoint/2009/spmetal">
    <List Name="Employee" Type="Employee">
    <ContentType Name="Employee" Class="Employee">
    <Column Name="FullName" />
    <Column Name="Age" Type="Integer" />
    <ExcludeOtherColumns/>
    </ContentType>
    </List>
    <ExcludeOtherLists />
    </Web>
    When generate it have error "There is an error in XML doc" at :
    <Column Name="Age" --error here-- Type="Integer" />
    Would you like help me?

    Hi,
    I came across the same error when testing your code in my environment.
    Anyway, if we convert the Number field to Integer, there will be a risk of damaging our data due to the conversion accuracy.
    So if you want to use the Integer type of data, a workaround is that you can convert the double type of data to Integer type programmatically after retrieving the data you want.
    Best regards
    Patrick Liang
    TechNet Community Support

  • User Defaults for CUP

    Hello Experts,
    I was wondering as to how to display User defaults for all users in their request page i.e.so that they can make changes as needed for their id.
    I tried following pg 176-182 in config guide but it is not showing anything in any user requests.
    Thanks

    Hello Experts,
    I was wondering if users can actually change defaults in user request or can they change it using SU3.
    As when i configured the user defaults,my assumption is that whenever a user is created he/she will receive the defaults defined per system for her account.
    Also what use does the User default system do(my assumption is that the system defined here will be populated automatically for all user requests ...correct me if i am wrong)
    Thanks

  • Reg User Defaults in CUP

    Dear Gurus ,
    We are using SAP HR triggers to create SAP Userids for newly joined employees. It is working properly.
    we observed that Decimal notation is not getting captured properly. We want to default the same in auto - provisioning.
    Please guide how to do the same ?
    Rgds,
    Saurabh

    Hello Sir,
    Checked the same. But in user defaults - Name is mandatory . can we give any name or it has some impact while creating id ?
    Rgds,
    Saurabh

  • Transport of User default printer (Parameters).

    Hi All,
    We have just upgraded our dev and qa system from 4.6C to 7.01 (ecc).  Our security team imported the users and profiles from Production system (which is yet to be upgraded). All the users and aurhtorizations are there in QA sytem and regresssion testing is going on.
    BUT The problem is...
    User default printer details are not same as production system they are blank in QA system. But we need this this default OutputDevice also to be transported.
    Is there any way to transport the default OutputDevice for each user? as as production?
    Please reply.
    Thanks

    Hi,
    Thanks for the reply.
    That the precise problem. USR01 of production is not equal to QA. I mean SPLD column of QA system is having blanks whereas in PRD it has the data.
    Need to know ... how we can bring this entries from PRD TO QA. Is there anyway ...

  • Default Parameters are no longer default

    Post Author: debmilner
    CA Forum: Migration to XI R2
    We used both 8.5 and version 9 to create several hundred reports, most with default parameters for the users.  With Crystal 11, the parameters are still availble, however they are no longer defaults, the user must select.  Since 11 does support default parameters (we are currently editing these several hundred reports to set the old default into the new default parameters field), is there an easier way than editing each report?

    Hi Ike,
    it's not a question of syntax. I used the ampersand for sure.
    the problem is the value for the lexical param at runtime. If I use the libs of patch 8488119 the ORA-ErrMessage is returned, if I use the default libs everything works as expected...

  • Report layout with User default and gobal default

    hi,
    any authorization to control report layout, only some user ID can use "user default" layout, and part of user available to set the layout as default
    thanks

    Is is a custom-developed ALV report or an SAP-supplied one?
    If if is custom-developed, you can register the following user-commands
    &AVE - Save layout
    &OL0 - Change layout
    &OAD - Select layout
    in parameter IT_EVENT_EXIT  of REUSE_ALV_LIST_DISPLAY.  When these user-commands are triggered, control passes to the user command routine in your callback program.  In the callback routine, you can implement authorization/security checks.
    Also look at parameters IS_VARIANT and I_SAVE to control use of variants.,
    If it is an SAP-supplied program, try using the auth-object mentioned in my earlier post.

  • Using URL Parameters with HTTP Comms Channel

    Hi,
    I need to build a new interface (HTTP - RFC) which will use several URL parameters. I've created a HTTP communications channel and Sender Service and this works. I'm able to define several URL Parameters by checking 'Adapter-Sepcific Message Attributes' and then 'Apply URL Parameters' then specifying the individual parameters.
    This is straight forward so far but in usual SAP fashion the documentation on HTTP Comms Channels and URL Parameters is non existent. My question is how do I use these parameters once they are passed. I need to use the values as input parameters for the RFC which means I'll need to map these in the Integration Repository I can't find anything on SDN or SAP help that answers the question.
    I know I could include these values in the XML payload but that would mean my 'customer' would need to amend their application and I'd rather keep things as they are.
    Looking forward to your replies.
    Thanks in advance.

    May be this could help you to refference . .
    For each process template, you can define interactive or composite form reference objects that can optionally be executed at runtime.
    To be able to see and execute the reference object at runtime, you must add an appropriate runtime view.
    Prerequisites
    You can only attach standalone interactive forms to a process. For more information, see Interactive Form Types.
    Activities
    To attach an interactive form to a process:
           1.      Open the gallery and select a process template. To open its design time, choose Open…
           2.      To switch to edit mode, choose  (Edit).
           3.      Open the Forms tab page.
           4.      Choose Add and select the type of reference object you want to add. You can choose between Callable Object and Development Object.
    Browse and select the reference object, and choose Add once again.
           5.      Repeat step 4 to add more objects.
           6.      To define parameter mapping, select an entry and choose Map Parameters. Select a parameter from the left-hand table, and then select the parameter you want to map from the right-hand table. This groups the input parameters of the form reference object to the relevant input parameters of the process.
    If the process does not define input parameters, you can set default values.
           7.      When you have defined the required mappings, choose Done.
           8.      Whenever a newer version of the form reference object is available, its status on the Forms tab page changes to  (Deprecated). To update the object, select it from the list and choose Update. The status changes to  (Active).
    Parameter mapping is preserved unless the parameters of the new object version are different. In this case, you need to define mappings again.
           9.      Finally, choose  (Save).

  • How to convert internal date to the format of user default setting

    In the BDC program, I need to convert the date, such as the sy-datum 20070427, to the format of user default that is defined in T-code SU01, such as YYYY-MM-DD or YYYY.MM.DD, and so on.
    The user format has 6 six kinds, and it is not good idea to write the code to process. So I look for the functions or CLASS method to process. I can use the function 'ITS_GET_USER_DEFAULTS' to get the user default setting of the Date format and Decimal notation.The problem is that I can not find the function or CLASS method to convert the internal date to user's date format.
    The function: CONVERT_DATE_TO_INTERNAL can not do it.
    The CLASS method: cl_abap_datfm=>conv_date_int_to_ext may be do it. But I do know how exchange the parameters, and fail to make it work finely.
    Is there the functions or CLASS method to process it?
    Thanks a lot!

    Hi John,
    create a veriable :
    data: v_date type char10.
    then after getting the date in YYYYMMDD format, write the following statement.
    WRITE SY-DATUM TO V_DATE.
    this might solve your problem.
    Regards,
    Hemant.

  • User Default Mappings attribute "role" with condition "OR"

    Hello,
    we are using GRC 5.3 SP 8.1.
    User default mappings with more than one "role" attribute and the condition "OR" don't seem to work. After provisioning no user parameters have changed in backend system. When I configure only one "role" with the condition "AND" everything works fine, request types are the same.
    Any suggestions?
    Thanks,
    Manuel

    Hallo Sirish,
    thanks for this helpful answer.
    In the note it says: "After upgrade from 5.2 to 5.3 SP08.1, the user defaults were not provisioned."
    So this error only occurs when upgraded from 5.2 to 5.3 SP8.1 or is it a gnerally bug in SP 8.1?
    I configured some new conditions in our test system and it worked. So in my opinion only the old configured user default mappings don't work because of the upgrade (???). I'm a little bit confused...
    Regards,
    Manuel Kunkel

  • 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 got some documentation on KM Indexmanagement APIs for searching with TREX, which requires authenticated user. I am wondering is there any way to use those APIs with anonymous user access.
    Thanks a lot in advance.
    Regards
    Pavan

    Hi Pavan,
    if you access the KM via Web Service you'll find parameters in each service to send username and password.
    If you browse the KM reposiroties via http you may need to do an authentication first. If your portal accepts basic authentication (as it does by default) you may call the KM explorer iView with some URL like:
    http://<username>:<password>@<hostname>.<domain>:<port>/<path to KM iView>
    If this does not work, maybe you need to use a client that supports basic authentication (digest). This may be e.g. the OpenSourcer library [HttpClient|http://hc.apache.org/] from the Apache project.
    See [RFC2617|http://www.faqs.org/rfcs/rfc2617.html] for more details on Basic Authentication and Basic Authentication (digest).
    If you have some more questions, please come back.
    Carsten

  • Value conversion according to User default

    Hi,
    I have a Problem in a BDC. I am trying to populate pick quantity filed in my BDC ( Tcode VL02N ) the BDC works fine for a particular user default setting( NNN,NNN.NN ). But is the same program is used by some other user whose Default settings are different ( NNN.NNN,NN ) BDC fails .
    I need to convert the value based on user default before passing it to the field in BDC.
    pl. suggest me the solution .
    Thanks.
    Hitesh

    Hi
    Try to use the WRITE command before transfering the value to BDC table
    DATA: QUANTITY(20) TYPE C.
    WRITE <QUANTITY> UNIT <UNIT> TO QUANTITY.
    <BDC>-VALUE = QUANTITY.
    APPEND <BDC>.
    In this way the WRITE statament'll write the quantity in the format according to user default parameters.
    Max

Maybe you are looking for

  • ATV to Onkyo SR-607 No signal

    I just bought an ATV second generation and used the HDMI to the onkyo receiver. The receiver is connected to the Samsung HDTV with component cables. On the receiver, I used the INPUT ASSIGN, GAME, HDMI menu to select the slot for the ATV. I could hea

  • External Definitions

    Hi Friends,      There is a requirement for external definition to import.  I got one file from client text file having xml data. So i have save as to .XSD format and tested in XI while uploading into external definitions.      As per my knowledge, .

  • LR 5 exporting low res files

    Hi My LR5 is exporting low res files for some weird reason. I figure it has to do with the fact that I recently started using the smart preview  function. What made me almost 100% certain is has to do with this is the fact that I removed the hard dri

  • Sudden Motion Sensor not working after upgrade to WD5000BEKT HDD

    Hi everyone, I just upgraded the hard drive on my Macbook Pro (2010) and I am very pleased with the performance of this 7200rpm drive, I have seen reads around 105MB/s and a pretty good boot time at 23s. But I used to be able to hear the hard drive s

  • Exchange 2013/2010 coexistence DAG functionality?

    Hi, so this is a bit of a silly question. But I need to make sure I understood the situation correctly. I currently have an Exchange 2010 DAG with 2 servers and I am mid way through (In the Exchange Server Deployment Assistant) introducing my first E