Export pending sale orders to Interface table

Hi,
I need to export all pending sale order lines to interface table and should be import from interface table as a new orders. Is there is any possibility ?
regards
Ravi

so you want all SO lines which are in pending status as new SO line in Entered or Booked status? Why?
Have you tried using Copy Feature?

Similar Messages

  • Release Sales Order through Interface ?

    Hi
    Anyone can guide me that How to Release the Sales Order through Interface table .
    This is an urgent need.
    Thanks in Advance to all of you.
    regards
    Sanjay

    Hi,
    Your question :  What is the difference between Release Sales Order Form & Shipping Transaction Form?
    In Apps, Release Sales Order Form is basically used to move Material from Inventory to your staging area e.g stock yard (pick release activity), at this point the material is still inside your premises..
    Shipping Transaction Form is basically used to move material from staging area to customer site..
    Your 2nd question is : Pick Release can be done from both the forms.What is the difference.??
    Through Pick release form you can do pick release where you don't need any grants... and to do the same through Shipping Transaction form you need to have access rights to do ship confirm and pick release.. In other words, Through Shipping Transaction form you can restrict/allow user to do pick release where as in Pick release form no such restrictions are there..
    Shipping Transaction form is basically a combo package :) through which you can control Pick release, Ship confirm, Delivery etc..
    For the Grants and Role you can check details under : Setup --> Grants and Role Definitions --> check Grants & Define Roles form..
    Roles form will let you what are the actvities can be done and can be assigned to users..
    Hope this will help...
    Regards
    S.P DASH
    Edited by: spdash12 on Oct 27, 2009 10:43 PM

  • Plz help me to create pending sales order report

    Hi all,
               I need these INPUT AND OUTPUT FIELDS :
              Pending Sales Order Requirement Specification: 
              1.   Fields on selection screen (input screen) : Plant From to , Distribution channel From to , division  from to , date from to , Customer code from to.
              2.   Field in the output List :    Customer Code , Customer Name , Sales Order Number , sales Order Date , Material , open Qty , Scheduled  Qty , Deliver Qty , Balance Qty , Value , Total Value .

    Hi
    use the tables
    KNA1 -for Customer Number,Name (link KNA1-KUNNR  =VBAK-KUNNR)
    VBAK -Sales order Header (VKORG,VTWEG,SPART, AUDAT, KUNNR on selection screen) VBELn, AUDAT,NETWR for output fields
    VBAP -Sales Order item .Take WERKS(plant) for selection screen
    MATNR,KWMENG (qty) and NETWR  for Output
    VBEP- Schedule line data
    LIPS - Delivery data  equate lips-vgbel  and lips-vgpos with vbap-vbeln and vbap-posnr and fetch the Delivery qty
    OPEN qty  = Order Qty - Delivery Qty
    VBAP-KWMENG - LIPS-LFIMG
    Regards
    Anji

  • Pending sales order with open quantity

    Hai gurus
    Please help me with any table or t.code to find pending sales order with open quantity
    With regards

    Dear,
    Please use transaction code V.02 to view all the incomplete sales order.
    If you have any concerns please revert back the same to me.
    Amjath

  • Pending sales order items

    Hy guys
    Is there a standard transaction to get all PENDING SALES ORDER ITEMS in order to clear inconsistent data previous to implementing MRP in the system?
    tks
    Geraldo

    If VA05/VA05N is not fulfilling, then use table VBAP in t.code SE16. In the selection criteria, make field KWMENG not equal to zero and make field KBMENG cumulative confirmed quantity equals to zero and execute. Download the details into an Excel for further manipulation/data cleansing.
    Regards,

  • Sales order changes history table

    hi.........
    i wann field for user name from sales order change history table. i hv tried CDHDR and CDPOS, but i cound't get the exact link in those tables.
    will u tel me any other table, so that i can get this field by passing sales order ?

    Hi subharao,
    Go though this program.
    REPORT zmm_rep_poh NO STANDARD PAGE HEADING LINE-SIZE 250 LINE-COUNT 65.
    TABLES: cdhdr,cdpos,ekko,ekpo.
    TYPE-POOLS : slis.
    DATA       : t_fieldalv     TYPE slis_t_fieldcat_alv.
    DATA       : import_variant LIKE disvariant.
    DATA       : xrepid         LIKE sy-repid.
    DATA       : layout         TYPE slis_layout_alv.
    DATA: BEGIN OF itab OCCURS 0,
            fname(40) ,
            objectid(10),
            changenr(10) ,
            value_new(10),
            value_old(10),
            unit_old(10),
            unit_new(10),
            cuky_old(10),
            cuky_new(10),
            key(5),
            username(10),
            udate LIKE cdhdr-udate,
            utime LIKE cdhdr-utime,
          END OF itab.
    DATA iebeln(15).
    DATA: BEGIN OF itab1 OCCURS 0,
            username(10),
            udate LIKE cdhdr-udate,
            changenr(10),
            utime LIKE cdhdr-utime,
          END OF itab1.
    DATA: BEGIN OF itab3 OCCURS 0.
            INCLUDE STRUCTURE itab.
    DATA: END OF itab3.
    DATA iekko LIKE ekko OCCURS 0 WITH HEADER LINE.
    *Select Option
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS : s_ebeln FOR ekpo-ebeln OBLIGATORY,
                     s_ekorg FOR ekko-ekorg NO INTERVALS DEFAULT '77IN',
                     s_bukrs FOR ekko-bukrs NO INTERVALS DEFAULT '77IN'.
    SELECTION-SCREEN END OF BLOCK b1.
    *INITIALIZATION.
    for alv field catalog definition.
      PERFORM initial_alv_fieldcat CHANGING t_fieldalv[].
    START-OF-SELECTION.
      SELECT * INTO iekko
      FROM ekko
      WHERE ebeln IN s_ebeln AND ekorg IN s_ekorg AND bukrs IN s_bukrs.
        APPEND iekko.
      ENDSELECT.
      LOOP AT iekko.
        SELECT username udate changenr utime
        INTO   (itab1-username,itab1-udate,
               itab1-changenr,itab1-utime)
        FROM  cdhdr
        WHERE objectid EQ iekko-ebeln.
          APPEND itab1.
        ENDSELECT.
      ENDLOOP.
      LOOP AT itab1.
        SELECT objectid changenr fname value_old value_new unit_old unit_new
               cuky_old cuky_new
        INTO  (itab-objectid, itab-changenr, itab-fname,
              itab-value_old,itab-value_new ,itab-unit_old, itab-unit_new,
              itab-cuky_old,itab-cuky_new)
        FROM  cdpos
        WHERE changenr = itab1-changenr.
          IF sy-subrc = 0.
            itab-username = itab1-username.
            itab-udate    = itab1-udate.
            itab-utime    = itab1-utime.
            APPEND itab.
          ENDIF.
        ENDSELECT.
      ENDLOOP.
    delete itab where fname eq 'KEY'.
      sort itab by fname.
    delete ADJACENT DUPLICATES FROM itab comparing all fields.
      LOOP AT itab.
        IF itab-fname = 'ZTERM'.
           itab-fname = 'Payment Terms'.
          MODIFY itab.
        ELSEIF itab-fname = 'AEDAT'.
               itab-fname = 'Date'.
          MODIFY itab.
        ELSEIF itab-fname = 'EFFWR'.
               itab-fname = 'Effective Value'.
          MODIFY itab.
        ELSEIF itab-fname = 'MENGE'.
               itab-fname = 'PO Quantity'.
          MODIFY itab.
        ELSEIF itab-fname = 'BRTWR'.
               itab-fname = 'Gross Order Value'.
          MODIFY itab.
        ELSEIF itab-fname = 'NETWR'.
               itab-fname = 'Net Order Value'.
          MODIFY itab.
        ELSEIF itab-fname = 'PROCSTAT'.
               itab-fname = 'Purchasing Doc processing state'.
          MODIFY itab.
        ELSEIF itab-fname = 'FRGSX'.
               itab-fname = 'Release Strategy'.
          MODIFY itab.
        ELSEIF itab-fname = 'FRGKE'.
               itab-fname = 'Release Ind. Pur. Doc'.
          MODIFY itab.
        ELSEIF itab-fname = 'ZBD1P'.
               itab-fname = 'Cash Discount Perc 1'.
          MODIFY itab.
        ELSEIF itab-fname = 'ZBD1T'.
               itab-fname = 'Cash Discount Days'.
          MODIFY itab.
        ELSEIF itab-fname = 'ZBD2T'.
               itab-fname = 'Cash Discount Days'.
          MODIFY itab.
              ELSEIF itab-fname = 'KEY'.
               itab-fname = 'Item Entered'.
          MODIFY itab.
        ENDIF.
      ENDLOOP.
      PERFORM alv_grid_display.
    *&      Form  alv_grid_display
          text
    -->  p1        text
    <--  p2        text
    FORM alv_grid_display .
      DATA  : gt_event  TYPE slis_t_event.
      DATA  : dbcnt TYPE i.
      DATA  : dbcntr(10) TYPE c.
      DATA  : title(100) TYPE c.
      CLEAR : dbcnt,dbcntr,title.
      DESCRIBE TABLE itab LINES dbcnt.
      dbcntr = dbcnt.
      CONCATENATE 'NO.OF ENTRIES : ' dbcntr INTO title SEPARATED BY space.
      sy-title = title.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = sy-repid
          is_layout          = layout
          it_fieldcat        = t_fieldalv[]
          i_save             = 'A'
          i_grid_title       = 'Purchase Order Amendment Details'
        TABLES
          t_outtab           = itab
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
    ENDFORM.                    " alv_grid_display
    *&      Form  initial_alv_fieldcat
          text
         <--RT_FIELDCAT  text
    FORM initial_alv_fieldcat  CHANGING rt_fieldcat TYPE slis_t_fieldcat_alv.
      DATA       : ls_fieldcat TYPE slis_fieldcat_alv .
      DATA       : cntr TYPE i VALUE 1.
      CLEAR ls_fieldcat.
      cntr = cntr + 1.
      ls_fieldcat-col_pos   = 1.
      ls_fieldcat-fieldname = 'USERNAME'.
      ls_fieldcat-seltext_l = 'UNAME'.
      ls_fieldcat-do_sum    = 'X'.
      APPEND ls_fieldcat TO rt_fieldcat.
      CLEAR ls_fieldcat.
      cntr = cntr + 1.
      ls_fieldcat-col_pos   = 2.
      ls_fieldcat-fieldname = 'UDATE'.
      ls_fieldcat-seltext_l = 'UDATE'.
      ls_fieldcat-do_sum    = 'X'.
      APPEND ls_fieldcat TO rt_fieldcat.
      CLEAR ls_fieldcat.
      cntr = cntr + 1.
      ls_fieldcat-col_pos   = 3.
      ls_fieldcat-fieldname = 'UTIME'.
      ls_fieldcat-seltext_l = 'UTIME'.
      ls_fieldcat-do_sum    = 'X'.
      APPEND ls_fieldcat TO rt_fieldcat.
      CLEAR ls_fieldcat.
      cntr = cntr + 1.
      ls_fieldcat-col_pos   = 4.
      ls_fieldcat-fieldname = 'OBJECTID'.
      ls_fieldcat-seltext_l = 'PO Number'.
      ls_fieldcat-do_sum    = 'X'.
      APPEND ls_fieldcat TO rt_fieldcat.
      CLEAR ls_fieldcat.
      cntr = cntr + 1.
      ls_fieldcat-col_pos   = 5.
      ls_fieldcat-fieldname = 'FNAME'.
      ls_fieldcat-seltext_l = 'Field Name'.
      ls_fieldcat-do_sum    = 'X'.
      APPEND ls_fieldcat TO rt_fieldcat.
      CLEAR ls_fieldcat.
      cntr = cntr + 1.
      ls_fieldcat-col_pos   = 6.
      ls_fieldcat-fieldname = 'VALUE_OLD'.
      ls_fieldcat-seltext_l = 'Old Value'.
      ls_fieldcat-do_sum    = 'X'.
      APPEND ls_fieldcat TO rt_fieldcat.
      CLEAR ls_fieldcat.
      cntr = cntr + 1.
      ls_fieldcat-col_pos   = 7.
      ls_fieldcat-fieldname = 'VALUE_NEW'.
      ls_fieldcat-seltext_l = 'New Value '.
      ls_fieldcat-do_sum    = 'X'.
      APPEND ls_fieldcat TO rt_fieldcat.
      CLEAR ls_fieldcat.
      cntr = cntr + 1.
      ls_fieldcat-col_pos   = 8.
      ls_fieldcat-fieldname = 'UNIT_OLD'.
      ls_fieldcat-seltext_l = 'Old Unit'.
      ls_fieldcat-do_sum    = 'X'.
      APPEND ls_fieldcat TO rt_fieldcat.
      CLEAR ls_fieldcat.
      cntr = cntr + 1.
      ls_fieldcat-col_pos   = 9.
      ls_fieldcat-fieldname = 'UNIT_NEW'.
      ls_fieldcat-seltext_l = 'New Unit'.
      ls_fieldcat-do_sum    = 'X'.
      APPEND ls_fieldcat TO rt_fieldcat.
      CLEAR ls_fieldcat.
      cntr = cntr + 1.
      ls_fieldcat-col_pos   = 10.
      ls_fieldcat-fieldname = 'CUKY_OLD'.
      ls_fieldcat-seltext_l = 'Old Cuky'.
      ls_fieldcat-do_sum    = 'X'.
      APPEND ls_fieldcat TO rt_fieldcat.
      CLEAR ls_fieldcat.
      cntr = cntr + 1.
      ls_fieldcat-col_pos   = 11.
      ls_fieldcat-fieldname = 'CUKY_NEW'.
      ls_fieldcat-seltext_l = 'New Cuky'.
      ls_fieldcat-do_sum    = 'X'.
      APPEND ls_fieldcat TO rt_fieldcat.
      layout-zebra = 'X'.
      layout-colwidth_optimize = 'X'.
    ENDFORM.                    " initial_alv_fieldcat
    *********Rewards some points.
    Rgds,
    P.Naganjana Reddy

  • Deletion of pending sales orders

    Hi,
    I have checked the existing threads regarding deletion of sales orders, but I want to know how to delete or archive all the pending sales orders in one shot.
    And is it possible to search all the pending orders through 'va05n'.?????
    Please suggest.
    Thanks & regards,
    Rupam.

    Dear All,
    I have executed the transaction 'Mass' for pending order rejection, but I have faced some problems.It is not working properly for those orders where some line items have already been fully delivered and some are open or partially delivered.
    Another critical issue is that, this operation can't be performed for specific line items in multiple orders, which is a limitation.
    can any one give me any idea to overcome this problems???????
    Thanks & regards,
    Rupam.

  • Product wise pending sales order

    Hello,
    From which transaction code we can find out the Product wise pending sales order list.
    thanks
    harish

    Hi,
    Kindly make use of filter options and change layout options.This might help you for report format.But ultimately the details are going to be the same I guess
    In the initial screen if you give the date range you will get the list of pending orders for that particular material and the organizational detail you give.
    Reward points if helpful.
    Regards,
    Amrish Purohit

  • Closing pending sales order

    Hai gurus
    Please help me how  to close pending sales order with open quantity. So that it cant be never used and partially delivered documents attached to that sales order should nt also be affected
    With Regards

    Hi,
    What ever items are open in sales order. then please go to item level then go to reason for rejection tabage and mention the reason for rejection and then save.
    Then order will be completed...
    Regards
    Sankar

  • Pending sales order weight and value

    Dear all,
    Please guide me that how ill get pending sales order weight and net value for all line items.
    I used VBUK for pending sales order where lfstk = ''a' or 'b' and vbtyp = 'c'.
    for line item details i used VBUP where LFSTA = ''a' or 'b'.
    for further line item details i used VBAP, in BRGEW and NTEWR i get weight and value for particular line item.
    But if some line item is partially deliverd, then how i come to know that it is partially deliver and where its details are stored. how i calculate the partial delivered weight and value.
    Please help me in this issue.
    Thanks
    Puneet

    hi,
    vbap -for sales orders,
    likp - for delivary.
    if u need remaing qty in partial delivary then u use logic which satisfy the condition below.
    OPEN qty = Order Qty - Delivery Qty.
    by linking vbap & likp u can get this.
    regds:
    rajesh.k

  • Pending sales order with value

    Dear Experts
    Am using below query for Pending Sales order.I just want to multiple balance quantity with my price list 1.So  can anybody modify my query.
    SELECT T1.[DocNum] as 'Sales Order No', T1.[DocDate] as 'Sales Order Date',
    T1.[CardCode], T1.[CardName], T0.[ItemCode], T0.[Dscription], T0.[Quantity] as 'Sales Order Qty',
    T0.[Quantity]-T0.[OpenQty] as 'Delivered Qty', T0.[OpenQty] as 'Balance Qty' FROM RDR1 T0  INNER JOIN ORDR T1 ON T0.DocEntry = T1.DocEntry where T1.[DocDate] between [%0] and [%1]
    thanks in advance
    parikshit

    Hi Parikshit,
    Try this Query Report,
    SELECT T0.DocNum as 'Sales Order No', T0.DocDate as 'Sales Order Date',
    T0.CardCode, T0.CardName, T1.ItemCode, T1.Dscription,
    T1.Quantity AS 'Sales Order Qty', (T1.Quantity-T1.OpenQty) AS 'Delivered Qty',
    T1.OpenQty AS 'Balance Qty', T1.OpenQty*T2.Price AS 'Open Amount'
    FROM ORDR T0
    INNER JOIN RDR1 T1 ON T1.DocEntry = T0.DocEntry
    INNER JOIN ITM1 T2 ON T2.ItemCode = T1.ItemCode
    WHERE T2.PriceList = '1'
    AND
    T1.LineStatus = 'O'
    AND
    T0.DocDate BETWEEN '[%0]' AND '[%1]'
    Regards,
    Madhan.

  • Total value for Pending Sales order

    Hi All,
    Kindly tell where we can find the total value for the pending sales order. I think that there should be standard t-code for the same.
    Thanks & Regards
    Points will be rewarded

    Dear,
    One more problem has been highlighted of mismatch inthe values of Billing document and MC01 reporting.
    We have dispatched material for one customer for value Rs. 105000 and the same is shown as 20375 in the MC01 report. This is the First line item in the billing document.
    Kindly suggest the course of action or alternate solution.
    Thanks

  • Export production sales order to test

    I'm wondering if there's a way to export a sales order from a production environment and import into a test environment. This would be used for troubleshooting purposes to deal with order issues without disrupting any production data.
    We take periodic backups of our production environment to use as test environments but of course the issues you have with sales orders are the ones that are never in a test instance due to timing. To be able to export an order and import it into a test instance would save the need for someone to manually recreate the order, manually create inventory for it, manually shipment report it, etc.
    I found one Metalink article about exporting it to a 3rd party environment (NOTE: 344695.1) using the oe_order_pub.get_order API's and custom PL/SQL scripts, but I'm hoping that an Oracle EBS-to-Oracle EBS move would potentially have a better/easier solution.
    Thanks!
    PS: this is in an 11.5.10 environment

    you can do it using the load runner. Create the load runner scripts and extract the data from your prod instance and run the scripts in dev instance, that creates the complete new set of orders with your production data. Then you can complete the order cycle process.
    Srini C

  • Pop up message for pending sales order.

    My requirement is whenever a zgor sales order is being created for a particular material,if a pending sales order exists for the same material,the message should pop up : "number of sales orders pending for the given material",
    Pls help me how to write coding for this to deliver a pop up message.

    Hi,
             You need to find the correct exit for your req.  se38 -> sapmv45A-> INCLUDE MV45AFZZ and check the triggering point before saving the sales order . Write your necessary POPUP code..
    Regards,
    Kumar.

  • Automatic cancellation of pending sales orders

    Hi,
    I got a requirement of cancelling any pending sales orders in case of delivery not effected by a specific date. ie. if a sales order is booked for say 100 numbers with a delivery shedule for today but sales order is valid till the end of the  .. incase the delivery is made for 50 numbers only within the month end, the balance should be automatically cancelled.
    Have someone tried this, can any setting can be made to achieve this??
    Regards,
    Ajit

    I don't think this can done automatically, although please correct me if I am wrong.
    Any sales order we cancel has to be blocked indidivually, although you can use transaction MASS to block multiple sales orders.

Maybe you are looking for

  • Only Some Events Duplicated from Google in iCal - Yosemite and iOS 8.1.2

    I have some shared Google calendars with some folks that I work with, and when I download them from Google onto my Mac and onto my iPhone, some of them are duplicated. Specifically, there are two recurring (every) weekday events that always duplicate

  • Templates and rollovers

    I'm creating what I think is a very simple website... and I have the template concept and the rollover concept down - can these be combined? would appreciate any help!

  • Commisions in SAP SD

    Hi can i know please what are commisions in SAP SD. Thanks in advance I apprecitate your help

  • InitialContext from server-side applications

    Just a question to see if what I am doing is correct. According to this link: http://www.weblogic.com/docs51/classdocs/API_ejb/EJB_design.html#1031811 if you are an internal client of an ejb you should use Context ctx = new InitialContext(); instead

  • No USB power on wake up to PCIe USB card after 10.6.8 update. how to fix?

    Ever since 10.6.8 update my PCIe USB card does not provide power to USB devices after Mac wakes from sleep. I have to restart to get it to work. How do I fix this before I down grade back to 10.6.7?