Sales doc archiving

Hi
I am trying to archive SD and MM docs for previous years using SARA. However, when I run the pre-processor job for sales docs, the spool shows me some docs can not be archived because they have in-progress status or subsequent docs are not complete. if I carry on with the subsequent archiving steps would the Users face any issues later. Any other suggestions are welcome.
Thanks

The subsequent steps will not archive those documents that came up as errors in pre-processor job .
They will never be archived until you complete the business process..

Similar Messages

  • Sales order Archiving objce SD_VBAK

    Hello everybody
    When I have been trying to Archive the sales order by using object  SD_VBAK
    then the executing preproc i have getting the following error in Log as
    Job Started
    Step 001 started (program S3VBAKPTS, vaiant ZSD, user id USER1)
    internal error: DYNSQL_GENERATE_WHERE_CLAUSE(4)
    Job cancelled
    How to solve this problem? plz. suggest me
    thanks

    Hi,
    The thumb rule for archiving is 1st we need to archive the deliveries(RV_LIKP),thn billing(SD_VBRK) & lastly sales documents(SD_VBAK).
    Then check if you maintained the residence time period for sales documents.You can check that by going to T.code SARA & click on customising thn click on "Archiving Control for Sales Doc." or go to T.code VORA directly.
    Check if this helps.
    Regds.......
    Sumit

  • Sales doc number?

    hi
    can i keep sales doc number in key fields or data fields in DSO?
    in data fields generally K.F and unique character also.
    in key fields we keep characters only.
    regards
    suneel.

    Hi Sunil,
    you can put the sales doc number (EBELN)
    in key filelds ,because which is the uniqe in the sales data.
    Regards
    Krishna Reddy

  • Incorrect requirements type in sales doc.

    HI,
    Due to incorrect requirements types of material the costs and sales volume are posted directly to sales doc instead of posting
    to WBS element.
    How can this be fixed (after cancellation of posting)?
    How can we identify already created u201Cincorrectu201D sales docs?
    Regards,
    Anup
    Edited by: anup12 on Jun 3, 2011 7:29 AM

    Hi !
    regarding your query, there may be various sales documents type which might be created during configuration.
    Some of these might not be required by end users and need to be blocked so that wrong document types are not chosen. so an indicator 'X' is placed againt these document types and these can not be used.
    There may be some documents wherein manual creation might not be allowed, and auto creation is desired. so againt these doc types-'A' is placed by which these doc types can not be created manually,
    Other sales doc types might not be blocked so that they can be used or created manually, hence kept blank against the indicator field.
    Plz reward point if useful.

  • How to make plant in shipping cond tab for line item in sales doc mandatory

    Hi
    How to make plant as mandatory for a sales document say quotation mandatory ? I went to SPRO-> Basic Fucntion - > log of incomplete terms ->  Define incomplete Groups -> B.selected sales -Item -> Created new procedure Z001 with fielda VBAP - WERKS ,selected screen name PDE2 and checked warning check box.
    When i goto Assign incompleteness procedures I donot have option to assign it sales document item level procedure i will only get sales doc header procedure to assign it to document type quotation.
    How to make plant as mandatory for each line item in quotation?
    Thanks,
    Vaishnavi

    Include: MV45AFZB
    Form  USEREXIT_CHECK_VBAP
    In our business scenario, we have used the same ,But  Plant is mandatory only for 1st line item-
    source code:
    IF vbak-vkorg = '1000' OR vbak-vkorg = '2000'.
        IF sy-tcode = 'VA31' OR
           sy-tcode = 'VA11' OR
           sy-tcode = 'VA21' OR
           sy-tcode = 'VA41' OR
           sy-tcode = 'VA01' .
          IF vbap-werks IS INITIAL AND
             vbap-posnr EQ '000010'.
            MESSAGE e398(00) WITH 'Please enter the plant for first line'.
          ENDIF.
        ENDIF.
      ENDIF.
    Help:
    Through this form exit we are making the "plant' field (for the ist  &*
    & line item ) mandatory for the sales document . This interns helps us &
    & to create the sales document numner according to the plant (Region)  &
    *& of the Plant
    Hope it clears. take assistance of your ABAPer.

  • Delete a line item from Sales Doc type RE

    Unable to delete a line item from a sales order linked to document type RE.  Get a long runtime - no specific error message.  Use the 'Stop Transaction' option to end the transaction.
    Have done thorough testing and can delete line items linked to all other sales document types in our system.
    Researched SPRO to see if there was a line item deletion option that was not created for sales doc type RE - but can find nothing.
    On a critical time line here - this was discovered during Hotpak installation testing which is scheduled to move to PRD June 22.  Question as to why we have not run across this issue before now??  - I don't think we have had an occasion to delete a returns line item before - but I want to have the option if available.
    Any help to resolve this issue would be appreciated.
    Regards
    Patsy

    Thanks for your response.
    After creating document type RE, execute VA02 transaction, select line item, select delete line item icon.  The system goes into runtime and just stays there.  No error message, no abap dump.  To escape the transaction, I have to select 'stop transaction'.
    I have tested all other document types we use in our system,  (including our customized transactions) SO, CR, DR, etc., and the system allows line item deletion.

  • How to use FM CRM_ORDER_READ using only object_id(sales doc)

    Hello Experts,
    I need to get the details for a given sales document in
    CRM(crmd_orderadm_h-object_id). I want to use FM CRM_ORDER_READ
    to get the details of a sales doc but my problem is where to put the object_id
    value. ANy simple example would be highly appreciated.
    Thanks a lot guys and take care!

    DATA:BEGIN OF i_order_h OCCURS 0.
            INCLUDE STRUCTURE crmd_orderadm_h.
    DATA:END OF i_order_h.
    SELECT *
        INTO CORRESPONDING FIELDS OF TABLE i_order_h
        FROM crmd_orderadm_h
       WHERE object_id    IN s_obj_id.
      DATA: i_header_guid   TYPE crmt_object_guid_tab ,
            i_et_partner    TYPE crmt_partner_external_wrkt,
            i_et_orderadm_i TYPE crmt_orderadm_i_wrkt,
            i_et_product_i  TYPE crmt_product_i_wrkt,
            i_et_pricing_i  TYPE crmt_pricing_i_wrkt,
            i_et_schedlin   TYPE crmt_schedlin_wrkt,
            i_et_sales      TYPE crmt_sales_wrkt.
    LOOP AT i_order_h.
    CLEAR i_header_guid.
        REFRESH  i_header_guid.
        APPEND i_order_h-guid TO i_header_guid.
        CLEAR: i_et_partner,
               i_et_orderadm_i,
               i_et_product_i,
               i_et_pricing_i,
               i_et_sales,
               i_et_schedlin.
        REFRESH: i_et_partner,
               i_et_orderadm_i,
               i_et_product_i,
               i_et_pricing_i,
               i_et_sales,
               i_et_schedlin.
        CALL FUNCTION 'CRM_ORDER_READ'
          EXPORTING
            it_header_guid = i_header_guid
          IMPORTING
            et_partner     = i_et_partner
            et_orderadm_i  = i_et_orderadm_i
            et_product_i   = i_et_product_i
            et_pricing_i   = i_et_pricing_i
            et_sales       = i_et_sales
            et_schedlin    = i_et_schedlin.
        IF sy-subrc = 0.
        ENDIF.
    ENDLOOP.
    Message was edited by:
            EastViking

  • Sales doc type

    Hi,
    If in a business having Plant Sale,Depot Sale & Export slaes then I have to create one sales doc  type-ZOR1 for all types of sales & one document catgory & one pricing procedure.,Please give me the solution.
    Thanks,
    Siku.

    Hi,
    Can you be more clear with your question?
    But in case if you are asking whether you can use 1 doc type and 1 pricing procedure for different kind of sales scenario then answer to that is you can still use 1 doc type for plant/depot./export sales but its not advisable esp for depot sales u should use STO (stock transport order) for which already seperate doc type has been provided by SAP.
    Also when coming tp pricing procedure its advisable to have seperate pricing procedures only for domestic/export sales as well as depot sales as the CTs would be varying as in terms of freight, taxes, surcharges etc (as applicable and as per country laws) and you need to take into consideration the excise implications ( or depot sales)
    Regards,
    Kant

  • Editing sales doc in R/3 that was created in CRM

    Hi all CRM Gurus
    I am in the process of cofiguring the CRM system to enable the creation of sales documents.
    All is working fine, I can create the sales doc is CRM, this them replicates through to R/3 without any errors, but I cant edit the sales doc in R/3 at all to change delivery or print order outputs
    My question is this:
    Can you edit a sales doc in R/3 that has been created in CRM??
    CRM Version 4.0
    kind regards
    Barry Dixon

    Hi Barry,
        You need to activate Scenario 'A' to change the documents in ECC, which replicated from CRM.
         For this you need to make below entries in ECC  & CRM table.
                    In ECC CRMPAROLTP table
                              PARNAME     CRM_SCENARIO
                              PARNAME2    INT_CHANGE_ORDER
                              PARNAME3    <SalesOrderType>
                              PARVAL1     A
                    In CRM SMOFPARSFA table
                               PARSFAKEY     R3A_SALES
                               PARNAME       INT_CHANGE_ORDER
                               PARNAME2      <SalesOrderType>
                               PARVAL1       A
        You need to activate Cross System Lock according to the note 888665. CSL activation is must, if you won't activate CSL order can be edited in both the systems at the same time. CSL ensures order can be opened in change mode in only one system at the same time.
    //Bhanu

  • Cannot find sales doc type data  in my  report on the multiprovider

    hai everone,
                      I'm doing report on the multiprovider which is connected to different ods's  i'm getting the data for all the fields except for 'sales doc type'.I could see the data for it in the ods on which the multiprovider is built but could not find the data in the report.Can any one suggest me how to get the data for sales doc type into my report.
    Urgent..

    yeah listcube is a TCODE to check the data in the cube. run the code and enter the same selections that you would be doing on a query to see and see if it returns any data. if it does, then the problem is with the identification. Most of the times create recommendations work like a charm. But just go into the chars and see if the IO in question has been checked against the ODS that aint returning any records.

  • Payment terms different between sales docs

    Hi Gurus.
    Why do I have payment terms different between sales doc and billing doc for the same customer?
    Detail: the sd and company code vision has the same value in customer master data (xd03, vd03).
    Thanks in advance!
    Renato

    Dear Renato
    Go to VA02, input the sale order and execute.  There click on Environment from top menu bar followed by changes.  You would find four options to choose.  Select
    -  Additional info and
    -  Time of Change
    This would give you who have changed the datas related to that sale order.
    thanks
    G. Lakshmipathi

  • How to know if an output condition record is ever used in sales docs

    All,
    I can see some output condition records in table B001. Additional detail of these records is in table NACH. But is there a way to know whether these condition records are determined in any sales docs?
    In individual sales documents, I can manually check what condition records are determined from the 'output determination analysis' screen. Here I can see the number of the condition record that the system has determined. But is there a table which links sales document and output condition record? (equivalent of KONV)
    Thanks & Regards,
    KC
    PS: Table NAST stores transaction data but only the output type and sales doc number is shown but it doesn't show the condition record (though it can be checked manually).

    Hi Krishna,
    Depending on the version of SAP you are using there is a transaction i think it is VA70 in ECC6 or in 4.6 there is a standard program for mass printing from a sales order.
    You can use this tcode/program the very same as VL71 for deliverys and enter in your output type and change the processing mode to 2 and execute from here you can see if it was ever printed
    Regards
    Paul

  • Copying Exchange rate from sales Doc to billing doc

    Hello,
    I have an issue with the update of the exchange rate in the billing document.
    In fact when i create a sales order then the delivery associated. then i change the exchange rate in the sales order.
    When i go to create the billing doc, the exchange rate is not updated in the billing document.
    I guess because it is not defined in the copy rule requirement from Sales doc to delivery, and from delivery to billing doc? can you please confirm if it is the case?
    Thanks
    Regards

    Hi
    First of all check weather exchange rate has been maintained between the currencies from which you are changing (Ex : INR to EUR). If the currency conversion has been maintained then check in VTFL copy control weather PricingExchange rate type field has been maintained or not. If not maintained then maintain the PricingExchange rate type feild as per your requirement and then do the complete cycle again.
    Regards
    Srinath

  • Release strategy for sales docs.

    dear all,
    we have a process in sales ,that we create scheduling agreement or sales order .It will have to be released by 4 different people with  different levels .Once released documents should not be modified by anyone except amendment procedure.
    Pls suggest as to how to achieve this ...
    thanks
    shankar

    This release procedure is not available in SAP for sales .
    you can create Z*tcodes for this, for 4 diff ppl or levels
    maintain the delivery block in sales order ( which will trigger directly from sales doc type)
    in create sales order - made this "display mode"- by using transaction variant.
    Now create
    Z*
    Tcode- ZLVL-1 - 
    a-Waiting for approval
    b-approved level-1   - in this level, he can access only these 2 fields either a or b.
    Tcode: ZLVL-2
    c-approved level-2
    similarly next 2 levels.
    d- approved level-3
    e-approved level-4
    Give tcode authorization only for respective levels-
    eg:level 1- ZLVL-1 n so on,
    Now in sales order , userexit, write a logic
    if the "delivery block " - approved Level-4 (E),
    then , allow to save the sales order
    or else trigger error mssg as " Not yet approved, cant save the document"-
    hope it helps, without development i dont think its possible.

  • How to create an invoice from multiple sales doc.

    Hi,
    how to create an invoice from multiple sales doc.
    thanx,
    sourav

    hello, friend.
    assuming that your settings in VTFA and VTFL allow, you can create 1 invoice for many sales orders or deliveries by using VF04.  choose all documents that apply and click "collective billing document". 
    you can also click on "simulation" if you want to test if the combination is possible and the system will give you a split analysis if this is not possible.
    regards.

Maybe you are looking for

  • DB connection is doing a DNS lookup

    I have an application coded in Java which checks the oracle database if any new record is added. so the line of code for eastablishing the conection is : java.sql.Connection conn = � DriverManager.getConnection ( "jdbc:oracle:thin:@10.3.7.197:1521:DE

  • How to disable a input field in OVS search

    Hi friends, I have crated a OVS search help for matnr. i have two input field like matnr and mat desc.. user can enter any value and hit SEARCH.. im getting results. Now i want to hardoced a value of matnr = 001.. and make this field read only.. how

  • Can we use two costing variants for standards cost estimate release.

    Hi, We have 2 plants (plant 5100 and plant 5200) under company code 5000. We have run standard cost estimate(CK11N) for material 98001000027 at plant 5100 using costing variant ZG01 and at plant 5200 using costing variant ZG02. First, we released  st

  • Process Flow showing as busy - though Complete

    Hi, A Process Flow is stuck because one mapping had only two out connections - OK, and Error, but no 'OK with Warning' route. The Process Flow was then moved forward by using 'Expediate'. The Process Flow completed, but the Status in the Runtime Audi

  • Multiple library.xml files normal?

    I just made 2 iTunes libraries, both located in the Music folder on my internal HD. One is just called "iTunes" which gets backed up with time machine, and the other is called "iTunes For Backup", which I use for temporary music projects etc that I e