SAP query for Material pricing group changes in material.

Dear all,
I'm trying to generate a query for Material Pricing group changes in material. For that I've to retrieve data from follwing three tables MVKE, CDHDR & CDPOS.
Firstly while generating infoset -
I tried it by joining tables MVKE & CDHDR, but system is not allowing it, also table CDPOS can't bejoined.
Then I tried by reading dirctly from table MVKE and then adding additional fields in it. query created using this infoset is giving the output, however it's giving only 1 entry per material entered in input.
for multiple entries in output for MPG changes in same material I tried creating addtional structure for table CDHDR & CDPOS but again I'm getting only 1 entry per material.
please suggest how I can get MPG changes done in specified time period for a material.
Thanks.

Hi
Check the report RSSCD100 and run it for object MAT_FULL for table MVKE. Use this report as a template for your own development.
I hope this helps you
Regards
Eduardo
PD: sorry, the table is DMVKE
Edited by: E_Hinojosa on Sep 2, 2011 9:37 AM

Similar Messages

  • Assign Material Pricing Group to Material Group

    Hi experts,
    When entering a sales order/quote, we do not want to have to change the mat pricing grp column, it should automatically be populated depending on the material group. Is there a way to assign material pricing group to a material group?

    Dear Marianne:
    In this path you update material pricing group description and also mantain access sequence to create a list price in VK11.
    Please check it and revert.
    Regards
    Jose Antonio

  • VA01- change item Material Pricing Group depending of Price List

    Hi all,
      I have this requirement:
    Transaction VA01, VA02 (create, change sales order)
    If the user modify the Price List in header data I must change the Material Pricing Group (VBAP-KONDM) for ALL the items in the document.
    I've tried to implement the exit MV45AFZZ to obtain this goal, but it works fine only for the new item inserted or changed while for the unchanged item the
    Material Pricing Group has not been modified.
    Does anybody knows what enhancement I have to use?
    I thank you in advance.
                                                                  Paolo

    Include: MV45AFZZ
    form: userexit_field_modification.
    This is to show the new assigned value
    if sy-tcode eq 'VA01' or sy-tcode eq 'VA02'.
      if not vbap-kondm is initial and
        vbkd-pltyp = '02'.
        if vbap-spart = 'CA'.
          vbap-kondm  = '91'.
        else.
          vbap-kondm  = '90'.
        endif.
      endif.
    endif.
    Include: MV45AFZZ
    form userexit_save_document_prepare.
    This is to store the value assigned
    if sy-ucomm eq 'SICH'.    " Save
      loop at xvbap.
        if not xvbap-kondm is initial.
          if xvbap-spart = 'CA'. 
            xvbap-kondm  = '91'.
          else.
            xvbap-kondm  = '90'.
          endif.
          if xvbap-updkz is initial.
            xvbap-updkz = 'U'.
          endif.
          modify xvbap index sy-tabix.
        endif.
      endloop.
    endif.

  • Pricing table for Material pricing Group

    Hi everyone
    I have a problem related to pricing. In ECC, if we create a condition table for material pricing group, assign it to the Access sequence PR00 and then download the customizing data to CRM, the access sequence appears in CRM but without this table.
    Could you please provide any clue to this??
    Also, I had created another table with the Material/Material Prc Grp, assigned it to another Z-Access sequence and assigned the access seq to a Condition type. Again I had downloaded the customizing and in this case, only the Condition type has arrived. Neither the access sequence nor the table has come.
    Could you please guide me as to what needs to be done??
    Please help!!
    Regards
    Debolina

    Hello,
    Please check your replication object e.g. DNL_CUST_CNDALL and see if you have filters defined there.
    You might have put filters which are preventing the download.
    Also, you have to define the new field mappings in CRM before you download the tables.
    V_CND_MAP_CNVFLD (transaction SM30).: This view contains the mapping between R/3 data structure (maintained in CND_MAPT_ACS_REM_CUST) to CRM data structure (Field Catalog).
    The relationship between R/3 field names and CRM field names must be defined in either  CND_MAPC_CNV_FLM or CND_MAPM_CNV_FLM
    Let me know if still issues.
    Koshal

  • How can I deactivate the pricing date and material pricing group in VA01?

    Hello All,
    How can I deactivate (output only) the pricing date and material pricing group field in VA01/2, VA21/2, and VA41/2? What user exit can I use? Thanks in advance...
    PeeJay

    You can use the t.code SHD0, choose your transaction variant here, further choose your screen variant.
    Next select your screen variant and in the Menu bar select Variant> change with processing>Make repairs in foreign namespaces only if they are urgent> Continue(Enter)>again 'enter'>Object can only be created in SAP package>continue(enter)> Exit and save >This variant contains other screens, adopt these as well?>enter>enter>  scroll down to the entry 'pricing date' or VBKD-PRSDT make the necessary changes and save.
    The system will prompt to assign a package and request enter the necessary values.
    Your issue is sorted!!
    Regards,
    PATHIK

  • Material Pricing Group DataSource

    I have been unable to locate a Business Content DataSource which contains descriptions for Material Pricing Groups (SAP R/3 Table is T178T).  The data MVKE~KONDM resides in the MVKE table and the value is provided as a part of the 0MAT_SALES extractor.
    Does anyone know if there is a delivered DataSource for this Text information?
    Thank you.

    hi Jonathan,
    couldn't find any datasource, searched in table ROOSOURCE (field EXTRACTOR T178, consider view V_T178), and checked in table ROOSFIELD, field KONDM only used by datasources 0ART_SALES_ATTR and 0MAT_SALES_ATTR,
    then you may need to create generic datasource text on table T178T or view V_T178, simple job
    hope this helps.

  • Regarding Material Pricing group

    Hi,
    What is the Path in SPRO to change thedescription og  "Material pricing group"
    Thanks,
    Saran

    Dear.
    It is as follows..
    SPRO>Logistics - General>Material Master>Settings for Key Fields>Data Relevant to Sales and Distribution-->Define Material Groups (material group 5) OR
    SPRO>Logistics - General>Material Master-->Settings for Key Fields-Define Material group( Tcode- OMSF)
    Regards
    AJIT K SINGH
    HAPPY TO HELP U
    Edited by: AJIT K SINGH on Dec 15, 2009 6:56 PM

  • Conditin Record-Check Material pricing group

    Hi
          For a condition type condition table is :
    1.sorg/material/material pricing group
    Now condition record should be created for some specific material pricing groups;
    Therfore the system has to check in the mateiral master data whether material pricing group exists,then the system should allow the creation of condition record.
    Ex:For Z1,Z2 -material contains material pricing gorup -should be allowed for creating conditon record
    For Z3-material contaims no material pricing group- should not be allowed for creating condition record
    Is it possible to check at the time of creation of condition record whether for the material -material pricing group exists or not.
    Plz help me out
    Thanks in advance
    Arpitha

    Hi Arpitha,
    Since you already have Customer/Material field in the condition table ,there is no need for Material Price group field in it.
    You can use the Material Price Group when you are not using the material field in the condition table.
    Can you explain the exact business requirement so that i can give the right solution.
    With Regards
    Vinu.N

  • Sales group - Material pricing group

    We are running a Z Report for 'Background Execution :Billing document updation for order."
    Error is " Value XXX (sales group) is not defined for material pricing group 2.
    Help requested.
    Rgds
    Sumanth.G

    hi;
    DEBUGG the Z report with an ABAPER and you will come to now what happend.
    please update the FORUM
    balajia

  • Material pricing group

    Dear Guru's,
    Sales 2 view, we have material pricing group field, where can i find the same, pls tell me d path
    B/regds,
    CB

    Hi,
    The menu path is:
    IMG-sales and distribution-basic functions-pricing-maintain price relevant Master data fields
    now select   'define  Material groups".
    This data is found in the table:T178.
    With Regards,
    Jaheer

  • Need to find SAP query for corresponding ABAP program.

    Hello SAP Experts,
    I have an ABAP program "AQDESYSTQV000001ORDERDETAILS==" in ECC 4.7. We had a client copy recently from ECC 4.7 to ECC 6.0. Now in ECC 6.0 I am unable to find this program in SE38.
    Can you please tell me how to create this program in ECC 6.0 ? Also, by the name of this program it is clearly seen that this program is automatically created by using SAP query.
    I tried to generate the program using SQ01, but system asks me for the SAP query.
    Can you please tell me how to find the SAP Query for the corresponding abap program ? Also, the steps as in how to generate the program in ECC 6.0.
    Thanks.

    Hi Danish,
    In the program name, the query name is always attached.
    For example : The program name is , AQ10SD==========Z10SD_INVPRODL=
                           Here the query name is Z10SD_INVPRODL and if you go to transaction SQ01 and enter the query name
    then you can find the infoset.
    And also you can gernate the program with the help of query name.
    Please try the same and let me know if any details are required.
    Regards,
    Darshana

  • Partial deliveries - per Material pricing group

    Hello, I need to create partial deliveris per 1 sales order - based on Materail pricing group (per batch job) - so 1 delivery will group materials with same Material pricing group.
    Is there any standard solution? I only found VL10C, but there is not Material pricing group as a selection field.

    HI,
    As per standard there in no such option..........

  • Printing of Material desc on change of material no in the ADOBE form

    Hi Experts,
    I want to print material description on change of material no. if there is 4 line item in same matnr then it will show only one desc for
    this. And on change of matnr it will change and total will print over there. for the 2nd MATNR desc will change and total will also print there for 2nd material no. Plz do suggest hw can i do this?
    Thanx in Advance.
    regards.
    sunil

    Hi Sunil,
      You can achive that by using the nested table concepts. Say you have two internal tables. One having all the line items data and the other the Description and totals for different material. Now you can loop the 2nd internal table inside the first one with where clause. In the context of the Form, add the 2nd internal table inside the 1st one and then in form use nested subforms.
    I hope you have got the idea how to do it.
    Regards,
    Susanta

  • SAP Query-for  Reporting   how to create and use it

    Hi SAP Gurus,
    i need your help. in my project, client is asking to create queries to generate reports, i am not familiar with queries, so would appreciate it if any one can guide me and tell me the procedure for writing and creating queries soon.
    also if you have any study material on steps on How to write and create queries for PP module
    thank you very much

    Hi
    Please refer below document
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
    Also refer below
    How to Create Infoset Query (SAP Query)
    Steps on how to proceed to create a Query:
    ADHOC QUERY
    A query can be created to extract information from master records  i.e  Infotypes.  For example, by creating a query , the data relating to an employee contained in various Infotypes can be extracted.
    Proceedure :  
    Decide on  the various Infotypes we  want to make the query.  Decide on the area where we  want to query  i.e  Global area or Standard area.  Standard area is client specific and globel area will include all clients.
    Menu : HR – PM – Admn -  Information System -  Adhoc Query
    Select area standard and select the  user group already created
    Creation of new query  :  
    TC SQ03  -  Select Environment – Select Standard Area -  Enter  --  If new user group is to be created, enter name of the user group, click on create and enter necessary information and  exit after saving
    TC SQ02  -  Enter name of the Infoset – Create – enter name of Infoset -  Data source -- >  Table join by basis table – give name of table e.g  pa0000 -  Enter -  Click on insert table if we  want to include more tables – give name of table one by one and after finishing,  place cursor on the joining lines and right click to delete unwanted relationships  - check  - and go back  - field groups  -  include all table fields  - click on generate button   -  go out
    TC SQ03  -  Select user group  -   eg.  Payroll
    Infoset  - Enter name of newly created Infoset 
    Assign users and Infosets  -  Assign infosets  -  put tick on payroll  - save and go back
    TC  PAAH  -  Expand the nodes and put tick on relevant fields depending upon necessity
    Save the query  by giving the same name as infoset for easyness..
    For executing a query which is already created
    1. Go to SQ01 transaction
    2. Go to Environment menu->query areas->std areas
    3. Then choose the user group where the query is created
    4. It will display all the queries created for the group.choose the query you want to executeand click execute.
    5. will take to the initial screen
    6. Enter the required parameters and execute
    Regards
    Ranga
    Message was edited by:
            Ranganathan Srinivasamurthy

  • Transaction code thro' SAP Query for customer spefific report

    hi experts,
    how to create transaction code (using SE43-) for the sap query created on own??
    I have created the following required for a customer specific report
    1.Infoset thro sq02
    2.user group thro sq03 and assigned it to infoset
    3.query thro sq01 and saved it with text
    earlier i have used logical database PNPCE ( relevant for PA and payroll modules reports)
    using sq01 , go to basic list , selected required infotypes and fields and
    then selected, SAP List viewer for viewing and i get the report.
    Now my question is how to create a separate transaction code for this sap query which i created
    should i use SE43( area menu maintenance and area class???_)
    should i create a variant and go to SE43??
    advice solicited
    snr

    Hello
    when you excecute the query in right han side corner  you can get the program name
    go to se80 select program & type this name and then you can create a tcode for that prog in SE80
    reward points if helpful.
    the prog name will be something like : AQZZ/SAPQUERY/* " ur query name
    you can search for the name also in this manner

Maybe you are looking for

  • Namespace Problem? Namespace prefix used but not declared.

    Hello Guru's, I am new to XSL templates, while genrating XML publisher report with these template, I am getting below "namespace" error: If I remove the "set:"/"str:" expressions from the template, it works fine. Is there anything syntactically wrong

  • Nokia Software Updater for 6233

    Can you help me how and where to update software of my cellphone? because the nokia gave me a version 4.95.

  • Dimension operator of mapping problem

    We are using Oracle BI 10g Release 2. We created a mapping like below image. Sometimes that mapping inserts 2 records into a table in source database but it must be 1 record. We have checked from source database to a dimension operator named INREPORT

  • Dvt:linegraph: series color problem.

    hi all, i am using dvt:lineGraph to show data of use account.now account are of two type saving and current.now on y axis i am grouping balance and account type and on x-axis transaction date. one user can have multiple saving or current account. pro

  • Camera RAW plug in 4.1 in PSE5 - Instructions for all the sliders?

    The 4.1 update downloaded fine and works OK in PSE5. Problem is the "read me" file does not define what all the new sliders do. Is there anywhere where this info can be found?