Wrong entry in the table stock transport requisition index EBUB

we have 2 plants 7080 and 6501, they belong to different company codes.
in plant 6501, after MRP run a PR is created for material 420000064,we can see entry in table EBAN as below.
Client Purchase Req. Requisn Item Document Type Doc. Category Materaial   plant
500    0014381981    00010        NB            B    000000000420000064  6501
but several days later, we found a PRqRel item appear in stock/requirement list of material 320003192 in plant 7080, and we also found entry in table EBUB:
  Client Material             Supplying Plant Purchase Req. Requisn Item
  500    000000000320003192   7080            0014381981    00010
this is wrong and may cause wrong goods issue, we checked a lot to find the root cause but failed.
we have doubt that it is number range issue, but after checking we don't think so.
In OMI2, here is the interval.
No. From To current number
01 0010000000 0019999999 10352698
please kindly help, what could be the possible cause of this error, any suggestion will be appreciated.

That error is supposed to be fixed in versions 4.0 and later I think you'd have to delete the unnecessary entries from EBUB using the program from the note 130136, you may have to search more SAP notes:
Report ZKOREBUB
*& Title: deletes EBUB which is not necessary                          *
REPORT ZKOREBUB .
TABLES: EBUB, EBAN.
INCLUDE FMMEXDIR.
DATA: DEL_FLAG.
SELECT-OPTIONS: S_MATNR FOR EBUB-MATNR,
                S_RESWK FOR EBUB-RESWK.
PARAMETERS: DB_UPD.          " <<< if DB_UPD = X program deletes the unnecessary entries
SELECT * FROM EBUB WHERE MATNR IN S_MATNR
                   AND   RESWK IN S_RESWK.
  CLEAR DEL_FLAG.
  SELECT SINGLE * FROM EBAN WHERE BANFN EQ EBUB-BANFN
                            AND   BNFPO EQ EBUB-BNFPO.
  IF SY-SUBRC NE 0.
    DEL_FLAG = 'X'.
  ELSE.
    IF EBAN-RESWK NE SPACE AND EBAN-BSAKZ NE 'R' AND
       EBAN-MATNR NE SPACE AND
       EBAN-PSTYP NE PSTYP-STRE AND
       EBAN-PSTYP NE PSTYP-LOHN AND
       EBAN-PSTYP NE PSTYP-KONS AND
        EBAN-EBAKZ EQ SPACE      AND
        EBAN-LOEKZ EQ SPACE      AND
        EBAN-MENGE GT EBAN-BSMNG.
    ELSE.
      DEL_FLAG = 'X'.
    ENDIF.
  ENDIF.
  IF DEL_FLAG NE SPACE.
    WRITE: / EBUB-MATNR, EBUB-RESWK, EBUB-BANFN, EBUB-BNFPO.
    IF DB_UPD NE SPACE.
      DELETE EBUB.
    ENDIF.
  ENDIF.
ENDSELECT.

Similar Messages

  • CUA:  Wrong entries in the table USZBVSYS

    Hi All,
    While searching a particular user access to the child systems via SUIM - > Users by system, the report given output that the user have access to so and so system. Whereas that user already deleted and there is no user account in CUA and the respective child system.
    When i search in the table USZBVSYS, that user having a entry to that child system with status S.
    May be due to some old IDOC get processed and made an entry in this table but physical the changes were not made either in CUA or in child system.
    Now my concern is how to delete such type of entries in the table USZBVSYS?
    SAP recommended not to use the report RSUSR_CUA_CLEANUP_USZBVSYS and i think it can be resolve only by manually method to create and delete.
    Kindly let me know you opinion pls.

    Hi,
    RSUSR_CUA_CLEANUP_USZBVSYS cannot work in this case, as you have 'S'-entries for the user section  in uszbvsys. The report will clean up only entries with D,A or X entry for the user entry.
    So there seems to be no automated standard report for your query.
    I suggest to collect the user-IDs you need to remove, copy them into SU10, recreate them for the required systems and delete them
    afterwards again.
    Make sure, that nobody processes cua-idocs manually in any of your systems of the cua. Only use scul.
    b.rgds, Bernhard

  • Transporting the entries of the table TSTCT

    Dear All,
    Is there a way to transport the entries of the table TSTCT.
    I've tried the procedure specified in the below link, but it is not working for the T*  tables.
    <link to blocked site removed by moderator>
    Please suggest if there is a way.
    Thanks,
    Naveen
    Edited by: Thomas Zloch on Feb 6, 2012

    HI ,
    Check this [Thread|transport system objects i.e. contents of table t100 from one system to ano; , in that they have tried to transport T001 , And replies have few links check that too , will help you to transporting the entries of the table TSTCT.
    Regards,
    Saravana.S

  • MRP - stock transport requisitions

    Dear experts,
    I have a brief question:
    my customer wants to have MRP generate planned orders, purchase requisitions and stock transport requisitions. Could you please explain to me how this works in SAP? I believe the procurement key will define whether MRP will create a planned order or purchase requisition. However, what decides in SAP if a stock transport requisition is generated?
    And if a Material can be both purchased and transfered from another company code, what determines if a purchase requisition is generated or a stock transport requisition?
    Will award point to usefull answers,
    Thanks,
    M

    M,
    It is considered inappropriate to mention points in these forums.
    I believe the procurement key will define whether MRP will create a planned order or purchase requisition.
    No.  Procurement Type in material master.
    However, what decides in SAP if a stock transport requisition is generated?
    The most common method is to use a Special Procurement type in the material master or Bill of Materials.  Use one similar to SAP standard 40 (F/U) in OMD9.
    if a Material can be both purchased and transfered from another company code, what determines if a purchase requisition is generated or a stock transport requisition?
    I assume you are still talking about MRP-generated proposals.  When you set up a Material Master, the procurement proposal is determined by Procurement type.  If you haven't also put in a Special Procurement type, then the sourcing of any purchase req (eg, transfer or third party vendor) can be either undetermined, or can be determined using quota arrangement.
    Best Regards,
    DB49

  • "No entry in the table T589A for P" in PPOME's custom Tab

    Hello,
    <u>requisites:</u><b> Add one custom Tab to transaction PPOME relative to Position (Object type S)</b>
    <u>problem:</u><b>"No entry in the table T589A for P" </b> when entering the transaction PPOME, and choose my new added Tab.</b>
    I get this error message <b>"No entry in the table T589A for P" </b> when entering the transaction PPOME, and choose my new added Tab.
    The thing is, if I comment the line "MODULE BEFORE_OUTPUT" in subscreen 7000 of the infotype (the tab is infotype specific) this error disappear. But then the data entered in the tab, which should be relative to one position (type S), is now displayed for all positions. When leaving the transaction, and entering again, in the same tab, the data has disappeared.
    I think I should not comment this:  "MODULE BEFORE_OUTPUT"
    Why is this error being raised, and what must I do do stop it?
    Thank you.

    Hi,
    The table T589A is a configuration table pertaining to the pf status of the infotype. I changed the pf status of the infotype i.e. added my own buttons on application tool bar. May be cos of that it is giving error. Not sure.......

  • Multiple entries in the table cabn

    Hello,
    Can Anyone tell me how is it possible to have multiple entries of the same "atnam" field in the table CABN.
    It has something to do with changing number.
    Because I used a wrong select-instruction e.g.
    select atnam in charact where .... IN ....
    So, I shoud used
    select DISTINCT atnam in charact where .... IN ....
    So, I'm gone need to try to put multiple entries in the table to check, if it's working well.
    Thanks a lot.
    Best Regards,
    Kais

    If I understand your Q - you mean there are two ATINN for the same ATNAM in your CABN table?
    I dont think that's possible. If you check CT04 and try to create a new characteristic with same name as an existing one - it will give you a warning and prevent creation.
    Since you say it's a standard characteristic - please mention the characteristic name (ATNAM)?

  • Scheduling offset for PP/DS stock transport requisitions

    Hi all
    We run CTP (MTS scenario) in our distribution centers where stock transport requisitions are created via PP/DS in order to cover sales orders. We would like to set a an earliest possible start date for the stock transport requisitions of eg. 5 days.
    Using planning time fence is not an attractive option as the stock transport requisitions then will be fixed when they get inside the PTF. I have noticed that in the heuristic there is the possibility to set a scheduling offset in minutes, however this does not seem to work for the stock transport requisitions. The start is still current time.
    - Does the scheduling offset only work for planned orders (production)?
    - Is there any other option than PTF to determine the earliest start date of a PP/DS planning period?
    Thank you in advance.
    Best regards,
    Dan

    Hi Sandeep
    Thank you very much for your reply.
    We do not use SNP, only PP/DS. Actually we want to postpone the stock transport requisitions with 5 days.
    So we would like to have the stock transfer start date set as = current time + 5 days. Basically the same behaviour as the SNP Stock Transfer Horizon (SNP2 View) - unfortunately PP/DS does not take this into consideration
    The reason for this is that we want to avoid that the stock transfer requirements in the supplying location are placed as immediate requirements due to the start date is set as current time.
    Best regards,
    Dan
    Edited by: Dan Bruun on Dec 7, 2009 1:49 PM

  • Creating Stock Transport Requisition in ME51N via Inbound Interface in ECC

    Hello,
    Could you please let me know whether there is any Idoc type / Message Type / Posting Function Module for creating Stock Transport Requisition in ME51N? I have a requirement where the PI receives an Inbound File and passes the IDoc to ECC for creating an STR in ME51N. Appreciate your responses. Thanks in advance.
    Regards,
    Venkata Phani Prasad K

    there are 2 idocs:
    PREQCR create purchase requisition
    PREQCR1 create purchase requisition enjoy
    The content defines whether it is a PR for a stock transport order  or a standard PR.

  • Is there any system table available to check no. of entries in the table?.

    Hi
    Is there any system table available to check the no of entries in the table.
    Note : the table may be whether SAP table or Z-table.(All tables)
    Regards
    Raja.

    Hi Raja,
    I don't think so. Instead, try to perform
    SELECT count(*) FROM dbtab.
    ...to get the number of records of the table dbtab.
    I hope this helps. Kind regards,
    Alvaro

  • Delete any entry in the table before adding an entry?

    Hello ABAP Experts,
    I have the data in the work area. I can modify / update / insert to the table.
    How to write the ABAP code for this situation.
    1) to delete any entries in the table
    2) update this entry
    so finally always there would be only one entry.
    Suggestions appreciated.
    Thanks,
    BWer

    Hi,
    Delete the entries of table by this stmt.
    DELETE FROM (dbtabname).
    Then insert the values from workarea
    INSERT INTO dbtab VALUES <work_area>.
    And u can upadte the entry with values of workarea by this stmr.
    UPDATE (dbtabname) FROM wa.
    Dont use MODIFY. It will add a new record if its a new entry.
    Rgds,
    Prakash

  • How to find latest entry in the table according to time

    how to find latest entry in the table according to the time
    is there any function module to do so
    \[removed by moderator\]
    Regards
    Shashi
    Edited by: Jan Stallkamp on Aug 25, 2008 4:39 PM

    Hi,
    If you want to read the entry from an internal table,
    sort the internal table in the descending order by the time and
    delete adjacent duplicates by comparing the fields other than time and the internal table will have the latest record.
    Suggestion: instead of only time try to have one more field called date with the time combination
    Regards,
    Ramesh

  • Error: No entry/entries in the table (WCCI)

    Hello friends
    I am trying to implement WCM to my client
    when trying to change WCD i am getting the following error
    No entry/entries in the table (WCCI)
        Message no. I4702    &
    Error when executing function module (WCFC_PRINT_FORMAT_GET)
         Message no. I4804
    Procedure
         Contact SAP.
    i am not able to resolve the issue.  Please help me in this regard
    venkat

    I have attached the screen shot.
    Regards,
    Amar

  • Problem with the XI-Audit log entries in the table "XI_AF_MSG_AUDIT"

    Hi,
    I have an async-szenarios for PO:
    We send Idoc's from SAP ERP to a WebService via SOAP. And we take Ack's. We use Integrationsprocess with deadline block to catche the errors after the retrying (three times) and to send they via e-mail.
    Our problem is, the number of the audit logs in the table "XI_AF_MSG_AUDIT":
    In the RTW only we see one audit log (with three retries) in an error case. But in the table XI_AF_MSG_AUDIT there are about 76 entries for the same audit log in the error case and about 20 entries in the case of the succuessfull processing.
    This number of the entries in the table causes problem with the size of the redo log file and delete job of cours the large size of the table and therefore problem on the data base. The table can not be controlled. The delete job can not run and cancels every time due this redo log problems
    What can cause that?
    How can it be prevented, that so much entries are not be made in the  table "XI_AF_MSG_AUDIT".
    Best regards
    Gueltekin

    Hi Gueltekin,
    I am only aware of the general property auditLogEnabled of J2EE Engine Service SAP XI AF Core, which controls in general (default = true) that entries in the AF Message Audit log are written at all.
    (see [http://help.sap.com/saphelp_nw70/helpdata/en/5c/22ee41c334c717e10000000a155106/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/5c/22ee41c334c717e10000000a155106/frameset.htm])
    I assume that your scenarios in the error case is sending up to three messages and for each message the number of audit log infos are created. You might want to check the detailed entries in the log and see from where they are comming, you might use customer modules etc. as well.
    Best regards,
    Silvia

  • Removing entries in the table

    Hi,
    I need to delete entries in the table ,those may be anywhere between 1 to several thousand. If  I want to delete for every hundred records how could it be coded.
    Thanks,
    Kranthi.

    Here is a sample program which shows how to delete from a database table 100 records at a time. 
    report zrich_0001.
    data: itest type table of ztest with header line.
    data: itest2 type table of ztest with header line.
    data: index type i.
    * Get all the records that you want to delete
    clear itest. refresh itest.
    select * from ztest
          into corresponding fields of table itest
                        where mtart = 'ZNBW'.
    * Loop untill the first itab is empty, move 100 records * at a time into the second itab, then delete from that
    * second itab.
    while not itest[] is initial.
      clear index.
      loop at itest.
        index  = index + 1.
        check index <= 100.
        move-corresponding itest to itest2.
        append itest2.
        delete itest.
      endloop.
    delete ztest from table itest2.
    endwhile.
    Regards,
    Rich Heilman

  • PT60 report err 'No entry in the table T555Z'

    Dear All,
    I tried to run PT61, but I'm getting the error 'No entry in the table T555Z'.
    But it's negative time management and in IT0007 I have marked the time status 09.
    Regards
    Thomas

    This error is caused because you do not have the entries in T555z under the PSG for Time recording (What ever has been for for this employee)
    If you do not need this, you can comment out TIMTP function in the schema and then you should not get the error...

Maybe you are looking for

  • XY-Graph / Plot legend: How to detect changes in 2nd/3rd/4th ... legend position

    Hello, I have an XY-Graph with 4 plots. How can I detect, for example, the color change of the second plot in the legend. The active plot, using a property node, is always plot 0. So I am not able to detect changes in the 2nd/3rd ... plot. Any ideas?

  • Problems Managing User Access Rights for Web Gallery

    Has anyone else had issues changing the user access rights for a web gallery? It seems like the access is everyone or no one. Are the user rights handled per event in the gallery? I had issues adding events to the user's view/download rights in the p

  • Adding a person in Messages 8.1?

    I have been unable to add a person to a message.  I'm running iOS 8.1 on all devices and Yosemite 10.10 on my iMac.  When I click "details" there is no option to add someone.  I don't have any group messages saved right now, so maybe that is it?  You

  • How to make object appear in all slides?

    I'd like to place a logo in the top right of a slide and have it appear in all slides.  If I adjust the logo in one slide, it will adjust the same in all slides. Any ideas how to accomplish that?

  • FTPS through S160 webproxy ironport

    We are using S160 ironport for Web as well as FTP proxy. Now we would like to add FTPS port 990 to go through ironport. We could access the target files through filezilla without using the proxy, but cannot do it if we use the proxy. Could someone pl