Different Campaign - Same keys / material / validity period is it possible?

Hello All,
We want to run two campaigns for different customers with same material / same validity and same discount condition.
Web UI - Cannot create different campaigns for the same product with the same condition type in the same validity date.
This is the error we are getting...
Diagnosis
The validity periods of records with the same semantic key (e.g. same price type, same organizational data, same product, and same customer) may not overlap. However, the system has found two records with overlapping validity periods.
System Response
Both records have a red status on the user interface, indicating that anerror exists. As these records are inactive, they will not be taken into account by any application (for example, sales order pricing).
Procedure
Change the validity periods of the records concerned such that they no longer overlap.
Logically it makes business sense to have two different campaigns for same material and validity at the same time.
We do not intend to introduce a customer key - as it becomes too cumbersome to maintain the records for n number of customers.
Is there a setting in campaign management or somewhere else XCM etc etc to over-ride this some how.
Please let me know if you need to see screen shots - I can provide them ... on request
Good answers will be rewarded with points.....
Thanks,

Hello,
Yes it will be possible, But you condition record should be based on customer/material.
Regards
Raja Pamireddy
CRM Marketing forum Moderator

Similar Messages

  • Value different for same quantity/material

    I am using MB5L report.  There I see two entries for a particular material.
    ValA Material                  Total Stock BUn        Total Value Crcy  Material Description                     S Document     Item
    2900 14007969             3.750  M            3,075.90  SAR   Material 18928L for flushiing
    2900 14007969            3.750  M           14,620.28  SAR   Material 18928L  for flushiing               1277809      101
    why the above same material with same quantity shows different values in MB5L report

    Dear:
                  This happens because of different moving average price MAP. Every time there is a MIGO for new PO the system adjust the previous price according to the prices entered at the time of PO creation at the time of MIGO hence moving average price is updated in SAP. Hence its a normal thing to view material price showing different values in MB5L. I hope this clear.
    Regards

  • How to determine the contract header's valid period...

    1. How to determine the service contract header's start date, end date, when related muliple items with different start date and end date?
    i.e., what is the different between the header's valid period and item valid period?
    For example:
    Sold to A has 5 items, which has different contract line item start date and end date, e.g.,
    item 2: 2010.9-2011.9
    item 3: 2011.4-2012.4
    As for combined the all item bolonged to sold to A to one contract, so the item should have different contract start date and end date.
    However, how to determine the contract header's start date and end date?
    2. Another question is: When process service contract data migration from legance to CRM, how to design the above scenario logic?
    Thanks in advance,

    Sent again, to wait the answer....

  • LinkedHashMap problem (Same key but different value)

    Dear Friends,
    There is problem in LinkedHashMap for same key but different values.
    I want both values of same key as Output.
    Plz help me from an example code & it's output
    LinkedHashMap<Object, LinkedList<Object>> linkhash = new LinkedHashMap<Object, LinkedList<Object>>();
    LinkedList<Object> ll6 = new LinkedList<Object>();
              LinkedList<Object> ll7 = new LinkedList<Object>();
              LinkedList<Object> ll9 = new LinkedList<Object>();
    objectName="Listitem";
              ll6.add("id\tlisti");
              ll6.add("tag\tlistcell");
              ll6.add("tag\tlistcell");
              linkhash.put(objectName, ll6);
              System.out.println("List is "+linkhash);
              objectName="Listcell";
              ll7.add("id\tlistc");
              ll7.add("label\tCEO");
              linkhash.put(objectName, ll7);
              System.out.println("List is "+linkhash);
              objectName="Listcell";
              ll9.add("id\tlistc1");
              ll9.add("label\tNKC");
              linkhash.put(objectName, ll9);
              System.out.println("List is "+linkhash);
    output is
    List is {Listitem=[id     listi, tag     listcell, tag     listcell]}
    List is {Listitem=[id     listi, tag     listcell, tag     listcell], Listcell=[id     listc, label     CEO]}
    List is {Listitem=[id     listi, tag     listcell, tag     listcell], Listcell=[id     listc1, label     NKC]}
    I want output as
    List is {Listitem=[id  listi, tag  listcell, tag  listcell],Listcell=[id   listc, label CEO], Listcell=[id     listc1, label  NKC]}
    Plz help me
    Thanks Friend
    Edited by: kkcnkc on Apr 1, 2009 6:47 AM

    Double post. Locking.

  • Quality info records: different pack configurations for same raw material

    how can i differentiate different pack configuration for same raw material in quality info records, as one might approved and the other not? that is, besides creating different material master for each packaging?
    thanks
    Alisa

    You need to use the MPN profile functionality that is a standard part of SAP.
    In Config under the purchasing define the MPN profile.  There are several options you can turn on/off including info records.
    You assign the MPN profile to your material. It now is considered by SAP to be an internal material number. 
    You then create a HERS material type for each separate manufacturer material number you have.  You only need the purchasing view for these materials.  You can also create purchasing text views, classification and some others if you wish.
    In the SAP approved vendors list (AVL), you then assign each manufacturer vendor(s) with the HERS material created.
    You create a Q-info record for each manufacturer/HERS material combination.
    Now, when you specify the internal material number in a PO, the system will tell you to order the MPN material.  When you do the drop down for the material now, it will show you the approved manufacturers allowed in the AVL for the ordering plant.
    When the 01 inspection lot is created you will have a vendor number as well as a manufacturer's number in the inspection lot.  The DMR can be done by the manufacturer or the vendor depending on how you set up the inspection plan. Q-info record will be used accordingly.
    Take a look at it and research it.  It's not hard to set up.
    FF

  • Different  disaggregation rules within the same key figure

    Hello All,
    We need to apply different disaggregation rules within the different levels of the same key figure.
    As an Example:
    Key Figure: SALES VOLUME
    Level1: Market
    Level2: Segment
    Level3: Model
    We want to define such rules:
    1- Disaggregate from Market Level to Segment Level using Historical Data
    2- Disaggregate from Segment Level to Model Level using APODPNDANT (a key figure in which the input is supplied from business)
    Does anybody know if this (defining two different rules within the different levels of the same key figure) is posssible?
    Thanks in advance...

    Hi Ergul
    Ideally its better to have APODPDANT to be the disaggregation KF at all levels
    you can choose to manipulate the APODPDANT instead by making it an Editable Kf in the Planning book
    To start with all levels can be based on the proportional KF calculation
    By Loading the selections at the Segment to model level you can manually enter the values based on business input
    you might need some macors to fix the totals and maybe to make sure the Sales volume is redisaggregated
    i think its something that can be solved by a god business process and simple functionality in the way you see the data

  • Fetch the netprice from the validity period which always matches with the

    Let me describe the same.
    Suppose the PO creation date is 04.07.2007
    The conditions for an item in a contract for the PO are as follows;
    1. Validity from 04.07.2007 validity to 04.07.2007 Netprice = 100.00
    2. Validity from 05.07.2007 validity to 31.12.9999 Netprice = 200.00
    We need to always fetch the netprice from the validity period which always matches with the PO creation date. here the value 100.00 should be the correct netpr as the PO creation date matches with the first validity period.
    But the program is fetching the netprice 200.000 which belongs to the second validity period. That is beacuse the select statement which fetches the data for contracts collects on the basis of EKKO-kdate and ekko-kdtab.the fields kdate and kdtab retrieves the validity period of the contract which is from 04.07.2007 to 31.072007. This data is then used to retrieve the netpr data from EKPO and it fetched 200.00 as it retrives the netprice of current data in contract validity and h not with respect to PO creation date.
    This data is then used to fetch the get the netpr data from EKPO.
    what we need is the netprice for that validity period of item(Conditions) that matches with the PO creation date..
    Below is the code where I'm selecting the data from ekko and ekpo for the contracts data..Can you please add the code snippet to the below attachesd subroutine to get the required data from KONV and KONP so that we can retrieve the correct Netprice.
    FORM select_contracts USING p_s_cebeln LIKE s_cebeln[]
    p_c_k_bstyp TYPE ebstyp
    p_p_bukrs TYPE bukrs
    p_p_ekorg TYPE ekorg
    p_p_ekgrp TYPE bkgrp
    *Begin of Mod-004
    fp_p_cernam type ty_r_ernam
    p_p_cernam TYPE ernam
    *End of Mod-004
    p_s_werks LIKE s_werks[]
    p_s_matnr LIKE s_matnr[]
    p_s_lifnr LIKE s_lifnr[]
    p_s_val_dt LIKE s_val_dt[].
    *mod-002
    data : l_amount type BAPICURR_D, " Net price
    l_waers TYPE waers, " Currency Key
    l_eff_amount type BAPICURR_D. " Effective value
    data: l_v_netpr type bprei.
    *mod-002
    SELECT ebeln
    bukrs
    bstyp
    aedat
    ernam
    lifnr
    zterm
    ekorg
    ekgrp
    waers
    wkurs
    kdatb
    kdate
    inco1
    INTO TABLE i_ekko
    FROM ekko
    WHERE ebeln IN p_s_cebeln
    AND bstyp EQ p_c_k_bstyp
    AND bukrs EQ p_p_bukrs
    AND ekorg EQ p_p_ekorg
    AND ekgrp EQ p_p_ekgrp
    *Begin of Mod-004
    AND ernam EQ p_p_cernam
    AND ernam IN fp_p_cernam
    *End of Mod-004
    AND lifnr IN p_s_lifnr
    AND ( kdatb IN p_s_val_dt OR kdate IN p_s_val_dt ).
    IF sy-subrc EQ 0.
    Populates internal table i_ekpo using EKPO table.
    SELECT ebeln
    ebelp
    loekz
    txz01
    matnr
    werks
    ktmng
    menge
    meins
    bprme
    netpr
    peinh
    webaz
    mwskz
    uebto
    untto
    erekz
    pstyp
    knttp
    repos
    webre
    konnr
    ktpnr
    ean11
    effwr
    xersy
    aedat
    prdat
    INTO TABLE i_ekpo
    FROM ekpo
    FOR ALL ENTRIES IN i_ekko
    WHERE ebeln = i_ekko-ebeln
    and aedat = i_ekko-aedat
    AND werks IN p_s_werks
    AND matnr IN p_s_matnr.
    LOOP AT i_ekpo INTO rec_ekpo.
    MOVE rec_ekpo-ebeln TO rec_contr-ebeln.
    MOVE rec_ekpo-ebelp TO rec_contr-ebelp.
    MOVE rec_ekpo-loekz TO rec_contr-loekz.
    MOVE rec_ekpo-txz01 TO rec_contr-txz01.
    MOVE rec_ekpo-matnr TO rec_contr-matnr.
    MOVE rec_ekpo-werks TO rec_contr-werks.
    MOVE rec_ekpo-ktmng TO rec_contr-ktmng.
    MOVE rec_ekpo-menge TO rec_contr-menge.
    MOVE rec_ekpo-meins TO rec_contr-meins.
    MOVE rec_ekpo-bprme TO rec_contr-bprme.
    MOVE rec_ekpo-netpr TO rec_contr-netpr.
    move l_v_netpr TO rec_contr-netpr.
    mod-002
    read table i_ekko into rec_ekko with key
    ebeln = rec_ekpo-ebeln.
    l_waers = rec_ekko-waers.
    CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
    EXPORTING
    currency = l_waers
    amount_internal = rec_contr-netpr
    IMPORTING
    AMOUNT_EXTERNAL = l_amount.
    rec_contr-netpr = l_amount.
    mod-002
    MOVE rec_ekpo-peinh TO rec_contr-peinh.
    MOVE rec_ekpo-webaz TO rec_contr-webaz.
    MOVE rec_ekpo-mwskz TO rec_contr-mwskz.
    MOVE rec_ekpo-uebto TO rec_contr-uebto.
    MOVE rec_ekpo-untto TO rec_contr-untto.
    MOVE rec_ekpo-erekz TO rec_contr-erekz.
    MOVE rec_ekpo-pstyp TO rec_contr-pstyp.
    MOVE rec_ekpo-knttp TO rec_contr-knttp.
    MOVE rec_ekpo-repos TO rec_contr-repos.
    MOVE rec_ekpo-webre TO rec_contr-webre.
    MOVE rec_ekpo-konnr TO rec_contr-konnr.
    MOVE rec_ekpo-ktpnr TO rec_contr-ktpnr.
    MOVE rec_ekpo-ean11 TO rec_contr-ean11.
    MOVE rec_ekpo-effwr TO rec_contr-effwr.
    mod-002
    CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
    EXPORTING
    currency = l_waers
    amount_internal = rec_contr-effwr
    IMPORTING
    AMOUNT_EXTERNAL = l_eff_amount.
    rec_contr-effwr = l_eff_amount.
    *mod-002
    MOVE rec_ekpo-xersy TO rec_contr-xersy.
    APPEND rec_contr TO i_contr.
    CLEAR: rec_ekpo,rec_contr.
    mod-002
    CLEAR : rec_ekko,l_amount, l_eff_amount,l_waers.
    mod-002
    ENDLOOP.
    Modifying i_contr using i_ekko.
    SORT i_ekko BY ebeln.
    LOOP AT i_contr INTO rec_contr.
    READ TABLE i_ekko INTO rec_ekko WITH KEY
    ebeln = rec_contr-ebeln
    BINARY SEARCH.
    MOVE rec_ekko-bukrs TO rec_contr-bukrs.
    MOVE rec_ekko-bstyp TO rec_contr-bstyp.
    MOVE rec_ekko-aedat TO rec_contr-aedat.
    MOVE rec_ekko-ernam TO rec_contr-ernam.
    MOVE rec_ekko-lifnr TO rec_contr-lifnr.
    MOVE rec_ekko-zterm TO rec_contr-zterm.
    MOVE rec_ekko-ekorg TO rec_contr-ekorg.
    MOVE rec_ekko-ekgrp TO rec_contr-ekgrp.
    MOVE rec_ekko-waers TO rec_contr-waers.
    MOVE rec_ekko-wkurs TO rec_contr-wkurs.
    MOVE rec_ekko-kdatb TO rec_contr-kdatb.
    MOVE rec_ekko-kdate TO rec_contr-kdate.
    MOVE rec_ekko-inco1 TO rec_contr-inco1.
    MODIFY i_contr FROM rec_contr.
    ENDLOOP.
    ENDIF.
    REFRESH: i_ekko,
    i_ekpo.
    CLEAR : rec_ekko,
    rec_ekpo,
    rec_contr.
    ENDFORM. "select_contracts
    Thanks.

    Hi,
    Please get the valid condition ( based on date ) from A016 (MK & LPA). With the appropriate KNUMH read the Condition header. You can access the different condition items viz., PB00, RA00 etc., for the values from table KONP. Further if you have Value scales / Quantity scales, you can read the data from KONM, KONW.
    An additional tips: in KONP, if you have a condition like RA00 - Rebate, the value will be multiplied by 10 and saven in database to accomodate the discount to the third decimal.
    I could not completely understand your requirements like nature of development ( Is it a Report / SAP Script ??) you are working etc., so that I could help you precisely.
    Hope this helps,
    Best Regards, Murugesh AS
    Message was edited by:
            Murugesh Arcot

  • Can you please how to retrive the new netprice from the new validity period

    Hi,
    When you display  a contract using ME33K and you click on  a item and view its conditions(shift+F6), there might be 2 validity periods for a given item.
    and each period will have different netprice in it.
    One will be old date before the PO was created and the other new one which has validity till 31.12.999..We want to fetch the netprice for the new validity date but currently the program is fetching this data from the table EKPO which is having the netprice of the old date only..
    Can you please how to retrive the new netprice from the new validity period

    Thank you so much.
    But I need more help specific to my problem.
    Let me describe the same.
    Suppose the PO creation date is 04.07.2007
    The conditions for an item in a contract for the PO are as follows;
    1. Validity from 04.07.2007 validity to 04.07.2007 Netprice = 100.00
    2. Validity from 05.07.2007 validity to 31.12.9999 Netprice = 200.00
    We need to always fetch the netprice from the validity period which always matches with the PO creatio date. here the value 100.00 should be the correct netpr as the PO creation date matches with the first validity period.
    But the program is fetching the netprice 200.000 which belongs to the second validity period. That is beacuse the select statement which fetches the data for contracts collects on the basis of EKKO-kdate and ekko-kdtab.the fields kdate and kdtab retrieves the validity period of the contract which is from 04.07.2007 to 31.072007. This data is then used to retrieve the netpr data from EKPO and it fetched 200.00 as it retrives the netprice of current data in contract validity and h not with respect to PO creation date.
    This data is then used to fetch the get the netpr data from EKPO.
    <u>what we need is the netprice for that validity period of item(Conditions) that matches with the PO creation date</u>..
    Below is the code where I'm selecting the data from ekko and ekpo for the contracts data..Can you please add the code snippet to the below attachesd subroutine to get the required data from KONV and KONP so that we can retrieve the correct Netprice.
    FORM select_contracts USING p_s_cebeln LIKE s_cebeln[]
                                p_c_k_bstyp  TYPE ebstyp
                                p_p_bukrs    TYPE bukrs
                                p_p_ekorg    TYPE ekorg
                                p_p_ekgrp    TYPE bkgrp
    *Begin of Mod-004
                                fp_p_cernam   type ty_r_ernam
                               p_p_cernam   TYPE ernam
    *End of Mod-004
                                p_s_werks    LIKE s_werks[]
                                p_s_matnr    LIKE s_matnr[]
                                p_s_lifnr    LIKE s_lifnr[]
                                p_s_val_dt   LIKE s_val_dt[].
    *mod-002
        data : l_amount   type BAPICURR_D,   " Net price
               l_waers    TYPE waers,        " Currency Key
               l_eff_amount type BAPICURR_D. " Effective value
          data: l_v_netpr type bprei.
    *mod-002
    SELECT  ebeln
              bukrs
              bstyp
              aedat
              ernam
              lifnr
              zterm
              ekorg
              ekgrp
              waers
              wkurs
              <b>kdatb
              kdate</b>
              inco1
              INTO TABLE i_ekko
              FROM ekko
              WHERE    ebeln IN p_s_cebeln
                   AND bstyp EQ p_c_k_bstyp
                   AND bukrs EQ p_p_bukrs
                   AND ekorg EQ p_p_ekorg
                   AND ekgrp EQ p_p_ekgrp
    *Begin of Mod-004
                  AND ernam EQ p_p_cernam
                   AND ernam IN fp_p_cernam
    *End of Mod-004
                   AND lifnr IN p_s_lifnr
                   AND ( kdatb IN p_s_val_dt OR kdate IN p_s_val_dt ).
      IF sy-subrc EQ 0.
    Populates internal table i_ekpo using EKPO table.
        SELECT   ebeln
                 ebelp
                 loekz
                 txz01
                 matnr
                 werks
                 ktmng
                 menge
                 meins
                 bprme
                 netpr
                 peinh
                 webaz
                 mwskz
                 uebto
                 untto
                 erekz
                 pstyp
                 knttp
                 repos
                 webre
                 konnr
                 ktpnr
                 ean11
                 effwr
                 xersy
                 aedat
                 prdat
                   INTO TABLE i_ekpo
                   FROM ekpo
                   FOR ALL ENTRIES IN i_ekko
                   WHERE ebeln = i_ekko-ebeln
                     and aedat = i_ekko-aedat
                     AND werks IN p_s_werks
                     AND matnr IN p_s_matnr.
    LOOP AT i_ekpo INTO rec_ekpo.
          MOVE rec_ekpo-ebeln  TO rec_contr-ebeln.
          MOVE rec_ekpo-ebelp  TO rec_contr-ebelp.
          MOVE rec_ekpo-loekz  TO rec_contr-loekz.
          MOVE rec_ekpo-txz01  TO rec_contr-txz01.
          MOVE rec_ekpo-matnr  TO rec_contr-matnr.
          MOVE rec_ekpo-werks  TO rec_contr-werks.
          MOVE rec_ekpo-ktmng  TO rec_contr-ktmng.
          MOVE rec_ekpo-menge  TO rec_contr-menge.
          MOVE rec_ekpo-meins  TO rec_contr-meins.
          MOVE rec_ekpo-bprme  TO rec_contr-bprme.
         MOVE rec_ekpo-netpr  TO rec_contr-netpr.
         move l_v_netpr        TO rec_contr-netpr.
    mod-002
          read table i_ekko into rec_ekko with key
                           ebeln = rec_ekpo-ebeln.
            l_waers =  rec_ekko-waers.
    CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
      EXPORTING
        currency              =  l_waers
        amount_internal       =  rec_contr-netpr
    IMPORTING
       AMOUNT_EXTERNAL       =  l_amount.
                rec_contr-netpr = l_amount.
    mod-002
          MOVE rec_ekpo-peinh  TO rec_contr-peinh.
          MOVE rec_ekpo-webaz  TO rec_contr-webaz.
          MOVE rec_ekpo-mwskz  TO rec_contr-mwskz.
          MOVE rec_ekpo-uebto  TO rec_contr-uebto.
          MOVE rec_ekpo-untto  TO rec_contr-untto.
          MOVE rec_ekpo-erekz  TO rec_contr-erekz.
          MOVE rec_ekpo-pstyp  TO rec_contr-pstyp.
          MOVE rec_ekpo-knttp  TO rec_contr-knttp.
          MOVE rec_ekpo-repos  TO rec_contr-repos.
          MOVE rec_ekpo-webre  TO rec_contr-webre.
          MOVE rec_ekpo-konnr  TO rec_contr-konnr.
          MOVE rec_ekpo-ktpnr  TO rec_contr-ktpnr.
          MOVE rec_ekpo-ean11  TO rec_contr-ean11.
          MOVE rec_ekpo-effwr  TO rec_contr-effwr.
    mod-002
          CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
       EXPORTING
          currency              =  l_waers
          amount_internal       =  rec_contr-effwr
       IMPORTING
          AMOUNT_EXTERNAL       =  l_eff_amount.
               rec_contr-effwr = l_eff_amount.
    *mod-002
          MOVE rec_ekpo-xersy  TO rec_contr-xersy.
          APPEND rec_contr TO i_contr.
          CLEAR: rec_ekpo,rec_contr.
    mod-002
          CLEAR : rec_ekko,l_amount, l_eff_amount,l_waers.
    mod-002
        ENDLOOP.
    Modifying i_contr using i_ekko.
        SORT i_ekko BY ebeln.
        LOOP AT i_contr INTO rec_contr.
          READ TABLE i_ekko INTO rec_ekko WITH KEY
                              ebeln = rec_contr-ebeln
                              BINARY SEARCH.
          MOVE rec_ekko-bukrs  TO  rec_contr-bukrs.
          MOVE rec_ekko-bstyp  TO  rec_contr-bstyp.
          MOVE rec_ekko-aedat  TO  rec_contr-aedat.
          MOVE rec_ekko-ernam  TO  rec_contr-ernam.
          MOVE rec_ekko-lifnr  TO  rec_contr-lifnr.
          MOVE rec_ekko-zterm  TO  rec_contr-zterm.
          MOVE rec_ekko-ekorg  TO  rec_contr-ekorg.
          MOVE rec_ekko-ekgrp  TO  rec_contr-ekgrp.
          MOVE rec_ekko-waers  TO  rec_contr-waers.
          MOVE rec_ekko-wkurs  TO  rec_contr-wkurs.
          MOVE rec_ekko-kdatb  TO  rec_contr-kdatb.
          MOVE rec_ekko-kdate  TO  rec_contr-kdate.
          MOVE rec_ekko-inco1  TO  rec_contr-inco1.
          MODIFY i_contr FROM rec_contr.
        ENDLOOP.
      ENDIF.
      REFRESH: i_ekko,
               i_ekpo.
      CLEAR  : rec_ekko,
               rec_ekpo,
               rec_contr.
    ENDFORM.      "select_contracts
    Thanks.

  • EWT - giving validity period based on withholding tax code

    Dear Friends,
    1) My client is having different withholding tax codes (based on rates) for the same withholding tax type. I have given validity period based on withholding tax type in EWT -> Company code -> Assign withholding tax types to company codes, but they want at withholding tax code level because each withholding tax code is having different validity period.
    Could you please let me know whether we can give validity period or dates based on withholding tax code instead of withholding tax types.
    2) Also please let me know how to handle LTDC based withholding tax codes.
    Thanks & Regards,
    Dwarak.

    Hai,
    it is not possible to give validity period for tax codes.if you are
    using formula functionality,you can set validity period for tax code rates.
    Raghav

  • Validity Periods: Netprice on EKKO, where to find the correct netprice?

    <b>Background</b>
    We are extracting open PO data from tables EKKO, EKPO and EKBE to send the data to an external system for further processing. The extraction is done by BODI (Business Objects Data Integrator), an ETL tool that generates ABAP. Current solution is used for 9 SAP systems. Changes in SAP or using non-standard tables is not possible. Performance is always a challenge.
    <b>Description</b>
    For EKKO and EKPO standard information is extracted.
    From EKBE only outstanding quantity and amount per goods receipt is extracted.  For the calculation is not a join or look-up used, but a group by, for performance. This data is grouped and summed on EKBE.LFBNR which is filled for VGABE = ‘1’ as EKBE.BELNR, the material document.  Values are negative or positive based on the debit/credit indicator (EKBE.SHKZG).
    In this extraction EKKO.NETPR is used to recalculate not fully invoiced entries in EKBE, since it is possible to enter a partial quantity and the full value.
    However, EKKO.NETPR contains only the price for the current validity period. When EKKO.MEPRF = ‘5’ multiple validity periods are possible.
    <b>Possibilities</b>
    1)     Recalculate the NETPR based on the goods receipt in EKBE
    2)     For recalculation of open items we need the NETPR of the corresponding validity period
    3)     Get the correct (open) quantity and value
    <b>1)</b>
    Last options was tried but gave an unacceptable performance drop, because for every VGABE =  ‘2’ where EKKO.MEPRF = ‘5’, a look-up had to be done to VGABE = ‘1’  to calculate the new NETPR. This option has been tried in several ways, but no performing solution was found.
    <b>2)</b>
    We know that on the Condition Records the NETPR is listed per validity period. However our problem is that we do not know how to reach the listing and further how to use it. Combining the correct validity period with every invoice receipt does not seem to be a permant way.
    <b>3) a</b>
    We think that somewhere in the financial area the quantities and values should be present, however a link to FI is completely unclear.
    <b>3) b</b>
    Also on the Condition Records is the correct quantity and value present, but here is the link also not clear. My best bet is on this.
    The big question is, does someone have knowledge about this, hints, tips to look for certain links between tables?

    Hi,
    Please get the valid condition ( based on date ) from A016 (MK & LPA). With the appropriate KNUMH read the Condition header. You can access the different condition items viz., PB00, RA00 etc., for the values from table KONP. Further if you have Value scales / Quantity scales, you can read the data from KONM, KONW.
    An additional tips: in KONP, if you have a condition like RA00 - Rebate, the value will be multiplied by 10 and saven in database to accomodate the discount to the third decimal.
    I could not completely understand your requirements like nature of development ( Is it a Report / SAP Script ??) you are working etc., so that I could help you precisely.
    Hope this helps,
    Best Regards, Murugesh AS
    Message was edited by:
            Murugesh Arcot

  • Survey was not found or it is not withing validity period

    Dear gurues,
    Hope you can help me with this issue in CRM 5.0
    I have created one survey, it includes dynamic questions by using function modules PBO and PAI, and fortunately it works fine when testing in trx. CRM_SURVEY_SUITE.
    Now i am trying to generate a URL by BSP. It works almost fine, but for some weird reason, once I type "Yes" or "No" for the first question of my survey (next questions depend on the answer of first one, if "Yes" - second question should be shown, if "No" - second question should be hidden), and then click enter, I get the following system message:
    survey was not found or it is not within validty period.
    I have already maintained the validity period under maintain survey attributes in trx. CRM_SURVEY_SUITE.
    the idea is to use this survey in e-mail campaign.
    i will really appreciate your input
    Thanks
    Karina

    Hi Karina,
    How you solved this issue...
    I am also getting the same error...
    Survey Was not Found or Is not Within the Validity Period.
    In GUI it is working perfectly.
    I tried the solution given by RAJA but it is also not working...
    I added a cutom button... Function code is SAVE.
    Didnt write any code for it..
    When Pressing that button i got the above error....

  • Reg:Tax code validity period

    Hi All
    For the condition type jmop for the key combination tax code i'm not getting the validity period
    I have checked the
    1. condition type jmop (val dt from & Val dt To)
    2.access secequence
    In Fv11 i'm not getting it
    Plz guide me

    > 1. How to check tax code validity period?
    No tax code doesn't have any validity period
    But when we maintain condition record for tax calculation that condition record has validity period which we maintain in FV11
    > 2. Is condition records mandatory for calculation of taxes.
    If you are working with TAXINN which is condition record based tax procedure maintenance of Condition record is mandatory
    With formula based TAXINJ procedure no need to maintain,
    For more on this Topic read
    http://wiki.sdn.sap.com/wiki/display/ERPLO/DifferencebetweenTAXINJandTAXINN
    If this is mandatory , then how tax calculated for non material master items?
    It all depends what access sequence you have assigned to your tax condition type
    Lets take an example for Excise duty which is determined at material level
    Ex1 >Condition type for Basic Excise duty is JMOP here we assign access sequence JTAX
    Now to maintain condition record for JMOP you will find material,vendor.Plant (all defined in access sequence JTAX)
    Ex 2>Now Say service tax condition type JSER (or what ever) which is not dependent on Material (as even Po without material master can have service tax)
    So for service tax condition type we assign access sequence as MWST
    which is defined only at country level
    You can find all these settings under T.code OBYZ
    I hope it clarifies your doubt at least to some extent
    Revert back for any further clarification

  • Cannot export private key: "key not valid for use in specified state"

    Hi,
    This is a bit of a long story but I hope someone can give us some guidance.
    We use authentication certificates issued from our own Enterprise CA to control user and machine authentication via RADIUS/NPS for our wireless network.  Certificates are deployed via group policy/autoenrollment. In general this works well but
    we have an intermittent problem where user authentication stops working for a user who was fine before. The user certificate looks OK via Certmgr (shows as valid, shows that there is a private key associated with the certificate).  The NPS server
    logs show that the machine has been authenticated and granted access, but the user in this situation doesn't show up in the server logs at all. 
    The only solution in this case is to connect to the wired network and request a new certificate for the user (either via certmgr or just by deleting the duff cert and logging off/on again to get the cert via autoenrollment).
    The interesting thing is that while a "working" certificate can be exported with no problem, a duff certificate cannot be exported with its private key, giving the error "key not valid for use in specified state". (Obviously the certificates
    come from the same template, and the key is not marked unexportable).  The key files are present in %userprofile%\Appdata\Roaming\Microsoft\Crypto\RSA and the user permissions on these files look correct.
    After much searching of the forums I tried running certutil-repairstore on the duff certificate and that also returned the same error.  I also tried an undocumented switch Certutil -user -key -v and again, got a very similar error "Loadkeys returned
    key not valid for use in specified state. 0x8009000b (-2146893813)".
    I'm assuming that the fact that the key is unexportable/corrupt is also the reason why the certificate can no longer be used for authentication.
    Does anyone have any clues as to what might be causing this, and/or if a certificate with a key in this state can be repaired?
    Thanks!

    I can just share an experience I once had that was somewhat similar:
    In this case certificates could sometimes not be enrolled and the CSP came up with a related error message.
    The root was the software / driver (?) for a hardware dongle required to run some software. This "driver" added a registry key to the list of CSPs (under these HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Defaults\Provider - but I have seen this with
    XP, so the exact location might be different now).
    This fake CSP entry that had quite a weird name effectively broke other CSPs. After removing the access to / generation of keys worked fine.
    So it would be interesting to know if you run some software that is "close to CSPs or cryptography".
    Elke

  • Service contract with multiple validity period

    Hi,
    I am having a requirement where i need to create service contracts with multiple validities.
    some contracts may have 1 year validity, some six months.
    I already have a transaction type for contract which is having 1 year validity period assigned in its date profile.
    can i use the same transaction to create contracts for 6 months???
    Regards,
    PePe

    Hi,
      Yes you can use the same transaction type for the other validity period. What you can do is when you create a service contract, it will automatically pick up the 1 year duration since you have defined that way. But you can write some enhancement in ORDER_SAVE Badi.
    First you create a Z table and maintain the different durations (say based on your item) in a Z table.
    For example,
    item    duration(months)
    100       6
    200       12
    300       18
    400       24
    So at the time of saving the contract, your Badi implementation will be triggered and there you can pick up relevant duration (say 6 months) based on the item entered in your contract. And once you get the duration, you can change the Contract End date accordingly and then it will be saved. This way you can get the Contract duration as per your requirement.
    Hope it HELPS...
    Regards,
    Shailesh Jadhav

  • How to extend the validity period of Cost estimate

    Hi Gurus,
    The validity period of Standard Cost estimate is up to the end of fiscal year. how can we get the same Cost estimate from the begining of new fiscal year.
    for example let Materila X, which has 550 as a Cost estimate.the validity period of this cost estimate is up to 31/03/2009. now i want same cost estimate for Material X, from 01/04/2009  on wards.
    is it possible to get the same cost estimate from the 01/04/2009 or Do I need to run CK11N, CK24?
    can anybody help me.
    Thanks&Regards
    Prareddy

    hi,
    If you want to get the same cost estimate for future use. You have to create a new cost estimate using the Dates as below
    Costing date from :01/04/2009
    Costing date to :Any date you desire (preferably end of 2009 financial year)
    Qty structure date: As of your previous cost estimate for the material X
    Valuation date :As of your previous cost estimate for the material X
    Using this procedure you will have the old costs ie 550 in the cost estimate but will extend the same to as long as you desire.
    Revert back for more information
    Thanks

Maybe you are looking for

  • IPhone 4 not handing-over properly since 4.3.x update

    I've noticed a problem since updating from 4.2.1 to 4.3.2 and subsequently 4.3.3, initially I thought it was a network related issue, but have now had confirmed by my provider (Vodafone UK) that they do not know of any problems ... I travel a lot, of

  • Sending File as an attachment

    Dear all, I need to pick the file from FTP and the contents of file should be sent as an attachment. I know how to send content of file as an attachments. But the challange for me here is, the attachment file name should as we picked from FTP. Ex: Su

  • Linksys WRT54GS and AX WDS with WPA

    I have researched everything in these forums and I thank all for their hard work. Am I to conclude that if I want to use the AX as a bridge (WDS) that I can only use WEP encryption? I tried following the instructions with WPA and when I plug the AX b

  • HT1338 Is there a converter available to convert a mini CD to five inch CD

    Is there a converter available to convert a mini CD to a 5 inch CD

  • Unable to log into console

    I've a DPM2012 R2 installation that's running perfectly. However, when I try to delegate access, the users trying to access the console gets error ID:948 - DPM services aren't running. They clearly are! My user account can log in and launch the conso