Change Commission-value for Commisson-Groups on item/BP-level

Hello,
at the moment it is possible to change the defined commission-% of an commisssion-group for specific items and BP. I was told by the support, that this is not the correct way according system definition and that's the reason why all this individually defined values are overwritten if we update for example BP.
We need this "wrong" behaviour, that allows us to change a commission groups %-value individually, because in our case for specific items or BP this value differs from the groups standard-value but we need to assign the commission-group to an BP for our commission reports.
Best regards,
Thomas

Hi,
According to your description, there are several list views in your list, there is a textbox control which holds the “Single Line of Text” type of data in your custom
form. When users click the “Add new item” button in one of the existing list views, you want the textbox control in the custom form to be populated automatically.
By default, when user clicks the “Add new item” button in a list view, the URL of the custom form page will contain the name of that list view page, thus, a workaround
which requires custom code can be like this:
After the form page loaded, we can extract the name of the list view page from the URL, then populate it into the textbox control immediately. This can be achieved
using jQuery.
About how to
get URL parameters of current page using jQuery:
http://www.jquerybyexample.net/2012/06/get-url-parameters-using-jquery.html
About
adding jQuery into InfoPath form:
http://riteshudupak.blogspot.com/2010/09/add-jquery-to-browser-enabled-infopath.html
Best regards,
Patrick
Patrick Liang
TechNet Community Support

Similar Messages

  • Function module to change the value for pricing condition type

    Hello experts,
    I want to change the value for pricing condition type for an item in the transaction CRMD_ORDER.
    I used many function modules but none are working.
    Please kindly suggest a function module that will change the value for a condition type .
    I have used the following function module but its not working, please correct the coding if anything needs to be changed or added. Please help me .
    Thank you.
    CLEAR PRCD_COND.
         SELECT SINGLE * FROM PRCD_COND WHERE KPOSN = WA_ORDERADM_I-GUID AND
                                              KSCHL = COND_TY.
      IF SY-SUBRC = 0.
    *    MOVE-CORRESPONDING PRCD_COND TO L_COND_CHG.
    *    CLEAR L_COND_CHG-KBETR.
        L_COND_CHG-STUNR = PRCD_COND-STUNR.
        L_COND_CHG-KBETR = COND_PRC.
    *    L_COND_CHG-KSCHL = COND_TY.
        INSERT L_COND_CHG INTO TABLE T_COND_CHG.
    L_HEAD_GUID = CRMD_ORDERADM_H-GUID.
    L_ITEM_GUID = WA_ORDERADM_I-GUID.
    INSERT L_HEAD_GUID INTO TABLE HEAD_GUID.
    INSERT L_ITEM_GUID INTO TABLE ITEM_GUID.
        CALL FUNCTION 'CRM_ORDER_READ'
         EXPORTING
           IT_HEADER_GUID                    = HEAD_GUID
           IT_ITEM_GUID                      = ITEM_GUID
         IMPORTING
           ET_ORDERADM_H                     = LT_ORDERADM_H
           ET_ORDERADM_I                     = LT_ORDERADM_I
           ET_PRIDOC                         = IT_PRIDOC_RD
           ET_DOC_FLOW                       = T_DOC_FLOW
    *     CHANGING
    *       CV_LOG_HANDLE                     =
    *     EXCEPTIONS
    *       DOCUMENT_NOT_FOUND                = 1
    *       ERROR_OCCURRED                    = 2
    *       DOCUMENT_LOCKED                   = 3
    *       NO_CHANGE_AUTHORITY               = 4
    *       NO_DISPLAY_AUTHORITY              = 5
    *       NO_CHANGE_ALLOWED                 = 6
    *       OTHERS                            = 7
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRI_COND.
    INSERT L_PRI_COND INTO TABLE PRI_COND.
    LOOP AT IT_PRIDOC_RD INTO LS_PRIDOC_RD.
    MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRIDOC_CHG.
    L_PRIDOC_CHG-PRIC_COND = PRI_COND.
    L_PRIDOC_CHG-REF_GUID = LS_PRIDOC_RD-GUID.
    L_PRIDOC_CHG-COND_CHANGE = T_COND_CHG.
    INSERT L_PRIDOC_CHG INTO TABLE PRIDOC_CHG.
    ENDLOOP.
    LOOP AT LT_ORDERADM_H INTO LS_ORDERADM_H .
    MOVE-CORRESPONDING LS_ORDERADM_H TO L_HEADER.
    INSERT L_HEADER INTO TABLE HEADER.
    ENDLOOP.
    LOOP AT LT_ORDERADM_I INTO LS_ORDERADM_I.
    MOVE-CORRESPONDING LS_ORDERADM_I TO L_ITEM.
    INSERT L_ITEM INTO TABLE ITEM.
    ENDLOOP.
    L_FIELD-FIELDNAME = 'STUNR'.
    INSERT L_FIELD INTO TABLE FIELD.
    L_FIELD-FIELDNAME = 'KBETR'.
    L_FIELD-CHANGEABLE = 'X'.
    INSERT L_FIELD INTO TABLE FIELD.
    L_INPUT-FIELD_NAMES = FIELD.
    L_INPUT-REF_KIND = 'E'.
    L_INPUT-REF_GUID = LS_PRIDOC_RD-GUID.
    L_INPUT-OBJECTNAME = 'PRIDOC'.
    INSERT L_INPUT INTO TABLE INPUT.
        CALL FUNCTION 'CRM_ORDER_MAINTAIN'
         EXPORTING
           IT_PRIDOC                     = PRIDOC_CHG
         IMPORTING
           ET_EXCEPTION                  = EXCEPT
         CHANGING
           CT_INPUT_FIELDS               = INPUT.
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    REFRESH EXCEPT.
    CALL FUNCTION 'CRM_ORDER_SAVE'
      EXPORTING
        IT_OBJECTS_TO_SAVE         = HEAD_GUID
    *   IV_UPDATE_TASK_LOCAL       = FALSE
    *   IV_SAVE_FRAME_LOG          = FALSE
    *   IV_NO_BDOC_SEND            = FALSE
    *   IT_ACTIVE_SWITCH           =
    IMPORTING
       ET_SAVED_OBJECTS           = SAVED
       ET_EXCEPTION               = EXCEPT
       ET_OBJECTS_NOT_SAVED       = UNSAVED
    * CHANGING
    *   CV_LOG_HANDLE              =
    * EXCEPTIONS
    *   DOCUMENT_NOT_SAVED         = 1
    *   OTHERS                     = 2
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK AND WAIT.

    Hi,,
    To be able to call a function module in an update work process, you must flag it in the Function Builder. When you create the function module, set the Process Type attribute to Update with immediate start
    Alternatively u can use this function module.
    CRM_STATUS_DATA_SAVE_DB
    BAPI_CUSTOMERCRM_CHANGE (If u wish to use a bapi for this).
    Also , Let me know what error you got when implementing other function module.Does the function module didnt return any error but still the value is not changed for pricing condition type?

  • How to change the icon for 'windows group' in Java 1.6 [Windows XP] ?

    Hello,
    I was wondering if there is a possibility to change the icon for 'windows group' in Java 1.6...
    I'm using Windows XP SP2. Now the windows from my Java 1.6 application are grouped with the standard Sun icon [screen below] on the group.
    http://img382.imageshack.us/img382/8995/iconbl1.png
    I would like to change the icon for my own. Is there a way to do that ?
    Please help.

    Whichever icon I use for the main frame (I tried few), after grouping the main frame and other sub-frames the icon is changed to standard 'Java Sun' icon as you can see in the screenshot from my first post. The problem occurs only when frames are grouped, when the are separated in the task bar their titles and icons are ok...
    So how can I change the icon/title for the group only (for Java 1.6 in Windows XP) ?

  • Can you set default values for person/group picker fields? To current user?

    Two-part question/issue . . .
    Part 1:
    In InfoPath 2013 in use with SharePoint 2013, how do you set a Default Value for Person/Group Picker fields? Other field types like Text Boxes have a Default Value section in the Data tab of Properties.  There doesn't appear to be any equivalent for
    the Person/Group Picker field type in Properties.  I'd like to set a default person for a few fields in a form I've created.  Is this possible?
    Part 2:
    The default user I want to set for one of those Person/Group fields is the "current user."  I want a user to log into our SharePoint 2013 intranet, load a new form for edit/creation, and have one of the Person/Group fields in that form to
    automatically populate this particular user.  Is this possible?

    Hi Stephen,
    You can auto populate your InfoPath farm with current user Name and all other property that you have in your User profile, you have couple of options.
    First you can make a secondary connection in your InfoPath form with user profile and can use the UserProfileService.asmx and call the GetUserProfileByName method. Here is the steps you can follow.
    http://blogs.technet.com/b/anneste/archive/2011/11/02/how-to-create-an-infopath-form-to-auto-populate-data-in-sharepoint-2010.aspx
    Secondly you can use JQuery and SPServices ,
    $().SPServices.SPGetCurrentUser function to populate the values with script to achieve the same in this case you no need to use InfoPath form just create simple text type column in SharePoint
    list and auto populate it with getting the current user Name from User Profile here is the scripts
    <script language="javascript" type="text/javascript" src="../../jQuery%20Libraries/jquery-1.4.2.min.js"></script>
    <script language="javascript" type="text/javascript" src="../../jQuery%20Libraries/jquery.SPServices-0.5.4.min.js"></script>
    <script language="javascript" type="text/javascript">
    $(document).ready(function() {
      var userCurrentName = $().SPServices.SPGetCurrentUser({
        fieldName: "CurrentUser"
      $("input[Title='CurrentUser']").val(userCurrentName);
      var userPhone = $().SPServices.SPGetCurrentUser({
        fieldName: "WorkPhone"
      $("input[Title='Phone']").val(userPhone);
    </script>
    Krishana Kumar http://www.mosstechnet-kk.com

  • Change dropdown values for a field in webdynpro abap

    Hi All ,
    I need to change dropdown values for a particular field ( Tax code ) in webdynpro component (FITE_VC_RECEIPTS) when selecting expense type.  Right now Tax code values are coming with respect to a company code but i need tax code with respect to other company code for two personel numbers .
    How can i change dropdown values for this taxcode in webdynpro abap . Please suggest.
    Thanks in advance.
    Regards,
    Sijin K P.

    Hi All ,
    Thanks for reply .
    In production taxcodes are coming fine but wrong in dev and quality . ( Australian taxcodes are coming in production for dropdown values but new zealand tax codes in dev and quality )
    I have not started doing any changes . Is there any configuration part to change tax codes that can reflect in expense claim portal . Please help ..
    Thanks in advance.
    Regards ,
    Sijin K P.

  • Change profit center for accounting document on item line

    HI
    I need to change profit center for accounting document on item line, for that purpose I have used user-exit EXIT_SAPLV60B_004, but my new profit center gets latly overwritten in FM CO_DOCUMENT_CHECK (which is called from FM AC_DOCUMENT_CREATE). It gets overwritten from COBL. Is there any way to solve this?

    HI,
    possible reasons are :
    In GR document profit center pulled from PO Material :
    If you have ordered with material code, must check profit center assigned into material by mm03/Plant Data2
    If you have ordered without material code, than check cost center assigned Profit center by 1KE4

  • CL20N Status changed: missing values for required chars for ROH & FERT

    Dear Expert,
    I am getting this message no. CL500 (Status changed: missing values for required chars) when I try to save variant class (Class type 300) assignment to material master (Raw Material) with Released 1 status in CL20N; but I do not get this message during assignment for FERT. I can save a FERT with Released1 status to a variant class without any system message. I am using configurable material in purchasing and this message is not valid in this case. Is there anywhere I can turn off this message for raw material just like FERT?
    Regards,
    HK

    Hello Han Keat,
    There are notes for this error message. Can you please check note 1537443 and 1431600 if it is in your system
    Thanks Amber

  • Values for the automatic posting items are invalid

    Hi,
    I'm doing two kinds of consolidations, both using its own Special Versions. IFRS and Local Accounting system (Portugal)
    In IFRS the system it is working fine.
    Although when I try to consolidate in Local Accounting, I have errors.
    The customizing of the two special versions only differ in the consolidation of investments. In Local Accounting I have a different account in Net Income Prior to First Consolidation(Appropriation of retained earnings) and in Net Income Item of Statistical Net Income (Selected Items).
    After doing this customizing, I tried the Consolidation of investments, and after executing the measure I have the following error "Values for the automatic posting items are invalid".
    I can see the document that system is trying to post and everything seems fine. I only noticed that the statistical items are apeearing, which is not normal.
    Do you what I'm missing or doing wrong?
    I'm new to BCS.
    Thanks in advance.
    João Arvanas

    The message is most likely regarding the posting to the Retained Earnings item defined in Selected Items. I've seen this before and do not recall the specific solution but it entailed using a different item for this.
    It may be that the COI setting for displaying the statistical items in the log is version-dependent. If so it may be turned off. I think this is in location of values.

  • Searching for a group of items, and moving them

    Hi.
    Is it possible in 10.4.6 to search for a group of items all at once, and have them moved to a specified folder?
    For instance, say I have eleven different images that are scattered across 6 servers. I want to search in one interface for them all and put them where I want, in a new location.
    Is that possible?
    Thanks,
    Scott

    Your question is a bit general and vague. There is more than just a small amount of material to explain. What have you tried? What is your level of experience with Java? What is your specific question?
    Try posting the code that you've attempted (preferably between &#091;code] &#091;/code] tags), as well as any errors you might be receiving. You may also want to try a tutorial.
    How To Ask Questions The Smart Way

  • Dump when changing the value for a field (of 13 decimals) in alv grid.

    Hi Group,
    Its giving a dump when user is trying to change the value.
    dump description: Unable to interpret "70,000 " as a number.
    what is happening here is, the original value is 50,000 and he is deleting 5 and replacing it with 7, here its throwing the dump.
    If he removes the complete number 50,000 and then gives 70000 its  taking the value.
    I tried to use, the decimals options in alv field catalog but to no joy.
    Please can you give me an advice on this.
    Many Thanks.

    the problem is the comma in the 70,000....that's an alpha character.... Normally, we expect SAP to display numeric fields in a appropriate format, based upon their numeric type, but trying to forcibly insert '70,000' into a true numeric-type field can generate an 'unable to interpret xxx,xxxx  as number' error.
    You could experiment with changing your ALV column to a char17 (or appropriate width) and putting your numeric value into that to display, then converting back to type P, or other field type in the table, in a column that is not displayed, when the user changes the value....  essentially two columns, one not displayed with a routine to copy/convert the numeric field into the alpha field and the reverse when the field is changed.
    But, the better solution is probably for the user to understand that they're seeing a formatted numeric field, and that they need to replace the entire value with the only possible punctuation being a decimal and (if necessary) a negative sign.

  • BAPI_PO_CHANGE does not change LIMIT value for service PO with ref to IDOC

    Hi,
    I am trying to change the limit values for both ACCTASSCAT (K) and item cat (D ie service PO) with ref to message type PORDCH IDOC type PORDCH02, the IDoc is getting posted but the PO is not getting updated ie LIMIT value is not getting change and returning msg "No data changed".
    Could you please provide the way to change LIMIT value.
    Regards,
    Mojammil Khan

    Are you really sure that your IT_SCH has the same fields like POITEM?
    the delivery date and statistical delivery date are located in the schedule tab in ME23N and stored in the schedule table EKET, not in EKPO where the PO item data is stored.
    I think you should assign your IT_SCH to POSCHEDULE

  • Logic of determining value for Inventory offsetting line item

    Hi,
    I want to know the following for the reversal of Process Order for materials for which the price control is 'S'.
    How the value for GBB (Inventory offsetting) is determined. I have observed it taking the weighted rate of the (Summation of the Total Actual Cost / Sumation of Actual Qunatity) * Reversal Quantity. The BSX line item is determined by Standard Price * Reversal Quantity
    The balance is posted in the Price difference.
    I want to know why this difference is determining tge line items.
    I have gone thru SAP Note 216080 in this regard but failed to understandard the basic resaon why this is happening.
    Regards
    Partha

    Dear colleague,
    you are right
    >note 422606:
    a) The manufactured material has price control 'S' (Standard price).
       Valuation is carried out for goods receipts using the standard
       price that is currently valid.
       For the reversal of goods receipts, the valuation of the debit of
       the order (offsetting entry to stock posting) is carried out
       using the price determined from the quotient of value of goods
       received and quantity of goods received. That is, all previous
       goods receipts are used for the valuation of the reversal of a
       goods receipt, but order settlements are not used.
    It is the standard system behaviour that the reversal of goods receipt
    for production order are not valuated with standard price. All previous
    goods receipts are used for the valuation of the reversal of a
    goods receipt.
    Goods receipts are always reversed with an average of the prices of
    all goods receipts in the order history. Therefore price differences
    may occur. This behaviour is as well explained in the attached
    note 49995 in the reasons and prerequisites step. As well you find
    an explanation in note's 422606 symptoms. the system tries to avoid the reversal
    with posted values no longer possible.
    If this replies your question ,please mark it as answered,
    best regards,
    maria

  • Change default value for no of records in T code KSB1

    Hi,
    I am trying change the default value (no of records) in T code KSB1.
    Is it defaulted progarmatically or through some configuration?
    Any help is appreciated.
    Thanks
    Govind

    Thank you all for immediate reply.
    I know that I can create a variant or change the value by hitting more settings.
    I have also seen in the program and its hard coded there as 5000.
    We need that value to be defulted as 10000.So my question is that can we change via configuration or it can be done only progamatically?
    Thanks
    Govind

  • How value for Inv Offsetting line item determined for revsesal

    Hi,
    I want to know the following for the reversal of Process Order for materials for which the price control is 'S'.
    How the value for GBB (Inventory offsetting) is determined. I have observed it taking the weighted rate of the (Summation of the Total Actual Cost / Sumation of Actual Qunatity) * Reversal Quantity. The BSX line item is determined by Standard Price * Reversal Quantity
    The balance is posted in the Price difference.
    I want to know why this difference is determining tge line items.
    I have gone thru SAP Note 216080 in this regard but failed to understandard the basic resaon why this is happening.
    Regards
    Partha

    Dear colleague,
    you are right
    >note 422606:
    a) The manufactured material has price control 'S' (Standard price).
       Valuation is carried out for goods receipts using the standard
       price that is currently valid.
       For the reversal of goods receipts, the valuation of the debit of
       the order (offsetting entry to stock posting) is carried out
       using the price determined from the quotient of value of goods
       received and quantity of goods received. That is, all previous
       goods receipts are used for the valuation of the reversal of a
       goods receipt, but order settlements are not used.
    It is the standard system behaviour that the reversal of goods receipt
    for production order are not valuated with standard price. All previous
    goods receipts are used for the valuation of the reversal of a
    goods receipt.
    Goods receipts are always reversed with an average of the prices of
    all goods receipts in the order history. Therefore price differences
    may occur. This behaviour is as well explained in the attached
    note 49995 in the reasons and prerequisites step. As well you find
    an explanation in note's 422606 symptoms. the system tries to avoid the reversal
    with posted values no longer possible.
    If this replies your question ,please mark it as answered,
    best regards,
    maria

  • TSQL Get Previous values for each group by

    Dear Friends,
    I have a problem with my TSQL statment. 
    I need to get previous value for each day and specific unit. Everything goes fine if I have always 2 unit in each day. But if same day has just one unit or less, I cannot have the previous value in the current record.
    The Output is this one:
    SK_DAY SK_UNIT
    VALUE VALUE_PREVIUS_DAY
    20131112 2
    30.00 NULL
    20131112 3
    34.00 NULL
    20131113 2
    40.00 30.00
    20131113 3
    45.00 34.00
    20131114 2
    50.00 40.00
    I dont have the second record for 2013-11-14, because in this date I just have value for unit 2.
    The final output should include the record:
    20131114 3
    0 45.00
    The Statment I have is:
    SELECT MAIN.SK_DAY, MAIN.SK_UNIT, SUM(MAIN.VALUE) AS VALUE
     SELECT SUM(VND1.VALUE) AS VALUE
     FROM FCT_TEST VND1
     WHERE CONVERT(DATE,CONVERT(VARCHAR(10),VND1.SK_DAY))>=DATEADD(dd,-1,CONVERT(DATE,CONVERT(VARCHAR(10),MAIN.SK_DAY)))
    AND CONVERT(DATE,CONVERT(VARCHAR(10),VND1.SK_DAY))<CONVERT(DATE,CONVERT(VARCHAR(10),MAIN.SK_DAY))
    AND VND1.SK_UNIT=MAIN.SK_UNIT
    ) AS VALUE_PREVIUS_DAY
    FROM FCT_TEST MAIN
    GROUP BY SK_DAY, MAIN.SK_UNIT
    SQL CREATE SCRIPT:
    CREATE TABLE [dbo].[FCT_TEST](
    [SK_DAY] [int] NOT NULL,
    [SK_UNIT] [int] NOT NULL,
    [VALUE] [decimal](18, 2) NULL,
     CONSTRAINT [PK_FCT_TEST] PRIMARY KEY CLUSTERED 
    [SK_DAY] ASC,
    [SK_UNIT] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    Thank you!!!
    PPSQL

    Thank you Kalman,
    But my problem is not with date! Fortunately I have dates for all days.
    The problem is for dimension tables like UNITS that I dont have values for all days, and when I try to get the previous value for previous day and each unit I dont have records. 
    20131112
    2
     30.00
    NULL
    20131112
    3
     34.00
    NULL
    20131113
    2
     40.00
    30.00
    20131113
    3
     45.00
    34.00
    20131114
    2
     50.00
    40.00
    20131114
    3
     0
    45.00 [I NEED THIS RECORD AS IS]
    Could you help me??
    Thank you!!

Maybe you are looking for

  • Route in stock transfer order

    Hi I just want to check whether if route is not mentioned in the sto can we process the sto till goods receipt. movement type for goods issyue is 641. In delivery document flow I see following  for the sto which have route. Delivery WMS TO TF to stoc

  • Need help in modifying mapping parameters of out the box mapping

    Hi There, I am a new bee to dac. Need help in modifying mapping parameters of out the box mapping, which is invoked by DAC task. We got a requirement to edit mapping parameter. When I go and see parameter under mappings tab in a mapping, I could not

  • Multiple selection button is suppressed

    Hi SAP Gurus, Multiple selection button is suppressed for many t codes..what could be the reason for this issue? for ex:- article selection in mm43, me5a, etc. Attached the screenshot

  • Firefox checks for updates to add-ons every time it starts?

    Every time I click my shortcut to open Firefox, a window pops up. This window scans my installed add-ons and checks for updates. Then, Firefox opens. One of my add-ons, "Zotero Word Integration" tries to install itself every time. If I have an instan

  • Invoking servlet at Click of a JButton.

    I have a swing application running fine.I now want to introduce a functionality for opening a new popup window on the click of a JButton in my appln., similar to window.open() method in javascript.When I click a JButton , a servlet gets invoked, talk