Sales orders in TDMS company/time based reduction  are outside the scope

Guys,
I have had some issues with TDMS wheras it didn't handle company codes without plants very well. That was fixed by SAP. But I have another problem now. If I do a company code and time based reduction, It doesn't seem to affect my sales orders in VBAK/VBUK as I would have expected. I was hoping it would only copy sales orders across that have a plant which is assigned to a company code that was specified in the company code based reduction scenario. That doesn't seem to be the case.
VBAK is now about one third of the size of the original table (number of records). But I see no logic behind the reduction. I can clearly see plenty of sales documents that have a time stamp way back from what I specified in my copy procedure and I can see others that have plant entries that should have been excluded from the copy as they do belong to different company codes than the ones I specified.
I was under the impression that TDMS would sort out the correct sales orders for me but somehow that doesn't seem to be happening. I have to investigate further as to what exactly it did bring across but just by looking at what's in the target system I can see plenty of "wrong" entries in there either with a date outside the scope or with a plant outside the scope.
I can also see that at least the first 10'000 entries in VBAK in the target system have a valid from and to date of 00.00.0000 which could explain why the time based reduction didn't work?
Did you have similar experiences with your copies? Do I have to do a more detailed reduction such as specifying tables/fields and values?
Thanks for any suggestions
Stefan
Edited by: Stefan Sinzig on Oct 3, 2011 4:57 AM

The reduction itself is not based on the date when the order was created but the logic enhances it to invoices and offers, basically the complete update process.
If you see data that definitely shouldn't be there I'd open an OSS call and let the support check what's wrong.
Markus

Similar Messages

  • TDMS copy based on Company Code and time based reduction.

    I'm struggling to understand the process of this scenario.
    I created a new client in the target system (using local client copy with SAP_UCSV).
    I configured a time based and company code based reduction.
    After the TDMS copy is complete, I check the target system and still find plenty of data that isn't related to the company codes I selected. It appears that it still copies part of the excluded data. For example: I can still find work orders and sales orders for company codes that I specifically didn't select for the copy process.
    Any idea why this is? It appears that the copy doesn't bring across ALL of the excluded data. Just some.
    I double checked and triple checked my TDMS selection for company code based reduction and I can't find any error in there.
    To be more specific: I selected company code A01 A02 A03 and left B01 B02 B03 out. After the copy there are still orders visible in the target system with company code B01 B02 B03.
    This is after I created an empty target client first so it's not copying into an already existing client.
    Thanks for any guidance guys.

    Hm, not sure what's going on. There is no clear link between those existing orders and the company codes I initially selected. Then again it only seems to have a "high level" record of the data. As soon as one starts to drill down, the data is missing as expected. Same goes for other areas as well.
    Looks like we can live with that for now so I won't lose any sleep over it anymore.

  • TDMS time based reduction method has no end date

    Hello TDMS experts,
    I am in the process of configuring the 'Time based reduction' method of TDMS. In the package, I am in phase "System Analysis"->"Analyze and specify'from date'".
    Here it gives me the option to specify the start/from date only. If I want to transfer data for only  a month in the past lets say april of 2007, then how can I specify the from and to dates.
    Please advise.
    Thank you,
    kind regards,
    Zaheer Shaikh

    Hi Pankaj,
    Thanks for the reply.
    In the phase "maintain Table Reduction" I have chosen SAP standard reduction, that means the table reduction is handled by SAP itself. Since my sender system database is 4 Terabytes, my question is if I select the 'from date' as 10th April 2009 (present date is 20 April 2009), will the TDMS still copy the whole tables for which I have not manually defined any reduction?
    Please advice.
    Thank you,
    Kind regards,
    Zaheer Shaikh

  • TDMS - time based reduction - receiver system deletion

    Experts,
    I'm doing a time based reduction.  I'm on the step "Start Deletion of Data in Receiver System".  It's been running for over 18hours.
    But I don't see any jobs running in SM66 on the Central/Control or Sender or Reciever systems.
    When I click on the "Task" button, I see it has completed 8,444 of 12,246  sub activites.  There are 3,802 not yet started.
    We're on all the latest levels of DMIS and ECC.
    Any ideas?
    Thanks
    NICK

    Ashley and Niraj,
    Hey, I'm all for tips/tricks so don't worry about messing up my thread.
    I completely shut down the central/control system via stopsap and restarted.  Still it was in "running" status but no jobs were running on sender/rec or central/control.
    So I tried the trouble-shooting but it was un-clear to me what to do.
    I ended up highlighting the phase I reference earlier, then doing "execute" again.  The status changes from the "truck" to a green flag and I started to see jobs run again on the receiver system.  Again they have stopped, but I see another job scheduled to run in a few minutes....It's just weird, I didn't run into this on my last time-based copy.
    I'll post a few things I've learned to increase performance:
    RDISP/MAX_WP_RUNTIME = 0
    At LEAST 25 WP and 25 BCK procs
    rec/client = OFF
    RDISP/BTCTIME = 60
    RUN STATS regularly
    TAKE OUT OF ARCHIVELOG MODE
    Read/Impl these notes:
    Read theseu2026Update these parameters
    o TD05X_FILL_VBUK_1 Note 1058864
    o TD05X_FILL_VBUK_2 Note 1054584
    o TD05X_FILL_BKPF Note 1044518
    o TD05X_FILL_EBAN Note 1054583
    o TD05X_FILL_EQUI Note 1037712
    Set these oracle index on rec system:
    Table: QMIH
      fields: MANDT, BEQUI
    Table: PRPR
      fields: MANDT, EQUNR
    Table: VBFA
      fields: MANDT, VBELN, VBELV, POSNV
    set parameter u2018P_CLUu2019 to u2018Yu2019 in the following
    activities before you start the activities for filling internal header tables:
    TD05X_FILL_BKPF
    TD05X_FILL_CE
    TD05X_FILL_EKKO
    TD05X_FILL_VBUK
    TD05X_FILL_VBUK_1
    TD05X_FILL_VBUK_2
    TD05X_FILL_VSRESB
    TD05X_FILL_WBRK_1
    run TCODE CNVMBTACTPAR, specify the project number to do this
    IMPORTANT TCODEs
    CNV_MBT_TDMS_MY  Main TDMS starting point     
    CNVMBTMON  Process Monitor (must know your project number)
    DTLMON  MWB transfer monitor
    CNVMBTACTPAR  activity parameters
    CNVMBTACTDEF  MBT PCL activity maint
    CNVMBTTWB  TDMS workbench to develop scrambling rules
    CNV_TDMS_HCM_SCRAM  run in SENDER system for scrambling functionality
    Reports
    CNV_MBT_PACKAGE_REORG  to reorganize TDMS projects..aka delete
    CNV_MBT_DTL_FUGR_DELETE  deletes function groups associated with old projects
    Tables
    CNVMBTUSEDMTIDS   lists obsolete MTIDs
    IMPORTANT NOTES
    Note 894307 - TDMS: Tips, tricks, general problems, error tracing
    Note 1405597 - All relevant notes for TDMS Service Pack 12 and above
    Note 1402704 - TDMS Composite Note : Support Package Independent
    Note 890797 - SAP TDMS - required and recommended system settings
    Note 894904 - TDMS: Problems during deletion of data in receiver system
    Note 916763 - TDMS performance "composite SAP note"
    Note 1003051 - TDMS 3.0 corrections - Composite SAP Note
    Note 1159279 - Objects that are transferred with TDMS
    Note 939823 - TDMS: General questionnaire for problem specification
    Note 897100 - TDMS: Generating profiles for TDMS user roles
    Note 1068059 - To obtain the optimal deletion method for tables (receiver)
    Note 970531 - Installation and delta upgrade of DMIS 2006_1
    Note 970532 - Installation of DMIS Content 2006_1
    Note 1231203 - TDMS release strategy (Add-on: DMIS, DMIS_CNT, DMIS_EXT...)
    Note 1244346 - Support Packages for TDMS (add-on DMIS, DMIS_CNT, ...)
    I'm doing this for an ECC system running ecc 6.0 EHP6 by the way.
    Still any help with my issue on the delete would be helpful. but post tips I don't kwnow about
    NICK

  • Exclude a table from time-based reduction

    Hi,
    Iu2019d like to exclude a table from time-based reduction. How can I do this ? Is there any manual how to do customizing in TDMS ?
    Regards
    p121848

    Thank you Markus for your annotation.
    AUFK is technically declared as an Master Data Table, but stores orders. Standard
    TDMS provides a reduction of this file and in the client copies we did via TDMS a lot of  records disappeared when we selected time-reduction.
    Now we fond out that some Transactions as OKB9 or KA03 refer to old internal orders. So we would like to maintain the customizing, to exclude AUFK from reduction. But this is not possible in activity TD02P_TABLEINFO, because no changes can be done to the tables, which have got the transfer_status 1 = Reduce.
    You can manipulate the Transfer-Status in file CNVTDMS_02_STEMP before getting to activity  TD02P_TABLEINFO, but I wonder whether this is the way one should do.
    Any idea ?
    Regards p121848

  • Move sales order stock to company stock in QI

    Is there any movement type to move sales order stock to company's own stock in quality.
    With 411 E quantity is transferred from unrestricted-use special stock E (sales order stock) to unrestricted-use company’s own stock.
    But my company requires that sales order stock be moved into company stock in QI.
    411 E moves stock into MARD-LABST but we need it to be moved into MARD-INSME.
    Any input on this is greatly appreciated.
    Thanks,
    Pushpinder Randhawa.

    Hi,
    I believe your stock is not customer returns as picked from your question.
    by copying the movment type the behaviour of movement type doesnot change. do you think  by copying 411E and giving the name 911E you can post to QI stock ?
    the defination of movement type 411E is self explainatory
    411E  Transfer posting of sales order stock to company's own stock
    The quantity is transferred from unrestricted-use special stock E ( sales order stock), to unrestricted-use storage location stock.
    no it is not possible by copying the movement type.
    carry out 2 step process. from unresctricted transfer to QI.
    Regards
    Rajesh

  • Report to identify sales orders not shipped on time

    Hi
    i have one requirement to identify the sales orders that are not shipped on time(Sales Order due).
    Could you please anyone throws some hints to build a report.
    Thanks in Advance
    Arjun

    You will have to join oe_order_lines_all and mtl_material_transactions.
    The oe_order_lines_all.scheduled_ship_date will give you when the order was supposed to ship.
    The "sales order issue" transaction in the mtl_material_transaction will give you the date on which the sales order issue transaction occurred.
    Alternatively, you can use the dates in wsh_delivery_details and wsh_new_deliveries tables and compare them with scheduled_ship_date.
    Hope this helps
    Sandeep Gandhi
    Independent Techno-functional Consultant

  • Please explain steps for Time based reduction scenario

    Hi,
    I am done with the RFC connections.
    The scenario I am going to work with is 'Time Based Reduction'.
    Can somebody please explain the process step-by-step from here on.
    Thanks,
    Mohammed Tauseef Ahmed

    hi,
    thanks for the replies.
    the step "Start Programs for Generation and Receiver Settingsu201D is taking very very long time for execution(the log shows that the process started on May20,and it is still going on).
    Now till the execution of this step is completed,we cannot execute furthet steps.Is there a way that we can execute the other steps or do we have to wait for this step to be completed?
    Secondly, on the suggestion to change the process settings, I was not able to make the changes in process settings. Can the somebody kindly explain step-by-step on how to change the process settings.
    Thanks.
    Mohammed Tauseef Ahmed

  • Sales order is on overall block still requirements are passed to md04/md07.

    Hello Experts.
    Sales order is on overall block still requirements are passed to md04/md07.
    Please suggest...

    Hi Experts,
    Issue:  Sales orders are on overall block at header level. still sales orders are passing demand in MD04 and MD07 -
    here in this case the actual scenario is
    This Sales order was created on 09/28/2007. with overall block at header level.
    then sevral times header block for this order was removed & it was last set on 8 feb. 2009.
    after this, there was no change in delivery block at header till the date.
    in mean time at every month there was program from legacy system which used to change the below info from SO
    (In schedule lines --> shipping tab).
    except Delivery date.
    Delivery date         D   08/31/2007
    Goods issue date          07/30/2009
    Loading date              07/30/2009
    Material avail.date       07/30/2009
    Transportation Plan. Date 07/30/2009.
    *if we replicate this scenario in dev. and check this, system will not allow to keep above dates as delivery date is in past.
    Now if we check SO is on oveall block at header, but we can see Ruquirement for the same SOs in MD04.
    (*Note : here we found that date in MD04 for requirement of this SO, is same as date on which legacy system changed the data in SO for schedule line.)
    we have replicated the sales cycles like this in development with different possibilities of Blocks on SO header as well as Item level. but they are working fine with dev. and quality system, as all config. settings are fine.(as suggested above by experts).
    but it seems like a bug kind of thing.
    kindly revert if someone has faced issue like this ,knows to get rid of it.
    Regards,
    Sujit

  • Using IDoc to convert Purchase Order as Sale Order between two Company code

    Dear Experts,
    We are in need of implementing IDoc.
    We have 2 Company codes. One in US and another in India.
    The US Company receives Customer Order and PR is generated automatically for the Third Party Sale Order.
    The PO is also generated based on this PR against the Vendor code (Indian Company actually created as a Vendor code also)
    Now, the PO from Us Company should be converted as Order in Indian Company. The PO sending Plant is the Customer in this case.
    Now,
    1. How we go about this using IDoc.
    2.How do we capture the Sold-to-Party ( US Compnay in thsi case) and the Ship-to-Party ( Direct Customer of US Company)
    Please share your experties on this.
    Regards,
    Ramki

    Hi Ramki,
    Since the goods are selling between 2 company codes.. you should ideally use inter company process i.e. choose plant as Indian plant and etc..pls search the forum for intercompany process set up or refer to the setup required for Intercompany :
    [http://www.sap-img.com/sap-sd/inter-company-sales-process.htm]
    The above setup will help you in dealing with your question 2.
    On question 1: Once you setup the intercompany you won't require IDocs setup.
    I hope this helps.
    Regards,
    Raghu.

  • Sale order in beverage company

    Hi,
    I am working on Beverage Company.
    In this company the sale process is little bit complex for me. Here the sale concept is spot selling.
    Here the sales person submitted the forecasted demand/order for his rout. Company load the truck on behalf of that demand/order (remember this order is not an actual order of customer).
    Sales person goes to customer (shops) and sale the product as much he can and rest of product (area return) back to company.
    Now the question is raised, how we manage the sale and area return.
    There is more than 200 trucks move to their routes; if we create the sale order when we are loading the truck then it is impossible to create the sale return order when truck comes back with area return (which is actually not sale) on daily basis.
    kindly suggest me the sloution how can I manage that sale and return.
    Thanks

    Hi,
    Hope in u2018spot sellingu2019 the vehicle will go around a route and deliver the goods on the spot according to their requirement. Since there are many customers involved, the consignment process will not be suitable. Even if we create a dummy customer for every vehicle, how can we transfer the goods from dummy customer to actual customers? (Consignment fill up to consignment issue)
    You can try this.
    1.     Create a storage location for each vehicle (say V001). Say the storage location in the plant is FG01.
    2.      Transfer the goods from FG01 to V001 as per the forecasted demand. Say they have loaded the vehicle with 1000 pieces.
    3.     Let the vehicle to go for selling the goods.
    4.     Say the vehicle sold 750 pieces and returns with 250 pieces.
    5.     Create delivery document (VLo1nO) without sales order for the sold items from storage location V001(here different customers and different quantities)
    6.     Bill the customers based on the delivery documents created.
    7.     Move the 250 pieces to FG01 from V001.
    You can follow this logic for all the vehicles.
    Note: The client should have some arrangements with authorities to move the goods on this basis.
    Regards,
    K Bharathi
    Edited by: K Bharathi on Feb 20, 2010 9:43 AM

  • Sales order report for on time and in full.

    Dear All,
    Is there any existing report or does anyone have a report that allows a person to measure if the items on a sales order was delivered in full and on the required delivery date?
    Regards,
    Ottley

    Dear Ottley,
    I think, Your requirement would get satisfied by Report: VL06O
    Click Tab: List of Outbound Deliveries.
    On to next screen, go to each Tab (Sorry, this time my Router-String is Down, so can't assist with exact Filed-Values) and maintain Filtering Criterias, like:
    If, I remember correctly, there is one Tab: Doc. Data; there is a Field: Order (If, you wish to list out Delivery, for selected Sales Orders)
    Another Tab, related to various Dates. Maintain appropriate Field(s), say Actual GI Date & Planned GI Date; and so on so forth...
    Now execute (F8), report.
    From, Selection Criteria, Key-in more Fields as reqd.
    Best Regards,
    Amit

  • Copying sales order from one company code to other

    Hi,
    I am trying to copy one sales order data from one company code to another, all the details should be same other than the company code and some fields , for this I am using std BAPI Getdetail to get all the details of sales order and passing to BAPI, CREATE FROM DAT2 , so that I create new order.
    When I check the new order, I see everything same but CANCEL DATE value in the ITEM Overview is not copied, I checked the original order , it has cancel date value. The order is an AFS order with AFS tabs.
    I Checked the BAPI GET Detail FM, it doesn't retrieve that information, moreover it doesn't have that field ( J3_ACADA) in the ITEM structure. I can see cancel date value in VBAP. The ITEM structure in CREATE FROM DAT2 also doesn' have that field.
    I can populate using USER_EXIT but I need to get the value from original order.
    How to copy the cancel date value to new order.It should happen only for the orders which I run through this report.
    Any suggestions let me know.
    Thanks

    Hi Uma,
    As my understand, the couple Tcode FS15 and FS16 is used to copy GL master data from in same client or different client.
    The file attract from FS15 will be stored in SAP, not in your local computer.
    And when you run FS16, the system will file this file and upload it.
    Here is selection screen in FS15, you can determine the file name, and keep the batch input name as default.
    After executed, the file is generated with message like below
    Then, go to tcode FS16 with parameter:
    You can untick "Check file only" for Production run.
    When you execute it, the batch input RFBISA20 is generated.
    After that, you go to tcode SM35 to check the batch input RFBISA20, excute this batch input here and check the log.
    Julie

  • How to Copy documents (like Sales Order) from one Company/Database to another

    Hi everyone!
    I'm developing an AddOn for SAP 9.1 version.
    Part of this implementation is to import some data from a Sales Order Document from one Company to another (Document selected by "DocNum" by the user).
    So, my doubt is: after select data saved in arraylist, how I fill the document with that values saved in my arraylist ?
    I wish you could help me.
    Regards!
    Diogo Carvalho

    Hi Diogo,
    You can achieve this requirement and you will be required to get user credentials for your 'copy from' company to make a connection.
    After you make the connection with your 'copy from' company, you can provide a screen with a matrix which have the document numbers of the type of document you want.
    Create two documents of the type you want from each company. You can fill the document which created from current company while you reading from the document which created from 'copy from' company using get by key method.
    Most importantly, the master data of the two companies should be same. Otherwise, you will have errors in creating the document or document won't be identical.
    Hope this will helpful to you.
    Best Regards,
    J S L Geeganage

  • Sales order going to dump when we enter product in the transcation

    Hello Gurus,
    I am facing a problem in the sales order, when i enter a product in the transcation(TA) it going to dump........It is showing the message like this.........,
    What happened?......
        Error in the ABAP Application Program
        The current ABAP program "SAPLCRM_MKTTG_PF_SEL_INFOSET" had to b
         because it has come across a statement that unfortunately cannot be      
         executed.
    Error analysis......
        An error occurred when executing a Remote Function Call.
        "CPIC-CALL: 'ThSAPOCMINIT'#Unable to determine host address: 
          NiHostToAddr failed "
        Status of connection.... "CODE=CM_PRODUCT_SPECIFIC_ERROR -1 -1  
        SAPCODE=497
         CONV= " Internal error code.... "RFC_IO5"
        There is an error in the communication system. To clarify
        and resolve the error, contact your system administrator.
        Last error logged in SAP kernel
        Component............ "NI (network interface)"
        Place................ "SAP-Gateway on host IGINXMIEP / sapgw00"
        Version.............. 38
        Error code........... "-2"
        Error text........... "hostname 'iwdf7yte.wdf.sap.corp' unknown"
        Description.......... "NiHsLGetNodeAddr: hostname cached as unknown"
        System call.......... " "
        Module............... "nixxhsl.cpp"
        Line................. 223
        The error reported by the operating system is:
        Error number..... " "
        Error text....... " "
        Please provide me the solution...........its very urgent
    Thanks and Regards
    Chandramohan
    I dont Mind to reward full points............

    Hi julius,
    Thanks for the reply,
    The settings in the SAP Note, which you have given....they are in already in place.
    Regards
    Chandramohan

Maybe you are looking for

  • Error using BAPI_PO_CREATE1 to create po with ref to PR

    Hi all,      I am using FM BAPI_PO_CREATE1 to create a PO wrt PR. but while executing getting an error. No instance of object type PurchaseOrder has been created. External reference: Purchase order still contains faulty items Purchase requisition 100

  • How to display a sequence in item?

    hi! well, i don´t know how to display a sequence in item. i created a sequence in sqlworkshop. now i want what the sequence will display in item(for example :P8_COD_SERVICES). I HOPE ANSWER. BYE (AH! I TRYNG IN ITEM.DEFAULT VALUES BUT NOTHING)

  • The attributes of the user are inconsistent or not defined. See PPOMA_BBP

    Hi all, I created a free text SC and after approval by the manager, the SC was routed to the Sourcing cockpit as I had activated sourcing for the product category that was ordered. Now in the SOCO, when I select my SC and click on the 'Next' button,

  • Z1 screen not displaying

    I had taken mobile 3 days ago..But now i am facing problems that is screen is not displaying but phone is working. What is the reason for it.

  • BDC for Transaction Code F-02

    Hi Everyone, Facing a problem in cross-company code G/L Accounts posting. When I enter the data in the transaction directly (not recording) with multiple items containing different company codes and save the transaction, The system leads me into anot