Changing standard selection criteria (MB51)

Hi all.
I have a requirement to add the 'Requisitioner' field in the selection criteria for MB51, program (RM07DOCS). I am on version ECC6
The requisitioner field is in the EKPO ( Purchasing Document Item) table: EKPO-AFNAM.
What I need to do is, add this field in the selection criteria and select all purchase orders and their relating material documents (MKPF MSEG) according to entry in this field. I know the logic which I have to implement.
I have checked out the SDN forums quite throughly and have come up with a couple of questions/solutions.
1) Copy the program into Z-name space and add in the code
Question: Where to specifically add the code, the program is huge with multiple enhancement points being seen in the code.
Can someone please guide me where I can  change the displayed records, point where iI can append data or change the  internal table being sent for ALV display.
2) Make changes in SPRO>Define field selection for material document list.
Question: The required field is not present within the listing, It does give the option to make new entries, but I have to specify a program/table and field.
If I create my own program to get the details and display onto an ALV Grid, will the program be called when I make selections on that requisitioner field?
3) This is text copied from a thread, I have lost the link to it.
Create a Z report that is a copy of the selection include of the standard selection screen include with the additional selection criteria.
- Export the extra selection criteria value to shared memory.
- Submit the standard VL10G program with the selection sets.
- In user exit (depends on which field needs to be checked), import the extra selection criteria value back in and filter the selected data set.
Could someone please guide me if it is possible to do the above within RM07DOCS, and  a little more detail on how to go about it?.
Will reward points asap.
Thank you

have checked out the SDN forums quite throughly and have come up with a couple of questions/solutions.
1) Copy the program into Z-name space and add in the code
Question: Where to specifically add the code, the program is huge with multiple enhancement points being seen in the code.
Can someone please guide me where I can change the displayed records, point where iI can append data or change the internal table being sent for ALV display.
<b>---> U have to find out , where /how  they defined Selection screeen , final output they are displaying.</b>
2) Make changes in SPRO>Define field selection for material document list.
Question: The required field is not present within the listing, It does give the option to make new entries, but I have to specify a program/table and field.
If I create my own program to get the details and display onto an ALV Grid, will the program be called when I make selections on that requisitioner field?
<b>---> lot of work to do</b>
3) This is text copied from a thread, I have lost the link to it.
Create a Z report that is a copy of the selection include of the standard selection screen include with the additional selection criteria.
- Export the extra selection criteria value to shared memory.
- Submit the standard VL10G program with the selection sets.
- In user exit (depends on which field needs to be checked), import the extra selection criteria value back in and filter the selected data set.
Could someone please guide me if it is possible to do the above within RM07DOCS, and a little more detail on how to go about it?.
<b>Better Options --->try to get the logic of MB51 , then do changes which are required.
most of data , u will get it from MSEGMKPFMARA+MBEW.</b>
revert back in case of any other issues.
Regards
Prabhu

Similar Messages

  • Change to Selection criteria in Datasource, do we need to re-init?

    Hello all,
    We are planning to change the selection criteria for a datasource, we want the year to be one of the selection criteria so we can load data only for particular years.
    Now this datasource is in production for some time, so once we do this change will we have to re-init the extractor or the delta that is working will keep working fine?
    Please let me know.
    Thanks,

    Hi Kiran
    Its worth mentioning that if its a V3 datasource like logistics then you need to load the setup table with the required data before extraction.
    Also ensure that the measures in your DSO are in overwrite mode unless the year that you are loading does not currently exists in the DSO. (ie. its a new year)
    The Full Repair Request option is under the Scheduler menu on the infopackage.
    Hope this helps. <removed by moderator>
    If you need more help let me know.
    Asif
    Edited by: Siegfried Szameitat on Jun 15, 2009 5:17 PM

  • Report Painter - Change multiple selection criteria

    Hi Experts,
    I am new to report painter. I need to change a report which is being developed in Report Painter. I need to add extra selection criteria.
    Please help.
    Regards,
    Nitin.

    Please search for available information before posting, do not post basic questions.
    Thread locked.
    Thomas

  • How to change standard selection-screen fields

    hi i am kishore.
    i have requirement.
    i have to change selection-screen label purchase order to purchase docuement in request for quatation.
    pls suggest that how to change the standard selection screen field labels.

    Hi.
    This is possible.
    Just try out this way.Heres is an example. 
    TABLES: pernr.
    data: i_tab type standard table of RSSELTEXTS with header line.
    initialization.
    i_tab-name = 'PNPPERNR'.
    i_tab-kind = 'S'.
    i_tab-text = 'Employee ID'.
    append i_tab.
    CALL FUNCTION 'SELECTION_TEXTS_MODIFY'
      EXPORTING
        program                           = 'ZESO_TEST'
      tables
        seltexts                          = i_tab
    EXCEPTIONS
      PROGRAM_NOT_FOUND                 = 1
      PROGRAM_CANNOT_BE_GENERATED       = 2
      OTHERS                            = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks and regards,
    Maheshwari.V

  • Changing invisible selection criteria for a variant...

    Hi,
    There is a invisible selection criteria when I goto a custom Z variant of program RFBIBL00. How can I change the variant value in invisible selection criteria ?
    Regards,
    Rajesh

    Hi,
    Using the ABAP workbench (SE38) use the menu option Goto -Variants
    choose the custom variant
    Choose the attributes subobject
    and click on the change button.
    then deselect the hide from the required variable.
    Regards
    David Cooper

  • Can we change the selection criteria for RV60SBAT Background Job for Billin

    We have a requirement to add a new selection criteria for RV60SBAT Background Job for Billing. We want to process back order invoices first. So we want a specific background job to select these. So we want to select any orders that are eligible to be invoiced where order date < the date of background job(r sy-datum ). Any ideas where we can introduce this logic for selection criteria?
    Thanks,
       Matt

    Hi Matt
    For your requirement , copy the standard  RV60SBAT program to Z program and in that copied RV60SBAT program , maintain the logic that the backorder invoices should be first processed.Then after that regular background job for billing should take happen .Then your requirement can be fulfilled
    Regards
    Srinath

  • CRM - change the selection fields in standard extractor

    Hello everyone!
      I would like to change the selection parameters for the DataSources 0CRM_SRV_PROCESS_H and 0CRM_SRV_CONTRACT_H in order to include the field CHANGED_AT. However, in the DataSource definition this field appears grayed out (even in process mode).
      Is there any way I could change this?
      If not, I was thinking about appending a custom field with the the same information and include this in the selection criteria. Would this work?
      If not, could I create a generic DataSource whose function module would internally call the standard DataSource’s own FM with the standard selection criteria and then filter it out  further with my own criterion?
      Performance is not really an issue here.
    Thanks in advance for any input on this!
    Best Regards,
    Luís Andrade.

    Hi,
    >
    scoy123 wrote:
    > I have added one screen field to the standard report , now i want to change the selection text in the standard report/transaction
    Refer:-
    CONSTANTS : c_comment(20) TYPE c VALUE 'write your comment'.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(20) c_comment.
    PARAMETERS : p_matnr TYPE matnr.
    SELECTION-SCREEN END OF LINE.
    Hope this helps you.
    Regards,
    Tarun

  • Including User selection criteria along with LDB standard selection screen

    Hi
    While creating a HR report, along with the standard selection screen, if the cusomer requires some more fields to be added, How to retrive the data from the DB?
    Is it the way to retrive the data based on Standard selection criteria from the LDB and then filter it based on user criteria or any other way?
    Please help me out in this regard.
    Thank you.

    Yes thats the way. You get the data based on Selection screen of LDB (You can select Report Catogory you wish to) once you get data, You can put CHECK statement to see the data against PXXXX type to the filter value from you custom field on selection screen.

  • BADI Impl. VB_BD_SELECTION to change selection criteria in batch det.

    Hye,
    I need to use the BADI VB_BD_SELECTION in order to change the selection criteria to be used during batch determination
    For this purpose  method RESTRICT_CONF_CHARS has been implemented.
    But I didn't find any documentation explaining how to manage this one:
    as result the characteristic record is deleted from the selection criteria instead of updating it with a new value specified in the structure CT_CONFIG-ATWRT.
    For example:
    in the strategy  we have the value car1 = A.
    If BADI is off than the system in production order uses right this criteria to determine the batches.
    If BADI is on than we want to define new criteria to find batches with the characteristic car1 = B but the system deletes car1 from  selection criteria.
    Thanks
    Anna

    Hi Anna,
    I have the same problem for another customer project.
    The big problem is I didn't found any documentation or an class example for that BAdI.
    Please help us.
    Thank you

  • Portal Activity Report with Selection criteria

    Hi All,
    I have created an iview using 'Portal Activity Report' template, added the iview to page and page is added to the role which is created for this report. Also, users were assigned to the new role. When users go to portal and see this report, they are seeing the final output of this report along with the 'Download Report' option.
    My requirement is to give selection screen option (Type of report and Reporting period) to users. So that users will change the selection criteria and run the report as per their need. Please advice me on how to do this.
    Thanks in advance.
    Swapna.

    swapna,
    you can do this by creating a webdynpro application for accessing the database tables, the list of data base tables is in this [help |http://help.sap.com/saphelp_nw04/helpdata/en/48/6aa9429b930b31e10000000a1550b0/frameset.htm]document and use web dynpro application to connect to that tables. Check this thread  for[ dynpro and database tables  |dynpro and database tables;
    regards
    Mahesh

  • Updated Report Selection Criteria doesn't show in Publication

    Hi,
    This is my first post in this forum and I'm relatively new to Crystal Reports Server.
    We have Crystal Reports Server 2008 V1 SP3.
    I have two independent reports that I've put together in a report publication. The report is saved to the file system.
    I made a change to one of the report's selection criteria. I viewed the report thru the Crystal Reports Program and Infoview/CMC to confirm the additional records I wanted showing were showing. They were and everything worked.
    A week went by and I noticed that the saved report didn't have the additional records.
    I've contacted SAP support and we were able to get everything working by doing the following
    1) Remove the updated report from the publication's Source Documents list. Save and Close
    2) Re-add the report to the publication's Source Documents list.
    3) Delete the old recurring schedule (so we don't have two instances doing the same thing).
    4) Re-create a new schedule for the delivery (not reschedule and replace an existing nor reschedule and create new, but a brand new one).
    These changes were compounded by the fact that I had 4 different scheduled instances, each with a different parameters, so these 4 steps were actually closer to 8.
    In my own testing I was able to confirm something similar happens with a single report (not part of a publication) when you change the selection criteria. I had to create a new scheduled delivery in order to get the selection criteria change to flow thru.
    My questions to all you is
    Is there some other way to distribute 2 reports in way that making a change the criteria of the report doesn't require doing anything else?
    Thanks.
    Edited by: David Steven on Feb 13, 2012 9:58 PM

    Hi RobbinsFam!
    Here is an article that describes the issue you are seeing, and can provide you with some helpful troubleshooting steps:
    iOS: Unable to import photos to computer
    http://support.apple.com/kb/ts3195
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • Complex Data Selection Criteria

    Is it possible to do complex Data Selection Criteria invloving more than one InfoObject in Data Selection tab of the InfoPackage?
    Eg  :
    (Controlling area = 'ABC' and Fiscal Period between 001/2005 & 003/2005)
    OR
    (Controlling area = 'AAA' and Fiscal Period between 004/2005 & 008/2005)
    OR
    (Controlling area = 'XYZ' and Fiscal Period between 003/2005 & 008/2005)
    We are currently planning to use 3 different InfoPackages to do the same and checking if it can be done in 1 InfoPackage.
    Thanks!

    BAPI_IPAK_CHANGE is a good option, but will not give you the flexibility you are looking for as it will change the selection criteria, but will not give you the AND, OR (complex selection)option, that you are looking for. What you will end up havig to do if you follow this route is to call the same selection package 3 times with modified selection criteria for each using BAPI_IPAK_CHANGE, or have to use BAPI_IPAK_CREATE to create the infopack with these selection for every load. This will eliminate all or any delta loading hopes that you may have.
    I feel that infopackage group will work nicely for you and with minimal effort of maintenance in the future.
    Rishi
    Message was edited by: Rishi Joseph

  • Delta re-initialisation - cannot enter selection criteria

    Hi Brains Trust,
    We have an existing delta load from an SD ODS to a cube.
    Due to corrupt dates we want to start the initilisation again from a particular billing document number.
    We have deleted the existing delta.
    When we go to set up the delta init infopackage it does not allow us to enter any selections (for a full load we can select but when we choose Delta init  the selection options become unavailable).
    Any ideas?
    Peter

    Hello Peter,
    Actually yes, you can't change any selection criteria in a delta infopackage, beacause it automatically keeps the ones from the Init.
    Have you tried to make a Full Repair based on your billing document only ?
    You just have to create an Infopackage Full, and select it as Full Repair in the Menu -> Scheduler.
    It will work fine !
    Regards,
    Mickael

  • How to change Selection Criteria for a Business Content Data Source

    Hi Experts
    I am extracting data using 0CO_OM_CCA_9 Datasource. I would like to be able to select a range of Company Code (BUKRS) to pull in, but I cannot find a way to make certain fields available as selection criteria. When I go into "Change DataSource", I can unselect fields, and even select certain fields, but the option for most is grayed out.
    How can I make this field available as selection criteria in Infopackage?
    Thanks for the help.

    Its not that simple to enable a new selection for a Business Content Datasource, if its not already provided by SAP. Enabling new fields for selection should be accompanied by corresponding extractor code changes to process those field selections and use those selections throughout the extraction process.
    Solution for your problem would be create a custom extractor with all the logic of standard extractor (function module BWOMD_GET_CTRCSTA1 for 0CO_OM_CCA_9) and extra logic to process the new fields for selection.
    Hope it helps!

  • Change Selection criteria for existing report in Report painter

    Hi Experts,
    We are on 4.7, using report painter for getting reports for Cost center & Profit Center. For one of the report we have selection criteria as Cost center and cost center group, but now user want us to add new selection field as Cost element and cost element Group to same report. We have tried all the options from GR32 ->Edit-> General Selection, but we don't find cost element in Key figure listed there.
    Please let us know how can we add the new field to selection criteria. We also would like to know is this is possible with existing report  to add new fields or not? Is that we need to create new report for this?
    Thanks in advance..
    Shilpa

    Shilpa-
    In my opinion the best way to troubleshoot issues like this is to go to SAP delivered standard reports and see how they are setup. For example, in your case you want to add cost element and cost element group to your report. There is one standard report from SAP - Transaction :S_ALR_87013611 which has both cost center, cost center group and cost element, cost element group in the selection criteria. You can look how this report is set up, and maintain your report in a similar fashion. Atleast this way, it will give you an idea.
    Go to transaction code GRR3 and under library look for report "1SIP-001". By double clicking on the row, you will see how it is maintained.
    Hope this helps.
    Shail

Maybe you are looking for

  • Any way to store if a user visited a slide?

    Hi! NewB here. I was wondering if there is a way to know whether a user has visited a certain slide or not. I was thinking along the lines of a variable, although I don't see a direct shot to coding. I do see that JavaScript (JS) is available. I have

  • Looking for a "kid mode" on iPad Mini

    I have an iPad Mini that I purchased for my work. When I get home at the end of the day, I'd like to be able to hand it over to my 4 year old to let him play some educational games or watch kid shows on Netflix. However, I don't want him to be able t

  • Multiple Correlations PI 7.1

    Hello Guys!!! I wonder if anyone has been there: Developing the IP 7.1 I am using a BPM with 5 correlations, all in Block, all with local correlation; It happens that the first correlation is performed using FILE Adapter, a receiver and another sende

  • Logical System for Financial Accounting FI lacking; information systems

    Hello, we`ve got a problem with the creation of a SC. After the selection of a product (doesn`t matter if it`s a "free text", good or service), we got always the following Error: "Logical System for Financial Accounting FI lacking; information system

  • Pivot Table Like Functionality

    Hello, I want to create a pie chart from a list of customer transactions and have the pie chart display the top 5 customers by revenue.  In Excel I would use a pivot chart to consolidate and sum transactions based on the customer's name.  How can I d