How to retrieve the ARCHIVED Sales order data

Hi All,
When issuing the output for the delivery, it is giving an error saying 'Sales Order XXXX does not exist' due to which the prices in the output were displayed as '0'. Reason for this can be that 'the order might have been archived'.
My requirement is,
1. If Sales Order doesnu2019t exist in data base then need to check if Sales order exists in archive data base.
2. If  yes, take needed data from archive data base tables to calculate price. The logic of price calculation should be the same as for not archived Sales Orders.
Can anyone help me on this..?
Please tell me how to check whether the Sales order exists in the Archived database. Please share the table names(sample logic if possible) sothat I can use them in the report logic.
Please tell me how to pull the data from the archive database tables to calculate the price.
Thank you in advance.
Thanks & Regards,
Paddu.
Edited by: Paddu K on Feb 23, 2009 3:42 PM

*&      Form  get_archive_data
*       Fetch Archive Data
FORM get_archive_data .
  CLEAR:    g_read_handle, g_commit_cnt,
            g_read_cnt, g_reload_cnt,it_rel_tab,it_bseg_a,it_bkpf_a,
            it_bset_a, gt_result.
  REFRESH: it_rel_tab[],it_bseg_a[],it_bkpf_a[],
           it_bset_a[], gt_result[].
*Populating selection screen fields to field-symbols
  PERFORM build_fs_select_options.
*Call FM as_api_read  FI Data
  CALL FUNCTION 'AS_API_READ'
    EXPORTING
      i_fieldcat                      = 'SAP_FI_DOC_002'
      i_selections                    = ft_selections[]
*   I_OBLIGATORY_FIELDS             =
*   I_MAXROWS                       =
   IMPORTING
     e_result                        = gt_result[]
EXCEPTIONS
   parameters_invalid              = 1
   no_infostruc_found              = 2
   field_missing_in_fieldcat       = 3
   OTHERS                          = 4
  IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
  IF NOT gt_result[] IS INITIAL.
*Sorting by KEY and Offset
    SORT gt_result BY archivekey archiveofs.
*To delete duplicates
    DELETE ADJACENT DUPLICATES FROM gt_result COMPARING archivekey
    archiveofs.
*looping the internal table
    LOOP AT gt_result.
*Get read handle for  object
      CALL FUNCTION 'ARCHIVE_READ_OBJECT'
        EXPORTING
          object         = 'FI_DOCUMNT'
          archivkey      = gt_result-archivekey
          offset         = gt_result-archiveofs
        IMPORTING
          archive_handle = g_read_handle
        EXCEPTIONS
          OTHERS         = 1.
      IF NOT sy-subrc IS INITIAL.
        MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        EXIT.
      ENDIF.
      IF sy-subrc = 0.
*Get Acoounting Document details
        PERFORM object_read_opened
                  TABLES it_rel_tab
                         it_bseg_a
                         it_bkpf_a
*                         it_bset_a
*                         it_bsik_a
*                         it_bsak_a
                         it_bsid_a
                         it_bsad_a
*                         it_bsec_a
                  USING g_read_handle
                        l_archobj
                        g_commit_cnt
                        g_read_cnt
                        g_reload_cnt
      ENDIF.
*close the file.
      CALL FUNCTION 'ARCHIVE_CLOSE_FILE'
        EXPORTING
          archive_handle          = g_read_handle
        EXCEPTIONS
          internal_error          = 1
          wrong_access_to_archive = 2
          OTHERS                  = 3.
      IF sy-subrc <> 0.
        MESSAGE i004." 'Unable to close archive session'.
        EXIT.
      ENDIF.
    ENDLOOP.
  ELSE.
    MESSAGE i000 WITH 'No data found for Archived data'(095).
    EXIT.
  ENDIF.
*Start of Changes by GTHATIKONDA on 10/17/2008 #ECDK902204
  IF NOT it_bkpf_a[] IS INITIAL.
    SORT it_bkpf_a BY belnr.
    DELETE ADJACENT DUPLICATES FROM it_bkpf_a COMPARING belnr.
    DELETE it_bkpf_a WHERE budat GT p_budat. "#ECDK902206
  ENDIF.
*Start of Changes by GTHATIKONDA on 10/17/2008 #ECDK902206
  IF it_bkpf_a[] IS INITIAL.
    MESSAGE i000 WITH 'No data found for Archived data'(095).
  ENDIF.
*End of Changes by GTHATIKONDA on 10/17/2008 #ECDK902206
  IF NOT it_bseg_a[] IS INITIAL.
    SORT it_bseg_a BY belnr gjahr buzei.
    DELETE ADJACENT DUPLICATES FROM it_bseg_a COMPARING
                                          belnr gjahr buzei.
  ENDIF.
*End of Changes by GTHATIKONDA on 10/17/2008 #ECDK902204
ENDFORM.                    " get_archive_data
*&      Form  build_fs_select_options
FORM build_fs_select_options .
  REFRESH:  ft_selections.
*Comapny code
  APPEND INITIAL LINE TO ft_selections ASSIGNING <fw_selections>.
  <fw_selections>-fieldname  = 'BUKRS'.
  APPEND INITIAL LINE TO <fw_selections>-selopt_t ASSIGNING <lw_selopt>.
  MOVE p_bukrs  TO <lw_selopt>-low.
  MOVE  'I' TO <lw_selopt>-sign.
  MOVE  'EQ' TO <lw_selopt>-option.
*Customer
  APPEND INITIAL LINE TO ft_selections ASSIGNING <fw_selections>.
  <fw_selections>-fieldname  = 'KUNNR'.
  LOOP AT s_kunnr.
    APPEND INITIAL LINE TO <fw_selections>-selopt_t
           ASSIGNING <lw_selopt>.
    MOVE-CORRESPONDING  s_kunnr TO <lw_selopt>.
  ENDLOOP.
*Start of changes by GTHATIKONDA on 16/10/2008 #ECDK902192
**Customer Group
*  append initial line to ft_selections assigning <fw_selections>.
*  <fw_selections>-fieldname  = 'KTOKD'.
*  loop at s_ktokd.
*    append initial line to <fw_selections>-selopt_t
*           assigning <lw_selopt>.
*    move-corresponding  s_ktokd to <lw_selopt>.
*  endloop.
*End of changes by GTHATIKONDA on 16/10/2008 #ECDK902192
*Profit Center
  APPEND INITIAL LINE TO ft_selections ASSIGNING <fw_selections>.
  <fw_selections>-fieldname  = 'PRCTR'.
  LOOP AT s_prctr.
    APPEND INITIAL LINE TO <fw_selections>-selopt_t
           ASSIGNING <lw_selopt>.
    MOVE-CORRESPONDING  s_prctr TO <lw_selopt>.
  ENDLOOP.
*Commented #ECDK902210
**Key Date
*  append initial line to ft_selections assigning <fw_selections>.
*  <fw_selections>-fieldname  = 'BUDAT'.
*  append initial line to <fw_selections>-selopt_t assigning <lw_selopt>
*  move p_budat  to <lw_selopt>-low.
*  move  'I' to <lw_selopt>-sign.
*  move  'EQ' to <lw_selopt>-option.
*Aging Period1
  APPEND INITIAL LINE TO ft_selections ASSIGNING <fw_selections>.
  <fw_selections>-fieldname  = 'ANZTA'.
  APPEND INITIAL LINE TO <fw_selections>-selopt_t ASSIGNING <lw_selopt>.
  MOVE p_ag1  TO <lw_selopt>-low.
  MOVE  'I' TO <lw_selopt>-sign.
  MOVE  'EQ' TO <lw_selopt>-option.
*Aging Period2
*Start of changes by GTHATIKONDA on 16/10/2008 #ECDK902192
*  append initial line to ft_selections assigning <fw_selections>.
*  <fw_selections>-fieldname  = 'ANZTA'.
*End of changes by GTHATIKONDA on 16/10/2008 #ECDK902192
  APPEND INITIAL LINE TO <fw_selections>-selopt_t ASSIGNING <lw_selopt>.
  MOVE p_ag2  TO <lw_selopt>-low.
  MOVE  'I' TO <lw_selopt>-sign.
  MOVE  'EQ' TO <lw_selopt>-option.
*Aging Period3
*Start of changes by GTHATIKONDA on 16/10/2008 #ECDK902192
*  append initial line to ft_selections assigning <fw_selections>.
*  <fw_selections>-fieldname  = 'ANZTA'.
*End of changes by GTHATIKONDA on 16/10/2008 #ECDK902192
  APPEND INITIAL LINE TO <fw_selections>-selopt_t ASSIGNING <lw_selopt>.
  MOVE p_ag3  TO <lw_selopt>-low.
  MOVE  'I' TO <lw_selopt>-sign.
  MOVE  'EQ' TO <lw_selopt>-option.
*Aging Period4
*Start of changes by GTHATIKONDA on 16/10/2008 #ECDK902192
*  append initial line to ft_selections assigning <fw_selections>.
*  <fw_selections>-fieldname  = 'ANZTA'.
*End of changes by GTHATIKONDA on 16/10/2008 #ECDK902192
  APPEND INITIAL LINE TO <fw_selections>-selopt_t ASSIGNING <lw_selopt>.
  MOVE p_ag4  TO <lw_selopt>-low.
  MOVE  'I' TO <lw_selopt>-sign.
  MOVE  'EQ' TO <lw_selopt>-option.
*Aging Period5
*Start of changes by GTHATIKONDA on 16/10/2008 #ECDK902192
*  append initial line to ft_selections assigning <fw_selections>.
*  <fw_selections>-fieldname = 'ANZTA'.
*End of changes by GTHATIKONDA on 16/10/2008 #ECDK902192
  APPEND INITIAL LINE TO <fw_selections>-selopt_t ASSIGNING <lw_selopt>.
  MOVE p_ag5  TO <lw_selopt>-low.
  MOVE  'I' TO <lw_selopt>-sign.
  MOVE  'EQ' TO <lw_selopt>-option.
ENDFORM.                    " build_fs_select_options
*&      Form  object_read_opened
*       To Fetch Arichive Data
FORM object_read_opened TABLES   it_rel_tab
                                  it_bseg_a
                                  it_bkpf_a
*                                  it_bset_a
*                                  it_bsik_a
*                                  it_bsak_a
                                  it_bsid_a
                                  it_bsad_a
*                                 it_bsec_a
                         USING value(g_read_handle) LIKE sy-tabix
                               value(l_archobj) LIKE arch_def-object
                         value(g_commit_cnt) LIKE arch_usr-arch_comit
                           g_read_cnt TYPE i
                           g_reload_cnt TYPE i.
  DATA: BEGIN OF table_wa ,
           table LIKE arch_stat-tabname,
        END  OF table_wa.
  DATA: lit_data(2048) TYPE c OCCURS 1 WITH HEADER LINE.
  DATA:  l_structure LIKE arch_stat-tabname,
         l_lin TYPE i.
  CLEAR: it_table_org1,lit_struc,it_table_org2,table_wa,it_rel_tab.
  REFRESH: it_table_org1[],lit_struc[],it_table_org2[],it_rel_tab[].
  CLEAR: g_duprec,g_read_cnt,g_reload_cnt,g_object_cnt.
*Read  data from the infostructure
  DO.
    ADD 1 TO g_object_cnt.
    CLEAR l_structure.
    CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD'
      EXPORTING
        archive_handle                = g_read_handle
     IMPORTING
       record                        = lit_data
*   RECORD_CURSOR                 =
*   RECORD_FLAGS                  =
       record_structure              = l_structure
*   RECORD_LENGTH                 =
*   RECORD_REF                    =
     EXCEPTIONS
       end_of_object                 = 1
       internal_error                = 2
       wrong_access_to_archive       = 3
       OTHERS                        = 4
    IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      EXIT.
    ENDIF.
    IF NOT l_structure IS INITIAL.
      table_wa-table = l_structure.
      APPEND table_wa TO it_rel_tab.
    ENDIF.
    APPEND lit_data.
    CLEAR l_lin.
    FIELD-SYMBOLS: <fs_struc> TYPE c.
    CASE l_structure.
*BKPF data
      WHEN 'BKPF'.
        ASSIGN it_bkpf_a TO <fs_struc> CASTING.
        <fs_struc> = lit_data.
        APPEND it_bkpf_a.
*BSID data
      WHEN  'BSID'.
        ASSIGN it_bsid_a TO <fs_struc> CASTING.
        <fs_struc> = lit_data.
        APPEND it_bsid_a.
*BSAD data
      WHEN  'BSAD'.
        ASSIGN it_bsad_a TO <fs_struc> CASTING.
        <fs_struc> = lit_data.
        APPEND it_bsad_a.
*BSEG data
      WHEN 'BSEG'.
        ASSIGN it_bseg_a TO <fs_struc> CASTING.
        <fs_struc> = lit_data.
        APPEND it_bseg_a.
    ENDCASE.
    REFRESH lit_data.
    CLEAR g_object_cnt.
  ENDDO.
ENDFORM.                    " object_read_opened
*&      Form  get_bsid_bsad_archive_data
*If Exclude Spl. GL Trnasaction is initial get BSID BSAD Archive data  *
FORM get_bsid_bsad_archive_data .
*Work Area
  DATA: wa_bsid TYPE type_bsid.
*Reading BSAD Archive internal table
*      loop at it_bsad_a   where bukrs eq p_bukrs
*Start of changes by GTHATIKONDA on 10/14/2008 #ECDK902180
*Commented by GTHATIKONDA on 10/17/2008 #ECDK902204
  LOOP AT it_bkpf_a  WHERE  bukrs = p_bukrs AND
                            budat LE p_budat. "#ECDK902206
*End of changes by GTHATIKONDA on 10/14/2008 #ECDK902180
    LOOP AT it_bseg_a   WHERE bukrs EQ p_bukrs AND
                              belnr EQ it_bkpf_a-belnr AND
                              gjahr EQ it_bkpf_a-gjahr AND
                              augdt GT p_budat AND
*                            koart eq 'D'     and
                              kunnr IN s_kunnr AND
                              prctr IN s_prctr.
*Changes by GTHATIKONDA on 10/17/2008 #ECDK902204
*    loop at it_bkpf_a  where budat le p_budat."#ECDK902206
*Move corresponding fiels
      MOVE-CORRESPONDING it_bseg_a TO wa_bsid.
      wa_bsid-blart = it_bkpf_a-blart.
      wa_bsid-budat = it_bkpf_a-budat.
      wa_bsid-bldat = it_bkpf_a-bldat.
      APPEND wa_bsid TO i_bsad.
      CLEAR wa_bsid.
    ENDLOOP.
  ENDLOOP.
  IF NOT i_bsad[] IS INITIAL.
    APPEND LINES OF i_bsad TO i_bsid.
  ENDIF.
*Start of Changes by GTHATIKONDA on 10/17/2008 #ECDK902206
  IF NOT i_bsid[] IS INITIAL.
    SORT i_bsid BY belnr.
*Commenting this logic by GTATIKONDA on 10/31/2008 #ECDK902245
*  delete adjacent duplicates from i_bsid comparing belnr.
  ENDIF.
*End of Changes by GTHATIKONDA on 10/17/2008 #ECDK902206
ENDFORM.                    " get_bsid_bsad_archive_data
*Reading BSAD Archive internal table
*      loop at it_bsad_a  where bukrs eq p_bukrs
*Start of changes by GTHATIKONDA on 10/14/2008 #ECDK902180
*Commented by GTHATIKONDA on 10/17/2008 #ECDK902204
  LOOP AT it_bkpf_a  WHERE bukrs = p_bukrs AND  "#ECDK902206
                           budat LE p_budat.
*End of changes by GTHATIKONDA on 10/14/2008 #ECDK902180
    LOOP AT it_bseg_a  WHERE bukrs EQ p_bukrs AND
                             belnr EQ it_bkpf_a-belnr AND
                             gjahr EQ it_bkpf_a-gjahr AND
                             kunnr IN s_kunnr AND
                             umskz EQ space AND
                             augdt GT p_budat AND
                             prctr IN s_prctr.
*Changes by GTHATIKONDA on 10/17/2008 #ECDK902204
*    loop at it_bkpf_a  where budat le p_budat. "#ECDK902206
*Move corresponding fiels
      MOVE-CORRESPONDING it_bseg_a TO wa_bsid.
      wa_bsid-blart = it_bkpf_a-blart.
      wa_bsid-budat = it_bkpf_a-budat.
      wa_bsid-bldat = it_bkpf_a-bldat.
      APPEND wa_bsid TO i_bsad.
      CLEAR wa_bsid.
    ENDLOOP.
  ENDLOOP.
  IF NOT i_bsad[] IS INITIAL.
    APPEND LINES OF i_bsad TO i_bsid.
  ENDIF.

Similar Messages

  • How can we read archived sales order data?

    Hi there,
    We need information about sales orders, which are already archived (e.g. VBAK, VBAP).
    How can we read these data from archive?
    Do you know the necessary function modules?
    Thanks a lot for help.

    Hi,
    The main transactions that provide access to sales orders data are the following:
    VA03 Display Sales Order
    ALO1 Document Relationship Browser
    Other:
    KABP Controlling Documents: Plan
    KSB5 Controlling Documents: Actual
    KVBI Sales Documents: Actual Line Items
    Standard Reports:
    S3VBAKAU: Program for sequential reading of archived sales documents
    If at least one of the archiving information structures SAP_DRB_VBAK_01- SAP_DRB_VBAK_02 is active, I suggest to use the transaction ALO1.
    More info can be found at:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/19/68c149815cfa4997525e0e7d7509bf/content.htm]
    Regards,
    Andrea

  • Retrieve the Archived Purchase order

    Hello All,
    Please help me with transaction to retrieve the archived  Purchase order.
    Regards
    Kalyani.

    In transaction AOBJ, object MM_EKKO has no entry for a retrieval program.
    In help.sap.com the document for MM_EKKO states:
    There is no provision for the retrieval of previously archived data.
    details: http://help.sap.com/saphelp_erp2005/helpdata/en/8d/3e5be0462a11d189000000e8323d3a/frameset.htm

  • Retrive the archive sales order

    Hi gurus,
    Can we retrive the archived sales order?
    How?
    thanx in advance.
    rgds,
    Anand

    Hi,
    goto SE11 - give the table name CDHDR.
    you can find out your deleted sales orde number.
    regards,
    Sumith

  • Need to make available the archived sales orders to view for end users.

    Hi All Exparts,
    I have one request to make available the archived sales orders to verify the goods issue for the end users.
    can you please guide me for the same with complete details steps. i will request for the all the steps serially.
    one more thing can i make it available with the help of the ABAP guys?
    Please guide me for the same.
    Thanks to all.
    Som.

    Hi Adithya,
    Thanks for ur kind reply. i entered in SARA and put the SD_VBAK also then in the below i can see in Action - preparation, archive, delete, Analyze, Management this things only...
    so please guide what to do next with the details.
    please also tell me through this can i make it available to the end users?
    pls let me know.
    Thanks again,
    Som.

  • FM to retrieve the CRM sales order values

    Hi Friends,
    Can any one tell me the FM to retrieve the CRM sales order values ,so that i can send these values to my Customer.
    Pls help me .
    Thanks,
    Ganesh

    hi,
    Use CRMD_ORDER_READ function module. Pass guid of you documnet to this function module. You will get desired value in internal tables.
    This FM will read form Buffer.
    There is one more readdb* .  This will read from Database
    Reward points if useful
    Murali

  • How to  find the Open sale orders till date for  given plant and material ?

    Hi experts,
                     I have a requirement to calculate the open sale orders for a given plant and material. I have tried in VA05 wherein i can get only for the material and sales area combination. From the document nos obtained from VA05 i can then find the plant. But my question is how do i get the output of VA05 into my progra. (can i use submit for a module pool report ).
    Also if ther is some other standard table or Function module to find the open sale orders till a given date ,it will be even more helpful....in which case i can drop the VA05 route.
    Kindly help
    Thanks in advance
    Ashwin

    Hi Ashwin,
        You can use SAP Tables VBAK and VBUP to get to know if the document is complete or not.
       VBUK-GBSTK is the field that will give you the status of the Sales Order .
      VBUK is used at header level , whereas VBUP is used for Item level.
      So in your case what I would do is :
      Get the Sales Orders that satisy the plant and material criteria from VBAP table , take this Sales Document numbers and go to VBUK or VBUP table to get the Sales Order Status. 
       If I need to find the open quantity as well I will link to VBFA table based on the document number.
      Reward if helpful.
    Thanks,
    Imran

  • Tables for archived sales order data

    Hi,
    ABAP Gurus would like to know in which tables will I be able to see data of archived sales orders (it is not VBAK)
    Any help would be greatly appreciated.
    Thanks in advance.
    Mick

    Hi,
    If I am understanding correctly, your system has data archiving implemented.
    If that's the case then there is no table which will store archived sales order.
    For that you need to go to T.Code SARA.
    Choose object name SD_VBAK.
    Click on READ.
    This will show a screen giving a name of program and option to execute in background or foreground.
    This is how you can retrieve the info about archived Sales Order.
    Hope this helps
    Regards
    Nishant
    Message was edited by:
            Nishant Rustagi

  • How to retrieve the BRF+  function result data object of type table in ABAP

    Hi,
    I am calling a BRF+ function from Abap....If the result data object of the function is element then i am able to get the value back in ABAP...Suppose the result data object of the function is of table type,I couldnt retrieve the value....Can you please help me how to retrieve the table data object value of the function from abap....
    Regards,
    Dheepak.

    Hi,
    Thanks carsten and Tiwari for your reply...
    Tiwari,
    I understand that if i know the data type of the result data object which i am going to get i can declare it my ABAP program and get the values....But i am developing a generic program which calls the various BRF+ functions based on the function id...So i am not aware what is the data type of the result data object....so is there a any way to handle this situation...Please advice...
    Carsten,
    I used the GET_DATA_OBJECT_STRUCTURE method of class CL_FDT_FUNCTION_PROCESS to get the data object structure...i am able to get whether it is an element or structure or internal table...
    But is there any way to get the data type of the object...For example if it is going to be an element of type BELNR_D,is it possible to get the BELNR_D value in my program...Please advice...
    Thanks,
    Dheepak.

  • How to find the obsolete sales order

    Hi Gurus,
    how can we find out the obsolete sales order in the system, in our situation these orders consuming the forecast now and causing problems..how to find these and delete..please share your ideas

    Hi
    Please go to Se38 and execute /SAPAPO/SDORDER_DEL report. You can execute the report for respective location by using different flags. I hope this will provide you the required information.
    Thanks and Information.
    Amol

  • How to amend the seeded sales order lines workflow

    Hi,
    I'd like to amend the workflow of order lines in sales order form in Order Management
    I want to clear the schedule ship date field because
    it is auto deafulted with sysdate
    How to download the seeded workflow ?
    How can i determien the needed amendment ?
    Any Guide PLS ?
    Thanks

    You can download the workflow using the WFLOAD command - see MOS Doc 1569004.1
    You will need Workflow Builder on a Windows PC to modify the workflow - see MOS Doc 1461991.1 and MOS Doc 125067.1

  • How to Release the blocked Sales orders?

    Hi Gurus,
      Requirement: To Release the Blocked Salesorders
      problem: find out  any Tables  and procedure  to release blocked SO(allow to creating delivery for SO).
    how to Customer CreditLimit  and  Tables  of Theses...............
    Thanks in Advance..
    sivakumar.kasa

    Hi..
    AS per i knew......
    how to know cutomer CreditLimit?
    FD32,FD33...tcodes
    how to release blocked Sales order?
    VKM3
    Wait for some other views

  • How to trace the DO(Sales Order)

    Dear Forum,
    The process is DO(Sales Order)--->Delivery Order(OBD).
    I have deleted the Delivery.
    How to get the Sales Order number aginst this Delivey Order.
    Thanks in advance !!!!!

    Use change pointers
    http://help.sap.com/saphelp_nw04s/helpdata/en/12/83e03c19758e71e10000000a114084/frameset.htm
    Activate
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/9d563cf19bcb43e10000000a11405a/frameset.htm
    Regards,
    Prateek

  • How to get the ammendment sales order number and original sales order no?

    Hello sir's,
    Please tell me the table for ammendment(revised) sales order number and original sales order no.
    Thanks in advance,
    vikram

    Solved

  • How to Change the Existing Sales Order Transaction

    Hi all,
    I am trying to change some of the fields in Existing Sales Order Transaction.
    Fields which i am trying to change are Ext. Reference number and Net Value.
    I am using CRM_ORDER_MAINTAIN to do so but its not working. I dont know if some BADI can solve my purpose.
    If anyone of you have done something like this please share with me and suggest me the solution for that.
    Thanks in Advance.
    Regards,
    Manoj Tiwari

    That you should be able to do in ORDER_SAVE badi.
    You will be able to find lots of discussions on usage of this badi here in this forum.
    You need to call ORDER_READ, then call ORDER_MAINTAIN to change the values according to your requirement.
    Regards,
    Kaushal

Maybe you are looking for

  • I can't access Home Sharing on Apple TV (3rd Generation) ?

    I turn On Home Sharing on iTunes in my PC (latest version of iTunes) and I have the same EMAIL in my computer and in Apple TV as well, but there's nothing happened on Apple TV it's still BLANK, but I did the right thing, What's the problem?

  • How to get signature to appear in email replies

    Hello Each, I use Mac Mail - and can send around 80 emails a day sometimes. Rather than always having to select a particular signature for my replies - is there a way that I don't have to select a signature - and for it to appear automatically? I hav

  • FTP Server login

    I'm trying to connect to a ftp server. I use "Go - Connect to Server" and type in the address: ftp://name. This is a secure server and normally requires a user name and password. I can't figure out where to enter the required information. Any ideas o

  • 20" or 24" iMac?

    I'm just about to buy a new iMac and trying to decide between the 20" and 24" models. I'm trying to determine if the bigger display would be worth the $400 premium I have to pay in my country. Those of you who have a 24" display, how useful do you fi

  • Creating a custom halftone pattern.

    I'm trying to create a halftone pattern using a custom pattern. I have tried the bitmap route, i.e BITMAP/CUSTOM PATTERN but this just tiles the pattern at a fixed size varying the thickness depending on the shade. I need a halftone pattern that scal