Marked with Deletion Flag reflecting in reports...

Hi All,
We have created many reports and sqvi querys,  After marked deletion flag for material it is reflecting in reports and queries. What will be reason and how it will be avoid in reports.
Yusuf

Hi,
This is just one of the problems with writing custom reports. They have to consider things like deletion flags, delivery completed flags, special stocks etc.
There is no simple answer other than to correct the custom reports and get them to check all relevant flags.
Better still, try to use std SAP reports wherever possible, avoid creating new reports just to reformat the data slightly or to produce reports that are "nice to have" rather than actually required  (I am not saying this is what you have done)
Steve B

Similar Messages

  • Filtering records with deletion flag in Query report

    Dear Friends,
    We are using ECC6.00 (EHP4) for one of our QM requirement, i have created a query in SQ01 with the tables QMEL,AUFK,AFKO,QMFE etc., to get the details of production order and notification.
    The report will list out the production scheduler wise, order wise, defect wise quantity with the notification number also in the display.
    For notifications which are created wrongly, the users set deletion flag. The same i.e., notifications with deletion flag should not appear in the report and hence i have called the field and filtered the value in the output (i.e., field value not equal to X where X is for deletion flag set records).
    Everything works fine upto this, but when users (to carry out analysis) send the data to the spread sheet, the filter values are removed and all records are populated in the excel sheet (even records with deletion flag).
    To select and display only records without deletion flag, i want to introduce coding in the query. Kindly tell me whether this is possible, if so where and what code should be written to meet my requirement.
    The records with the deletion flag (notifications) should be eliminated from the selection and display.
    Experts help required.
    Regards,
    M.M

    Dear Raymond Giuseppi,
    Thank you for your reply. The code syntax had been corrected based on your information. Unfortunately the code doesn't filter the records. On further investigation , it was observed that the field KZLOESCH doesn't get updated and hence a field had been created in the infoset wherein the following  coding is written
    clear : w_dlfl.
    data : w_inact type char1.
    select single inact into w_inact from jest
    where objnr = qmel-objnr
       and stat = 'I0076'
       and inact ne 'X'.
    if sy-subrc = 0 .
      w_dlfl = 'X'.
    else.
      w_dlfl = ''.
    endif.
    The field name is W_dlfl.
    In the above condition how and where should i include the code given by you. Since the field KZLOESCH is not updated how should we get the data from the field w_dlfl be exempted from selection?
    Kindly provide solution.
    Regards,
    M.M

  • How to close Purchase Order and mark to deletion flag.??

    Hi,
    We need to close all Open POs(For archiving, some old data) through a report.
    Considering .....
                       1. PO-GR-IR
    and              2. STO-Outboundelivery-PGI-IBD-PGR
    Checked few threads, though useful but still more information required.
    -> Preprocessing program for archiving standard object MM_EKKO 'RM06EV47' is  helpful.
    -> Example we have four POs p1,p2,p3 and p4.
    P1,p2 has deletion flag as 'L' so will be filtered out with
      SELECT ebeln    FROM  ekko INTO TABLE lt_sekko           
        WHERE ebeln  IN er_ebeln
          AND ekorg  IN er_ekorg
          AND bstyp  IN er_bstyp
          AND bedat  IN er_bedat
          AND bsart  IN er_bsart
          AND ekgrp  IN er_ekgrp
          AND loekz <> 'L'
          ORDER BY EBELN.
    For P3 has GR .
    P4 has to be marked for deletion flag.
    Regards
    Mohinder Singh

    Hi Thanks for the reply. I checked with that bapi too. I used  some part of standard code and then manipulated. Will shorty paste the code on to SDN as its general one and may be used by others.It still under testing.
    Edited by: Mohinder Singh Chauhan on Feb 20, 2009 4:07 AM

  • Mail Marked with Quick Flags (follow up) in Outlook, Tasks - TO-DO LIST - Not SYNCING

    This question goes for Outlook 2003 and Outlook 2007
    I'm currnetly using outlook 2007
    In Outlook I store mail marked with "quick flags" (follow-up). Outlook shows theses flagged emails under Tasks \ To-Do List. To-Do list is under TASKS in outlook, but does not sync with Blackberry.
    I use Desktop Manager 4.7 to synchronize outlook and my blackberry curve 8330 (calendar, memos, tasks and contacts). The behaviour of task synchronization makes that only task appears on my blackberry but not the flagged mails.
    I guess what i'm asking, is it possible to synchronize the complete outlook to-do list with my blackberry?

    Outlook already provides that feature (depends on the version of Outlook I guess) :
    https://www.officecalendar.com/news/2006April4_convert_emails_to_appts.aspx
    otherwise there is a macro that does the same :
    http://www.paraesthesia.com/archive/2007/07/10/convert-an-outlook-message-into-a-task.aspx
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Processing of materials with deletion flags

    Hi,
    I have 2 questions.
    1) I want the materials with deletion flags blocked for use in PO or in any goods movement. How could I do that to restrict all processes for these materials?
    2) I have a Purchasing Request and a RFQ for this. After I create a PO for this request and rfq, I could still open another PO regarding this RFQ. Is this normal?  How could I prevent this?
    1 RFQ will be used only for one PO unless there is an agreement for purchase?
    Thanks
    Irem

    hi,
    you can use the X-plant material status to procurement at different levels...
    the same indicator you can find in the material master records in the BASIC data, Puchasing and MRP tab...
    To use the RFQ for One PO only, make the message which you get while making the PO as error message, then no one make another message later...
    make settings here:
    SPRO >> MM >> puchasing >> env. data >> define system messages >> here check for your message as per its no..and make it as "E"
    Regards
    Priyanka.P

  • ABR complete delta with deletion flag via delta queue (cube compartible)

    Hello
    DS 2LIS_04_P_COMP is delta enabled with ABR complete delta with deletion flag via delta queue (cube compartible)
    Is it possible to use this type of delta for ods? If yes , what kind of changes are required
    Thanks

    Hi
    ABR means
    A - After Image
    B - Before Image
    R - Reverse Image
    Since updating DSO is usually in overwrite mode it requires After Image.
    So u can use the data source with ABR delta to load into DSO (ODS).
    Cheers.

  • Report for update of Material with deletion Flag from R/3 to SRM

    Hi All,
               Is any report for Updating material in SRM with deletion indicator for those  deletion flag set in R/3...

    Check material status
      IF mat_mmsta EQ '--'.
        lv_msgv1 = iv_ordered_prod.
        CALL FUNCTION 'BBP_PD_MSG_ADD'
          EXPORTING
            i_msgty       = c_msgty_e
            i_msgid       = 'BBP_PD'
            i_msgno       = 426
            i_msgv1       = lv_msgv1
          EXCEPTIONS
            log_not_found = 1
            OTHERS        = 2.
        IF sy-subrc <> 0.
          PERFORM abort.
        ENDIF.
        IF c_on = c_off.
          MESSAGE e426(bbp_pd) WITH lv_msgv1.
        ENDIF.
      ENDIF.
      if not mat_lvorm is initial.
        lv_msgv1 = iv_ordered_prod.
        call function 'BBP_PD_MSG_ADD'
    program name LBBP_PDIGPF2R
    Check material in backend
      CALL FUNCTION 'META_MATERIAL_READ'
        EXPORTING
          i_mtcom        = ls_mtcom_eci
          logical_system = iv_log_system
        IMPORTING
          e_mmsta        = mat_mmsta
          e_lvorm        = mat_lvorm
        EXCEPTIONS
          mat_not_found  = 1
          OTHERS         = 2.
      IF sy-subrc <> 0.
        lv_msgv1 = iv_ordered_prod.
        lv_msgv2 = iv_plant.
        CALL FUNCTION 'BBP_PD_MSG_ADD'
          EXPORTING
            i_msgty       = c_msgty_e
            i_msgid       = 'BBP_PD'
            i_msgno       = 275
            i_msgv1       = lv_msgv1
            i_msgv2       = lv_msgv2
          EXCEPTIONS
            log_not_found = 1
            OTHERS        = 2.
        IF sy-subrc <> 0.
          PERFORM abort.
        ENDIF.
        IF c_on = c_off.
          MESSAGE e275(bbp_pd) WITH lv_msgv1 lv_msgv2.
        ENDIF.
      ENDIF.
          EXPORTING
            i_msgty       = c_msgty_e
            i_msgid       = 'BBP_PD'
            i_msgno       = 345
          EXCEPTIONS
            log_not_found = 1
            others        = 2.
        if sy-subrc <> 0.
          perform abort.
        endif.
        if c_on = c_off.
    IN SRM PROGRAM LBBP_PDIGPF2R BBP_PD 345 throws message "product x is designed for deletion"
    but it is validationg from fm 'META_MATERIAL_READ'
    please close this thread
    br
    muthu

  • "Marked for Delete" flag in Hyperion Planning

    Does anybody know how can I set "Marked for Delete" value by ODI? I have reversed planning model by RKM, but it hasn't field "Marked for Delete".
    Thanks a lot in advance

    user11340418 wrote:
    Hi John,
    In that case, what is the best practice for deleting a Hyperion Planning shared member.
    I have to delete a shared member manually from Planning front end.
    Is there a better way for deleting planning members?
    Cheers,
    RSHi, the Marked for Delete is nothing to do with deleting shared member.
    You can can delete members by using the Operation column and it set to Delete, you will have to provide the member to delete and the storage type of Stored.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Deleting all the materials with deletion flag

    Hi all.
    How is it posiible to delete all the materials in the system that have a deletion flag using tcode MM71?
    Regards, Nikolai.

    MM71 is an archiving transaction. You have to do customizing for archiving.
    Create logical and physical file names and paths. Define the size of an archive. and define what you want execute in what sequence.
    Create a variant with your selection.
    But if you want delete material masters that were already in use, then be prepared that your success may be very limited. As you would have to archive all dependend data first.
    Materials are the very last step in an archiving cycle.
    Click the network button right of the executing button to see what objects you have to archive first, to be able to finally archive a material

  • WMI - namespace is marked with RequiresEncryption Flag

    Environent
    1) One Remote Desktop Server hosting applications
    2) One RDS server performing gateway services
    Both servers are Windows 2008 R2 SP1.
    ISSUE
    Event Log Error: 5605
    Source: Microsoft-Windows-WMI
    Error:
    The root\cimv2\TerminalServices namespace is marked with the RequiresEncryption flag. Access to this namespace might be denied if the script or application does not have the appropriate
    authentication level. Change the authentication level to Pkt_Privacy and run the script or application again.
    Attempted Resolutions:
    1) checked that Web Access Computers exists in wmimgmt.msc, properties, security, cimv2, terminal services with default permissions of Execute methods-enable accounts/remote enable
    options are checked.  THEY ARE
    2) The seesion broker computer (gateway server) is also listed.
    Done web searches but not finding answer
    Any ideas?

    I have a
    similar problem. Envirement: 
    1. One Remote Desktop Server hosting application(Server
    2008 SP2 x64 all updates)
    2. One RDS - gateway service and
    web-publishing service (Server 2008 R2 SP1 all updates)
    only the first server has a error:
    Event Log Error: 5605
    Source: Microsoft-Windows-WMI
    Error:
    The root\cimv2\TerminalServices
    namespace is marked with the RequiresEncryption flag. Access to this namespace might be denied if the script or application does not have the appropriate authentication level. Change the authentication level to Pkt_Privacy and run the script or application
    again.
    I do not understand how you resolved your problem 

  • What happen with deletion flag indicator??

    Dear Experts,
    In my organization my previous consultant created maintenance plan  for 3 years, in that some maintenance plans having deletion flag and already maintenance plans are scheduled for 3 years. May I know what will happen to this maintenance plan ??
    will maintenance orders generated as per the schedule irrespective of deletion flag?? or orders can't generated because of deletion flag.
    Can anybody explain in detail.
    Regards,
    Sunil Boya

    Deletion flag is pre-requisite for archiving the object. If deletion flag is set for maintenance plans, it will not further generate orders during scheduling.
    Though, the orders created before deletion flag activation will be available for your execution.

  • Problem with deleting record from the report.

    This is my first post here, just to let you know I just started playing with Apex.
    Here we go:
    I have a page with report where the link to the record I have changed with ULR to the javascript:
    javascript:doDelete(#RECORD_ID#)
    I have created javascript in the HTML Header of the page
    <script>
    function doDelete(id) {
    if (confirm("Are you sure you want to delete selected record?"))
    $x('P3_DEL_ID').value=id;
    doSubmit('DELETE');
    </script>
    and finally created a process for the page On Submit - After Computations and Validations.
    declare
    var_id number := :p3_del_id;
    begin
    commit;
    Delete from mytable where record_id = var_id;
    commit;
    end;
    I don't get error messages but record is not deleted.
    Thanks for help in advance.
    Robert

    Robert,
    That's the problem. With that type selected, change the value in the textbox to just: DELETE
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • List of WBS elements with Deletion Flags

    Hi Gurus,
    Please tell me, is there any report which gives me WBS elements which are deleted???
    Please revert asap.
    Thank You

    Hi  gverma,
    The master data is store in the PRPS table, if you like, you can write a simple report to show it.  I think the field 'LOEVM' is the field, which store the information.
    Kind regards,
    Zhenbo

  • Mark deletion flag through ip25

    Dear expert ,
    If I mark a deletion flag to an maintenance plan through ip02 ,the user who changes and when changes, get reflect in ip16. but same if I do through ip25 (mass deletion flag ) then above field remains blank.
                        My question is some one mark deletion flag to a maintanance plan through ip25 then how I can find the user and changed date who changes maintenance plan.
    I also check for IMG setting for plan categories (PM Order )change document indicator. but no result.
    thanks and Regards,
    Prasad Kulthe

    Prasad Kulthe,
    Sounds like a bug...
    Have a look on OSS, if you find nothing suitable, then open an OSS Message to SAP.
    PeteA

  • DMS - Reports for documents marked with deltion indicator

    Hello Guys,
    Kindly let me know is there any standard reports available from sap which can highlight me the “list of documents that are marked with deletion indicator”.
    If not what’s the work around for that?
    Also adding to deletion indicator, I would like to capture the reason for deletion of original from document info record? But I found there is no specific place to capture the reason for document deletion.
    Kindly help me out
    Points will be awarded for sure.
    Regards,
    Murali.S

    Dear Fapreeth,
    For getting the list of document marked with deletion indicator you can goto Tcode "cv04n" there keep all other searching criteria empty just specify criteria for <b>deletion indicator</b> as "X     W. Del.Ind."  you can use <F4> to select that value....   than execute the search and you will receive list of documents with active deletion indicator...
    Regards,
    Tushar Dave

Maybe you are looking for